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)
-   -   New Thread Button on post viewing. (https://vborg.vbsupport.ru/showthread.php?t=91064)

flup 06-24-2005 10:00 PM

New Thread Button on post viewing.
 
When viewing a post the only button you see is the Post Reply button.

With this template modification, you also have the Post New Thread button back like in the old times :)

If you use it don't forget the https://vborg.vbsupport.ru/ button:)

GinjiAmano 06-25-2005 02:35 PM

very useful.

Snake 06-25-2005 03:34 PM

Certainly it is. Thanks.

bigcurt 06-25-2005 04:00 PM

Haha, nice man.

red_baron2000 06-26-2005 10:11 PM

this should be integrated in vb 3.5 by default..
thank you great job
"between love that avatar in your demo picture lol" :)

coffeefix 06-28-2005 03:58 PM

Thanks for this. works great. :)

lazorde 07-04-2005 08:03 AM

thanx

SlaPPiE 07-30-2005 09:28 PM

Thanks for the mod.

Boofo 07-30-2005 10:20 PM

Quote:

Originally Posted by SlaPPiE
Thanks for the mod. Here's a transparent .gif of the New Thread button if anyone wants it.

Where?

SlaPPiE 07-30-2005 10:26 PM

I feel like an idiot. I put this in the wrong topic.

Boofo 07-30-2005 10:32 PM

No joke. I don't see it. hmmmm.

Reminder 08-05-2005 03:57 PM

Just Admin

Code:

<if condition="$show['largereplybutton']">
<td class="smallfont">
<if condition="$show['admincplink']">
<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>
                <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>


ohgenki 08-26-2005 04:31 AM

pardon me, but i can't seem to find that code.

<if condition="$show['largereplybutton']">
<td class="smallfont"><a href="newreply.php?$session[sessionurl]do=newreply&amp;noquote=1&amp;p=$FIRSTPOSTID">

Bozkurtum 08-26-2005 08:43 AM

good! thanks

xug 09-06-2005 12:04 AM

This can also be done at the bottom of the thread page ;)

find:

<if condition="$show['largereplybutton']">
<td class="smallfont"><a href="newreply.php?$session[sessionurl]do=newreply&amp;noquote=1&amp;p=$LASTPOSTID">

replace with:

<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=$LASTPOSTID">

thedvs 10-05-2005 05:00 PM

thanks flup & xug

Flow Fusion 10-13-2005 12:34 PM

Great hack thanks!

TygerTyger 10-13-2005 01:35 PM

Good hack, very useful to have. Watch for people who mistake one button for another...

I don't think I'll use it on the default buttons though, they look crummy next to each other because the words are at different heights.

MarkyLeonard 10-17-2005 10:05 PM

Good hack - kinda works for me but spaces the buttons incorrectly??

MarkyLeonard 10-18-2005 09:13 PM

Sussed - take out
&nbsp
for vb3.5

nokturno 08-30-2006 01:58 PM

work 3.6

<if condition="$show['largereplybutton']">
<a href="newreply.php?$session[sessionurl]do=newreply&amp;noquote=1&amp;p=$FIRSTPOSTID" rel="nofollow">


All times are GMT. The time now is 12:14 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.01057 seconds
  • Memory Usage 1,748KB
  • 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
  • (1)bbcode_code_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (21)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