The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Edit "New Thread" Link / Button Details »» | |||||||||||||||||||||||||||||||
Edit "New Thread" Link / Button What does this do? -------------------------------------------------------------------- Modify the Link the users are redirected to when they click the "New Thread" Button. Installation -------------------------------------------------------------------- 1. Goto admincp -> Plugin System -> Manage Products -> [Add/Import Product] 2. Browse for this product and click Import 3. Edit the Template "FORUMDISPLAY"(without quotes): FIND: HTML Code:
<vb:if condition="$show['newthreadlink']"> <a href="newthread.php?{vb:raw session.sessionurl}do=newthread&f={vb:raw foruminfo.forumid}" rel="nofollow" class="newcontent_textcontrol" id="newthreadlink_top"> <span>+</span> {vb:rawphrase post_new_thread} </a> </vb:if> HTML Code:
<vb:if condition="$show['newthreadlink']"> <vb:if condition="$foruminfo['new_thread_link']"> <a href="{vb:raw foruminfo.new_thread_link}" rel="nofollow" class="newcontent_textcontrol" id="newthreadlink_top"> <span>+</span> {vb:rawphrase post_new_thread} </a> <vb:else /> <a href="newthread.php?{vb:raw session.sessionurl}do=newthread&f={vb:raw foruminfo.forumid}" rel="nofollow" class="newcontent_textcontrol" id="newthreadlink_top"> <span>+</span> {vb:rawphrase post_new_thread} </a> </vb:if> <vb:else /> </vb:if> HTML Code:
<vb:if condition="$show['newthreadlink']"> <li> <a href="newthread.php?{vb:raw session.sessionurl}do=newthread&f={vb:raw foruminfo.forumid}" rel="nofollow"> {vb:rawphrase post_a_new_thread}… </a> </li> </vb:if> HTML Code:
<vb:if condition="$show['newthreadlink']"> <li> <vb:if condition="$foruminfo['new_thread_link']"> <a href="{vb:raw foruminfo.new_thread_link}" rel="nofollow"> {vb:rawphrase post_new_thread}… </a> <vb:else /> <a href="newthread.php?{vb:raw session.sessionurl}do=newthread&f={vb:raw foruminfo.forumid}" rel="nofollow"> {vb:rawphrase post_new_thread}… </a> </vb:if> </li> </vb:if> HTML Code:
<vb:if condition="$show['newthreadlink'] AND $show['threadslist']"> <a href="newthread.php?{vb:raw session.sessionurl}do=newthread&f={vb:raw foruminfo.forumid}" rel="nofollow" class="newcontent_textcontrol" id="newthreadlink_bottom"> <span>+</span> {vb:rawphrase post_new_thread}</a> </vb:if> HTML Code:
<vb:if condition="$show['newthreadlink'] AND $show['threadslist']"> <vb:if condition="$foruminfo['new_thread_link']"> <a href="{vb:raw foruminfo.new_thread_link}" rel="nofollow" class="newcontent_textcontrol" id="newthreadlink_bottom"> <span>+</span> {vb:rawphrase post_new_thread} </a> <vb:else /> <a href="newthread.php?{vb:raw session.sessionurl}do=newthread&f={vb:raw foruminfo.forumid}" rel="nofollow" class="newcontent_textcontrol" id="newthreadlink_bottom"> <span>+</span> {vb:rawphrase post_new_thread} </a> </vb:if> <vb:else /> </vb:if> USAGE -------------------------------------------------------------------- 1. Goto admincp -> Forums & Moderators -> Forum Manager 2. Find the Forum where you want the "New Thread" Button link replaced 3. Choose "Edit Forum" -> Go 4. Scroll to the bottom of the Page and locate "Edit New Thread Link/Button" 5. Insert your link and hit SAVE 6. Done Tested with vb4 Gold and 4.0.1. As an Alternative I attached the instructions for the Template edits. Im trying to make the Template edits automatic so any help is greatly appreciated! Download Now
Screenshots
Show Your Support
|
Comments |
#12
|
|||
|
|||
please do a 4.1.12 version
|
#13
|
|||
|
|||
A 4.2 version would be really helpful.
|
#14
|
|||
|
|||
Okay, so I played with this and was able to get it to work with 4.2.0.
Here is what I did... 1. Goto admincp -> Plugin System -> Manage Products -> [Add/Import Product] 2. Browse for this product and import product-new_thread_link 3. Edit the Template "FORUMDISPLAY"(without quotes): Find: Code:
<vb:if condition="$show['newthreadlink']"><a href="{vb:raw $vboptions.vbforum_url}{vb:if "$vboptions['vbforum_url']", '/', ''}newthread.php?{vb:raw session.sessionurl}do=newthread&f={vb:raw foruminfo.forumid}" rel="nofollow" class="newcontent_textcontrol" id="newthreadlink_top"><span>+</span> {vb:rawphrase post_new_thread}</a></vb:if> Replace with: Code:
<vb:if condition="$show['newthreadlink']"> <li> <vb:if condition="$foruminfo['new_thread_link']"> <a href="{vb:raw foruminfo.new_thread_link}" rel="nofollow"> {vb:rawphrase post_new_thread}… </a> <vb:else /> <a href="newthread.php?{vb:raw session.sessionurl}do=newthread&f={vb:raw foruminfo.forumid}" rel="nofollow"> {vb:rawphrase post_new_thread}… </a> </vb:if> </li> </vb:if> Find: Code:
<vb:if condition="$show['newthreadlink']"> <a href="{vb:raw $vboptions.vbforum_url}{vb:if "$vboptions['vbforum_url']", '/', ''}newthread.php?{vb:raw session.sessionurl}do=newthread&f={vb:raw foruminfo.forumid}" rel="nofollow" class="newcontent_textcontrol" id="newthreadlink_bottom"><span>+</span> {vb:rawphrase post_new_thread}</a> </vb:if> Replace with: Code:
<vb:if condition="$show['newthreadlink']"> <vb:if condition="$foruminfo['new_thread_link']"> <a href="{vb:raw foruminfo.new_thread_link}" rel="nofollow" class="newcontent_textcontrol" id="newthreadlink_top"> <span>+</span> {vb:rawphrase post_new_thread} </a> <vb:else /> <a href="newthread.php?{vb:raw session.sessionurl}do=newthread&f={vb:raw foruminfo.forumid}" rel="nofollow" class="newcontent_textcontrol" id="newthreadlink_top"> <span>+</span> {vb:rawphrase post_new_thread} </a> </vb:if> <vb:else /> </vb:if> 5. Find the Forum where you want the "New Thread" Button link replaced 6. Choose "Edit Forum" -> Go 7. Scroll to the bottom of the Page and locate "Edit New Thread Link/Button" 8. Insert your link and hit SAVE 9. Done |
#15
|
||||
|
||||
Quote:
Is anyone is around that still uses this plugin please here my plea. LOL, please help |
#16
|
||||
|
||||
Quote:
|
Thread Tools | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|