CodeCanyon

Simple Bookmark

  • Has been a member for 2-3 years
  • Bought between 10 and 49 items
jasonverdelli says
Purchased

Is there a way to out the bookmarks in a drop down box that would take you to the site when selected. This would be nice to condense the bookmarks on the page and make it easy to go from one site to another. Any thoughts on how?

3 months ago
Author
themac themac replied

hi,

you could go through the bookmarks array

$arr = $sbm->bookmarks(true);

more information can be found in the manual

rgds
mac

3 months ago
  • Has been a member for 2-3 years
  • Bought between 10 and 49 items
jasonverdelli says
Purchased

Could you possibly show an example? That would be very helpful :)

3 months ago
Author
themac themac replied

hi Jason,

here’s a snippet for you:

$bookmarks = $sbm->bookmarks(true);
$cntb = count($bookmarks);
if ($cntb) {
  echo "<select onchange='if (!this.value) return false; else window.location.href=this.value;'><option value=''>--Your Bookmarks--</option>\n";
  for ($i=0;$i<$cntb;$i++) {
    $thisb = (object) $bookmarks[$i];
    echo "<option value='" . $sbm->he($thisb->url) . "'>" .  $sbm->he($thisb->title) . "</option>\n";
  }
  echo "</select>";
}

I hope this help’s ya
mac

3 months ago
  • Has been a member for 2-3 years
  • Bought between 10 and 49 items
jasonverdelli says
Purchased

Mac, thank you so much. This works perfect! I appreciate it very much :)

3 months ago
  • Has been a member for 2-3 years
  • Bought between 10 and 49 items
jasonverdelli says
Purchased

In Wordpress, is there a way to integrate the bookmarks directly within the wp_users table in MySql. I would like to have it set so when a loggedin user bookmarks a page it saves it right into the appropriate field inside of the wp_users table. This way if the person views their bookmarks from a different location they still maintain in tact. Thoughts?

3 months ago
Author
themac themac replied

sorry for my delay,

you could rewrite the livesearch.class.php and change the database relevant parts – but it wouldn’t be that easy.

Simple Bookmark offers the possibility to work with your login-system

new SimpleBM($uid,$auth);

take a look to the manual

rgds
mac

3 months ago
  • Has been a member for 3-4 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 goes 2.0 8) – SBM 2 .0 upped and avail NOW

> -) AJAX Support
> -) works furthermore without javascript too
> -) Adding bookmarks without page loading form the form or the link-version
> -) Possibility to remove bookmarks without page loading
> -) Added a jump-to-bookmark function (select options)
> -) Increasing the number of bookmarks during adding too

try out the demo and happy BM
mac

15 days ago
by
by
by
by
by