vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.8 Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=236)
-   -   Mini Mods - add pictures to your forum without any plug in (https://vborg.vbsupport.ru/showthread.php?t=201728)

abus3d 01-13-2009 10:00 PM

add pictures to your forum without any plug in
 
1 Attachment(s)
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

WEBDosser 01-14-2009 10:53 AM

tagged

MẪ$T?Я 01-14-2009 01:11 PM

This code is useful and very easy Crg

Regards

Wayne Luke 01-14-2009 02:40 PM

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.

abus3d 01-14-2009 02:41 PM

Quote:

Originally Posted by WEBDosser (Post 1711955)
tagged

you welcome

abus3d 01-14-2009 02:42 PM

Quote:

Originally Posted by MẪ$T?Я (Post 1712060)
This code is useful and very easy Crg

Regards

thanks for you MẪ$T?Я

as you said its easy :)

abus3d 01-14-2009 02:48 PM

Quote:

Originally Posted by Wayne Luke (Post 1712167)
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

paintballer.ie 01-17-2009 07:43 PM

Quote:

Originally Posted by Wayne Luke (Post 1712167)
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

michi123 01-17-2009 08:49 PM

yeah! very handy and usefull! thx!

abus3d 01-18-2009 10:19 AM

Quote:

Originally Posted by michi123 (Post 1716142)
yeah! very handy and usefull! thx!

you are welcome


All times are GMT. The time now is 10:27 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.01008 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
  • (5)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