Go Back   vb.org Archive > vBulletin Modifications > vBulletin 3.8 Modifications > vBulletin 3.8 Template Modifications

Reply
 
Thread Tools
Post New Thread from your post. Details »»
Post New Thread from your post.
Version: 1.00, by newtsys newtsys is offline
Developer Last Online: Sep 2013 Show Printable Version Email this Page

Category: New Posting Features - Version: 3.8.x Rating:
Released: 07-24-2009 Last Update: Never Installs: 24
Template Edits
Code Changes Translations  
No support by the author.

This mod was made by me and is very simple and was requested by another friend. Vbulletin has removed the post new thread or topic button in the showthread. As of now you have to go back out of the post and then click new thread.



This mod adds Post New Thread in the tool bar above the post



In your Admincp go to your theme and open the template called SHOWTHREAD and find:



HTML Code:
<!-- toolbar -->
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center" style="border-bottom-width:0px">
<tr>
 <td class="tcat" width="100%">
  <div class="smallfont">
  <if condition="$show['firstunreadlink']">
   <a href="$firstunread"><img class="inlineimg" src="$stylevar[imgdir_button]/firstnew.gif" alt="$vbphrase[view_first_unread]" border="0" /></a>
   <a href="$firstunread"><strong>$vbphrase[view_first_unread]</strong></a>
  </if>
  &nbsp;
  </div>
 </td>


and right after add this in



HTML Code:
<td class="vbmenu_control" id="newthread" nowrap="nowrap"><a href="newthread.php?do=newthread&amp;f=$forum[forumid]"rel="nofollow">$vbphrase[post_new_thread]</a></td>


now save and you have added the post new thread or topic =)


attached is screen shot.

Screenshots

File Type: jpg ScreenHunter_01 Jul. 25 13.00.jpg (16.7 KB, 0 views)

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #2  
Old 07-25-2009, 05:13 PM
saadessa saadessa is offline
 
Join Date: Jan 2008
Posts: 284
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thank you for this nice hack
Reply With Quote
  #3  
Old 07-25-2009, 09:38 PM
H22A H22A is offline
 
Join Date: Apr 2009
Posts: 37
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

where is the code located?
i cant find it !
can tell me the step by step to get the html code
thank you
Reply With Quote
  #4  
Old 07-26-2009, 01:41 PM
newtsys newtsys is offline
 
Join Date: Dec 2004
Location: Idaho
Posts: 78
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by H22A View Post
where is the code located?
i cant find it !
can tell me the step by step to get the html code
thank you
goto admincp > styles& templates > style manager > yourstyle > edittemplates > SHOWTHREAD

then find the code I provided and right after add in the code provided and save and your done. This will add the function to your toolbar above the post right next to the thread tools. Look at screen shot hope this helps.
Reply With Quote
  #5  
Old 07-26-2009, 02:50 PM
Sweeks Sweeks is offline
 
Join Date: Jul 2008
Posts: 633
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You seem to be missing the end </td> Thanks!
Reply With Quote
  #6  
Old 07-28-2009, 01:40 AM
newtsys newtsys is offline
 
Join Date: Dec 2004
Location: Idaho
Posts: 78
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yes I did thanks . Has been added now =)
Reply With Quote
  #7  
Old 09-07-2009, 03:50 PM
Mellymonster Mellymonster is offline
 
Join Date: Oct 2008
Posts: 308
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hey,

I am using this and was wondering if you knew if there was anyway, when you click the "Post New thread" if it can quote the OP of the current thread you are clicking that from?
Reply With Quote
  #8  
Old 09-14-2009, 03:53 PM
COL NIL SATIS COL NIL SATIS is offline
 
Join Date: Aug 2009
Location: Liverpool UK
Posts: 802
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

cool hack...thanks for this!! installed
Reply With Quote
  #9  
Old 09-21-2009, 09:05 AM
hyppa's Avatar
hyppa hyppa is offline
 
Join Date: Dec 2007
Location: Sandnes, Norway
Posts: 64
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Very nice. Thanks.

Would be nice to have : show new threads, too.
Reply With Quote
  #10  
Old 09-28-2009, 06:36 AM
Blackbeard02 Blackbeard02 is offline
 
Join Date: Sep 2009
Posts: 24
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

When clicking on "New Thread" with this I am getting
"Invalid Forum specified. If you followed a valid link, please notify the administrator"
Any ideas on how to fix this ?
Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 11:24 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.04535 seconds
  • Memory Usage 2,302KB
  • Queries Executed 24 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (2)bbcode_html
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (1)postbit_attachment
  • (10)postbit_onlinestatus
  • (10)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete