how can i link forum to index.php eather then www.dot.com

edzai

New Member
Hi...

I have crate a front page with html... called index.html

then from index.html i have link to enter.. index.php which is main page...

but on header logo when i click it takes back to index.html Dot.Com! Search for everything Dot Com!

i can not link index.php or take out slashhing ...

I want to link forum header logo to index.php

any help
 

p.n.c

New Member
AdminCP > Styles and Templates > expand [Your Style] > header

play with the codes there or post them and we'll help u :)
 

edzai

New Member
Hi, I am using vb.org templater the one that looks like vbulleting.com original theme..


I have checkted full codes on dreamwaver and also on notepad.. but i couldnt find logo.gif there to link index.php

Also

when i try setting up home page as NNClub it still shows as NNClub

HERE IS MY HEADER
<a name="top"></a>
<div align="center">
<div id="hxy" style="width:770px">
<div align="left" class="bl">
<div class="hxy_logo">

<table border="0" width="100%" cellpadding="0" cellspacing="0" align="center">
<tr valign="bottom">

<td align="left"><a href="$vboptions[forumhome].php$session[sessionurl_q]"><img src="$stylevar[titleimage]" border="0" alt="$vboptions[bbtitle]" /></a></td>

<td width="100%" align="right" nowrap="nowrap" style="padding-right:9px">

<table width="100%" align="right" style="margin-bottom:1px" cellpadding="0" cellspacing="0" border="0">
<tr>
<td align="right" class="logo-info" nowrap="nowrap" style="padding-bottom:9px">
<if condition="$show['member']">

<div align="right" class="white">
<strong><phrase 1="$bbuserinfo[username]">$vbphrase[welcome_x]</phrase></strong>
You last visited: $pmbox[lastvisitdate] at $pmbox[lastvisittime]
<if condition="$show['pmstats']"><br />
<if condition="$bbuserinfo['pmunread'] != 0">
<a href="private.php$session[sessionurl_q]"><img class="inlineimg" src="$stylevar[imgdir_misc]/_newemail.gif" alt="new private message(s)" border="0" /></a> </if> <phrase 1="$vbphrase[unread_x_nav_compiled]" 2="$vbphrase[total_x_nav_compiled]" 3="$session[sessionurl_q]">$vbphrase[private_messages_nav]</phrase></if>
<if condition="$show['pmwarning']"><br /><strong><phrase 1="$vbphrase[pmpercent_nav_compiled]">$vbphrase[your_pm_box_is_x_full]</phrase></strong></if>
<else />
<!-- login form -->
<form action="login.php?do=login" method="post" onsubmit="md5hash(vb_login_password, vb_login_md5password, vb_login_md5password_utf, $show[nopasswordempty])">
<script type="text/javascript" src="clientscript/vbulletin_md5.js?v=$vboptions[simpleversion]"></script>
<table align="right" cellpadding="0" cellspacing="1" border="0">
<tr align="center">
<td style="font-size:11px; color:white;" nowrap="nowrap"><label for="navbar_username">$vbphrase[username]</label></td>
<td style="font-size:11px; color:white;"><label for="navbar_password">$vbphrase[password]</label></td>
<td colspan="2"></td>
</tr><tr>
<td><input type="text" class="bginput" style="font-size: 10px" name="vb_login_username" id="navbar_username" size="10" accesskey="u" tabindex="101" value="$vbphrase[username]" onfocus="if (this.value == '$vbphrase[username]') this.value = '';" />&nbsp;</td>
<td><input type="password" class="bginput" style="font-size: 10px" name="vb_login_password" id="navbar_password" size="10" tabindex="102" /></td>
<td align="center"><input type="submit" class="button" value=" $vbphrase[log_in] " tabindex="104" title="$vbphrase[enter_username_to_login_or_register]" accesskey="s" /></td>
<td style="font-size:10px; color:white;" nowrap="nowrap"><label for="cb_cookieuser_navbar"><input type="checkbox" name="cookieuser" value="1" tabindex="103" id="cb_cookieuser_navbar" accesskey="c" />Save?</label></td>
</tr>
</table>
<input type="hidden" name="s" value="$session[sessionhash]" />
<input type="hidden" name="do" value="login" />
<input type="hidden" name="vb_login_md5password" />
<input type="hidden" name="vb_login_md5password_utf" />
</form>
<!-- / login form -->
</if>
</td>
</tr><tr>
<td width="100%" align="right">
<a href="http://kurvo.com/sendmessage.php" class="tab">Contact Us </a>
<a href="http://live.nonudeclub.com" class="tab">NNClub Tv</a>
<a href="http://kurvo.com/vBTubePRO" class="tab">Video Clips </a>
<a href="http://kurvo.com/gallery/" class="tab">Pic Gallery</a>
<a href="http://kurvo.com/search.php?searchid=220" class="tab">Today Posts</a>
</td>
</tr ></table>

<!-- /tabs -->
</td>
</tr ></table>
</div>


<!-- content table -->
$spacer_open

$_phpinclude_output

$ad_location[ad_header_end]
 

p.n.c

New Member
in the code above
u see this code:

Code:
<td align="left"><a href="$vboptions[forumhome].php$session[sessionurl_q]"><img src="$stylevar[titleimage]" border="0" alt="$vboptions[bbtitle]" /></a></td>

thats your code right there

simply replace
Code:
<a href="$vboptions[forumhome].php$session[sessionurl_q]">

with
Code:
<a href="index.html">

it should work if the index.html file is in the same place as index.php

if its in the parent folder then replace with this code

Code:
<a href="http://www.vbteam.info/index.html">


tell me if u face any problem
 

edzai

New Member
thanks but that didnt work ...

I want to link my forum home page to index.php ... i try forum path to www.kurvo.com.com/index.php

but you not allowed to put index.php or end slasshing ....


on my template header section i can not link to index.php eather...


The reason i want to link to index.php

because i want to create front entarance with HTML... in to forum... and i dont want forum to go back to front page when they click in the forum main button or logo...

I hope i did explain what i m trying to do...


I mite just create a link on nav bar sayin HOME ... thats the last option
 

Adrian

New Member
edzai said:
if you go to my web site NNClub there is a logo on the left top ... i cant link that to index.php ....

it links to NNClub
It is because you have vBSeo installed. Try to disable it and go to index and click in the logo and you will go to index.php.
 

edzai

New Member
ye its working now.. thank you... you think i can enable and use this option is there way to do this with VBSEO enabled..
 

Adrian

New Member
I view an option in vBSeo, but I dont remember where and I havent installed it, search in vBSeo Configuration.

P.S.: Delete your forum links in your posts.
 

edzai

New Member
The problem solved with VBSEO ENABLED....

I find the solition in VBSEO Settings in ADMINCP

Force Forum Root as Homepage?
When enabled, all links to your forum homepage will be directed to 'vbroot/'. If disabled, your forum homepage links will point to the 'script name' (E.g. forum.php) as defined in your vBulletin configuration settings. This allows users with high PageRank in 'index.php' to use it as their default homepage.

MUST CHOOSE : YES -- OPTION


THANK YOU 4 HELPING

PROBLEM SOLVED
 
Top