PDA

View Full Version : Show Thread Enhancements - Add New Thread Button To Forum Posts


TrevsRevenge
02 Jul 2008, 21:35
https://www.vbulletin.org/forum/external/2008/07/38.gif

Instructions:
1- go to your "SHOWTHREAD" template
2- look for the the following code:

<td class="smallfont"><a href="newreply.php?$session[sessionurl]do=newreply&amp;noquote=1&amp;p=$FIRSTPOSTID" rel="nofollow"><if condition="$show['closethread']"><img src="$stylevar[imgdir_button]/reply.gif" alt="$vbphrase[reply]" border="0" /><else /><img src="$stylevar[imgdir_button]/threadclosed.gif" alt="$vbphrase[closed_thread]" border="0" /></if></a></td>

2- Replace it with:

<td class="smallfont"><a href="newthread.php?$session[sessionurl]do=newthread&amp;f=$foruminfo[forumid]"><img src="$stylevar[imgdir_button]/newthread.gif" border="0" alt="$vbphrase[post_new_thread]" /></a>&nbsp;&nbsp;<a href="newreply.php?$session[sessionurl]do=newreply&amp;noquote=1&amp;p=$FIRSTPOSTID"><if condition="$show['closethread']"><img src="$stylevar[imgdir_button]/reply.gif" alt="$vbphrase[reply]" border="0" /><else /><img src="$stylevar[imgdir_button]/threadclosed.gif" alt="$vbphrase[closed_thread]" border="0" ></if></a></td>

http://i30.tinypic.com/291fk3b.jpg

RvG2
03 Jul 2008, 09:17
finally... i've been looking for this... :)

thank you so much

tafreeh
04 Jul 2008, 03:02
i was gonna request this one.... thanx allot

mA|tRiX
04 Jul 2008, 12:19
Great. :) THX

spacetv
06 Jul 2008, 15:56
i did as posted and it;s not coming up , any ideas

BigDog56
06 Jul 2008, 18:28
Thank you! been wanting this too!

redraider
08 Jul 2008, 14:30
Thanks for this hack! ..... I wanted the new thread after new reply ... so I replaced with this rearranged version of above (In case anyone needs that):

<td class="smallfont"><a href="newreply.php?$session[sessionurl]do=newreply&amp;noquote=1&amp;p=$FIRSTPOSTID"><if condition="$show['closethread']"><img src="$stylevar[imgdir_button]/reply.gif" alt="$vbphrase[reply]" border="0" /><else /><img src="$stylevar[imgdir_button]/threadclosed.gif" alt="$vbphrase[closed_thread]" border="0" ></if></a>&nbsp;&nbsp;<a href="newthread.php?$session[sessionurl]do=newthread&amp;f=$foruminfo[forumid]"><img src="$stylevar[imgdir_button]/newthread.gif" border="0" alt="$vbphrase[post_new_thread]" /></a></td>

spacetv
09 Jul 2008, 09:46
thanks red raider that seemed to fix my problem

drsli
13 Jul 2008, 18:29
Thank you very much for this enhancement! :)

mesdar
15 Jul 2008, 15:39
Realy
Thank you

digicom
16 Jul 2008, 00:22
Thank you apprciated :up:

eglyntine
18 Jul 2008, 06:33
Thanks! Just what I was looking for... :)

pspmaster93
22 Jul 2008, 21:32
cool why dont they have this built into vbulletin like ipb does

bojiokia
24 Jul 2008, 00:04
Thank you for this! :)

Q-v-n-s-Q
29 Jul 2008, 09:27
been looking for this, thanks :)

helpmehost
29 Jul 2008, 12:46
This does not make sense, I always hated phpbb for that. When some body is on a post why should he click on new thread. when I had phpbb I always had problem with people who clicked on new thread instead of reply.

nascartr
30 Jul 2008, 05:38
Works great for me. What I always wanted! Takes an extra step out of the process of reading a thread and deciding to post a new one!

N1GTO4
02 Aug 2008, 17:06
*installed

Thanks to redraider for the re-ordered button code, also.

gutelaune
24 Aug 2008, 00:25
installed

thanks :)

