![]() |
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:
|
Quote:
i cant figure out where to remove it |
Quote:
|
this is where the problem lies though
the new thread link is going on the forums which have been set to 'no' for act as a forum |
Quote:
|
sorry
|
Thanks, I've used it like this in the '_post' templates of the forumdisplay and home. I've added it around the on/off button like this:
Code:
<a href="newthread.php?s=$session[sessionhash]&action=newthread&forumid=$forum[forumid]"><img src="{imagesfolder}/$forum[onoff].gif" border="0" alt="Click here to post a new thread to: $forum[title]"></a> |
Has anyone else noticed that whenever you put certain php commands in messages here the board converts them... for example I put { imagesfolder } then and it was changed to {imagesfolder}
|
Great hack. :)
[high]* Cyricx clicks install.[/high] |
Can anybody tell me - what does this hack does?
Doen't get the point. Looked at the demo... |
When viewing your forums page where it lists your forums, it adds a link in the description for posting a new thread in that forum.
Question - Is there a way to set this so it only displays if that person has posting access to the forum? I have a few forums that members can read and reply in but only moderators can start new threads in. Unfortunately they see the link and I get a few intellectually challenged ones asking why they have lost their posting access LOL |
All times are GMT. The time now is 08:12 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:
|