Register Members List Search Today's Posts Mark Forums Read

Reply
 
Thread Tools
  #1  
Old 14 Oct 2008, 17:49
abhimation's Avatar
abhimation abhimation is offline
 
Join Date: Dec 2006
Real name: Abhishek
Newbie Coder - Need help in running script as per forumID

Hi Guys,

M a total newbie with coding but ive been runnin VB forum for more than 2 years now.

I want to show different images in the header of forum, postbits, threads according to the forumID. Eg. if its forumID 10, i want to show a different image inside it all aruond and if its forum ID 11; i want to show some other image.

Earlier i had a code that checks the forum id in forumhome , forumdisplay, showthread etc templates and shows the image accordingly. But since its a lon code, inserting it in all the templates and changing them again and again is a pain.

Can i have a single separate file that decides upon what image to show and just call it inside those templates ? How can i do that ?

M a fresher so i might not be clear or it must be a silly question, but any help would be great.

Thanks.
Reply With Quote
  #2  
Old 14 Oct 2008, 18:15
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Real name: Lynne
Why don't you just do it in the navbar template (the bottom of that)?

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

(not tested)
__________________
Former vBulletin.org Staff Member

Try a search before posting for help. Many users won't, and don't, help if the question has been answered several times before.
W3Schools -
Online vBulletin Manual
If I post some CSS and don't say where it goes, put it in the additional.css template.
I will NOT help via PM (you will be directed to post in the forums for help.)
Reply With Quote
  #3  
Old 14 Oct 2008, 18:17
abhimation's Avatar
abhimation abhimation is offline
 
Join Date: Dec 2006
Real name: Abhishek
Aaahh... thnxxx

Will try that !
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
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


New To Site? Need Help?

All times are GMT. The time now is 06:29.

Layout Options | Width: Wide Color: