Simple Subforums

Discuţii legate de instalarea şi funcţionarea unor MODificări vechi sau noi ale forumului phpBB 2.0.x.
Închis
BODY
Utilizator înregistrat
Mesaje: 389
Membru din: 21-Iun-2007, 17:26:13
Ext: Nu
Server: Windows
Nivel phpBB: Mediu
Nivel php: Mediu

Simple Subforums

Mesaj de BODY »

Am incercat sa instalez simple subforums si mam blocat aici :
#
#-----[ OPEN ]------------------------------------------
#
templates/subSilver/admin/forum_admin_body.tpl


#
#-----[ FIND ]------------------------------------------
#
<td class="row2"><span class="gen"><a href="{catrow.forumrow.U_VIEWFORUM}"


#
#-----[ IN-LINE FIND ]------------------------------------------
#
"row2"


#
#-----[ IN-LINE AFTER, ADD ]------------------------------------------
#
{catrow.forumrow.STYLE}
Eu nu am <td class="row2"><span class="gen"><a href="{catrow.forumrow.U_VIEWFORUM}"
Uitati ce am eu in forum_admin_body.tpl
<h1>{L_FORUM_TITLE}</h1>

<p>{L_FORUM_EXPLAIN}</p>

<form method="post" action="{S_FORUM_ACTION}"><table width="100%" cellpadding="4" cellspacing="1" border="0" class="forumline" align="center">
<tr>
<th class="thHead" colspan="7">{L_FORUM_TITLE}</th>
</tr>
<!-- BEGIN catrow -->
<tr>
<td class="catLeft" colspan="3"><span class="cattitle"><b><a href="{catrow.U_VIEWCAT}">{catrow.CAT_DESC}</a></b></span></td>
<td class="cat" align="center" valign="middle"><span class="gen"><a href="{catrow.U_CAT_EDIT}">{L_EDIT}</a></span></td>
<td class="cat" align="center" valign="middle"><span class="gen"><a href="{catrow.U_CAT_DELETE}">{L_DELETE}</a></span></td>
<td class="cat" align="center" valign="middle" nowrap="nowrap"><span class="gen"><a href="{catrow.U_CAT_MOVE_UP}">{L_MOVE_UP}</a> <a href="{catrow.U_CAT_MOVE_DOWN}">{L_MOVE_DOWN}</a></span></td>
<td class="catRight" align="center" valign="middle"><span class="gen">&nbsp;</span></td>
</tr>
<!-- BEGIN forumrow -->
<tr>
<td class="row2"><span class="gen">
<!-- BEGIN switch_attached_forum -->
&nbsp;&nbsp;|__
<!-- END switch_attached_forum -->
<!-- BEGIN switch_error -->
ERROR
<!-- END switch_error -->
<a href="{catrow.forumrow.U_VIEWFORUM}" target="_new">{catrow.forumrow.FORUM_NAME}</a></span><br />
<span class="gensmall">
<!-- BEGIN switch_attached_forum -->
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<!-- END switch_attached_forum -->
{catrow.forumrow.FORUM_DESC}</span></td>
<td class="row1" align="center" valign="middle"><span class="gen">{catrow.forumrow.NUM_TOPICS}</span></td>
<td class="row2" align="center" valign="middle"><span class="gen">{catrow.forumrow.NUM_POSTS}</span></td>
<td class="row1" align="center" valign="middle"><span class="gen"><a href="{catrow.forumrow.U_FORUM_EDIT}">{L_EDIT}</a></span></td>
<td class="row2" align="center" valign="middle"><span class="gen"><a href="{catrow.forumrow.U_FORUM_DELETE}">{L_DELETE}</a></span></td>
<td class="row1" align="center" valign="middle"><span class="gen"><a href="{catrow.forumrow.U_FORUM_MOVE_UP}">{L_MOVE_UP}</a> <br /> <a href="{catrow.forumrow.U_FORUM_MOVE_DOWN}">{L_MOVE_DOWN}</a></span></td>
<td class="row2" align="center" valign="middle"><span class="gen"><a href="{catrow.forumrow.U_FORUM_RESYNC}">{L_RESYNC}</a></span></td>
</tr>
<!-- END forumrow -->
<tr>
<td colspan="7" class="row2"><input class="post" type="text" name="{catrow.S_ADD_FORUM_NAME}" /> <input type="submit" class="liteoption" name="{catrow.S_ADD_FORUM_SUBMIT}" value="{L_CREATE_FORUM}" /></td>
</tr>
<tr>
<td colspan="7" height="1" class="spaceRow"><img src="../templates/subBlack/images/spacer.gif" alt="" width="1" height="1" /></td>
</tr>
<!-- END catrow -->
<tr>
<td colspan="7" class="catBottom"><input class="post" type="text" name="categoryname" /> <input type="submit" class="liteoption" name="addcategory" value="{L_CREATE_CATEGORY}" /></td>
</tr>
</table></form>

