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)
-   -   Mini Mods - Add new thread from forumhome (https://vborg.vbsupport.ru/showthread.php?t=231661)

Dr.osamA 12-29-2009 10:00 PM

Add new thread from forumhome
 
1 Attachment(s)
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 :cool:
الشرح باللغة العربية مرفق

Welshy2008 12-30-2009 10:21 AM

** Tagged **

baghdad4ever 01-01-2010 07:32 PM

thanks

LuckyNeo 01-03-2010 09:28 AM

Thank you VERY MUCH! This is mod VERY usefull for my forum

TimberFloorAu 01-03-2010 07:22 PM

1 Attachment(s)
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 )

Dr.osamA 01-05-2010 06:35 AM

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

sdavis2702 01-21-2010 06:20 PM

Great job. I created my own little images but awesome idea.

gil 01-22-2010 09:28 AM

thanks

yilmaz68 01-31-2010 10:02 PM

very nice bro, thanks, installed.

steve1966 02-01-2010 05:44 PM

thanks


All times are GMT. The time now is 05:35 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.01207 seconds
  • Memory Usage 1,744KB
  • 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
  • (4)bbcode_php_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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