Daisyboo
27 Aug 2008, 21:05
Great thank you! One thing I missed moving to vB.

nerofix
29 Aug 2008, 02:36
ermm... I'd like to have the "reply" button in the postbit .. do you know which way it works?

exel
10 Sep 2008, 01:28
sweet thanks :D

zero5854
01 Nov 2008, 18:50
dude that line is in there twice? Is it the first one or the second one?

lucky51
04 Nov 2008, 13:29
n u can add same new thread buttan in after the thread

look for the the following code:
<td class="smallfont"><a href="newreply.php?$session[sessionurl]do=newreply&amp;noquote=1&amp;p=$LASTPOSTID" rel="nofollow"><if condition="$show['closethread']"><img src="$stylevar[imgdir_button]/reply.gif" alt="$vbphrase[reply]" border="0" /><else /><img src="$stylevar[imgdir_button]/threadclosed.gif" alt="$vbphrase[closed_thread]" border="0" /></if></a></td>


2- Replace it with:

<td class="smallfont"><a href="newthread.php?$session[sessionurl]do=newthread&amp;f=$foruminfo[forumid]"><img src="$stylevar[imgdir_button]/newthread.gif" border="0" alt="$vbphrase[post_new_thread]" /></a>&nbsp;&nbsp;<a href="newreply.php?$session[sessionurl]do=newreply&amp;noquote=1&amp;p=$LASTPOSTID"><if condition="$show['closethread']"><img src="$stylevar[imgdir_button]/reply.gif" alt="$vbphrase[reply]" border="0" /><else /><img src="$stylevar[imgdir_button]/threadclosed.gif" alt="$vbphrase[closed_thread]" border="0" /></if></a></td>

see pic sorry for bad english

zero5854
08 Nov 2008, 03:04
I CANNOT FIND THIS LINE or ANY variations of it! I am using 3.7.3pl1 any ideas?

EDIT nvm its just that Vbulletin search sucks so I had to copy and paste it into my FTP client that allows me to search whole lines.

Thanks for this mod

mesdar
12 Dec 2008, 07:51
thanks

installed

lighthazard
15 Mar 2009, 07:28
Is "SHOWTHREAD" template in admincp?

xpinx2pin
09 Jun 2009, 06:14
thanks so much after lookin for along time

Aexo
15 Jun 2009, 17:15
this mod works fine into VB 3.8.3 but with this code:

<td class="smallfont"><a href="newthread.php?$session[sessionurl]do=newthread&amp;f=$thread[forumid]"><img src="$stylevar[imgdir_button]/newthread.gif" border="0" alt="$vbphrase[post_new_thread]" /></a>&nbsp;&nbsp;<a href="newreply.php?$session[sessionurl]do=newreply&amp;noquote=1&amp;p=$LASTPOSTID"><if condition="$show['closethread']"><img src="$stylevar[imgdir_button]/reply.gif" alt="$vbphrase[reply]" border="0" /><else /><img src="$stylevar[imgdir_button]/threadclosed.gif" alt="$vbphrase[closed_thread]" border="0" /></if></a></td>


Greetings

Ray2khax
17 Jun 2009, 21:16
Thanks, Just added this to the skin iv been working on for my website :)

willy888
04 Aug 2009, 22:45
this mod works fine into VB 3.8.3 but with this code:

<td class="smallfont"><a href="newthread.php?$session[sessionurl]do=newthread&amp;f=$thread[forumid]"><img src="$stylevar[imgdir_button]/newthread.gif" border="0" alt="$vbphrase[post_new_thread]" /></a>&nbsp;&nbsp;<a href="newreply.php?$session[sessionurl]do=newreply&amp;noquote=1&amp;p=$LASTPOSTID"><if condition="$show['closethread']"><img src="$stylevar[imgdir_button]/reply.gif" alt="$vbphrase[reply]" border="0" /><else /><img src="$stylevar[imgdir_button]/threadclosed.gif" alt="$vbphrase[closed_thread]" border="0" /></if></a></td>


Greetings

Thanks man that workes on 3.8.3

LOKIN510051
21 Aug 2009, 23:27
Esto es lo que necesito pero para version 3.8.4




This is what I need but for version 3.8.4


heelp