The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Comments |
#32
|
|||
|
|||
Hello and thank you for this hack
In my template header, I do not have a line <!--logo> This is what I have... Code:
<div align="center"> <center> <table border="0" width="90%" background="http://mywebsite.com/forum/mywebsitestyle/misc/head_fllr.jpg" cellspacing="0" cellpadding="0"> <tr> <td width="100%" align="center"><img src="http://mywebsite.com/forum/mywebsitestyle/misc/header.jpg" width="790" height="130"></td> </tr> </table> </center> </div> <table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="90%" align="center"> <tr> <td class="alt2" width="41" align="center"><a href="http://www.mywebsite.net/"><font size="1"><b>HOME</b></font></a></td> <td class="alt1" width="59" align="center"><a href="http://www.mywebsite.net/forum/"><font size="1"><b>FORUMS</b></font></a></td> <td class="alt2" width="65" align="center"><a href="http://www.mywebsite.net/gallery/"><font size="1"><b>GALLERY</b></font></a></td> <td class="alt1" width="76" align="center"><a href="http://www.mywebsite.net/forum/forumdisplay.php?f=11"><font size="1"><b>TUTORIALS</b></font></a></td> <td class="alt2" width="89" align="center"><a href="http://www.mywebsite.com/chat.htm"><font size="1"><b>CHAT/CROPS</b></font></a></td> <td class="alt1" width="65" align="center"><a href="http://www.mywebsite.net/forum/local_links.php"><font size="1"><b>FREEBIES</b></font></a></td> <td class="alt2" width="139" align="center"><a href="http://www.mywebsite.net/blog/"><font size="1"><b>DAILY LAYOUT PICK</b></font></a></td> <td class="alt2" width="48" align="center"><a href="http://www.mywebsite.net/forum/showthread.php?p=29200/"><font size="1"><b>STORE</b></font></a></td> <td class="alt1" width="73" align="center"><a href="http://www.mywebsite.net/forum/calendar.php"><font size="1"><b>CALENDAR</b></font></a></td> <td class="alt1" width="143" align="center"><a href="http://www.mywebsite.net/forum/forumdisplay.php?f=39"><font size="1"><b>GAMES & CONTESTS</b></font></a></td> </tr> </table> <center> <div align="center"> <center> <table border="0" cellspacing="0" cellpadding="0" width="90%"> <tr> <td width="468" align="center"> <script language='JavaScript' type='text/javascript' src='http://www.mywebsite.net/ads/adx.js'></script> <script language='JavaScript' type='text/javascript'> <!-- if (!document.phpAds_used) document.phpAds_used = ','; phpAds_random = new String (Math.random()); phpAds_random = phpAds_random.substring(2,11); document.write ("<" + "script language='JavaScript' type='text/javascript' src='"); document.write ("http://www.mywebsite.net/ads/adjs.php?n=" + phpAds_random); document.write ("&clientid=4"); document.write ("&exclude=" + document.phpAds_used); if (document.referrer) document.write ("&referer=" + escape(document.referrer)); document.write ("'><" + "/script>"); //--> </script><noscript><a href='http://www.mywebsite.net/ads/adclick.php?n=ac25869b' target='_blank'><img src='http://www.mywebsite.net/ads/adview.php?clientid=4&n=ac25869b' border='0' alt=''></a></noscript> </td> <td width="234" align="center"> <p align="center"> <!--Start Google Adsense --> <script type="text/javascript"><!-- google_ad_client = "pub-1385091252132549"; google_ad_width = 234; google_ad_height = 60; google_ad_format = "234x60_as"; google_ad_type = "text_image"; google_ad_channel =""; google_color_border = "3E4F27"; google_color_bg = "FFFFFF"; google_color_link = "3E4F27"; google_color_text = "000000"; google_color_url = "3E4F27"; //--></script> <script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"> </script> <!-- End Google Adsense--> </td> <td width="150" align="center"><script language='JavaScript' type='text/javascript' src='http://www.mywebsite.net/ads/adx.js'></script> <script language='JavaScript' type='text/javascript'> <!-- if (!document.phpAds_used) document.phpAds_used = ','; phpAds_random = new String (Math.random()); phpAds_random = phpAds_random.substring(2,11); document.write ("<" + "script language='JavaScript' type='text/javascript' src='"); document.write ("http://www.mywebsite.net/ads/adjs.php?n=" + phpAds_random); document.write ("&clientid=2"); document.write ("&exclude=" + document.phpAds_used); if (document.referrer) document.write ("&referer=" + escape(document.referrer)); document.write ("'><" + "/script>"); //--> </script><noscript><a href='http://www.mywebsite.net/ads/adclick.php?n=a24108a6' target='_blank'><img src='http://www.mywebsite.net/ads/adview.php?clientid=2&n=a24108a6' border='0' alt=''></a></noscript> </td> </tr> </table> </center> </div> <!-- START header image --> <table align="center" border="0" width="90%" cellpadding="0" cellspacing="0" class="border"> <tr><td> <!-- END header image --> <!-- begin main inner table area--> <!-- content table --> <div class="page"> $spacer_open $_phpinclude_output |
#33
|
|||
|
|||
Quote:
Thanks |
#34
|
|||
|
|||
Quote:
Code:
<!-- START header image --> Code:
<!-- content table--> |
#35
|
|||
|
|||
I cannot write any link because I'm having problems with my provider right now.
This is my header template: Code:
<SCRIPT LANGUAGE="JavaScript"> <!-- Begin Random Logo In Header Script var theImages = new Array() // do not change this <!-- Edit the url images to match yours theImages[0] = 'imagenes/logo1.gif' //blank theImages[1] = 'imagenes/logo2.gif' //replace theImages[2] = 'imagenes/logo3.gif' //replace theImages[3] = 'imagenes/logo4.gif' theImages[4] = 'imagenes/logo5.gif' theImages[5] = 'imagenes/logo6.gif' theImages[6] = 'imagenes/logo7.gif' theImages[7] = 'imagenes/logo8.gif' theImages[8] = 'imagenes/logo9.gif' theImages[9] = 'imagenes/logo10.gif' theImages[10] = 'imagenes/logo11.gif' theImages[11] = 'imagenes/logo12.gif' theImages[12] = 'imagenes/logo13.gif' var j = 0 var p = theImages.length; var preBuffer = new Array() for (i = 0; i < p; i++){ preBuffer[i] = new Image() preBuffer[i].src = theImages[i] } var whichImage = Math.round(Math.random()*(p-1)); function showImage(){ document.write('<td align="$stylevar[left]"><a href="index.php"><img src="'+theImages[whichImage]+'" border="0" alt="$vboptions[bbtitle]" /></a></div>'); } // End --> </script> <!-- logo --> <a name="top"></a> <table border="0" width="$stylevar[outertablewidth]" cellpadding="0" cellspacing="0" align="center"> <tr> <SCRIPT LANGUAGE="JavaScript"> showImage(); </script> <td align="$stylevar[right]"> </td> </tr> </table> <!-- /logo --> <!-- content table --> $spacer_open $_phpinclude_output |
#36
|
|||
|
|||
Have you followed the installation instructions in the attached file? You haven't got any code for the column in the code you have posted.
|
#37
|
|||
|
|||
Solved! Thank you!
|
#38
|
|||
|
|||
I really love this hack, BUT since it connaot be displayed below the navbar, I cannont use it.:hurt: Any suggestions on how to/where to find an identical hack, that works below the navbar.
|
#39
|
||||
|
||||
Great job, works like a charm!
|
#40
|
|||
|
|||
Quote:
For Forumhome Only: Yes, see my profile Note: Only sidebars which are part of the main body of the text can be used below the navbar. The only other option to this is to move your navbar into your header, an∂ then modifiy the top padding of this column to stop it from overlapping. Basically though it is down to your comfort in modifiying templates in vBulletin. |
#41
|
|||
|
|||
any idea how to put it on the right column ???
thanks |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|