and the ideas keep on coming. nice work
My goodness. Perfect! i just hope I can implement this into my website, it has one of those :
"yoursite.com/index.php?=page3"
instead of
“yoursite.com/page3”
Great Script!
thx for purchasing
yoursite.com/index.php?=page3should work too
try to bookmark in the demo http://mac.homac.net/projects/TF_SimpleBM/example01/index.php?=page3
thx&bye
mac
Can it be implemented to wordpress?
this does work in wordpress!
Is it possible to show how many times a page has been bookmarked ?
Hi.
I am wanting to change lines: 227 – 233 in the sbm.class.php so that the add script is text and not a button.
Can you advise on how to do this.
Craig.
hello,
you could use this
<a href='" . $_SERVER["PHP_SELF"] . "?bm_title=" . $this->he($title) . "&bm_action=bookmark' id='bmf'>Bookmark</a><br /> [<a href='" . $this->bm_link . "'>Your bookmarks</a>]instead of the form
and to set the title replace
$output .= "<script type='text/javascript'>document.getElementById('bm_title').value = window.document.title;</script>";with$output .= "<script type='text/javascript'>document.getElementById('bmf').href = '" . $_SERVER["PHP_SELF"] . "?bm_title=' + window.document.title + '&bm_action=bookmark';</script>";
good luck 
mac
Sorry Mac,
Could you advise me on where to but these bits of code as I am just learning PHP ?
Thanks.
- Has been a member for 2-3 years
- Exclusive Author
- Author was Featured
- Sold between 10 000 and 50 000 dollars
- Bought between 10 and 49 items
- Austria
- Referred between 10 and 49 users
Hi there,
SBM V1 .1 released:
- Small fixes in the manual and helpfile
- Possibility to get an overview of all bookmarks of all users
- Function to display how many a single page is bookmarked
- Added possibility to use a link for bookmarking instead of the form
bye
mac
- Has been a member for 3-4 years
- Item was Featured
- Exclusive Author
- Sold between 100 and 1 000 dollars
- Bought between 100 and 499 items
hope you can help.. i consistently get this error:
Notice: Undefined index: bm_action in C:\wamp\www\MySite\bm\sbm.class.php on line 146
I’m using the following code: $sbm = new SimpleBM($_SESSION[‘UserID’],1);
thanks
- Has been a member for 3-4 years
- Item was Featured
- Exclusive Author
- Sold between 100 and 1 000 dollars
- Bought between 100 and 499 items
ok, I have setup your example files on my localhost, I’ve not touched your code at all, made no edits and I still get the following:
Notice: Undefined index: bm_action in C:\wamp\www\MySite\bm\sbm.class.php on line 146
However… it works.
ajax version, without reload could be a cool update, you can use to bookmark, and like url or post, just like facebook.
This does not seem to put a bookmark into the web browser , but only onto a webpage.
Is that correct?
Hi, Writing the info of mysql in sbm.class.php is not secure, any method to solve this?
Thanks
Hi,
thx for purchasing SBM B )
The mysql info doesn’t have to be written to the sbm.class.php
sbm.class.php //DB Settings - only necessary if you're don't provide an existing DB-connection
you could use an existing database connection – so you don’t have to make you own one
new SimpleBM($uid,$auth,$db);where $db is your existing database connection
rgds
mac
- Has been a member for 1-2 years
- Interviewed on the Envato Notes blog
- Exclusive Author
- Sold between 1 000 and 5 000 dollars
- Bought between 50 and 99 items
- Australia
hi themac
Just got around to figuring out a bookmark system on our site.
Theres not muh available, so looking at this.
We have a Button.
Which is like this before clicking

and like this after clicking

The above is just an example.
Can we configure the onclick event to a button.
Also, havent checked, but can the bookmarked links ( lets say there are 12 ) be displayed in a table ?
Hi,
thx for your interest 
there’re no onclick events – it’s not AJAX driven
BUT SURE , you can set buttons or whatever you want to indicate if a site is bookmarked or not
and you can display your bookmarked items in a table or whatever you want, there’s an array you could walk through [check out the demo (your bookmarks)]
rgds
mac
Hello, I did try to use my existing database connection, but it always say “please provide the correct db connection”. Please so kindly give me an detail example. Thanks a lot
- Has been a member for 2-3 years
- Exclusive Author
- Author was Featured
- Sold between 10 000 and 50 000 dollars
- Bought between 10 and 49 items
- Austria
- Referred between 10 and 49 users
hi
on you page where you like to use SBM for example:$sbm = new SimpleBM($_SERVER["REMOTE_ADDR"],true,$YourDbConn);OR
$sbm = new SimpleBM($uid,$authenticated,$YourDbConn);rgds
mac
Would be great if this was ajax driven, so you don’t have to reload the page. Nice work tho 


thx webguy,
but now I have to be sidelined til the mid of Feb, some other works are waiting for me
bye
mac