Die Lücke kann man schon weg machen, dazu ist aber wieder mehr Aufwand nötig, und dazu fehlt mir momentan die Zeit.
Read-Only-Modus
Das 01-Supportforum befindet sich im Read-Only-Modus. Es ist nicht mehr möglich sich zu registrieren, neue Themen zu erstellen oder auf bestehende Themen zu antworten.
Alle Inhalte stehen bis auf absehbare Zeit jedoch weiterhin lesend zur Verfügung.
Bei Fehlern oder Problemen mit PHP-Scripten von 01-Scripts.de erstellen Sie gerne einen Issue-Eintrag auf Github oder nehmen Sie per E-Mail Kontakt auf.
-
-
´hi
ich hänge mal meine aktuelle index_boardbit.tpl an
-
Hi,
wenn du der mit der Lücke bist, dann bau den Hack nochmal aus (bzw. benutze das backup der 3 Dateien)
Lad dir hier nochmal die Version 1.3 runter:
http://www.yourwbb.info/thread.php?threadid=9089&sid=Und da steht jetzt auch drin wie du das ohne Lücke einbauen kannst.
-
Hallo!
Ich war so blöde und habe das "Icon vor Boards" ebenfalls ins wbb 2.3.6
eingebaut - natürlich kam es, wozu es kommen musste....Bei mir im Forum prangt nun ganz oben die 4fache Fehlermeldung:
Parse error: syntax error, unexpected T_CONSTANT_ENCAPSED_STRING in /usr/export/www/vhosts/funnetwork/hosting/uscars/wbb2/acp/lib/functions.php(349) : eval()'d code on line 21Parse error: syntax error, unexpected T_CONSTANT_ENCAPSED_STRING in /usr/export/www/vhosts/funnetwork/hosting/uscars/wbb2/acp/lib/functions.php(349) : eval()'d code on line 21
Parse error: syntax error, unexpected T_CONSTANT_ENCAPSED_STRING in /usr/export/www/vhosts/funnetwork/hosting/uscars/wbb2/acp/lib/functions.php(349) : eval()'d code on line 21
Parse error: syntax error, unexpected T_CONSTANT_ENCAPSED_STRING in /usr/export/www/vhosts/funnetwork/hosting/uscars/wbb2/acp/lib/functions.php(349) : eval()'d code on line 21
Parse error: syntax error, unexpected T_CONSTANT_ENCAPSED_STRING in /usr/export/www/vhosts/funnetwork/hosting/uscars/wbb2/acp/lib/functions.php(349) : eval()'d code on line 21
Ich bin mir relativ sicher, dass ich durch die vorzunehmenden Änderungen was
entfernt haben muss, was ich nicht hätte entfernen dürfen.Doof wie ich bin
habe ich mir die alten Codes nicht notiert und nun
stehe ich da und kriege diese dämlichen Meldungen nicht mehr weg.Ich habe alles wieder soweit rückgängig machen können, bis eben auf das
fehlende Teil - kann mir jemand helfen -
Ich glaube zwar nicht, dass das von dem Hack hier kommt. Aber überschreibe mal die Datei acp/lib/functions.php mit der original Datei aus dem WBB-Download-Archiv.
-
Die Fehlermeldung tauchte auf, als ich den Hack wieder entfernte.
Ich habe ausgetauscht, hat aber nichts gebracht.
-
Zitat
Original von US-Cars
Die Fehlermeldung tauchte auf, als ich den Hack wieder entfernte.Ich habe ausgetauscht, hat aber nichts gebracht.
Das kann aber eigentlich nicht am Hack liegen, weil dieser nichts an der Datei, die die Fehlermeldung verursacht, verändert hat.
Deshalb bin ich da momentan auch grad etwas ratlos. -
nicht erscheinen die anderen 2 Symbole. 2.3.6
-
Zitat
Original von jabito
nicht erscheinen die anderen 2 Symbole. 2.3.6Das sind etwas wenig Informationen um dir behilflich sein zu können.
-
of course.
Zitatindex_boardbit variante 2 and B
Suche nach: -----------
<td class="tableb" align="center"><img src="{$style['imagefolder']}/$onoff.gif" alt="" title="" /></td>
replace by: --------------- <td class="tableb" align="center"><img src="{$style['imagefolder']}/$boards[boardid]_icon.gif" alt="" title="" /></td>
Suche nach: ----------- <td><img src="{$style['imagefolder']}/$onoff.gif" alt="" title="" /> </td>
replace by: --------------- <td align="center"><img src="{$style['imagefolder']}/$boards[boardid]_icon.gif" alt="" title="" /></td>mein boarbit
<tr>
<if($depth == 1)>
<then>
<td align="left" class="$tdclass"<if($boards['externalurl'] != '')><then> colspan="<if($hide_modcell==0)><then>6</then><else>5</else></if>"</then><else> colspan="2"</else></if>><table cellpadding="0" cellspacing="0">
<tr class="tablea_fc">
<td><a href="board.php?boardid=$boards[boardid]&sid=$session[hash]"><b>$boards[title]</b></a></td>
<td align="left"><span class="normalfont"><a href="board.php?boardid=$boards[boardid]{$SID_ARG_2ND}"><b>$boards[title]</b></a></span><span class="smallfont">
<if($boards['description']!="")><then><br />$boards[description]</then></if><if($subboardbit!="")><then><br />$subboardbit</then></if><if(isset($boards['useronline']) && $boards['useronline'])><then><br />($boards[useronline])</then></if></span></td>
</tr>
</table></td>
</then>
<else>
<if($depth == 2)>
<then>
<td align="center"><img src="{$style['imagefolder']}/$boards[boardid]_icon.gif" alt="" title="" /></td>
<td align="left" class="$tdclass"<if($boards['externalurl'] != '')><then> colspan="<if($hide_modcell==0)><then>5</then><else>4</else></if>"</then></if>><span class="normalfont"><a href="board.php?boardid=$boards[boardid]{$SID_ARG_2ND}"><b>$boards[title]</b></a></span><span class="smallfont">
<if($boards['description']!="")><then><br />$boards[description]</then></if><if($subboardbit!="")><then><br />$subboardbit</then></if><if(isset($boards['useronline']) && $boards['useronline'])><then><br />($boards[useronline])</then></if>
<if(isset($favorites) && $favorites)>
<then><br /><b><a href="newthread.php?boardid=$boards[boardid]{$SID_ARG_2ND}">{$lang->items['LANG_START_NEWTHREAD']}</a> <a href="usercp.php?action=removesubscription&boardid=$boards[boardid]{$SID_ARG_2ND}">{$lang->items['LANG_START_UNSUBSCRIBE']}</a></b></then>
</if>
</span></td>
</then>
<else>
<td class="$tdclass" align="center"> </td>
<td class="$tdclass" align="left"<if($boards['externalurl'] != '')><then> colspan="<if($hide_modcell==0)><then>5</then><else>4</else></if>"</then></if>><table cellpadding="0" cellspacing="0">
<tr class="tablea_fc">
<td><a href="board.php?boardid=$boards[boardid]&sid=$session[hash]"><b>$boards[title]</b></a></td>
<td><span class="normalfont"><a href="board.php?boardid=$boards[boardid]{$SID_ARG_2ND}"><b>$boards[title]</b></a></span><span class="smallfont">
<if($boards['description']!="")><then><br />$boards[description]</then></if><if($subboardbit!="")><then><br />$subboardbit</then></if><if(isset($boards['useronline']) && $boards['useronline'])><then><br />($boards[useronline])</then></if></span></td>
</tr>
</table></td>
</else>
</if>
</else>
</if>
<if($boards['externalurl'] == '')><then>
<td class="$tdclass" align="center" nowrap="nowrap"><span class="normalfont">$boards[postcount]</span></td>
<td class="$tdclass" align="center" nowrap="nowrap"><span class="normalfont">$boards[threadcount]</span></td>
<td class="$tdclass" nowrap="nowrap" align="left"><if($boards['threadcount']!=0)>
<then>
<if($showlastposttitle==1)>
<then>
<table border="0" cellspacing="0" cellpadding="0">
<tr align="left" class="tableb_fc">
<td nowrap="nowrap"> $ViewPosticon </td>
<td nowrap="nowrap"><span class="smallfont"><if($boards['threadprefix']!="" && $permissioncache[$boards['boardid']]['can_enter_board'] && $boards['password']=="")><then><span class="prefix">$boards[threadprefix]</span><br /></then></if> <if($permissioncache[$boards['boardid']]['can_enter_board'] && $boards['password']=="")><then><b><a href="thread.php?goto=lastpost&threadid=$boards[lastthreadid]{$SID_ARG_2ND}" title="$boards[topic]">$topic</a></b></then><else><b>{$lang->items['LANG_START_UNKNOWN']}</b></else></if><br />$lastpostdate <span class="time">$lastposttime</span> {$lang->items['LANG_START_FROM']} <if($boards['lastposterid'])><then><b><a href="profile.php?userid=$boards[lastposterid]{$SID_ARG_2ND}">$boards[lastposter]</a></b></then><else>$boards[lastposter]</else></if></span></td>
</tr>
</table>
</then>
<else>
<table style="width:100%">
<tr class="tableb_fc">
<td nowrap="nowrap" align="right" style="width:100%"><span class="smallfont">$lastpostdate <span class="time">$lastposttime</span><br />{$lang->items['LANG_START_FROM']} <if($boards['lastposterid'])><then><b><a href="profile.php?userid=$boards[lastposterid]{$SID_ARG_2ND}">$boards[lastposter]</a></b></then><else>$boards[lastposter]</else></if></span></td>
<td><a href="thread.php?goto=lastpost&threadid=$boards[lastthreadid]{$SID_ARG_2ND}"><img src="{$style['imagefolder']}/lastpost.gif" border="0" alt="{$lang->items['LANG_START_GOTO_LASTPOST']}" title="{$lang->items['LANG_START_GOTO_LASTPOST']}" /></a></td>
</tr>
</table>
</else>
</if>
</then>
<else>
<div align="center"><span class="smallfont">{$lang->items['LANG_START_NOPOSTS']}</span></div>
</else>
</if></td>
<if($hide_modcell==0 && (!isset($favorites)!$favorites))><then><td class="$tdclass" align="center"><span class="smallfont"><if($moderatorbit!="")><then>$moderatorbit</then><else> </else></if></span></td></then></if>
</then></if>
</tr>hier forum : http://jabito.wiizdom.com/burbuja/index.php
Ich fand hier der Hack aber ich kann nicht downloaden. (v.2.3.x)
http://yourwbb.de/database.php?databaseid=48 -
Right now you've got a general problem with the language-variables. If they are set properly I'll check again.
-
if I put the German language as default occurs the same.
is english as default but translated a bit. german now. -
Zitat
Original von jabito
if I put the German language as default occurs the same.
is english as default but translated a bit. german now.Sorry but I don't know what causes the language-problem. Maybe you'll check the official support-board.
-
i installed a new forum and great! see results.
http://jabitok.phpnet.us/wbb2/index.phpbut the table is next to and and doubt is:
- where is to remove the table that is not the board of icon? see image.
possible index_boardbit?That is only, delete this table and post all steps here.
thank very much for the help. -
Did you use the templates from "Varainte B & 1"?
-
i used the readme.txt,the folder templates no.
and inside the readme, first time variante B and next variante 2. -
Zitat
Original von jabito
i used the readme.txt,the folder templates no.
and inside the readme, first time variante B and next variante 2.That's the problem
"Variante B" includes the icons in front of the on/off-gifs.
If you want to REPLACE the on/off-gifs by the icons you've to use "Variante A" from the readme.txt -
after many tests little remains.
if you think any idea as to remove that shadow gray, while i continue with tests. -
Zitat
Original von jabito
after many tests little remains.
if you think any idea as to remove that shadow gray, while i continue with tests.In the ACP you've the possibility to hide the "moderator"-column. After that the shadow should disappear
-
ready! only modify catbit and boardbit especially add this line in the depth2 between <then> and depth2. "tableb".
<td class="tableb" align="center"><img src="{$style['imagefolder']}/$boards[boardid]_icon.gif" alt="" title="" /></td>
and erase this.
<td><img src="{$style['imagefolder']}/$onoff.gif" alt="" title="" /> </td>result. thx Michael for help.
http://jabito.wiizdom.com/burbuja2/