vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=192)
-   -   Add The New Thread Button On ShowThread (https://vborg.vbsupport.ru/showthread.php?t=120625)

Mastar 07-07-2006 10:00 PM

Add The New Thread Button On ShowThread
 
In SHOWTHREAD Template...

Find (Two instances):

Code:

<if condition="$show['largereplybutton']">
                <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>
        <else />


Replace it with:

Code:

<if condition="$show['largereplybutton']">
                <td class="smallfont">
<a href="newthread.php?$session[sessionurl]do=newthread&amp;f=$foruminfo[forumid]" rel="nofollow"><img src="$stylevar[imgdir_button]/newthread.gif" alt="$vbphrase[post_new_thread]" border="0" /></a>&nbsp;

<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>
        <else />


Brandon Sheley 07-08-2006 06:59 AM

thank you.

i think this is posted somewhere already ? I just did this the other week,, but added a new style so i needed to do it again anyways..

/me installs

kall 07-08-2006 08:42 AM

It's posted all over the place. :)

At last count, there were 3 for 3.5.x, all the same as this.

Mastar 07-08-2006 07:03 PM

I know, just thought I'll put it here also!

Snake 07-09-2006 11:55 AM

Thanks, this works just fine.

Brandon Sheley 07-31-2006 04:58 AM

Quote:

Originally Posted by kall
It's posted all over the place. :)

At last count, there were 3 for 3.5.x, all the same as this.

ah, well I'm glad I found one of them..:cool:

wEbAddEr 07-31-2006 08:49 AM

thanks, is something from my old closed ipb board that i missed with vBuletin :)

Maxman1544 08-15-2006 01:40 AM

Thanks!

tekstylez 08-22-2006 01:25 PM

Thank you... needed this

DPSR 08-26-2006 10:03 AM

Yeah, atlast i found it... thanks Mastar for the mod :D

therocks 08-27-2006 07:40 PM

nice one.. thanks

Dermo-MIO 08-28-2006 04:27 PM

hope this works i tried this on 3.5.4 and it left loads of code in the postbit and wouldnt allow me to undo what i did and blocked one of my mods from logging in

AMG021 09-30-2006 09:41 PM

Thanks! This is very help ful :)

MillerLight 11-05-2006 03:55 AM

Worked Great!

vietConnecting 11-19-2006 02:07 PM

Yeah, atlast i found it... thanks Mastar for the mod

stan111 01-26-2007 01:14 AM

thanks for your tips :p

KURTZ 01-27-2007 08:02 AM

INSTALLED!

abosaleh 01-27-2007 09:52 AM

Thanks Alot

verbs 02-04-2007 04:31 AM

thanks!

Mastar 02-27-2007 11:38 PM

Quote:

Originally Posted by vietConnecting (Post 1120774)
Yeah, atlast i found it... thanks Mastar for the mod


Hey no problem.

tehPARADOX 02-28-2007 12:07 AM

Thanks, love this hack.

pipedreams 02-28-2007 12:45 PM

much thanks for this simple hack :)

Mastar 03-01-2007 01:47 AM

Thanks for all ya'll installs.

kingele18 03-01-2007 03:07 AM

thanks
i'll make it in the new style :)

momo2 06-13-2007 06:10 PM

this will save a lot of time for slow boards, like mine, thanks so much

TheWhite 06-14-2007 06:04 AM

great dude

doushx 07-07-2007 09:04 AM

thanks

sinanmoda 08-04-2007 01:37 PM

Thank youuuu :D

rapidphim 08-08-2007 11:29 PM

I think the codes are a bit different on 3.6.8. Can someone please confirm?

3.6.5 - SHOWTHREAD (as instructed)
HTML Code:

<if condition="$show['largereplybutton']">
<td class="smallfont"> <a href="newthread.php?$session[sessionurl]do=newthread&amp;f=$foruminfo[forumid]" rel="nofollow"><img src="$stylevar[imgdir_button]/newthread.gif" alt="$vbphrase[post_new_thread]" border="0" /></a>&nbsp; <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> <else />

3.6.8 - SHOWTHREAD
HTML Code:

<if condition="$show['largereplybutton']">
                <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>
        <else />


al.vb 08-15-2007 11:33 AM

yes, the codes seem not to be same. Can somebody please post how to make it on 3.6.8. work and have the New thread button on the right side. Thanks for Help!

TheBlackPoet 08-15-2007 11:45 AM

you forgot an </if> tag at the end.... 2x.....

momo2 09-05-2007 09:38 PM

this save posters a lot of time, Thanksssssssss

KURTZ 09-12-2007 03:16 PM

Quote:

Originally Posted by rapidphim (Post 1313153)
I think the codes are a bit different on 3.6.8. Can someone please confirm?

3.6.5 - SHOWTHREAD (as instructed)
HTML Code:

<if condition="$show['largereplybutton']">
<td class="smallfont"> <a href="newthread.php?$session[sessionurl]do=newthread&amp;f=$foruminfo[forumid]" rel="nofollow"><img src="$stylevar[imgdir_button]/newthread.gif" alt="$vbphrase[post_new_thread]" border="0" /></a>&nbsp; <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> <else />

3.6.8 - SHOWTHREAD
HTML Code:

<if condition="$show['largereplybutton']">
                <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>
        <else />


Quote:

Originally Posted by al.vb (Post 1318023)
yes, the codes seem not to be same. Can somebody please post how to make it on 3.6.8. work and have the New thread button on the right side. Thanks for Help!

yes the codes are different ... so someone can help us? thx

PS. unistalled :(

mishb68 09-18-2007 05:42 AM

Thanks, I'm now using this.

E-IndiaWeb 10-23-2007 06:53 PM

A++++ worked great

oicyu8chu 11-16-2007 06:08 PM

Great addition. Thanks.

AzH 11-18-2007 04:32 PM

Thanks. Installed.

thefullmaza 12-05-2007 01:20 PM

<font color="Red">Thanks! This is very help ful </font>

ctfortner 12-06-2007 03:17 PM

worked like a champ on 3.6.8 patch 2, thanks for the mod

mertada 12-15-2007 04:57 PM

Thanks,


All times are GMT. The time now is 06:33 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.02333 seconds
  • Memory Usage 1,799KB
  • 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
  • (2)bbcode_code_printable
  • (4)bbcode_html_printable
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete