![]() |
This one's in response to a request on http://www.vbulletin.com/forum/showt...threadid=35579
This hack should put a "New Thread" (or whatever text you want) in the forum description for any forum the user can access normally. Demo site: www.underlight.com Installer in Post #8 below. Kathi |
thanks my friend,
great hack :) ;) |
Nice hack, thanks
|
i had 1 change some codes
Add in template Add in forumhome_postthread: Code:
..... [<a href="newthread.php?s=$session[sessionhash]&action=newthread&forumid=$forum[forumid]">New Thread</a>] ..... [<a Subscribe to this Forum :) |
I got a problem, this places the link on my Catagorys too :(
|
Quote:
Kathi |
LOL someone had my categorys open for new posts, wasnt me :D
Nice Hack! |
The final version of this puts the "New Thread": link in the right hand corner, on the same line as the forum description. Installer below. Should be final. Now if only I could figure out how to move it to the full release section :P
Kathi |
Nice hack, but I can't understand why an installer with DB modification is needed when, as bokhalifa said, it should be necessary a light template mod
??? Thanks a lot. |
Because if you just hard code it into the template, it'll show up for every forum, not only the ones that the visitor has access to post in. Easier and more versatile to have it as it's own little template, called from within index.php and showthread.php, and it makes it easier for language conversion too, for those who don't want to hack the php code itself.
Kathi Quote:
|
All times are GMT. The time now is 09:04 PM. |
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:
|