Helpful Information
 
 
Category: vB4 General Discussions
New thread

I have been trying to add new thread button where you normaly just have reply to post i have looked at the code and ended up with this to add to showthread :-

<a href="newthread.php?{vb:raw session.sessionurl}do=newthread&amp;f={vb:raw foruminfo.forumid}" rel="nofollow" class="textcontrol" id="newthreadlink_bottom"><span>+</span> {vb:rawphrase post_new_thread}</a>

The button appears but when i click it it dont do the foruminfo.forumid so takes me to contact admin page i have tried many of different things but i just cant get my head round why it will not pick up the forum id ? i hope so one can help so i can start to understand the vb4 coding

What is showing up in the source code in the page? My guess is there is no forumid. I don't think you want foruminfo.forumid, I think you want thread.forumid or threadinfo.forumid.

Thanks it was thread.forumid once i have sorted how the button displays as at the moment it shows a small button i will post full how to if thats ok in v4 template mods










privacy (GDPR)