vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Looking for "Add New Thread Button" for 3.5.4 (https://vborg.vbsupport.ru/showthread.php?t=123644)

Whiterook 08-11-2006 06:15 AM

Looking for "Add New Thread Button" for 3.5.4
 
I have found a couple of setups for other versions, but none for 3.5.4.
I know this version is just about outdated (of course :D). But I sure would like to add this button to my show thread.

I've tried using the set up for 3.5.1, but I end up with 3 reply buttons. Two where they normally are located, and one beside the New Thread dead center top of the 'showthread' page.

Anyway, is there one made fo my version?

Thanks in advance,
Rook

peterska2 08-11-2006 10:16 AM

There are a few versions of this written, for a variety of boards in the 3.5.x series. All of these will work, so just pick one and make sure that you follow the instructions carefully.

Whiterook 08-11-2006 03:09 PM

Quote:

Originally Posted by peterska2
There are a few versions of this written, for a variety of boards in the 3.5.x series. All of these will work, so just pick one and make sure that you follow the instructions carefully.

Thank You Peterska2,



Edited to show solution:

acidburn0520 wrote in another thread:

Find in your SHOWTHREAD template:

Code:

$vbphrase[closed_thread]" border="0" /></if></a>
Add directly after:
Code:

&nbsp; <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>
If you want the New Thread button to appear next to both New Reply buttons, you'll need to do the above twice -- there is another further down the template.



This worked like a charm! The other mods had me delete a few lines, and added just about the same thing.... don't know why I needed to delete those lines.... oh well, I guess that's why i'm a carpenter, and not a coder :D (stick to what I know ahhahaa)



Thanks again for your help m8....
WhiteRook


Edit:
I just noticed this is in the wrong section... my apologies to the board.


All times are GMT. The time now is 11:40 PM.

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.00997 seconds
  • Memory Usage 1,718KB
  • 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
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (3)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