Originally posted by Matthew Gordon
View Post
Announcement
Collapse
No announcement yet.
Change link to "Post new thread"
Collapse
X
-
Originally posted by Matthew Gordon View PostI think this'll work. Edit the FORUMDISPLAY template, find:
Code:<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}"
Code:<a href="<vb:if condition="$foruminfo['forumid'] == 5">http://www.youurlhere.com/<vb:else />{vb:raw $vboptions.vbforum_url}{vb:if "$vboptions['vbforum_url']", '/', ''}newthread.php?{vb:raw session.sessionurl}do=newthread&f={vb:raw foruminfo.forumid}</vb:if>"
Leave a comment:
-
I fixed it now! The problem is that I didn't reverted the changes I made in the begin. I am sorry if causing confusion!
Thank you again very much for the help. You guys are the best!
Kind regards
Leave a comment:
-
Wait!
@Matthew Gordon
This works only for the second button. The first button still creates a new thread.
Leave a comment:
-
Originally posted by TheLastSuperman View Postomdl thanks for the catch! I was thinking reply to thread not post new thread.
So try this then instead:
Code:<vb:if condition="$show['newthreadlink']"><a href="<vb:if condition="$thread['forumid'] == 9">http://www.yourreplacmenturlhere.com<vb:else />{vb:raw $vboptions.vbforum_url}{vb:if "$vboptions['vbforum_url']", '/', ''}newthread.php?{vb:raw session.sessionurl}do=newthread&f={vb:raw foruminfo.forumid}</vb:if>" rel="nofollow" class="newcontent_textcontrol" id="newthreadlink_top"><span>+</span> {vb:rawphrase post_new_thread}</a></vb:if>
.
Originally posted by Matthew Gordon View PostI think this'll work. Edit the FORUMDISPLAY template, find:
Code:<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}"
Code:<a href="<vb:if condition="$foruminfo['forumid'] == 5">http://www.youurlhere.com/<vb:else />{vb:raw $vboptions.vbforum_url}{vb:if "$vboptions['vbforum_url']", '/', ''}newthread.php?{vb:raw session.sessionurl}do=newthread&f={vb:raw foruminfo.forumid}</vb:if>"
I am very confused right now. How is this possible?
Leave a comment:
-
I think this'll work. Edit the FORUMDISPLAY template, find:
Code:<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}"
Code:<a href="<vb:if condition="$foruminfo['forumid'] == 5">http://www.youurlhere.com/<vb:else />{vb:raw $vboptions.vbforum_url}{vb:if "$vboptions['vbforum_url']", '/', ''}newthread.php?{vb:raw session.sessionurl}do=newthread&f={vb:raw foruminfo.forumid}</vb:if>"
Leave a comment:
-
Originally posted by borbole View PostTry this. At the FORUMDISPLAY template find the following code:
HTML 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>
HTML Code:<vb:if condition="$show['newthreadlink']"> <a href="http://www.redireclink.com" rel="nofollow" class="newcontent_textcontrol" id="newthreadlink_top"> <span>+</span> {vb:rawphrase post_new_thread}</a></vb:if>
.
Originally posted by JabirA View Post@Borbole: I want this modification only in a specific forum. How do do I accomplish that?
Code:<vb:if condition="$show['newthreadlink']"><a href="<vb:if condition="$thread['forumid'] == 9">http://www.yourreplacmenturlhere.com<vb:else />{vb:raw $vboptions.vbforum_url}{vb:if "$vboptions['vbforum_url']", '/', ''}newthread.php?{vb:raw session.sessionurl}do=newthread&f={vb:raw foruminfo.forumid}</vb:if>" rel="nofollow" class="newcontent_textcontrol" id="newthreadlink_top"><span>+</span> {vb:rawphrase post_new_thread}</a></vb:if>
.
Leave a comment:
-
Originally posted by JabirA View Post@Borbole: I want this modification only in a specific forum. How do do I accomplish that?
http://www.vbulletin.org/forum/showthread.php?t=231525
Leave a comment:
-
@Borbole: I want this modification only in a specific forum. How do do I accomplish that?
Leave a comment:
-
Originally posted by JabirA View PostDidn't work! I tried it twice.
HTML 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>
HTML Code:<vb:if condition="$show['newthreadlink']"> <a href="http://www.redireclink.com" rel="nofollow" class="newcontent_textcontrol" id="newthreadlink_top"> <span>+</span> {vb:rawphrase post_new_thread}</a></vb:if>
Leave a comment:
-
Originally posted by JabirA View PostHello,
Does someone know how to change the link "Post new thread" to link to another page. If yes is it possible to do this for a specific forum?
Thanks in advance.
Kind regards
Code:<div id="above_postlist" class="above_postlist"> <vb:if condition="$show['largereplybutton']"> <a href="{vb:raw $vboptions.vbforum_url}{vb:if "$vboptions['vbforum_url']", '/', ''}newreply.php?{vb:raw session.sessionurl}p={vb:raw LASTPOSTID}&noquote=1" class="newcontent_textcontrol" id="newreplylink_top"><vb:if condition="$show['closethread']"><span>+</span> {vb:rawphrase reply_to_thread}<vb:else />{vb:rawphrase closed_thread}</vb:if></a> <img style="display:none" id="progress_newreplylink_top" src="{vb:stylevar imgdir_misc}/progress.gif" alt="" /> </vb:if>
Code:<div id="below_postlist" class="<vb:if condition="!$show['inlinemod']">noinlinemod </vb:if>below_postlist"> <vb:if condition="$show['largereplybutton']"> <a href="{vb:raw $vboptions.vbforum_url}{vb:if "$vboptions['vbforum_url']", '/', ''}newreply.php?{vb:raw session.sessionurl}p={vb:raw LASTPOSTID}&noquote=1"class="newcontent_textcontrol" id="newreplylink_bottom"><vb:if condition="$show['closethread']"><span>+</span> {vb:rawphrase reply_to_thread}<vb:else />{vb:rawphrase closed_thread}</vb:if></a> </vb:if>
Code:<div id="above_postlist" class="above_postlist"> <vb:if condition="$show['largereplybutton']"> <a href="<vb:if condition="$thread['forumid'] == 9">http://www.yourreplacmenturlhere.com<vb:else />{vb:raw $vboptions.vbforum_url}{vb:if "$vboptions['vbforum_url']", '/', ''}newreply.php?{vb:raw session.sessionurl}p={vb:raw LASTPOSTID}&noquote=1</vb:if>" class="newcontent_textcontrol" id="newreplylink_top"><vb:if condition="$show['closethread']"><span>+</span> {vb:rawphrase reply_to_thread}<vb:else />{vb:rawphrase closed_thread}</vb:if></a> <img style="display:none" id="progress_newreplylink_top" src="{vb:stylevar imgdir_misc}/progress.gif" alt="" /> </vb:if>
Code:<div id="below_postlist" class="<vb:if condition="!$show['inlinemod']">noinlinemod </vb:if>below_postlist"> <vb:if condition="$show['largereplybutton']"> <a href="<vb:if condition="$thread['forumid'] == 9">http://www.yourreplacmenturlhere.com<vb:else />{vb:raw $vboptions.vbforum_url}{vb:if "$vboptions['vbforum_url']", '/', ''}newreply.php?{vb:raw session.sessionurl}p={vb:raw LASTPOSTID}&noquote=1</vb:if>"class="newcontent_textcontrol" id="newreplylink_bottom"><vb:if condition="$show['closethread']"><span>+</span> {vb:rawphrase reply_to_thread}<vb:else />{vb:rawphrase closed_thread}</vb:if></a> </vb:if>
.
Leave a comment:
-
Change link to "Post new thread"
Hello,
Does someone know how to change the link "Post new thread" to link to another page. If yes is it possible to do this for a specific forum?
Thanks in advance.
Kind regardsTags: None
Related Topics
Collapse
-
After upgrade I got to links to the section. Look at the picture.1 Photo
-
Channel: Support Issues & Questions
Sun 3 Dec '17, 3:50am -
Leave a comment: