The Arcive of vBulletin Modifications Site. |
|
Bookmark this Site Details »»
|
|||||||||||||||||||||||||
Easy to do.
Takes 1 minute max. Admincp > Styles and Templates > Search In Templates Locate headinclude. at very bottom of page add: Code:
<script type="text/javascript">
/***********************************************
* Bookmark site script- ? Dynamic Drive DHTML code library (www.dynamicdrive.com)
* This notice MUST stay intact for legal use
* Visit Dynamic Drive at http://www.dynamicdrive.com/ for full source code
***********************************************/
/* Modified to support Opera */
function bookmarksite(title,url){
if (window.sidebar) // firefox
window.sidebar.addPanel(title, url, "");
else if(window.opera && window.print){ // opera
var elem = document.createElement('a');
elem.setAttribute('href',url);
elem.setAttribute('title',title);
elem.setAttribute('rel','sidebar');
elem.click();
}
else if(document.all)// ie
window.external.AddFavorite(url, title);
}
</script>
Then Admincp > Styles and Templates > Search In Templates Locate: navbar find this code Code:
</ul> <vb:if condition="$vboptions['enablesearches']"> <div id="globalsearch" class="globalsearch"> Code:
<li><a class="navtab" href="javascript:bookmarksite('British Expats', 'http://www.yobromofo.com')">Bookmark this site!</a></li>
Change 'http://www.yobromofo.com' to your domain Click Save Done Added: For BOOKMARK this PAGE Change second template edit to: Code:
<li><a class="navtab" href="javascript:bookmarksite('British Expats', (document.location.href))">Bookmark this Page</a></li>
Show Your Support
|
|||||||||||||||||||||||||
| Comments |
|
#2
|
|||
|
|||
|
great thanks
|
|
#3
|
|||
|
|||
|
Someone have a screenshot?
|
|
#4
|
|||
|
|||
|
The basic feature is nice. But could you add a function to bookmark each and every thread you want ? Tested it with
PHP Code:
May be you can have a look into that. Most users dont wanna bookmark the domain, they want to bookmark a single thread. |
|
#5
|
||||
|
||||
|
I am sure you could use a vb phrase ( would need to look further )
Such as {vb:rawphrase bookmarks} |
|
#6
|
||||
|
||||
|
*updated*
For Page Bookmark |
|
#7
|
||||
|
||||
|
Good Stuff. I used the Page Mod. But i was wondering how to move this from the navtabs bar to the menu bar. im running out of premium real estate up there.
|
|
#8
|
|||
|
|||
|
Don't work on ie8.
|
|
#9
|
|||
|
|||
|
You're right. IE stinks. Hopefully it's an easy fix.
|
|
#10
|
||||
|
||||
|
|
![]() |
|
|