The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
![]()
I would like to add a small clickable image in the individual forum/title/header on Main forum page/ index page. Can someone point me to the code where i would insert picture or an alternative method. If this has been posted before I can follow links.
Thanks so much. Seaweed |
#2
|
||||
|
||||
![]()
If you are going to put it in your header or navbar and only want it to show on the index page, then wrap a condition around it:
HTML Code:
<if condition="THIS_SCRIPT == 'index'"> your banner </if> |
#3
|
|||
|
|||
![]()
Im sorry, i am not articulating myself very well. This is what i was trying to convey.
|
#4
|
||||
|
||||
![]()
Ah, so you wanted to know what template to add the code to.
To find the template to modify, do this - vboptions > General Settings > Add Template Name in HTML Comments > set to Yes . Then go back to your page and view the source code and you will see the name of the template called around your part of the code. Sometimes the template is the one mentioned at the very top of the page source. |
#5
|
|||
|
|||
![]()
Ok,
I have created the image, I have uploaded it the server, I have viewed the index page source, located the the Forum/catagory, and the sub - forum in which i want to add the image. However when i try to find the corresponding part by searching the template, i can find the template but the the code on the index page doesnt seem to match the code in the template. I am trying this on a hidden part of the forum, but if you can help me figure it out on the main part im sure i can carry it over and replicate it. seaweed |
#6
|
||||
|
||||
![]()
Why don't you post exactly what you have done (code changes - please use the tags) and what the result is (an image or better yet, a link).
|
#7
|
|||
|
|||
![]()
Thank you for your patience in trying to help me, Im deffinatly a newb. Here is a link to a competitor site , if you croll down the main page you will see similar images adds. This what im trying to accomplish. I want to try and add animated gif for the different clubs and organizations for the different regions.
The link to my main page on my forum Im not sure how to answer you questions. When i view the source of the index i can see wherr in the code i want to insert the code for the omage and a hyperlink, but when i try to go through the template I can not find it. Lets try to make it work with this forum on the mainpage- Announcements, should be the very first forum. Seaweed |
#8
|
||||
|
||||
![]()
Did you find the templates to modify by using the method I posted? That is the first step. Then show us what you have tried to do so far - exactly where you tried to make the changes.
|
#9
|
|||
|
|||
![]()
I view the source of the main page- I "find" the term/forum title-Florida Gulf Coast
I changed from Term"annoucements" to "Florida Gulf Coast" because it seemed to conflict with vb announcement manager Code:
<!-- END TEMPLATE: forumhome_forumbit_level2_post --><!-- BEGIN TEMPLATE: forumhome_forumbit_level2_post --> <tr align="center"> <td class="alt2"><img src="images/statusicon/forum_new.gif" alt="" border="0" id="forum_statusicon_35" /></td> <td class="alt1Active" align="left" id="f35"> <div> <a href="forumdisplay.php?f=35"><strong>Florida Gulf Coast</strong></a> <span class="smallfont">(35 Viewing)</span> </div> <div class="smallfont">Trip reports from the West Coast of FL.</div> </td> <td class="alt2"><!-- BEGIN TEMPLATE: forumhome_lastpostby --> <div class="smallfont" align="left"> <div> <span style="white-space:nowrap"> <img class="inlineimg" src="images/icons/icon1.gif" alt="" border="0" /> <a href="showthread.php?goto=newpost&t=13629" style="white-space:nowrap" title="Go to first unread post in thread 'Destin charters?'"><strong>Destin charters?</strong></a></span> </div> <div style="white-space:nowrap; float:left"> by <a href="member.php?find=lastposter&f=35" rel="nofollow">RaginCajun</a> </div> <div align="right" style="white-space:nowrap"> Today <span class="time">04:05 PM</span> <a href="showthread.php?p=127900#post127900"><img class="inlineimg" src="images/buttons/lastpost.gif" alt="Go to last post" border="0" /></a> </div> </div> <!-- END TEMPLATE: forumhome_lastpostby --></td> <td class="alt1">2,021</td> <td class="alt2">21,515</td> </tr> <!-- END TEMPLATE: forumhome_forumbit_level2_post --><!-- BEGIN TEMPLATE: forumhome_forumbit_level2_post --> <tr align="center"> <td class="alt2"><img src="images/statusicon/forum_new.g Nothing shows up ![]() Next I look at source again, This stands out to me "forumhome_forumbit_level2_post" so go back to the "Search in Templates" and search for "Florida Gulf Coast" and that text isn't found...... so now Im stumped. But that is the step by step so far thanks |
#10
|
||||
|
||||
![]()
It's a template - the exact text doesn't show up in them, just the html. So, using Florida Gulf Coast in your example, look for the html in this line:
HTML Code:
<a href="forumdisplay.php?f=35"><strong>Florida Gulf Coast</strong></a> <span class="smallfont">(35 Viewing)</span> HTML Code:
<a href="forumdisplay.php?$session[sessionurl]f=$forum[forumid]"><strong>$forum[title]</strong></a> <if condition="$show['browsers']"><span class="smallfont">(<phrase 1="$forum[browsers]">$vbphrase[x_viewing]</phrase>)</span></if> |
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|