vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 Design and Graphics Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=168)
-   -   Multiple forum background images (https://vborg.vbsupport.ru/showthread.php?t=215648)

JVCode 06-08-2009 11:41 AM

Multiple forum background images
 
I own a gaming community website, and I'm in the process of adding game forums. I'd like to be able to (If possible) put different background images on for each game on the site.

I.E
Forum, GTAIV - Background, GTAIV wallpaper.
Forum, Saints Row - Bakcground, Saints Row wallpaper.

I'd like to do this for each game.

Are there any mods already out there which makes this possible ?

Aclikyano 06-08-2009 01:22 PM

im not exactly sure but nice site man!

Alfa1 06-08-2009 02:17 PM

Here you is the conditional:
PHP Code:

<if condition=$foruminfo['forumid']=="GTAIV_forum_ID"><img src="http://www.consolecommunity.com/forum/images/misc/GTAIV.gif" /></a><else />
<if 
condition=$foruminfo['forumid']=="Saints_Row_forum_ID"><img src="http://www.consolecommunity.com/forum/images/misc/SR.gif" /></a><else />
<
img src="http://www.consolecommunity.com/images/styles/console/misc/leftbg.jpg" /></a></if></if> 

Replace GTAIV_forum_ID with the suited forumID.
Replace Saints_Row_forum_ID with the suited forumID.

Upload http://www.consolecommunity.com/foru...misc/GTAIV.gif and http://www.consolecommunity.com/foru...es/misc/SR.gif

I typed the above from memory, so if there is any problem with it, let me know and I'll correct it.

I assume that it would work if you add this to your main CSS -> extra CSS attributes.

JVCode 06-08-2009 07:42 PM

Thanks Aclikyano :) feel free to sign up and check it out...

Many thanks Alfa1, I'll give it a go and see how it turns out!

Kind regards,

--------------- Added [DATE]1244495346[/DATE] at [TIME]1244495346[/TIME] ---------------

The above code doesn't seem to work, it's just displaying the default BG. Hmmm, :\

JVCode 10-03-2009 07:30 AM

Anyone have a fix for this? :(


All times are GMT. The time now is 03:54 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.00961 seconds
  • Memory Usage 1,719KB
  • 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
  • (1)bbcode_php_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (5)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete