View Full Version : new thread button @ forumhome
Kairo
03-21-2004, 12:47 PM
I looked around but i couldn;t really find what i;'m looking for ...
What i want is an extra colomn next to the Posts column on the forumhome with new thread buttons, and not something weird like Filberts hack; http://www.vbulletintemplates.com/mods/showthread.php?t=2002
it should point to newthread.php ( same as when you click on new thread @ forumdisplay ... i hope its clear ;x
i;m using vb3 gold
/Kairo
stupid keyboard -.-
Zachery
03-21-2004, 12:58 PM
basicly same idea
copy our code from forumdisplay template
<a href="newthread.php?$session[sessionurl]do=newthread&f=$forum[forumid]"><img src="$stylevar[imgdir_button]/newthread.gif" alt="$vbphrase[post_new_thread]" border="0" /></a>
change the varible abit ;)
and presto, were done
Now if youd like to add this to the moderators collum. (i wouldnt suggest a new one as it might bie abit crapmed.)
in forumhome_level1_post find
<td class="alt1"><div class="smallfont">$forum[moderators] </div></td>
and replace it with our new code
<td class="alt1">
<a href="newthread.php?$session[sessionurl]do=newthread&f=$forum[forumid]"><img src="$stylevar[imgdir_button]/newthread.gif" alt="$vbphrase[post_new_thread]" border="0" /></a></div></td>
:) you should change the newthread button to somthing else, as it would be rather large
Alien
03-26-2004, 06:59 AM
I cannot get this to work for me. :( We don't use the moderator column and want to put this into it's own column... We tried adding to the moderator column to test and turned moderator column ON in AdminCP and it wouldn't work.. We tried to just ADD the column and couldn't get that working either...
Can you hold my hand some more with a step by step on how to create a brand new column with new thread and even subscribe/unsubscribe buttons via a conditional? :D
I'd be eternally grateful!
Zachery
03-26-2004, 10:55 AM
Well that code should be right, ill try it out on one of my test forums today.
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.