vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=33)
-   -   images in forum bit vb3 (https://vborg.vbsupport.ru/showthread.php?t=60097)

Matrixgl 01-27-2004 03:50 PM

Quote:

Originally Posted by Boofo
Ok, how would you do it for each forum without a hack? ;)

http://www.vbulletintemplates.com/mo...ead.php?t=5037

You dont need a hack for this. You just have to edit two templates, and this can be achived. You can even have both on and off status icons.

gmarik 01-31-2004 02:56 PM

It would be better to have JUST one icon, with different trasparency when on and off ...

LordJMann 02-01-2004 02:20 AM

Quote:

Originally Posted by gmarik
It would be better to have JUST one icon, with different trasparency when on and off ...

gmarik, thats only just more work, then you have to encorporate a bit of code in conjunction with GD to do this and not all servers have GD, this is very simple and effective. Having more than 1 icon is more versatile anyway.

Matrixgl 02-01-2004 01:03 PM

Quote:

Originally Posted by LordJMann
gmarik, thats only just more work, then you have to encorporate a bit of code in conjunction with GD to do this and not all servers have GD, this is very simple and effective. Having more than 1 icon is more versatile anyway.

You can use dhtml/javascript to change the transparency too, dont really need GD. GD would be the radiculas way of doing this.

sabret00the 04-01-2004 09:14 AM

Quote:

Originally Posted by Boofo
Ok, great! Thank you, sir. ;)

HTML Code:

                <if condition="($forum[parentid] == XX) OR ($forum[parentid] == XX)"><img src="images/forumhome/$forum[forumid].gif" alt="" border="0" filter:alpha(opacity=80); -moz-opacity: 0.6;" align="left" /></if>
here you go boofo, forgot you were after this.

Boofo 04-01-2004 09:57 AM

You'd have to write this line of code for each forum then, right? That could get pretty long if you want to use different images for each forum. ;)

sabret00the 04-01-2004 10:23 AM

Quote:

Originally Posted by Boofo
You'd have to write this line of code for each forum then, right? That could get pretty long if you want to use different images for each forum. ;)

nope just add it to your "forumhome_forumbit_level2_post" template, the most you'd have to do is have the images in the right directory and named correctly.

Boofo 04-01-2004 10:52 AM

What is this for then?

HTML Code:

<if condition="($forum[parentid] == XX)

sabret00the 04-01-2004 11:06 AM

it's for if you wanted all the forums in the bears den to bear an image, instead of all the forums on the forumhome.

Boofo 04-01-2004 11:10 AM

How did you know about the Bear's Den? Have you been peeking? ;)

Ahhh, ok, that makes sense now. Thank you for explaining it to me. ;)


All times are GMT. The time now is 06:54 AM.

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.01225 seconds
  • Memory Usage 1,739KB
  • 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
  • (2)bbcode_html_printable
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)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