Si mai am o problema :roll:
#
#-----[ OPEN ]------------------------------------------
#
templates/subSilver/overall_header.tpl


#
#-----[ FIND ]------------------------------------------
#
@import url("templates/subSilver/formIE.css");


#
#-----[ AFTER, ADD ]------------------------------------------
#

/* Begin Simple Subforums MOD */
a.topic-new, a.topic-new:visited { color: {T_BODY_HLINK}; }
a.topic-new:hover, a.topic-new:active { color: {T_BODY_LINK}; }
/* End Simple Subforums MOD */
Nici asta nu am :( Uitati ce am eu :
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html dir="{S_CONTENT_DIRECTION}">
<head>
<meta http-equiv="Content-Type" content="text/html; charset={S_CONTENT_ENCODING}">
<meta http-equiv="Content-Style-Type" content="text/css">
<style type="text/css">
<!--
.style1 {
font-size: 12px;
font-weight: bold;
}
.style2 {font-size: 12px}
.style3 {
font-size: 14px;
color: #0000FF;
}
.style4 {color: #999999}
-->

</style>
{META}
{NAV_LINKS}
<title>{SITENAME} :: {PAGE_TITLE}</title>
<link rel="stylesheet" href="templates/subBlack/{T_HEAD_STYLESHEET}" type="text/css">
<!-- BEGIN switch_enable_pm_popup -->
<script language="Javascript" type="text/javascript">
<!--
if ( {PRIVATE_MESSAGE_NEW_FLAG} )
{
window.open('{U_PRIVATEMSGS_POPUP}', '_phpbbprivmsg', 'HEIGHT=225,resizable=yes,WIDTH=400');;
}
//-->
</script>
<!-- END switch_enable_pm_popup -->
</head>
<body bgcolor="{T_BODY_BGCOLOR}" text="{T_BODY_TEXT}" link="{T_BODY_LINK}" vlink="{T_BODY_VLINK}">

<a name="top"></a>

<table width="100%" cellspacing="0" cellpadding="10" border="0" align="center">
<tr>
<td class="bodyline"><table width="100%" cellspacing="0" cellpadding="0" border="0">
<tr>
<td>&nbsp;</td>
<td align="center" width="100%" valign="middle"><p><span class="maintitle"><a href="{U_INDEX}"><img src="templates/subBlack/images/{T_BODY_BACKGROUND}/logo_phpBB.gif" alt="{L_INDEX}" width="800" height="200" vspace="1" border="0" /></a></span></p>
<p><strong><span class="style3"><span class="style4">[ </span>Meniu <span class="style4">] </span></span></strong></p>
<table width="600" border="1">
<tr>
<th nowrap><div align="center"><a href="{U_FAQ}" class="style2 mainmenu"><strong><img src="templates/subBlack/images/{T_BODY_BACKGROUND}/icon_mini_faq.gif" width="12" height="13" border="0" alt="{L_FAQ}" hspace="3" />{L_FAQ}</strong></a></div></th>
<th nowrap><div align="center"><a href="{U_SEARCH}" class="style2 mainmenu"><strong><img src="templates/subBlack/images/{T_BODY_BACKGROUND}/icon_mini_search.gif" width="12" height="13" border="0" alt="{L_SEARCH}" hspace="3" />{L_SEARCH}</strong></a></div></th>
<th nowrap><div align="center"><span class="style1"><a href="{U_MEMBERLIST}" class="mainmenu"><img src="templates/subBlack/images/{T_BODY_BACKGROUND}/icon_mini_members.gif" width="12" height="13" border="0" alt="{L_MEMBERLIST}" hspace="3" />{L_MEMBERLIST}</a>&nbsp;</span></div></th>
<th nowrap><div align="center"><a href="{U_GROUP_CP}" class="style2 mainmenu"><strong><img src="templates/subBlack/images/{T_BODY_BACKGROUND}/icon_mini_groups.gif" width="12" height="13" border="0" alt="{L_USERGROUPS}" hspace="3" />{L_USERGROUPS}</strong></a></div></th>
</tr>
<tr>
<th nowrap><div align="center" class="style1"><a href="{U_REGISTER}" class="mainmenu"><img src="templates/subBlack/images/{T_BODY_BACKGROUND}/icon_mini_register.gif" width="12" height="13" border="0" alt="{L_REGISTER}" hspace="3" />{L_REGISTER}</a></div></th>
<th nowrap><div align="center" class="style1"><span class="mainmenu">&nbsp;<a href="{U_PROFILE}" class="mainmenu"><img src="templates/subBlack/images/{T_BODY_BACKGROUND}/icon_mini_profile.gif" width="12" height="13" border="0" alt="{L_PROFILE}" hspace="3" />{L_PROFILE}</a></span></div></th>
<th nowrap><div align="center" class="style1"><span class="mainmenu"><a href="{U_PRIVATEMSGS}" class="mainmenu"><img src="templates/subBlack/images/{T_BODY_BACKGROUND}/icon_mini_message.gif" width="12" height="13" border="0" alt="{PRIVATE_MESSAGE_INFO}" hspace="3" />{PRIVATE_MESSAGE_INFO}</a>&nbsp;</span></div></th>
<th nowrap><div align="center" class="style1"><span class="mainmenu"><a href="{U_LOGIN_LOGOUT}" class="mainmenu"><img src="templates/subBlack/images/{T_BODY_BACKGROUND}/icon_mini_login.gif" width="12" height="13" border="0" alt="{L_LOGIN_LOGOUT}" hspace="3" />{L_LOGIN_LOGOUT}</a>&nbsp;</span></div></th>
</tr>
</table>
<p><span class="gen">&nbsp;</span></p>
</td>
</tr>
</table>

<div align="center"><br />
<span class="style3" style="font-weight: bold;">
[
<script language="JavaScript1.2">

/Flashing Neon /

var message="Cs.DarkStrike.Ro | Cs2.DarkStrike.Ro | Hub.DarkStrike.Ro"
var neonbasecolor="#6A6A69"
var neontextcolor="white"
var neontextcolor2="#6A6A69"
var flashspeed=60 // speed of flashing in milliseconds
var flashingletters=1 // number of letters flashing in neontextcolor
var flashingletters2=0 // number of letters flashing in neontextcolor2 (0 to disable)
var flashpause=0 // the pause between flash-cycles in milliseconds

///No need to edit below this line/////

var n=0
if (document.all||document.getElementById){
document.write('<font color="'+neonbasecolor+'">')
for (m=0;m<message.length;m++)
document.write('<span id="neonlight'+m+'">'+message.charAt(m)+'</span>')
document.write('</font>')
}
else
document.write(message)

function crossref(number){
var crossobj=document.all? eval("document.all.neonlight"+number) : document.getElementById("neonlight"+number)
return crossobj
}

function neon(){

//Change all letters to base color
if (n==0){
for (m=0;m<message.length;m++)
crossref(m).style.color=neonbasecolor
}

//cycle through and change individual letters to neon color
crossref(n).style.color=neontextcolor

if (n>flashingletters-1) crossref(n-flashingletters).style.color=neontextcolor2
if (n>(flashingletters+flashingletters2)-1) crossref(n-flashingletters-flashingletters2).style.color=neonbasecolor


if (n<message.length-1)
n++
else{
n=0
clearInterval(flashing)
setTimeout("beginneon()",flashpause)
return
}
}

function beginneon(){
if (document.all||document.getElementById)
flashing=setInterval("neon()",flashspeed)
}
beginneon()

</script>
] </span></div>
Avatar utilizator
bluestar
Utilizator înregistrat
Mesaje: 787
Membru din: 07-Iun-2007, 22:23:24
Ext: Nu
Server: Windows
Nivel phpBB: Mediu
Nivel php: Mediu
Contact:

Mesaj de bluestar »

mda am intalnit si eu probleme de genul asta. nu erau nici macar in subsilver. ceva cu helpline. eu am sarit peste ele si nu am avut nici o problema. incearca. sper ca ai facut backup.
BODY
Utilizator înregistrat
Mesaje: 389
Membru din: 21-Iun-2007, 17:26:13
Ext: Nu
Server: Windows
Nivel phpBB: Mediu
Nivel php: Mediu

Mesaj de BODY »

Am instalat fara acestea si nu se mai vede cine a scris ultimul mesaj in index_body.tpl si la PA in stanga zice asa :
Parse error: syntax error, unexpected ',' in C:\AppServ\www\forum\admin\admin_forums.php on line 534

HELP :roll:
Avatar utilizator
bluestar
Utilizator înregistrat
Mesaje: 787
Membru din: 07-Iun-2007, 22:23:24
Ext: Nu
Server: Windows
Nivel phpBB: Mediu
Nivel php: Mediu
Contact:

Mesaj de bluestar »

nu sunt expert dar incerc sa te ajut. admin_forums nu este in ceea ce nu ai facut tu. probabil ai gresit ceva cand ai modificat acel fisier.

P.S. intra p messsssss
Avatar utilizator
davidelu
Utilizator înregistrat
Mesaje: 263
Membru din: 11-Feb-2007, 15:05:00
Versiune: 3
Ext: Da
Server: Windows
Nivel phpBB: Experimentat
Nivel php: Puţin experimentat
Localitate: Craiova
Contact:

Mesaj de davidelu »

La prima:

Inlocuieste linia:

<a href="{catrow.forumrow.U_VIEWFORUM}" target="_new">{catrow.forumrow.FORUM_NAME}</a></span><br />


cu

<a href="{catrow.forumrow.U_VIEWFORUM}" target="_new">{catrow.forumrow.FORUM_NAME}</a></span><br /> {catrow.forumrow.STYLE}


Cred ca asta e...iar la a doua nush :?
BODY
Utilizator înregistrat
Mesaje: 389
Membru din: 21-Iun-2007, 17:26:13
Ext: Nu
Server: Windows
Nivel phpBB: Mediu
Nivel php: Mediu

Mesaj de BODY »

Tot la fel zice :( ... Alte idei ? :D
Avatar utilizator
davidelu
Utilizator înregistrat
Mesaje: 263
Membru din: 11-Feb-2007, 15:05:00
Versiune: 3
Ext: Da
Server: Windows
Nivel phpBB: Experimentat
Nivel php: Puţin experimentat
Localitate: Craiova
Contact:

Mesaj de davidelu »

adauga dupa asta:

Cod: Selectaţi tot

<BEGIN>
<tr>
<td><span>  
asta:

Cod: Selectaţi tot

{catrow.forumrow.STYLE} 
alte idei numai am :D :(


LE ...WTF?!?!? nu merge copiat :|
Baga`ma in lista: david_darknessboy!
BODY
Utilizator înregistrat
Mesaje: 389
Membru din: 21-Iun-2007, 17:26:13
Ext: Nu
Server: Windows
Nivel phpBB: Mediu
Nivel php: Mediu

Mesaj de BODY »

Scuze , dar unde vezi tu asta ? :|
Închis

Înapoi la “2.0.x Suport pentru MODificări”

Cine este conectat

Utilizatori ce ce navighează pe acest forum: Niciun utilizator înregistrat și 2 vizitatori