Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.7 > vBulletin 3.7 Template Modifications

Reply
 
Thread Tools
Different Backgruond to Different Forum Details »»
Different Backgruond to Different Forum
Version: 1.0.1, by Yonatan Yonatan is offline
Developer Last Online: Aug 2020 Show Printable Version Email this Page

Category: Forum Display Enhancements - Version: 3.7.x Rating:
Released: 10-09-2008 Last Update: Never Installs: 11
Template Edits
Re-useable Code Is in Beta Stage  
No support by the author.

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


Look on example:





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

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #12  
Old 10-17-2008, 04:25 PM
segwayon segwayon is offline
 
Join Date: Mar 2008
Posts: 152
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by n95gps View Post
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.
Reply With Quote
  #13  
Old 10-18-2008, 05:04 AM
carubmun carubmun is offline
 
Join Date: Jan 2007
Posts: 130
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Question: I got...
Code:
<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...
Code:
<if condition="$show['forumslist']">
<!-- sub-forum list  -->
Second one is under...
Code:
<!-- / 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?
Reply With Quote
  #14  
Old 10-18-2008, 04:51 PM
rob01 rob01 is offline
 
Join Date: Sep 2008
Location: Mexico
Posts: 410
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

how you add a restriction so only a selected usergroup.. could use this?
Reply With Quote
  #15  
Old 10-18-2008, 07:10 PM
n95gps n95gps is offline
 
Join Date: Aug 2008
Posts: 41
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #16  
Old 10-19-2008, 05:06 AM
myown myown is offline
 
Join Date: Jan 2007
Posts: 145
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

quite interesting, will be installing on my site soon.
Reply With Quote
  #17  
Old 10-19-2008, 04:49 PM
n95gps n95gps is offline
 
Join Date: Aug 2008
Posts: 41
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

any luck in helping me out here please
Reply With Quote
  #18  
Old 10-20-2008, 03:50 PM
segwayon segwayon is offline
 
Join Date: Mar 2008
Posts: 152
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #19  
Old 10-21-2008, 12:31 PM
n95gps n95gps is offline
 
Join Date: Aug 2008
Posts: 41
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

i was hoping for something like this image


Attachment 88390
Reply With Quote
  #20  
Old 10-21-2008, 07:49 PM
betrocker betrocker is offline
 
Join Date: Mar 2008
Posts: 1
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 11:00 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.08268 seconds
  • Memory Usage 2,288KB
  • Queries Executed 24 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (4)bbcode_code
  • (2)bbcode_html
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (10)postbit_onlinestatus
  • (10)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete