Log in

View Full Version : Add to Favorites


oninuva
07-08-2006, 10:00 PM
Add to Favorite

What this does: This hack will add your site to the users favorites.

1. First go to your navbar template and 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>


Below it add

<a href="javascript:window.external.AddFavorite('http://Change to your URL,'Favourite Title')">
Add this page to your favourites</a>

If you used this please click install (https://vborg.vbsupport.ru/vborg_miscactions.php?do=installhack&threadid=120773).

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

mashour.net
07-09-2006, 08:46 PM
I/she/you tried to add it to you not he goes to the housedress ..

They thanked you for you ..

Rich
07-09-2006, 10:54 PM
I/she/you tried to add it to you not he goes to the housedress ..

They thanked you for you ..

What is that supposed to say?

oninuva
07-10-2006, 02:15 AM
Hmm i think he means

Thank you for this hack
it matchs great with my dress ... erm i mean forum :) Thanks!

pspcrazy
07-10-2006, 03:07 AM
What if the user as already added it? Will it ask every single time?

oninuva
07-10-2006, 12:36 PM
What if the user as already added it? Will it ask every single time?

what do you mean?

Snake
07-10-2006, 05:43 PM
Is this going to work on Firefox and IE?

Shazz
07-10-2006, 06:48 PM
Is this going to work on Firefox and IE?
Works with both.
Its just a button you click on and it adds it.
________
strain index (http://strainindex.com)

Allen
07-11-2006, 05:22 AM
what do you mean?
I suppose he meant a condition. I was thinking about this myself.

Basically, so far the code for favourites will be displayed independently apart from whether user adds it to fovourites or not.

It would be great if this Hack could know if the user added forums to favourites or not and so:
- if she/he didn't - it will show up
- if she/he did - it won't show up or will be replaced with sth.

The problem is, how can we know the user has already have our forums in favourites.

P.S. 'Add as a Home Page' would also be great :D
P.S.2. Will add this Hack as soon as I'll get some things done with my forums :)

oninuva
07-12-2006, 01:01 PM
@ Allen P.S i already have one here

https://vborg.vbsupport.ru/showthread.php?t=120767

brownbabe
07-14-2006, 02:28 PM
Thanks,

Even a dummy like me managed to do it right. cool!:banana:

Murty
07-18-2006, 06:02 AM
i cannot get this to work at all

this is what i changed the code to

<a href="javascript:window.external.AddFavorite('http://www.youthwar.com,'Favourite Title')">
Add YouthWAR.com to your favourites</a>

Viks
07-21-2006, 12:38 PM
Is not working in firefox 1.5.0.4
works OK in IE6+