Go Back   vb.org Archive > vBulletin Modifications > vBulletin 4.x Modifications > vBulletin 4.x Template Modifications
FAQ Community Calendar Today's Posts Search

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
  #2  
Old 12-30-2009, 10:21 AM
Welshy2008's Avatar
Welshy2008 Welshy2008 is offline
 
Join Date: Jul 2008
Location: UK
Posts: 904
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

** Tagged **
Reply With Quote
  #3  
Old 01-01-2010, 07:32 PM
baghdad4ever baghdad4ever is offline
 
Join Date: Apr 2007
Location: baghdad
Posts: 443
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thanks
Reply With Quote
  #4  
Old 01-03-2010, 09:28 AM
LuckyNeo's Avatar
LuckyNeo LuckyNeo is offline
 
Join Date: Dec 2009
Location: Kiev, Ukraine
Posts: 42
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thank you VERY MUCH! This is mod VERY usefull for my forum
Reply With Quote
  #5  
Old 01-03-2010, 07:22 PM
TimberFloorAu's Avatar
TimberFloorAu TimberFloorAu is offline
 
Join Date: May 2008
Location: Brisbane
Posts: 2,264
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Excellent, was just gonna write this code. You saved me all the hassle. Thanks.

Also created these icons.

( just rename them to match your code )
Attached Images
File Type: png demo.png (4.7 KB, 0 views)
Reply With Quote
  #6  
Old 01-05-2010, 06:35 AM
Dr.osamA's Avatar
Dr.osamA Dr.osamA is offline
 
Join Date: Aug 2004
Location: Syrie
Posts: 979
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

you are welcom mens
Quote:
Excellent, was just gonna write this code. You saved me all the hassle. Thanks.

Also created these icons.

( just rename them to match your code )
i am very glad to saved your all the hassle looooooool ,, any time
________
HERBAL HEALTH
Reply With Quote
  #7  
Old 01-21-2010, 06:20 PM
sdavis2702 sdavis2702 is offline
 
Join Date: Apr 2008
Posts: 116
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Great job. I created my own little images but awesome idea.
Reply With Quote
  #8  
Old 01-22-2010, 09:28 AM
gil gil is offline
 
Join Date: Oct 2007
Posts: 10
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thanks
Reply With Quote
  #9  
Old 01-31-2010, 10:02 PM
yilmaz68 yilmaz68 is offline
 
Join Date: Jul 2009
Location: Turkei/Istanbul
Posts: 104
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

very nice bro, thanks, installed.
Reply With Quote
  #10  
Old 02-01-2010, 05:44 PM
steve1966 steve1966 is offline
 
Join Date: Dec 2007
Posts: 504
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thanks
Reply With Quote
Reply


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 01:27 PM.


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.07415 seconds
  • Memory Usage 2,336KB
  • 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
  • (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
  • (2)pagenav_pagelink
  • (10)post_thanks_box
  • (1)post_thanks_box_bit
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (5)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
  • 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