vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=155)
-   -   Add Newthread button in Showthread (https://vborg.vbsupport.ru/showthread.php?t=102501)

CongTuDepTrai 12-07-2005 10:00 PM

Add Newthread button in Showthread
 
Work with 3.5.1 too


this is the small code for the showthread template, add newthread button next to newreply button:

to do that

find in showthread template

Code:

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

and replace with the code below

Code:

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




remember that there is 2 reply button above and below the thread so you have to do that twice

michaelbenson 12-08-2005 02:43 PM

This has already been released i think.

CongTuDepTrai 12-08-2005 03:07 PM

only saw for 3.5 RC2, this different if you take a look

kall 12-08-2005 03:57 PM

Quote:

Originally Posted by CongTuDepTrai
only saw for 3.5 RC2, this different if you take a look

Doesn't look much different to https://vborg.vbsupport.ru/showthread.php?t=101116 (3.5.1) .. but https://vborg.vbsupport.ru/showthread.php?t=91064 (3.5 RC2) can't be all that much different.

Snake 12-08-2005 04:19 PM

I have installed those two mods but I've to say that this one is the best. Thanks!

CongTuDepTrai 12-08-2005 04:39 PM

Quote:

Originally Posted by Aftermath
I have installed those two mods but I've to say that this one is the best. Thanks!

thanks

seem like we come from same area

nobita 12-10-2005 12:30 AM

Quote:

Originally Posted by CongTuDepTrai
thanks

seem like we come from same aread

Chu' kha' phe^t' nhi? $-)

Snake 12-10-2005 11:59 AM

What the hell... O.o

LBSources 12-26-2005 03:32 AM

works well ..

/me clicks install

Snake 01-24-2006 12:24 PM

Just reinstalled this hack since the server move. :)


All times are GMT. The time now is 11:28 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.01191 seconds
  • Memory Usage 1,728KB
  • 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
  • (3)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
  • (10)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