vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=246)
-   -   Show Thread Enhancements - Post New Thread Button (https://vborg.vbsupport.ru/showthread.php?t=236685)

Blackbeard02 12-24-2010 10:07 AM

Thank you this is very handy

suiyuan 06-06-2011 03:02 AM

Nice job, thank a lot!

slozz 06-22-2011 03:16 AM

Awesome Awesome Awesome. Never let no one discret you for this simple mod. I just tried it on 4.1.4 and working awesome and great.

Its a great little hack for people wanting to make multiple posts in the same forum in a row.

THANKS THANKS THANKS !!

gungor 06-25-2011 07:42 AM

thanks.. +installed

olapeter007 01-14-2012 03:31 AM

nice

DaNis 01-20-2012 12:56 PM

As mentioned on screen, in my case is only a button from vb 4.1.10

invitezone 09-11-2012 03:16 PM

this is superb,
Thank you so much for this.
My members have been asking me for this and without your recommended edits I wouldn't have known how to do it.

Thanks sooo much

FCDobbs 01-01-2013 08:24 PM

Likewise, members asking for it.

Your explanation/code is perfect...

Thanks

GaRanT 01-29-2013 08:02 PM

Does it works on vb 4.2.0?

dandanch 02-02-2013 12:50 AM

Yup.. :)

blackberry 08-28-2013 08:22 PM

works on 4.2.1

Spangle 08-30-2013 08:47 AM

As my Dad would often say "This fixes something that isn't broken"

DemOnstar 09-04-2013 07:30 AM

How do I make the button invisible for unregistered users?
Thanks....

ozzy47 09-04-2013 04:06 PM

Wrap it in a conditional.

Code:

<vb:if condition="$show['member']">
<a href="newthread.php?{vb:raw session.sessionurl}do=newthread&amp;f={vb:raw thread.forumid}" rel="nofollow" class="newcontent_textcontrol" id="newthreadlink_top"  style="margin-left:160px;"><span>+</span> {vb:rawphrase post_new_thread}</a>
</vb:if>


DemOnstar 09-05-2013 05:31 AM

Quote:

Originally Posted by ozzy47 (Post 2443193)
Wrap it in a conditional.

Code:

<vb:if condition="$show['member']">
<a href="newthread.php?{vb:raw session.sessionurl}do=newthread&amp;f={vb:raw thread.forumid}" rel="nofollow" class="newcontent_textcontrol" id="newthreadlink_top"  style="margin-left:160px;"><span>+</span> {vb:rawphrase post_new_thread}</a>
</vb:if>


Sorry old boy but I am not so tech savvy... I am sure it works but where do I add this code?
Do I replace existing code or add it underneath?

Very good job sir....

ozzy47 09-05-2013 09:24 AM

Same place the OP told you to do it, either way you want, above or below the post. So instead of using the code he gave, use the code I provided. :)

DemOnstar 09-05-2013 10:39 AM

Shall give it a shot sir....

Marvelous..

DemOnstar 09-05-2013 12:34 PM

Confusion Mr 47, the mod I am using is this one https://vborg.vbsupport.ru/showthrea...=258983&page=4

Not sure now what to do. I guess I will have to experiment..

Thanks..

Any advice?

ozzy47 09-06-2013 12:21 AM

Quote:

Originally Posted by DemOnstar (Post 2443433)
Confusion Mr 47, the mod I am using is this one https://vborg.vbsupport.ru/showthrea...=258983&page=4

Not sure now what to do. I guess I will have to experiment..

Thanks..

Any advice?

I replied in that mod as what to do. :)

ozzy47 09-06-2013 02:08 AM

Here is my take on this mod, no template edits, https://vborg.vbsupport.ru/showthread.php?t=301929

tanzeelniazi 10-02-2013 09:42 AM

Working Great in 4.2.0 :)

ozzy47 10-02-2013 09:49 AM

Yeah it still works. Here is another option though, no manual editing.

Here is my take on this mod, no template edits, https://vborg.vbsupport.ru/showthread.php?t=301929

Ahsan Ali 04-20-2015 07:45 PM

1 Attachment(s)
how to adjust its pixel and button size kindly explain :)


All times are GMT. The time now is 01:02 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.01151 seconds
  • Memory Usage 1,755KB
  • 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
  • (2)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
  • (23)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