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
  #32  
Old 03-22-2011, 12:53 PM
Dr.osamA's Avatar
Dr.osamA Dr.osamA is offline
 
Join Date: Aug 2004
Location: Syrie
Posts: 979
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

i will do up date in few days

sorry bro no time now

BRB
Reply With Quote
  #33  
Old 03-22-2011, 01:03 PM
bashy bashy is offline
 
Join Date: Nov 2005
Posts: 2,544
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

No worries m8, thank you looking it to it
Reply With Quote
  #34  
Old 10-14-2011, 05:40 AM
Akyeame Kwame Akyeame Kwame is offline
 
Join Date: May 2008
Posts: 111
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by bashy View Post
Hi, I tried this on 4.1.1 but only one forum showed the image, could you possible create an update for 4.1.1 please, i always used this in VB3x, great mod
Do you have the link to the version of this that works with VB3X? I've searched and I can't find it.
Reply With Quote
  #35  
Old 10-14-2011, 06:07 AM
HMBeaty's Avatar
HMBeaty HMBeaty is offline
 
Join Date: Sep 2005
Posts: 4,141
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Akyeame Kwame View Post
Do you have the link to the version of this that works with VB3X? I've searched and I can't find it.
https://vborg.vbsupport.ru/showthread.php?t=259338
Reply With Quote
  #36  
Old 10-14-2011, 06:57 AM
Akyeame Kwame Akyeame Kwame is offline
 
Join Date: May 2008
Posts: 111
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I really appreciate it HMBeaty!
Reply With Quote
  #37  
Old 03-25-2012, 10:55 AM
Akyeame Kwame Akyeame Kwame is offline
 
Join Date: May 2008
Posts: 111
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'm now on vb4 and getting the same alignment issue as bulldog51981. Does anyone know how to resolve? I appreciate it!
Reply With Quote
  #38  
Old 06-26-2012, 02:23 PM
Akyeame Kwame Akyeame Kwame is offline
 
Join Date: May 2008
Posts: 111
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Note, to do this for sub-forums you can repeat the same process for forumhome_forumbit_level1_post
I've also added the button to my top menu and hard-coded my open forum id into it, so now it's easier than ever to start a new thread even for the slowest of members.
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 06:49 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.05207 seconds
  • Memory Usage 2,317KB
  • Queries Executed 23 (?)
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
  • (2)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
  • (8)post_thanks_box
  • (1)post_thanks_box_bit
  • (8)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit
  • (8)post_thanks_postbit_info
  • (7)postbit
  • (4)postbit_attachment
  • (8)postbit_onlinestatus
  • (8)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