GoFuckYourself.com - Adult Webmaster Forum

GoFuckYourself.com - Adult Webmaster Forum (https://gfy.com/index.php)
-   Fucking Around & Business Discussion (https://gfy.com/forumdisplay.php?f=26)
-   -   Is there a bookmark source code for this please? (https://gfy.com/showthread.php?t=792165)

Clean_Franck 12-14-2007 11:33 AM

Is there a bookmark source code for this please?
 
Each page is generated by a script and I cant therefore put in the bookmark codes individually. I therefore have to put "mydomain.com" under the bookmark link, when i would prefer to have each individual one "mydomain.com/subpage"
I have a template page, does anyone know of any code and I can put into that template page, so when the user clicks on the bookmark on any page, it bookmarks the page he is on? Rather than the one it was pre assigned to.
Any help is greatly apprecriated.

Clean_Franck 12-14-2007 01:49 PM

bump for me.

fris 12-14-2007 01:50 PM

you can use php or javascript to get the current page and append it onto the bookmark code

Clean_Franck 12-14-2007 02:12 PM

Thanks Fris, do you know where I can find that code please?

SmokeyTheBear 12-14-2007 03:12 PM

i suggest using the www.addthis.com button to your pages..

this will allow users to bookmark your page or add it to their favourite bookmark site like "digg" "redditt" etc

or use this simple javascript but the above is better
Code:

<script>
function setBookmark(url,str){
if(str=='')str=url;
if (document.all)window.external.AddFavorite(url,str);
else alert('Press CTRL and D to add a bookmark to:\n"'+url+'".');
}
</script>
<a href=# onclick="setBookmark(parent.location.href , document.title );">bookmark this page</a>


Clean_Franck 12-14-2007 03:20 PM

smokey, do digg and such allow adult sites into their systems?

Clean_Franck 12-14-2007 03:21 PM

by the way, thanks for the help

SmokeyTheBear 12-14-2007 03:32 PM

Quote:

Originally Posted by Clean_Franck (Post 13515585)
smokey, do digg and such allow adult sites into their systems?

i'm pretty sure they do , but don't quote me on that . i have a few adult sites on there and never had any complaints or any removed.. occash uses them on all their sites

SmokeyTheBear 12-14-2007 03:35 PM

when surfers click the bookmark button they will be presented with a page like this in a window
http://www.addthis.com/bookmark.php?url=https://gfy.com

the first selection is to add to "favourites" the rest are bookmark sites, you could modify the code they give you to include both

Clean_Franck 12-14-2007 03:40 PM

Thanks smokey, thats a nice page and a good idea, thanks for all your help

SmokeyTheBear 12-14-2007 03:41 PM

here is an example addthis code mixed with the javascript bookmarking script

all you have to do is signup with addthis to get you id and insert it in the following code where it says YOUR ADDTHIS ID HERE
Code:

<script>
function setBookmark(url,str){
if(str=='')str=url;
if (document.all)window.external.AddFavorite(url,str);
else alert('Press CTRL and D to add a bookmark to:\n"'+url+'".');
}
</script>


<!-- AddThis Bookmark Button BEGIN -->
<a href="http://www.addthis.com/bookmark.php" onclick="addthis_url  = location.href; addthis_title = document.title; return addthis_click(this);setBookmark(parent.location.href , document.title );" target="_blank"><img src="http://s9.addthis.com/button2-bm.png" width="160" height="24" border="0" alt="AddThis Social Bookmark Button" /></a> <script type="text/javascript">var addthis_pub = 'YOUR ADDTHIS ID HERE';</script><script type="text/javascript" src="http://s9.addthis.com/js/widget.php?v=10"></script> 
<!-- AddThis Bookmark Button END -->


SmokeyTheBear 12-14-2007 03:43 PM

the code will place the bookmarking button on your site, when clicked they will be promoted to add the current page to favourites with the title of the current page as link text, it will also popup a box for them to add the current page to the list of bookmark sites

Clean_Franck 12-14-2007 04:20 PM

nice tip, is it me or is the www.addthis.com website is down? perfect timing lol


All times are GMT -7. The time now is 07:41 PM.

Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2026, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123