The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
Start New Thread on forumhome
Im looking for both vb 3 and 4
What im looking for is something that adds a Post New Thread button next to each forum on forumhome, and that clicking it would start a new thread in the associated forum. I get a lot of questions "How do I start a new thread" from people who don't understand forums. This forum has something similar (http://www.chimpout.com/forum/forum.php) but its just a tiny icon users will never find. |
#2
|
||||
|
||||
This is for vB4.
You can actually achieve this with a simple template edit (and it's not possible to do automatically without a significant performance detriment). I implemented it using one of the existing statusicons, but you'd obviously be free to change the image (in this particular location, 12x12 is the required dimensions). In the template forumhome_forumbit_level2_post, find Code:
<ul class="forumactionlinks td"> Code:
<vb:if condition="$forum['allowposting']"><li class="forumactionlink newthreadlink"><a href="newthread.php?{vb:raw session.sessionurl}do=newthread&forumid={vb:raw forum.forumid}" title="{vb:rawphrase post_new_thread}" style="padding-{vb:stylevar left}:0;"><img src="{vb:stylevar imgdir_statusicon}/thread_new-16.png" height="12" width="12" /></a></li></vb:if> |
#3
|
||||
|
||||
ok, that seems to work. Thank you.. How about vb3?
|
#4
|
||||
|
||||
Been awhile since I played on vB3, it s not as flexible as vB4, I can't find the best conditional either, so I used, $show['member']
In the template forumhome_forumbit_level2_post, find Code:
<if condition="$show['forumsubscription']"><div class="smallfont"><strong><a href="subscription.php?$session[sessionurl]do=removesubscription&f=$forum[forumid]" rel="nofollow">$vbphrase[unsubscribe_from_this_forum]</a></strong></div></if> Code:
<if condition="$show['member']"><a href="newthread.php?$session[sessionurl]do=newthread&f=$forum[forumid]" title="Post New Thread" style="padding-left:0;"><img src="$stylevar[imgdir_statusicon]/thread_new.gif" height="12" width="12" /></a></if> |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|