PDA

View Full Version : Forum Display Enhancements - Different Backgruond to Different Forum


Yonatan
10-09-2008, 10:00 PM
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:
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center" style="border-bottom-width:0px">

Replace with:
<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:

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
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
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

segwayon
10-17-2008, 04:25 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

Which style are you running? I wonder if it's style-related.

carubmun
10-18-2008, 05:04 AM
Question: I got...
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center" style="border-bottom-width:0px">
Twice in my FORUMDISPLAY template.

I tried it on the first one, then the second one, then both... none of those options worked.
First one is under...
<if condition="$show['forumslist']">
<!-- sub-forum list -->
Second one is under...
<!-- / controls above thread list -->

I made the backgrounds folder in 3 different places, none worked.
Put it in /images, /forums/images, /forums/images/dsp... nothing worked. (dsp is the name of my current style).
I named my file 61 because the forum i want it on is forumID 61.
It is a jpg, so the file is 61.jpg.

Any help?

rob01
10-18-2008, 04:51 PM
how you add a restriction so only a selected usergroup.. could use this?

n95gps
10-18-2008, 07:10 PM
i am using a customed skin

can you help me here please

by the way i cant see your example

your demo example is not visiable?!

thanx

its a very great mod to me , Only if it works

crossing fingers

myown
10-19-2008, 05:06 AM
quite interesting, will be installing on my site soon.

n95gps
10-19-2008, 04:49 PM
any luck in helping me out here please

segwayon
10-20-2008, 03:50 PM
I now understand that this mod purports to place specific images inside the top-most forum details box, which itself is usually pretty narrow. Nice idea if it could work across styles. I was expecting a whole background image though.

n95gps
10-21-2008, 12:31 PM
i was hoping for something like this image


88390

betrocker
10-21-2008, 07:49 PM
Can someone make simular mod that uses diferent background colors for diferent forum category ID's so that we have whole category in same color?

in.ex. 1.st category - green bg
2.nd category - red bg
etc.