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

Reply
 
Thread Tools
add pictures to your forum without any plug in Details »»
add pictures to your forum without any plug in
Version: 1.00, by abus3d abus3d is offline
Developer Last Online: Nov 2009 Show Printable Version Email this Page

Category: Mini Mods - Version: 3.8.x Rating:
Released: 01-13-2009 Last Update: Never Installs: 20
Template Edits
Translations  
No support by the author.

Dear all,

This modification helps you to add picture to each section in your forum --

For example

You have three sections in your forum

1- Sports
2- Medical news
3- discussion and feed back

You can for each section one picture indicate for your forum


Please see this example in attach

The steps:

1- Open the template: forumhome_forumbit_level1_post

Search for:

PHP Code:
$forum[imageprefix]forum_$forum[statusicon].gif 
replace with

PHP Code:
$forumid.gif 

2- Open the template: forumhome_forumbit_level2_post

Search for:

PHP Code:
$forum[imageprefix]forum_$forum[statusicon].gif 
Replace with

PHP Code:
$forumid.gif 
And save both templates


- Please upload your pic to statusicon folder in your default style or your style

- This depend on your formid number

== For example your forum sport have id # 2 then you save the ball pic like (2.gif)

= check what your forum id and save each picture for each forum id


Thank you

Screenshots

File Type: jpg 11.jpg (30.8 KB, 0 views)

Show Your Support

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

Comments
  #22  
Old 03-11-2009, 11:46 AM
Baldilocks's Avatar
Baldilocks Baldilocks is offline
 
Join Date: Jan 2008
Location: Delaware, USA
Posts: 297
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Glad I could help.
Reply With Quote
  #23  
Old 03-12-2009, 10:12 AM
davew davew is offline
 
Join Date: Oct 2005
Posts: 74
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by creative-friend View Post
Pics are not showing
only i can see is just a X
Right-click on the X, properties..

Will show you where the image SHOULD be located.. then go check and fix

If it is in the right spot, then it would have to be permissions..

Cheers,
Dave
Reply With Quote
  #24  
Old 03-14-2009, 02:25 PM
creative-friend creative-friend is offline
 
Join Date: Feb 2009
Posts: 340
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

i will try bro
thanks.
Reply With Quote
  #25  
Old 03-21-2009, 02:02 PM
Phantasmagoric Phantasmagoric is offline
 
Join Date: Feb 2009
Location: United Kingdom
Posts: 79
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Wayne Luke View Post
You can do this with the $forum[imageprefix] that you deleted from the original template without making any modifications. You could even have "old" and "new" versions so people are notified visually when there are new posts in a forum.
Great idea, how could this be achieved?
Reply With Quote
  #26  
Old 03-22-2009, 04:20 AM
nascartr nascartr is offline
 
Join Date: Jun 2008
Posts: 317
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Very useful. Only problem is that I can't get subforums to work.

http://diecastcrazy.com/community/forums.php
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:59 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.04599 seconds
  • Memory Usage 2,281KB
  • 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
  • (6)post_thanks_box
  • (6)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (6)post_thanks_postbit_info
  • (5)postbit
  • (1)postbit_attachment
  • (6)postbit_onlinestatus
  • (6)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_postinfo_query
  • fetch_postinfo
  • 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