The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Hide Reply Button
I was using some ones old strategy to hide the Reply button for RSS feed forums and messed something up. This is what I did
open admincp/forum.php ======================= Find : 'allowratings' => 1, 'countposts' => 1, Below Add : 'showreply' => 1, Find : print_yes_no_row($vbphrase['show_forum_on_forum_jump'], 'options[showonforumjump]', $forum['showonforumjump']); Below Add : print_table_header('Reply Options'); print_yes_no_row('Show Reply button on this forum?', 'forum[showreply]', $forum['showreply']); edit showthread templte : ========================= Find : <if condition="$show['largereplybutton']"> <td class="smallfont"><a href="newreply.php?$session[sessionurl]do=newreply&noquote=1&p=$LASTPOSTID"><if condition="$show['closethread']"><img src="$stylevar[imgdir_button]/reply.gif" alt="$vbphrase[reply]" border="0" /><else /><img src="$stylevar[imgdir_button]/threadclosed.gif" alt="$vbphrase[closed_thread]" border="0" /></if></a></td> <else /> <td class="smallfont"> </td> </if> Replace With: <if condition="$forum['showreply']"> <if condition="$show['largereplybutton']"> <td class="smallfont"><a href="newreply.php?$session[sessionurl]do=newreply&noquote=1&p=$LASTPOSTID"><if condition="$show['closethread']"><img src="$stylevar[imgdir_button]/reply.gif" alt="$vbphrase[reply]" border="0" /><else /><img src="$stylevar[imgdir_button]/threadclosed.gif" alt="$vbphrase[closed_thread]" border="0" /></if></a></td> <else /> <td class="smallfont"> </td> </if> </if> ================================================== ========= Come to find out this only works on another version. I undid the changes to every thing but the tables and now the reply button wont show at all. How can I fix my table? Thanks for your help --------------- Added [DATE]1214193034[/DATE] at [TIME]1214193034[/TIME] --------------- Well I figured it out. I was a little hesitant to delete the forum field, but I did any way and it worked out. Sorry for the post. |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|