The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
index.PHP - Home Page Area??
I would like to know how to re-direct the home button on my forum to another URL. I understand it is "index.php", but can't seem to find an area in the code where it tells the system to direct it to a location. I obviously don't understand PHP, so I may be looking in the wrong area as well. I don't think this is a hard thing to do, so any help with this would be VERY appreciative. Have been working on this for 2 weeks now...
|
#2
|
||||
|
||||
You need to provide a little more info like a site url so your skin can be viewed to see if you have a custom navbar. Also are you using vbadvanced?
|
#3
|
|||
|
|||
The URL is www.h3llzarmyclan.com/forum . No I am not using vbadvanced for my homepage.
Although it is a custom skin I noticed the home button is always index.php. I hope this will help..... |
#4
|
||||
|
||||
Just change $vboptions[homeurl] in your templates to the url of your choice. That should do it.
|
#5
|
||||
|
||||
Go to Admincp->styles/templates->header template and edit as mark suggested. I see you already edited the footer template.
|
#6
|
|||
|
|||
I appreciate all the help, but when I look in the “admincp” there is no folder “styles” or a file named “header template”. There is a template.php, but that is the closest I could find. I searched the code for [homeurl], but nothing in the code. I assume I am looking in the wrong place or missing something. Sorry to be such a headache….
|
#7
|
||||
|
||||
There are no folders, you log into your vbulletin admincp on the right side is a list of controls for your forum. ie.. users, usergroups, vbulletin options, styles/templates etc..
|
#8
|
|||
|
|||
I was able to direct to the header area (Thanks to you guys). The script is below, I assume that the [forumhome] is where I put a URL in to direct it to the webpage of my choise? Also do I change the .php after the [forumhome] or do I leave that? I just want to make sure I am doing this right..
<!-- logo --> <a name="top"></a> <table border="0" width="$stylevar[outertablewidth]" cellpadding="0" cellspacing="0" align="center"> <tr> <td align="$stylevar[left]"><a href="$vboptions[forumhome].php$session[sessionurl_q]"><img src="$stylevar[titleimage]" border="0" alt="$vboptions[bbtitle]" /></a></td> <td align="$stylevar[right]"> </td> </tr> </table> <!-- /logo --> <!-- content table --> $spacer_open $_phpinclude_output Thanks guys I got it to work on two of my skins, but not one. I added a new post since I added the code. and it is long. If you could help with this too it would definatly keep me from going nuts. Again thanks for all your help............... |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|