![]() |
New Thread Option inside actual Thread!
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 |
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']"> Code:
<if condition="$show['largereplybutton']"> enjoy. |
Yeah
In your SHOWTHREAD template FIND Code:
<!-- controls above postbits --> 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 --> 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> |
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... |
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']); |
Quote:
Code:
$show['largereplybutton'] = (!$thread['isdeleted'] AND !$show['threadedmode'] AND $forum['allowposting']); |
thanks, works great
|
All times are GMT. The time now is 11:17 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|