vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.7 Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=229)
-   -   Forum Display Enhancements - Different Backgruond to Different Forum (https://vborg.vbsupport.ru/showthread.php?t=193291)

Yonatan 10-09-2008 10:00 PM

Different Backgruond to Different Forum
 
Hay!
That mod make possible the option to set different background to different forum! - (About ID's of furoms)


Look on example:

http://img253.imageshack.us/img253/7899/18584441ze0.png



Things to do:
1) Edit tampletes.
2)Make Folder on Server.

1)

Open: FORUMDISPLAY
Find:
HTML Code:

<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center" style="border-bottom-width:0px">
Replace with:
HTML Code:

<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center" style="border-bottom-width:0px" background="images/backgrounds/$forumid.jpg>

3)

Go with FTP to folder:
" "/images/

Now, make folder with name:
"backgrounds"

End :)


Now.. you just need to upload a images with ForumId to folder:
" "/images/backgrounds/

Example to name of image:
Code:


12.jpg


ssslippy 10-10-2008 07:41 PM

This is possible by using different styles. Vbulletin allows different forums to use different styles.

Yonatan 10-11-2008 09:54 AM

Quote:

Originally Posted by ssslippy (Post 1642190)
This is possible by using different styles. Vbulletin allows different forums to use different styles.

but thid modification not makre the option to change styles but this modification make the option the change background on Forums Details.

iogames 10-11-2008 01:54 PM

Love it!

M-Tuning 10-11-2008 02:32 PM

Nice, much better then 30 styles for 30 forums :D

MentaL 10-12-2008 01:28 PM

This is really really clever, I approve.

[EDIT]

What if the image doesnt exist, anyway for selective groups?

Yonatan 10-13-2008 08:52 AM

Quote:

Originally Posted by MentaL (Post 1643306)
This is really really clever, I approve.

[EDIT]

What if the image doesnt exist, anyway for selective groups?

Did you mean what happen if the image doesnt exist?!

Anyway, if the image doesnt exist. instead of the custom background you will see white background.

segwayon 10-14-2008 05:59 AM

Interesting idea. I tried to use it with the "Transparencity+" skin, and couldn't get any of the forum images to appear. Should this template edit work with all skins? I wonder if there's a missing quote character in your edit?

myown 10-16-2008 01:38 PM

looks interesting

n95gps 10-16-2008 01:54 PM

didnt work for me

i tried and i gave a name to an image

4.jpg

which iwant it to be BG for forum number 4

but nothing happend


All times are GMT. The time now is 04:51 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.03356 seconds
  • Memory Usage 1,736KB
  • 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_code_printable
  • (2)bbcode_html_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)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