The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Inserting an image into the top of a forum
The two images below show what i am describing here.
The NOW.jpg image is my forum as it is at the moment. I have a link to another forum which links to a homemade page (WANT.jpg)www.minimotoclub.co.uk/vb/MiniMotoMap.php This works fine except the newbies don't realise it's there and all the usual, seen it before questions appear. So, what i would like to know is it possible to place the image in WANT.jpg where the forum link is at the moment, thereby removing the forum link and having the image above the threads? I know i could place it below the navbar code, but this would show on every page. I only want this image shown in this one forum. How do i go about this? Many thanks. |
#2
|
||||
|
||||
add it below the navbar and enclose it with
HTML Code:
<if condition="$forumid == XX"> foo </if> |
#3
|
|||
|
|||
Cheers bud - i was using the wrong variable
|
#4
|
|||
|
|||
I now have :
Code:
<if condition="$forumid == 13"> CODE FOR IMAGEMAP </if> However. In my search.php - new posts - when i click new posts, and there are threads from my forumid 13 forum - the image shows in the search page?! Even though this doesn't have the forumid = 13? Or does the fact the threads from forumid = 13 are there in the new posts page count as making the conditional true? Is there any way to stop this? |
#5
|
||||
|
||||
Quote:
wow, never had that before Try using <if condition="$forum[forumid] == 13">bla</if> instead... it's just a guess though. |
#6
|
|||
|
|||
Cheers mate - i'll let you know
|
#7
|
|||
|
|||
Nope - doesn't work
Tried ' ' with the 13 too...... Hmm.... I was thinking is there no : <if condition="$forumid == 13" & "something along the not search.php page"> ? |
#8
|
|||
|
|||
In fact looking at the way i've done it, it appears in every instance inside forumid = 13...
So thats - newthread, showthread, forumdisplay..... The ONLY one i want it in is forumdisplay..... Would this code not be better off out of the navbar, and into the forum display template? |
#9
|
||||
|
||||
Yes, that would be a solution. Or you might be able to do something with the constant VB_AREA...
|
#10
|
|||
|
|||
Put it into the fourmdisplay and all is well.
Let's hope it doesn't creep up into the search again lol..... Cheers Colin |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|