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
  #2  
Old 01-14-2009, 10:53 AM
WEBDosser's Avatar
WEBDosser WEBDosser is offline
 
Join Date: Oct 2001
Location: @ MyPC
Posts: 824
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

tagged
Reply With Quote
  #3  
Old 01-14-2009, 01:11 PM
MẪ$T?Я's Avatar
MẪ$T?Я MẪ$T?Я is offline
 
Join Date: Jan 2009
Posts: 10
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This code is useful and very easy Crg

Regards
Reply With Quote
  #4  
Old 01-14-2009, 02:40 PM
Wayne Luke's Avatar
Wayne Luke Wayne Luke is offline
Senior Member
 
Join Date: Jan 2002
Location: Southern California
Posts: 1,694
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #5  
Old 01-14-2009, 02:41 PM
abus3d abus3d is offline
 
Join Date: May 2008
Location: UAE
Posts: 58
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by WEBDosser View Post
tagged
you welcome
Reply With Quote
  #6  
Old 01-14-2009, 02:42 PM
abus3d abus3d is offline
 
Join Date: May 2008
Location: UAE
Posts: 58
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by MẪ$T?Я View Post
This code is useful and very easy Crg

Regards
thanks for you MẪ$T?Я

as you said its easy
Reply With Quote
  #7  
Old 01-14-2009, 02:48 PM
abus3d abus3d is offline
 
Join Date: May 2008
Location: UAE
Posts: 58
Благодарил(а): 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.
dear Wayne Luke

thanks for your comments

for the first one, i did not try to in $forum[imageprefix] i will try and see it

- sir some forum they like to add pictures and they dont like to indicate the old and new posts
Reply With Quote
  #8  
Old 01-17-2009, 07:43 PM
paintballer.ie's Avatar
paintballer.ie paintballer.ie is offline
 
Join Date: Jan 2009
Posts: 105
Благодарил(а): 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.

Is there a more detailed guide as to how one can use that?

Thanks
Reply With Quote
  #9  
Old 01-17-2009, 08:49 PM
michi123 michi123 is offline
 
Join Date: Aug 2008
Posts: 16
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

yeah! very handy and usefull! thx!
Reply With Quote
  #10  
Old 01-18-2009, 10:19 AM
abus3d abus3d is offline
 
Join Date: May 2008
Location: UAE
Posts: 58
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by michi123 View Post
yeah! very handy and usefull! thx!
you are welcome
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 02:06 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.04641 seconds
  • Memory Usage 2,320KB
  • 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
  • (5)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
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (1)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
  • 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