The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Add to favorites on forumhome
I am stumped here.
I want to have a little link in the forum listing that lets you add a perticular forum to your favorites. I found a javascript but it only lets you do one url, could I pout as the url the url to any forum but use $forum[forumid]? |
#2
|
|||
|
|||
As in add a forum to Internet Explorer's favorites?
|
#3
|
||||
|
||||
I am a little confused. There is a script that lets you click and it adds to your IE's favourites, but what you are saying is confusing me.
Could you explain a bit better? |
#4
|
|||
|
|||
ok sorry i'll try to be more clear here (and yes its IE)
I want a link to appear next to every forum name that says [add to favorites]. When you click it I would like it to bring up the favorites dialog for IE so you can add it like thoose links on websites that say "add this page to your favorites". I have found an add to favorites javascript but it is just a function that only supports one URL. The script is: Code:
<SCRIPT LANGUAGE="JavaScript"> <!-- Begin function addbookmark() { bookmarkurl="http://wwwyoursite.com" bookmarktitle="Site Title" if (document.all) window.external.AddFavorite(bookmarkurl,bookmarktitle) } // End --> </script> |
#5
|
|||
|
|||
I'll look into this.
|
#6
|
|||
|
|||
I'll have it done once this is resolved: http://www.vbulletin.com/forum/showt...?postid=381121
|
#7
|
|||
|
|||
couldnt you just do something like:
<SCRIPT LANGUAGE="JavaScript"> <!-- Begin function addbookmark() { bookmarkurl="$bburl/showthread.php?$forumid" bookmarktitle="$threadname" if (document.all) window.external.AddFavorite(bookmarkurl,bookmarkti tle) } // End --> </script> those arent the right variables, but it makes the point... |
#8
|
|||
|
|||
thanks
Nairb read my post, I tried that |
#9
|
|||
|
|||
Nairb just gave me a very good idea though...
|
#10
|
|||
|
|||
<a href="http://www.vbulletintemplates.com/mods/showthread.php?s=&threadid=2217" target="_blank">http://www.vbulletintemplates.com/mo...&threadid=2217</a>
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|