The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
![]()
I have seen this but have not found the hack for it. The newer version of Vb does not have the start new thread option once you are in a thread and viewing the posts. Is there a way to add this either at the top or the bottom of the posts?
Thanks |
#2
|
|||
|
|||
![]()
i dont think its enabled on vbulletin options but here is mini mod i wrote just now
open showthread.php find : Code:
$show['largereplybutton'] = (!$thread['isdeleted'] AND !$show['threadedmode'] AND $forum['allowposting']); Code:
$show['largenewthreadbutton'] = (!$thread['isdeleted'] AND !$show['threadedmode'] AND $forum['allowposting']); find : Code:
<if condition="$show['largereplybutton']"> <td class="smallfont"><a href="newreply.php?$session[sessionurl]do=newreply&noquote=1&p=$FIRSTPOSTID"><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> Code:
<if condition="$show['largereplybutton']"> <td class="smallfont"><a href="newreply.php?$session[sessionurl]do=newreply&noquote=1&p=$FIRSTPOSTID"><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> <else /> <td class="smallfont"> </td> </if> <if condition="$show['largenewthreadbutton']"> <a href="newthread.php?do=newthread&f=$forum[forumid]"><img src="$stylevar[imgdir_button]/newthread.gif" alt="$vbphrase[newthread]" border="0" /> </a></td> <else /> <td class="smallfont"> </td> </if> enjoy. |
#3
|
|||
|
|||
![]()
Yeah
In your SHOWTHREAD template FIND Code:
<!-- controls above postbits --> <table cellpadding="0" cellspacing="0" border="0" width="100%" style="margin-bottom:3px"> <tr valign="bottom"> Code:
<td class="smallfont"><if condition="$show['newthreadlink']"><a href="newthread.php?$session[sessionurl]do=newthread&f=$foruminfo[forumid]"><img src="$stylevar[imgdir_button]/newthread.gif" alt="$vbphrase[post_new_thread]" border="0" /></a><else /> </if></td> Code:
<!-- controls below postbits --> <table cellpadding="0" cellspacing="0" border="0" width="100%"> <tr valign="top"> Code:
<td class="smallfont"><if condition="$show['newthreadlink']"><a href="newthread.php?$session[sessionurl]do=newthread&f=$foruminfo[forumid]"><img src="$stylevar[imgdir_button]/newthread.gif" alt="$vbphrase[post_new_thread]" border="0" /></a><else /> </if></td> |
#4
|
|||
|
|||
![]() Quote:
hmm where do you see that conditin, i mean where does it get value, i searched in showthread.php but i didnt found it... |
#5
|
|||
|
|||
![]()
Miz,
my code says the following $show['largereplybutton'] = (!$thread['isdeleted'] AND !$show['threadedmode'] AND $forum['allowposting']); if (!$forum['allowposting']) { $SHOWQUICKREPLY = false; where should I put the following line exactly? $show['largenewthreadbutton'] = (!$thread['isdeleted'] AND !$show['threadedmode'] AND $forum['allowposting']); |
#6
|
|||
|
|||
![]() Quote:
Code:
$show['largereplybutton'] = (!$thread['isdeleted'] AND !$show['threadedmode'] AND $forum['allowposting']); |
#7
|
|||
|
|||
![]()
thanks, works great
|
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|