vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.7 Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=229)
-   -   Show Thread Enhancements - Add New Thread Button To Forum Posts (https://vborg.vbsupport.ru/showthread.php?t=184217)

TrevsRevenge 07-01-2008 10:00 PM

Add New Thread Button To Forum Posts
 
https://vborg.vbsupport.ru/external/2008/07/38.gif

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

HTML 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:

HTML Code:

<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 07-03-2008 07:17 AM

finally... i've been looking for this... :)

thank you so much

tafreeh 07-04-2008 01:02 AM

i was gonna request this one.... thanx allot

mA|tRiX 07-04-2008 10:19 AM

Great. :) THX

spacetv 07-06-2008 01:56 PM

i did as posted and it;s not coming up , any ideas

BigDog56 07-06-2008 04:28 PM

Thank you! been wanting this too!

redraider 07-08-2008 12:30 PM

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):

Code:

<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 07-09-2008 07:46 AM

thanks red raider that seemed to fix my problem

drsli 07-13-2008 04:29 PM

Thank you very much for this enhancement! :)

mesdar 07-15-2008 01:39 PM

Realy
Thank you

digicom 07-15-2008 10:22 PM

Thank you apprciated :up:

eglyntine 07-18-2008 04:33 AM

Thanks! Just what I was looking for... :)

pspmaster93 07-22-2008 07:32 PM

cool why dont they have this built into vbulletin like ipb does

bojiokia 07-23-2008 10:04 PM

Thank you for this! :)

Q-v-n-s-Q 07-29-2008 07:27 AM

been looking for this, thanks :)

helpmehost 07-29-2008 10:46 AM

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 07-30-2008 03:38 AM

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 08-02-2008 03:06 PM

*installed

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

gutelaune 08-23-2008 10:25 PM

installed

thanks :)

Daisyboo 08-27-2008 07:05 PM

Great thank you! One thing I missed moving to vB.

nerofix 08-29-2008 12:36 AM

ermm... I'd like to have the "reply" button in the postbit .. do you know which way it works?

exel 09-09-2008 11:28 PM

sweet thanks :D

zero5854 11-01-2008 04:50 PM

dude that line is in there twice? Is it the first one or the second one?

lucky51 11-04-2008 11:29 AM

n u can add same new thread buttan in after the thread

look for the the following code:
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:

Code:

<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 11-08-2008 01:04 AM

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-12-2008 05:51 AM

thanks

installed

lighthazard 03-15-2009 05:28 AM

Is "SHOWTHREAD" template in admincp?

xpinx2pin 06-09-2009 04:14 AM

thanks so much after lookin for along time

Aexo 06-15-2009 03:15 PM

this mod works fine into VB 3.8.3 but with this code:
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 06-17-2009 07:16 PM

Thanks, Just added this to the skin iv been working on for my website :)

willy888 08-04-2009 08:45 PM

Quote:

Originally Posted by Aexo (Post 1830129)
this mod works fine into VB 3.8.3 but with this code:
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 08-21-2009 09:27 PM

Esto es lo que necesito pero para version 3.8.4


This is what I need but for version 3.8.4

heelp


All times are GMT. The time now is 05:07 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01194 seconds
  • Memory Usage 1,781KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (5)bbcode_code_printable
  • (2)bbcode_html_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (32)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete