Log in

View Full Version : Default Home Page


oninuva
07-08-2006, 10:00 PM
Default Home Page


What this does: When a user clicks this it will make thier default homepage your site. This will improve chances that they will come back to your site.

How Long Does it take to set up: 1 Minute

What do i have to edit?: 2 Templates

Install

1. In your Footer Template look for

<if condition="$show['contactus']"><a href="$vboptions[contactuslink]" rel="nofollow">$vbphrase[contact_us]</a> -</if>


2. Add this on top of it

<a href="#" onClick="this.style.behavior='url(#default#homepage)';this. setHomePage('http://yoursitehere');">Make Home Page Your Site Name Here </a>

3. In your Navbar template look for

<if condition="$show['member']">
<td class="vbmenu_control"><a href="login.php?$session[sessionurl]do=logout&amp;logouthash=$bbuserinfo[logouthash]" onclick="return log_out()">$vbphrase[log_out]</a></td>
</if>

4. Under it add

<a href="#" onClick="this.style.behavior='url(#default#homepage)';this. setHomePage('http://yoursitehere');">Home Page </a>

Thats It!

If you installed this please press install (https://vborg.vbsupport.ru/vborg_miscactions.php?do=installhack&threadid=120767)!

https://vborg.vbsupport.ru/ (https://vborg.vbsupport.ru/vborg_miscactions.php?do=installhack&threadid=120767)

rogersnm
07-09-2006, 07:19 PM
Nice hack mate.

oninuva
07-09-2006, 07:32 PM
Thank you NICK

DrewM
07-09-2006, 07:43 PM
why not use vboptions variables so theres no "insert name here"

rogersnm
07-09-2006, 07:49 PM
It would be easier just to stick some code in a template then having to import a product and mess about with settings if you do not know vb that well..

SCORPION1
07-09-2006, 08:21 PM
must say good idea cheers will install now :)

mashour.net
07-09-2006, 08:54 PM
They thanked you for you ..

peterska2
07-09-2006, 09:44 PM
oninuva, please attach a text file with the instructions in to the first post.

Thank you.

oninuva
07-09-2006, 09:55 PM
ok, sure will

Barakat
07-10-2006, 12:37 AM
great idea . installed

oninuva
07-10-2006, 02:14 AM
thanks :)

Snake
07-10-2006, 05:40 PM
Thank you!

Murty
07-18-2006, 05:49 AM
this doesnt work with firefox or opera

Rickie3
07-18-2006, 07:35 AM
this doesnt work with firefox or operasame here:confused:

oberheimhaven
07-22-2006, 12:57 AM
Thxs mate great joB!!

oBER

oberheimhaven
07-22-2006, 01:17 AM
With firefox????

rogersnm
07-24-2006, 02:20 PM
most of these things are "IE only"

oninuva
11-18-2006, 12:14 PM
most of these things are "IE only"

Well said. it's true.