Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
Bookmark to favorites Details »
Bookmark to favorites
Mod Version: 3.8.4, by tommydamic68 (Member) tommydamic68 is offline
Developer Last Online: Jul 2014 I like it Show Printable Version Email this Page

vB Version: 3.8.x Rating: (0 vote - 0 average) Installs: 2
Released: 28 Jan 2012 Last Update: Never Downloads: 0
Not Supported Template Edits Re-usable Code  

Sorry if something like this exists but i thought i would share and welcome any others that may be better or perhaps someone has a better option or recommendation.

About this hack:

This hack puts a bookmark button on your website so users or visitors can automatically bookmark your site to their favorites in their favorite browser. It does not work with Safari but there is a piece in the code which lets them know they must add the bookmark manually.

I have also attached my bookmark i created. Feel free to use it.

Features:

Automatically lets users and guests bookmark your site to their browser favorites so your site is an easy find with a click!

It let's Safari users know that they need to manually add your site in their bookmark favorites. Bookmark buttons generally do not work with Safari.

You can use your own button as well but i have included mine in an attachment.

The code:

This code comes from Dynamicdrive.com but i have obviously modified it to my liking and to work on Vbulletin and my site. You will also probably need to change the position and whether or not you want it in a "fixed" position to your sites layout.

You also need to fill in the red areas with your site name and URL of course and the image source URL. You will also probably need to set the position to your liking as well. I have the position numbers highlighted in red. I basically just played with the positioning to get it where i wanted it on the site. I added the code at the bottom of the ad_header_end template.

<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);
else {
alert("Sorry! Your browser doesn't support this function. Please bookmark this page manually.");
}
}
</script>

<a href="javascript:bookmarksite('YOUR SITE NAME', 'HTTP://WWW.YOURSITEURL.COM/')"><img src="YOUR IMAGE SOURCE" style="position: fixed; top: 150px; left:-5px;"border=0></a>

Download Now

Only licensed members can download files, Click Here for more information.

Screenshots

Click image for larger version

Name:	Screen shot 2012-01-28 at 6.19.13 PM.jpg
Views:	91
Size:	34.8 KB
ID:	136152   Click image for larger version

Name:	book mark alone.png
Views:	78
Size:	8.4 KB
ID:	136155   Click image for larger version

Name:	Screen shot COMPLETE.png
Views:	121
Size:	30.7 KB
ID:	136156  

Show Your Support

  • To receive notifications regarding updates -> Click to Mark as Installed.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Similar Mod
Mod Developer Type Replies Last Post
favorites smilies all-the-vb vBulletin 2.x Full Releases 28 25 May 2007 10:29
Add to Favorites oninuva vBulletin 3.5 Template Modifications 12 21 Jul 2006 13:38

Comments
  #2  
Old 31 Jan 2012, 07:38
dizzynation's Avatar
dizzynation dizzynation is offline
 
Join Date: Jun 2011
Will try it out
Reply With Quote
  #3  
Old 29 Feb 2012, 10:21
bestone96 bestone96 is offline
 
Join Date: Sep 2011
thanks a lot
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Mod Options

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


New To Site? Need Help?

All times are GMT. The time now is 09:10.

Layout Options | Width: Wide Color: