The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Home Directory Help
I have been able to re-direct my homepage to a URL, but have one skin that seems to send me to the current page only appending the URL. So the forum page is www.test.com/forum. When I add the URL in the home location it changes the URL to www.test.com/forum/www.yahoo.com. How do I get it to stop appending the URL and just go to that site. Below is the code. I know it is a lot, but need help PLEASE!!!
<table style="background: url($stylevar[imgdir_misc]/header_bg.gif);" border="0" width="$stylevar[outertablewidth]" align="center" cellpadding="0" cellspacing="0"> <!-- header level 2 area vBSkinworks.com --> <tr> <td width="144"><img src="$stylevar[imgdir_misc]/logo.gif" alt="" width="357" height="102" /></td> <td><img src="$stylevar[imgdir_misc]/header_bg.gif" alt="" width="97" height="102" /></td> <td align="right"><img src="$stylevar[imgdir_misc]/header_right.gif" alt="" width="325" height="102" /></td> </tr> <!-- / header level 2 area end --> </table> <!-- header navigation area vBSkinworks.com --> <table style="background: url($stylevar[imgdir_misc]/header_level2_bg.gif);" border="0" width="$stylevar[outertablewidth]" align="center" cellpadding="0" cellspacing="0"> <tr> <td width="103"><a href="index.php"><img src="$stylevar[imgdir_misc]/home.gif" alt="" width="103" height="37" border="0" /></a></td> <td width="95" id="usercptools"><a href="www.h3llzarmyclan.com"><img src="$stylevar[imgdir_misc]/quicklinks.gif" alt="" width="95" height="37" border="0" /></a><script type="text/javascript">vbmenu_register("usercptools",true);</script></td> <td width="97"><a href="usercp.php$session[sessionurl_q]"><img src="$stylevar[imgdir_misc]/usercp.gif" alt="" width="97" height="37" border="0" /></a></td> <td width="94"><a href="memberlist.php$session[sessionurl_q]"><img src="$stylevar[imgdir_misc]/members.gif" alt="" width="94" height="37" border="0" /></a></td> <td width="97"><a href="register.php$session[sessionurl_q]" rel="nofollow"><img src="$stylevar[imgdir_misc]/register.gif" alt="" width="97" height="37" border="0" /></a></td> <td width="96"><a href="calendar.php$session[sessionurl_q]"><img src="$stylevar[imgdir_misc]/calen.gif" alt="" width="96" height="37" border="0" /></a></td> <td width="94" id="navbar_search"><a href="#"><img src="$stylevar[imgdir_misc]/search.gif" alt="" width="94" height="37" border="0" /></a><script type="text/javascript">vbmenu_register("navbar_search",true); </script></td> <td><a href="faq.php$session[sessionurl_q]"><img src="$stylevar[imgdir_misc]/faq.gif" alt="" width="103" height="37" border="0" /></a></td> </tr> <!-- / header navigation area end --> </table> <table align="center" border="0" width="$stylevar[outertablewidth]" cellpadding="0" cellspacing="0"> <tr> <td><img src="$stylevar[imgdir_misc]/btl.jpg" alt="" width="27" height="33" /></td> <td style="background: url($stylevar[imgdir_misc]/topbg.gif);"> </td> <td><img src="$stylevar[imgdir_misc]/btr.jpg" alt="" width="27" height="33" /></td> </tr> <tr> <td width="27" style="background: url($stylevar[imgdir_misc]/sideleft.gif);"></td> <td> <if condition="$show['popups']"> <!-- NAVBAR POPUP MENUS --> <if condition="$show['searchbuttons']"> <!-- header quick search form --> <div class="vbmenu_popup" id="navbar_search_menu" style="display:none"> <table cellpadding="4" cellspacing="1" border="0"> <tr> <td class="thead">$vbphrase[search_forums]</td> </tr> <tr> <td class="vbmenu_option" title="nohilite"> <form action="search.php" method="post"> <input type="hidden" name="do" value="process" /> <input type="hidden" name="showposts" value="0" /> <input type="text" class="bginput" name="query" size="20" />$gobutton<br /> </form> </td> </tr> <tr> <td class="vbmenu_option"><a href="search.php?$session[sessionurl]" accesskey="4">$vbphrase[advanced_search]</a></td> </tr> </table> </div> <!-- / header quick search form --> </if> <if condition="$show['member']"> <!-- user cp tools menu --> <div class="vbmenu_popup" id="usercptools_menu" style="display:none"> <table cellpadding="4" cellspacing="1" border="0"> <tr><td class="thead">$vbphrase[quick_links]</td></tr> <if condition="$vboptions['enablesearches']"><tr><td class="vbmenu_option"><a href="search.php?$session[sessionurl]do=getnew">$vbphrase[new_posts_nav]</a></td></tr></if> <tr><td class="vbmenu_option"><a href="forumdisplay.php?$session[sessionurl]do=markread">$vbphrase[mark_forums_read]</a></td></tr> <tr><td class="vbmenu_option"><a href="#" onclick="window.open('misc.php?$session[sessionurl]do=buddylist&focus=1','buddylist','statusbar=n o,menubar=no,toolbar=no,scrollbars=yes,resizable=y es,width=250,height=300'); return false;">$vbphrase[open_buddy_list]</a></td></tr> <tr><td class="thead"><a href="usercp.php?$session[sessionurl]">$vbphrase[user_control_panel]</a></td></tr> <if condition="$show['siglink']"><tr><td class="vbmenu_option"><a href="profile.php?$session[sessionurl]do=editsignature">$vbphrase[edit_signature]</a></td></tr></if> <if condition="$show['avatarlink']"><tr><td class="vbmenu_option"><a href="profile.php?$session[sessionurl]do=editavatar">$vbphrase[edit_avatar]</a></td></tr></if> <tr><td class="vbmenu_option"><a href="profile.php?$session[sessionurl]do=editprofile">$vbphrase[edit_profile]</a></td></tr> <tr><td class="vbmenu_option"><a href="profile.php?$session[sessionurl]do=editoptions">$vbphrase[edit_options]</a></td></tr> <tr><td class="thead">$vbphrase[miscellaneous]</td></tr> <if condition="$show['pmstats']"><tr><td class="vbmenu_option"><a href="private.php?$session[sessionurl]">$vbphrase[private_messages]</a></td></tr></if> <tr><td class="vbmenu_option"><a href="subscription.php?$session[sessionurl]">$vbphrase[subscribed_threads]</a></td></tr> <tr><td class="vbmenu_option"><a href="member.php?$session[sessionurl]u=$bbuserinfo[userid]">$vbphrase[my_profile]</a></td></tr> <if condition="$show['wollink']"><tr><td class="vbmenu_option"><a href="online.php?$session[sessionurl]">$vbphrase[whos_online]</a></td></tr></if> </table> </div> <!-- / user cp tools menu --> </if> <!-- / NAVBAR POPUP MENUS --> </if> <!-- content table --> $spacer_open $_phpinclude_output |
#2
|
||||
|
||||
Is there a reason you are not redirecting either through .htaccess or httpd.conf?
|
#3
|
||||
|
||||
If you want the home button to go to another site page you need to change the link in this line.
Code:
<td width="103"><a href="index.php"><img src="$stylevar[imgdir_misc]/home.gif" alt="" width="103" height="37" border="0" /></a></td> |
#4
|
||||
|
||||
He asked about this in another thread and wanted his HOME button to go to another site. I think that adds a variable he may not be comfortable dealing with.
|
#5
|
||||
|
||||
Thats confusing. If you mean the home button on the browser then just set the home page on the browser. If you mean the home link on the web page then .htaccess is the correct place to do the redirect.
|
#6
|
||||
|
||||
Im not disagreeing with you simply stating that he may not understand how its done
|
#7
|
|||
|
|||
Yea he is right I do not know what to do with the .htaccess but thanks for the suggestion.
sinisterpain I did change that part of the code mentioned above. When I put the URL in there (say www.yahoo.com) it appends it to the end of the current URL (which is www.h3llzarmyclan.com/forum) it ends up as www.h3llzarmyclan.com/forum/www.yahoo.com . I would think somewhere in the code it is always using something to point to the current URL no matter what. I thought it was <a href="#"> or <a href="index.php">, but no matter what I do it always uses the current URL. Any thoughts?? I do appreciate all your help with me. It really is helping me out allot... |
#8
|
||||
|
||||
use the complete web address for instance if you want your link to yahoo then
<a href="http://www.yahoo.co.uk"> or is that what you have been doing and i'm being dumb lol |
#9
|
|||
|
|||
Okay?!?! I some how got the page to return to the home of my choice. I did however get rid of the button that was on top of my skin and added the "Home" hyperlink on the bottom of the page. Not sure how, but seriously when I tried to change the code the first time it appended it to the current URL.
UHM...I guess it’s fixed now!! I REALLY want to thank all of you for putting up with me and helping me out. I really appreciate it and could never have fixed it without you guy.....THANKS!!!!! |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|