The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
navigation to Links Directory at navbar
here is navigation to Links at navbar vBadvanced Links Directory In the Navbar template find: Code:
<if condition="$show['member']"> Code:
<td id="link" class="vbmenu_control"><a href="$vboptions[bburl]/#link" accesskey="4" rel="nofollow">Links</a> <script type="text/javascript"> vbmenu_register("link"); </script></td> Code:
<!-- / PAGENAV POPUP --> Code:
<!-- link menu --> <div class="vbmenu_popup" id="link_menu" style="display:none"> <table cellpadding="4" cellspacing="1" border="0"> <tr> <td class="thead">Links Directory</td> </tr> <tr> <td class="vbmenu_option"><a href="$vboptions[homeurl]/links">Links Directory</a></td> </tr> <tr> <td class="vbmenu_option"><a href="$vboptions[bburl]/misc.php?do=linktous">Link To Us</a></td> </tr> <tr> <td class="vbmenu_option"><a href="$vboptions[homeurl]/links/addlink.php?c=">Submit a Link</a></td> </tr> <tr> <td class="vbmenu_option"><a href="$vboptions[homeurl]/links/browselinks.php?do=newlinks">What's New</a></td> </tr> <tr> <td class="vbmenu_option"><a href="$vboptions[homeurl]/links/search.php?">Search</a></td> </tr> </table> </div> <!-- / link menu --> |
#2
|
|||
|
|||
Weird hack considering vbadvanced links doesnt work with 3.5 yet
|
#3
|
||||
|
||||
Quote:
|
#4
|
||||
|
||||
It work?s mate i now that
This is better templates to this tread Open template "ADV_LINKS_LINKTOUS" and replace all contet whit this one Code:
$stylevar[htmldoctype] <html dir="$stylevar[textdirection]" lang="$stylevar[languagecode]"> <head> <title>$vboptions[hometitle] - $vba_options[links_title] - $vbphrase[link_to_us]</title> $headinclude </head> <body> $header $navbar $linksnav <!--// Link to us content--> <br> <table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center"> <tr> <td class="tcat"><strong>Link To Us</strong></td> </tr> <tr> <td class="alt1"><div class="smallfont">The codes below Will Make a text link or graphic with them. Don't forget to save the graphic (gif or .jpg) your directory. Right click on the graphic and choose "save image as". Remember to upload the graphic when you upload your page.<BR> If You need my help to add the Link, please feel free to ask..... We will gladly help!!!!!! <BR> <BR> Thanks, <BR> <B>Your-Site.com</B></div></td> </tr> <tr> <td align="center" class="tcat"><span class="smallfont"><a href="mailto:webmaster@Your-Site.com?subject=Link%20To%20Us%20Help"><strong>Contact Us</strong></a></span></td> </tr> </table> <br/> <table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center"> <tr> <td class="tcat"><strong>$vboptions[hometitle], Text Link</strong></td> </tr> <tr> <td class="alt1"><div class="smallfont"> <textarea name="textlink" cols="60" rows="2"> <a href="http://www.Your-Site.com" target="_top"> Your-Site.Com</a> Short description of your site! </textarea> </div></td> </tr> </table> <br/> <table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center"> <tr> <td class="tcat"><strong>$vboptions[hometitle], button</strong></td> </tr> <tr> <td class="alt1"><div class="smallfont"> <textarea name="buttonlink" cols="60" rows="3"> <a href="http://www.Your-Site.com"><img border="0" src="http://www.Your-Site.Com/files/banner01.gif" width="88" height="31" alt="Your-Site.Com"></a> </textarea> <br/> <a href="http://www.Your-Site.Com"><br/><img border="0" src="http://www.Your-Site.Com/files/banner01.gif" width="88" height="31" alt="Your-Site.Com"></a> </div></td> </tr> </table> <br> <!--// End Link to us content--> $footer </body> </html> |
#5
|
||||
|
||||
very good installed, thankyou
|
#6
|
|||
|
|||
Taking it a step further, a slight variation of this method can be used to add an additional navigation bar to any VB template, like header for instance.
Say you want to add dropdowns for "Polices", "Features", and "FAQ". The code will look something like this: Code:
<table width="100%" cellspacing="0" cellpadding="0"> <tr> <!-- Polices Menu --> <td id="policies" class="vbmenu_control"><a href="#policies">Policies</a><script type="text/javascript"> vbmenu_register("policies"); </script> <div class="vbmenu_popup" id="policies_menu" style="display:none"> <table cellpadding="4" cellspacing="1" border="0"> <tr><td class="thead">Forum Policies</td></tr> <tr><td class="vbmenu_option"><a href="policy01.php">1st Policy</a></td></tr> <tr><td class="vbmenu_option"><a href="policy02.php">2nd Policy</a></td></tr> <tr><td class="vbmenu_option"><a href="policy03.php">3rd Policy</a></td></tr> </table> </div> </td> <!-- /Polices Menu --> <!-- Features Menu --> <td id="features" class="vbmenu_control"><a href="#features">Features</a><script type="text/javascript"> vbmenu_register("features"); </script> <div class="vbmenu_popup" id="features_menu" style="display:none"> <table cellpadding="4" cellspacing="1" border="0"> <tr><td class="thead">Site Features</td></tr> <tr><td class="vbmenu_option"><a href="feature01.php">1st Feature</a></td></tr> <tr><td class="vbmenu_option"><a href="feature02.php">2nd Feature</a></td></tr> <tr><td class="vbmenu_option"><a href="feature03.php">3rd Feature</a></td></tr> </table> </div> </td> <!-- /Features Menu --> <!-- Stretch table so last cell is positioned to the right --> <td width="90%" class="vbmenu_control"> </td> <!-- /Stretch --> <!-- FAQ Menu --> <td id="faq" class="vbmenu_control"><a href="#faq">FAQ</a><script type="text/javascript"> vbmenu_register("faq"); </script> <div class="vbmenu_popup" id="faq_menu" style="display:none"> <table cellpadding="4" cellspacing="1" border="0"> <tr><td class="thead">Frequent Questions</td></tr> <tr><td class="vbmenu_option"><a href="faq01.php">1st FAQ</a></td></tr> <tr><td class="vbmenu_option"><a href="faq02.php">2nd FAQ</a></td></tr> <tr><td class="vbmenu_option"><a href="faq03.php">3rd FAQ</a></td></tr> </table> </div> </td> <!-- /FAQ Menu --> </tr> </table> <td id="features" class="vbmenu_control">And just incidentally, if you happen to accidentally put that <script> inside the closing </a> tag, it crashes IE6 completely . (am trying to come up with a use for that) Anyway, how to do this for some reason is pretty hard to track down around here and I almost started a new thread for it until I saw this one. Hope you don't mind me jumping on. |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|