Go Back   vb.org Archive > vBulletin Modifications > vBulletin 4.x Modifications > vBulletin 4.x Template Modifications

Reply
 
Thread Tools
Add new thread from forumhome Details »»
Add new thread from forumhome
Version: 1.00, by Dr.osamA Dr.osamA is offline
Developer Last Online: Oct 2015 Show Printable Version Email this Page

Category: Mini Mods - Version: 4.0.0 Rating:
Released: 12-29-2009 Last Update: Never Installs: 55
Template Edits
Code Changes Additional Files Translations  
No support by the author.

Add new thread from forumhome
member can add new threads from forumhome by useng smol button betwin RSS & subscribion button
See the photos attached

First step:
Upload image attached (sm_newthread_40b.zip ) to the next path
images/misc/sm_newthread_40b.png

Step Two:
Go to the template forumbits.css and find:

PHP Code:
.forumactionlinks .rsslink {
    
background-image:url({vb:stylevar imgdir_misc}/rss_40b.png);

And add the following code directly underneath

PHP Code:
.forumactionlinks .newthread {
    
background-image:url({vb:stylevar imgdir_misc}/sm_newthread_40b.png);

Save and close the template

Step Three:
Go to the template forumhome_forumbit_level2_post and find :

PHP Code:
<li class="forumactionlink rsslink"><a href="external.php?{vb:raw session.sessionurl}type=RSS2&amp;forumids={vb:raw forum.forumid}" title="{vb:rawphrase view_forum_rss_feed}">{vb:rawphrase view_forum_rss_feed}</a></li></vb:if> 
And add the following code directly underneath

PHP Code:
<li class="forumactionlink newthread"><a href="newthread.php?{vb:raw session.sessionurl}do=newthread&amp;f={vb:raw forumid}" title="{vb:rawphrase new_thread_on_here}">{vb:rawphrase new_thread_on_here}</a></li
Step Four:
Acp > Languages & Phrases > Phrase Manager > Add New Phrase

Phrase Type = Global
Product = vBulletin
Varname = new_thread_on_here
Text =Add new thread in this forum

Save your work

go to your FORUM and

Enjoy

PS: for Demo alra7ba
user : vBulletin
pw : 123456


Remember Install
الشرح باللغة العربية مرفق

Download Now

File Type: txt arabic Explanation.txt (1.5 KB, 52 views)
File Type: zip sm_newthread_40b.zip (464 Bytes, 199 views)

Screenshots

File Type: gif alra7ba120.gif (31.9 KB, 0 views)
File Type: gif alra7ba121.gif (31.0 KB, 0 views)

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Благодарность от:
WendM

Comments
  #12  
Old 02-05-2010, 07:50 PM
esperone esperone is offline
 
Join Date: Feb 2006
Posts: 57
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

brilliant idea. Tagged
Reply With Quote
  #13  
Old 02-07-2010, 04:26 PM
Gamempire Gamempire is offline
 
Join Date: Aug 2008
Posts: 59
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

great!
Reply With Quote
  #14  
Old 02-10-2010, 01:17 AM
Jassem's Avatar
Jassem Jassem is offline
 
Join Date: Jan 2010
Posts: 13
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thankss

بآركـ الله بكـ آخي الكريم على الفكره

دُمتَ برعايه الله
Reply With Quote
  #15  
Old 09-11-2010, 07:40 PM
8thos's Avatar
8thos 8thos is offline
 
Join Date: Aug 2010
Location: Pensacola, FL
Posts: 772
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Works great!
Reply With Quote
  #16  
Old 10-26-2010, 03:28 AM
Dr.osamA's Avatar
Dr.osamA Dr.osamA is offline
 
Join Date: Aug 2004
Location: Syrie
Posts: 979
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

welcome bro

happy for you
Reply With Quote
  #17  
Old 10-28-2010, 06:24 PM
COL NIL SATIS COL NIL SATIS is offline
 
Join Date: Aug 2009
Location: Liverpool UK
Posts: 802
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

tagged!!!! looks good
Reply With Quote
  #18  
Old 10-29-2010, 08:59 PM
sadiq6210 sadiq6210 is offline
 
Join Date: Sep 2005
Posts: 684
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Awesome .. Thanks =)

بارك الله فيك أخوي أسامة ونحو الأمام دائما بإذن الله
Reply With Quote
  #19  
Old 10-31-2010, 03:29 AM
Dr.osamA's Avatar
Dr.osamA Dr.osamA is offline
 
Join Date: Aug 2004
Location: Syrie
Posts: 979
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

COL NIL SATIS

welcom bro

sadiq6210

حياك الله يا طيب ... باذن الله اجمعين الى الاما?

welcome
Reply With Quote
  #20  
Old 11-19-2010, 12:13 PM
mgurain's Avatar
mgurain mgurain is offline
 
Join Date: Apr 2005
Location: KSA - Qatif - Al-Jarodiah
Posts: 345
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi,
this is useful, I remember I request this in 3.x.
Can you make it a product ?

Thanks,,
Reply With Quote
  #21  
Old 11-23-2010, 12:52 AM
Dr.osamA's Avatar
Dr.osamA Dr.osamA is offline
 
Join Date: Aug 2004
Location: Syrie
Posts: 979
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Can you make it a product ?
Apologize

I do not have enough time

you are welcome
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 12:31 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.08027 seconds
  • Memory Usage 2,339KB
  • Queries Executed 26 (?)
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
  • (4)bbcode_php
  • (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
  • (3)pagenav_pagelink
  • (11)post_thanks_box
  • (1)post_thanks_box_bit
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (4)postbit_attachment
  • (11)postbit_onlinestatus
  • (11)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
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • 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