CodeCanyon

Simple Bookmark

  • Has been a member for 3-4 years
  • Bought between 1000 and 4999 items
  • United States
webguy says
Purchased

and the ideas keep on coming. nice work

Posted 2 years ago
Author
themac themac replied

thx webguy,

but now I have to be sidelined til the mid of Feb, some other works are waiting for me :)

bye
mac

Posted 2 years ago
  • Has been a member for 2-3 years
  • Bought between 50 and 99 items
alkline says
Purchased

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!

Posted 2 years ago
Author
themac themac replied

thx for purchasing

yoursite.com/index.php?=page3
should work too

try to bookmark in the demo http://mac.homac.net/projects/TF_SimpleBM/example01/index.php?=page3

thx&bye
mac

Posted 2 years ago
  • Has been a member for 3-4 years
  • Exclusive Author
  • Bought between 100 and 499 items
bmaworld says

Can it be implemented to wordpress?

Posted 2 years ago
Author
themac themac replied

hi,

sorry, I don’t have any expierence in Wordpress and so I don’t have the ability to say YES . But WP is PHP driven, and taht’s why I’m think: hmmm, why not :)

thx
mac

Posted 2 years ago
  • Has been a member for 2-3 years
  • Bought between 50 and 99 items
alkline says
Purchased

this does work in wordpress!

Posted 2 years ago
Author
themac themac replied

hi alkline,

cool, thx 8)

rgds
mac

Posted 2 years ago
  • Has been a member for 2-3 years
  • Exclusive Author
  • Bought between 50 and 99 items
  • Switzerland
MadMonkey says
Purchased

Is it possible to show how many times a page has been bookmarked ?

Posted 2 years ago
Author
themac themac replied

thx MadMonkey

currently there’re no admin functions implemented – I think I’ll provide such a function with the next update

bye
mac

Posted 2 years ago
  • Has been a member for 3-4 years
  • Bought between 50 and 99 items
MrBartle says
Purchased

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.

Posted 2 years ago
Author
themac themac replied

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

Posted 2 years ago
  • Has been a member for 3-4 years
  • Bought between 50 and 99 items
MrBartle says
Purchased

Sorry Mac,

Could you advise me on where to but these bits of code as I am just learning PHP ?

Thanks.

Posted 2 years ago
Author
themac themac replied

could you send me a PM to send you more information.

thx
mac

Posted 2 years ago
  • Has been a member for 3-4 years
  • Bought between 50 and 99 items
MrBartle says
Purchased

Hi Mac.

Could you send info to craigdorricott@hotmail.com.

Thanks!

Posted 2 years ago
  • Has been a member for 2-3 years
  • Exclusive Author
  • Sold between 10 000 and 50 000 dollars
  • Bought between 10 and 49 items
  • Austria
  • Referred between 10 and 49 users
themac says
Author

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

Posted 2 years ago
  • Has been a member for 3-4 years
  • Exclusive Author
  • Sold between 100 and 1 000 dollars
  • Bought between 100 and 499 items
andrew001 says
Purchased

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

Posted 2 years ago
  • Has been a member for 3-4 years
  • Exclusive Author
  • Sold between 100 and 1 000 dollars
  • Bought between 100 and 499 items
andrew001 says
Purchased

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.

Posted 2 years ago
Author
themac themac replied

Hi,

in the example there is one line missing, just replace the sbm.class.php in the example01/bm/ folder with the sbm.class.php of the root folder

or open

sbm.class.php
find
class SimpleBM {
replace with
error_reporting(E_ALL ^ E_NOTICE);
class SimpleBM {

rgds
mac

Posted 2 years ago
  • Has been a member for 3-4 years
  • Exclusive Author
  • Bought between 100 and 499 items
  • Mexico
fulgorek says

ajax version, without reload could be a cool update, you can use to bookmark, and like url or post, just like facebook.

Posted 1 year ago
  • Has been a member for 4-5 years
  • Bought between 50 and 99 items
turner2f says

This does not seem to put a bookmark into the web browser , but only onto a webpage.

Is that correct?

Posted 8 months ago
Author
themac themac replied

hi tuner,

yes, that’s correct

thx
mac

Posted 8 months ago
  • Has been a member for 0-1 years
  • Bought between 1 and 9 items
tommyxyz says
Purchased

Hi, Writing the info of mysql in sbm.class.php is not secure, any method to solve this?

Thanks

Posted 8 months ago
Author
themac themac replied

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

Posted 8 months ago
Purchased
Default-user tommyxyz replied

Hello, Thanks for your info and suggest in V1.2, there will be a one link click to remove the data in the table.

Great scripts and thanks.

Posted 8 months ago
  • 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
SportTipsWorld says

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 ?

Posted 8 months ago
Author
themac themac replied

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

Posted 7 months ago
  • Has been a member for 0-1 years
  • Bought between 1 and 9 items
tommyxyz says
Purchased

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

Posted 7 months ago
Author
themac themac replied

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
Posted 7 months ago
  • Has been a member for 2-3 years
  • Exclusive Author
  • Sold between 10 000 and 50 000 dollars
  • Bought between 10 and 49 items
  • Austria
  • Referred between 10 and 49 users
themac says
Author

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
Posted 7 months ago
  • Has been a member for 4-5 years
  • Bought between 100 and 499 items
  • Referred between 1 and 9 users
MWCD says

Would be great if this was ajax driven, so you don’t have to reload the page. Nice work tho :)

Posted 1 month ago
Author
themac themac replied

thx for your message and your input

I’ll try to release an updated version of SBM this month

rgds
mac

Posted 1 month ago

You must sign in or sign up to purchase this item.

$3Regular Licence

$3

Regular Licence a website (commercial, personal, client), or intranet site project - Details

$15Extended Licence

$15

Extended Licence a website template for sale (including on ThemeForest or ActiveDen) - Details

54 Purchases 18 Comments

Buyer Rating
12345 ( 9 ratings )
themac

themac

  • Has been a member for 2-3 years
  • Exclusive Author
  • Sold between 10 000 and 50 000 dollars
  • Bought between 10 and 49 items
  • Austria
  • Referred between 10 and 49 users
View Portfolio
Created 6 January 10
Compatible Browsers FireFox 2, FireFox 3, IE6, IE7, IE8, Opera, Safari
Software Version PHP 5.x, MySQL 5.x
Software Framework N/A
Files Included PHP
by
by
by
by
by