Advertisement:

Author Topic: Bookmarks  (Read 317030 times)

Offline Matthew K.

  • SMF Super Hero
  • *******
  • Posts: 12,430
  • Gender: Male
    • matthew.kerle on Facebook
    • @matthew_kerle on Twitter
Bookmarks
« on: July 16, 2007, 01:07:24 PM »
Link to Mod

A simple mod that allows users to easily keep track of their favourite topics.

Features:
  • One-click adding of bookmarks
  • User friendly interface for managing bookmarks
  • Automatically delete bookmarks when the topic they link to is deleted.

Screenshots:
  • Modified display template, that allows adding to bookmarks with just a single click.
  • Bookmark listing, that allows quick access to the bookmarked topics.
« Last Edit: November 17, 2007, 06:02:46 PM by AƤron »

Offline shadow82x

  • SMF Friend
  • SMF Super Hero
  • *
  • Posts: 11,275
  • Gender: Male
    • cmblaber on LinkedIn
Re: Bookmarks
« Reply #1 on: July 16, 2007, 01:51:34 PM »
Very nice mod.
Colin B
Former Spammer, Customize, & Support Team Member

Offline Garry1953

  • Jr. Member
  • **
  • Posts: 118
    • Artists Online Australia Art Forum
Re: Bookmarks
« Reply #2 on: July 16, 2007, 08:10:57 PM »
Works perfect.
Thanks

Offline ES23

  • Semi-Newbie
  • *
  • Posts: 85
Re: Bookmarks
« Reply #3 on: July 17, 2007, 06:25:21 AM »
Hi!I tried applying this mod but an error occurred.I'm using SMF 1.1.3 currently.Below are the packages I have installed in my forum.Can u pls assist me and tell me how can I correct my error??HELP!!!

1.     Registered Links      1.0       [ Uninstall ]  [ List Files ]  [ Delete ]
2.    Related Topics    1.1.1    [ Uninstall ] [ List Files ] [ Delete ]
3.    SMF Gallery Lite    1.7.5.1    [ Uninstall ] [ List Files ] [ Delete ]
4.    View Only Boards    1.1    [ Uninstall ] [ List Files ] [ Delete ]
5.    Custom Edit Times    1.1    [ Uninstall ] [ List Files ] [ Delete ]
6.    Attachment File Renamer    1.1.0    [ Uninstall ] [ List Files ] [ Delete ]
7.    SMF Links    1.6.3    [ Uninstall ] [ List Files ] [ Delete ]
8.    Bookmarks    1.0    [ Apply Mod ] [ List Files ] [ Delete ]
9.    View Topic Permissions    1.1.0a    [ Uninstall ] [ List Files ] [ Delete ]
10.    Avatars at Index Mod    1.4    [ Uninstall ] [ List Files ] [ Delete ]
11.    mp3 Flash Player BBC Tag (XHTML Compliant)    1.0    [ Uninstall ] [ List Files ] [ Delete ]
12.    Member Notepad    1.0    [ Uninstall ] [ List Files ] [ Delete ]
13.    Updated Registration Agreement    1.0    [ Uninstall ] [ List Files ] [ Delete ]
14.    Enhanced Password Reminder    1.0    [ Uninstall ] [ List Files ] [ Delete ]
15.    Alternativ Protocol Fix    1.0.0    [ Uninstall ] [ List Files ] [ Delete ]
16.    LogModAccountEdits    1.9    [ Uninstall ] [ List Files ] [ Delete ]
17.    ed2k links support    3.0.1    [ Uninstall ] [ List Files ] [ Delete ]
18.    Default Membergroup on Registration    1.0    [ Uninstall ] [ List Files ] [ Delete ]
19.    Profil Moderator Managment    1.0.0    [ Uninstall ] [ List Files ] [ Delete ]
20.    Select Admin for Notifications    1.1    [ Uninstall ] [ List Files ] [ Delete ]
21.    RedoPackageAction    1.3    [ Uninstall ] [ List Files ] [ Delete ]
22.    New Topic Button    1.0    [ Uninstall ] [ List Files ] [ Delete ]
23.    Enhanced Forum Statistics    1.0    [ Uninstall ] [ List Files ] [ Delete ]
24.    SMF Sitemap    1.1.3    [ Uninstall ] [ List Files ] [ Delete ]
25.    Spam Black List    0.2.1    [ List Files ] [ Delete ]
26.    No Reply Emails    1.0    [ Uninstall ] [ List Files ] [ Delete ]
27.    Reg Bar    1.0    [ Uninstall ] [ List Files ] [ Delete ]
28.    Enchanced post template    1.0.2    [ Uninstall ] [ List Files ] [ Delete ]
29.    Profile Comments    1.2.1    [ Uninstall ] [ List Files ] [ Delete ]
30.    Ignore Boards    2.0.1    [ Uninstall ] [ List Files ] [ Delete ]
31.    Signature Option Post    1.1    [ Uninstall ] [ List Files ] [ Delete ]
32.    SMF Staff Page    1.5.1    [ Uninstall ] [ List Files ] [ Delete ]
33.    Tagging System    1.0.3    [ Uninstall ] [ List Files ] [ Delete ]
34.    Topic Member Post Count    1.0.0    [ Uninstall ] [ List Files ] [ Delete ]
35.    Website Button    1.1.4    [ Uninstall ] [ List Files ] [ Delete ]
36.    Allowed Groups Embedded Flash    1.2.0    [ Uninstall ] [ List Files ] [ Delete ]
37.    Custom Profile Field Mod    3.16    [ Uninstall ] [ List Files ] [ Delete ]
38.    Admin Notepad    1.0    [ Uninstall ] [ List Files ] [ Delete ]
39.    Enhanced User Statistics    1.0    [ Uninstall ] [ List Files ] [ Delete ]
40.    Move Old Topics    1.2    [ Uninstall ] [ List Files ] [ Delete ]
41.    Ad Managment    2.3    [ Uninstall ] [ List Files ] [ Delete ]
42.    Display Age and Location next to posts    1.0    [ Uninstall ] [ List Files ] [ Delete ]
43.    YouTube BBC Tag (XHTML Compliant)    1.0    [ Uninstall ] [ List Files ] [ Delete ]
44.    Thank-O-Matic    1.0.1    [ Uninstall ] [ List Files ] [ Delete ]

This is the error that occurred.
3.     Execute Modification     ./Themes/default/index.template.php     Test failed

Thanks very much!!

Offline TrueSatan

  • SMF Hero
  • ******
  • Posts: 1,783
Re: Bookmarks
« Reply #4 on: July 17, 2007, 06:55:50 AM »
This is a varient on what is the most common problems to be reported on these pages...some of your other mods have already edited the files this mod seeks to edit thus it doesn't find them in the form it expects and it reports a fail. The solution to such problems is always the same...do a manual installation of the mod...please see:

http://docs.simplemachines.org/index.php?topic=402.msg531#msg531

 You may also find it helpful to use:

http://modparser.dev.dansoftaustralia.net/

Offline nolageek

  • Semi-Newbie
  • *
  • Posts: 80
    • nolageek.com
Re: Bookmarks
« Reply #5 on: July 17, 2007, 07:43:10 AM »
"bookmarking a page" usually refers to saving a page as a bookmark or favorite in your browser.. perhaps you should use the term 'track this topic' or something similar so that it doesn't confuse users?  Just a thought.

Offline tonzi

  • Jr. Member
  • **
  • Posts: 163
Re: Bookmarks
« Reply #6 on: July 17, 2007, 08:29:31 AM »
$txt['bookmarks'] = 'My Bookmarks'; $txt['bookmark_list'] = 'Bookmarks'; $txt['bookmark_list_empty'] = 'You don\'t have any bookmarks at the moment. Add one by clicking \'Add bookmark\' in topics.'; $txt['bookmark_open_window'] = 'Open in new window'; $txt['bookmark_delete'] = 'Delete bookmark'; $txt['bookmark_delete_success'] = 'The bookmark was deleted successfully!'; $txt['bookmark_delete_failure'] = 'The bookmark couldn\'t be deleted.'; $txt['bookmark_add'] = 'Add bookmark'; $txt['bookmark_add_success'] = 'The topic was successfully added to your bookmarks!'; $txt['bookmark_add_exists'] = 'This topic is already listed in your bookmarks!'; $txt['bookmark_add_failed'] = 'Failed to add the topic to your bookmarks.';

this appears above of my forum
« Last Edit: July 17, 2007, 08:36:16 AM by tonzi »

Offline tonzi

  • Jr. Member
  • **
  • Posts: 163
Re: Bookmarks
« Reply #7 on: July 17, 2007, 09:24:28 AM »
i get rid of it but it seems not working. is there an admin for this mod?

Offline shadow82x

  • SMF Friend
  • SMF Super Hero
  • *
  • Posts: 11,275
  • Gender: Male
    • cmblaber on LinkedIn
Re: Bookmarks
« Reply #8 on: July 17, 2007, 10:14:54 AM »
It looks like its interfering with other mods.
Colin B
Former Spammer, Customize, & Support Team Member

Offline TrueSatan

  • SMF Hero
  • ******
  • Posts: 1,783
Re: Bookmarks
« Reply #9 on: July 17, 2007, 10:30:54 AM »
@ tonzi

 You have the same problem here as you had with the friendly YouTube mod. I posted the solution to it there for you.

Offline tonzi

  • Jr. Member
  • **
  • Posts: 163
Re: Bookmarks
« Reply #10 on: July 17, 2007, 10:40:07 AM »
youtube is working fine now coz i just get rid of the codes that showed above my forum. and i did the same in bookmark but the prob is, the function of this mod didnt showed up or work.

Offline TrueSatan

  • SMF Hero
  • ******
  • Posts: 1,783
Re: Bookmarks
« Reply #11 on: July 17, 2007, 11:00:45 AM »
Had you followed what I told you to do it would work!

Offline tonzi

  • Jr. Member
  • **
  • Posts: 163
Re: Bookmarks
« Reply #12 on: July 17, 2007, 11:06:31 AM »
yah to have ?>  once.

Offline TrueSatan

  • SMF Hero
  • ******
  • Posts: 1,783
Re: Bookmarks
« Reply #13 on: July 17, 2007, 11:25:38 AM »
Note...You should have

Code: [Select]
?>
...not only shown once but, as previously, and repeatedly, stated at the end of the file on a line of its own. This mod now failing to work appears to be because you decided to remove the code you quoted above instead of taking the action previously advised:

Code: [Select]
$txt['bookmarks'] = 'My Bookmarks';
$txt['bookmark_list'] = 'Bookmarks';
$txt['bookmark_list_empty'] = 'You don\'t have any bookmarks at the moment. Add one by clicking \'Add bookmark\' in topics.';
$txt['bookmark_open_window'] = 'Open in new window';
$txt['bookmark_delete'] = 'Delete bookmark';
$txt['bookmark_delete_success'] = 'The bookmark was deleted successfully!';
$txt['bookmark_delete_failure'] = 'The bookmark couldn\'t be deleted.';
$txt['bookmark_add'] = 'Add bookmark';
$txt['bookmark_add_success'] = 'The topic was successfully added to your bookmarks!';
$txt['bookmark_add_exists'] = 'This topic is already listed in your bookmarks!';
$txt['bookmark_add_failed'] = 'Failed to add the topic to your bookmarks.';

 This code is needed, it should not have been removed. You need to replace the code and then make sure that:

Code: [Select]
?>
...appears once only, at the end of the file and on a line of its own.

Offline Ataraxicstorm

  • Semi-Newbie
  • *
  • Posts: 38
    • Poetry And Stories
Re: Bookmarks
« Reply #14 on: July 17, 2007, 12:30:29 PM »
-- sorry.. deleted message while i sort it :) --

Offline TrueSatan

  • SMF Hero
  • ******
  • Posts: 1,783
Re: Bookmarks
« Reply #15 on: July 17, 2007, 12:35:01 PM »
 I'd first try making the install file run manually...extract install.php from the package then upload it to your forum root...next simply load the file in your browser by going to it...that should make it add the tables to your database. This is quite a common issue with some mods...arcade mod for instance.

 Just read the install.php in a text editor to see what tables it adds if you land up having to do the work via phpMyAdmin

Offline Ataraxicstorm

  • Semi-Newbie
  • *
  • Posts: 38
    • Poetry And Stories
Re: Bookmarks
« Reply #16 on: July 17, 2007, 12:38:02 PM »
I'd first try making the install file run manually...extract install.php from the package then upload it to your forum root...next simply load the file in your browser by going to it...that should make it add the tables to your database. This is quite a common issue with some mods...arcade mod for instance.

 Just read the install.php in a text editor to see what tables it adds if you land up having to do the work via phpMyAdmin

ok thanks... turned out it had created the tables ( i jus missed them )

this is the error imgetting

Quote
Unknown column 'b.ID_TOPIC' in 'field list'
File: /home/content/R/a/v/Ravers/html/forum/Sources/Bookmarks.php
Line: 48

Offline Ataraxicstorm

  • Semi-Newbie
  • *
  • Posts: 38
    • Poetry And Stories
Re: Bookmarks
« Reply #17 on: July 17, 2007, 12:44:25 PM »


ok thanks... turned out it had created the tables ( i jus missed them )

this is the error imgetting

Quote
Unknown column 'b.ID_TOPIC' in 'field list'
File: /home/content/R/a/v/Ravers/html/forum/Sources/Bookmarks.php
Line: 48

fixed it...

the tables needed are ID_MEMBER and ID_TOPIC, but it created user_id and topic_id.. not sure what happened there :S

either way its all good now

Offline TrueSatan

  • SMF Hero
  • ******
  • Posts: 1,783
Re: Bookmarks
« Reply #18 on: July 17, 2007, 12:50:32 PM »
OK...glad you got it sorted out.

Offline tonzi

  • Jr. Member
  • **
  • Posts: 163
Re: Bookmarks
« Reply #19 on: July 17, 2007, 10:12:53 PM »
Note...You should have

Code: [Select]
?>
...not only shown once but, as previously, and repeatedly, stated at the end of the file on a line of its own. This mod now failing to work appears to be because you decided to remove the code you quoted above instead of taking the action previously advised:

Code: [Select]
$txt['bookmarks'] = 'My Bookmarks';
$txt['bookmark_list'] = 'Bookmarks';
$txt['bookmark_list_empty'] = 'You don\'t have any bookmarks at the moment. Add one by clicking \'Add bookmark\' in topics.';
$txt['bookmark_open_window'] = 'Open in new window';
$txt['bookmark_delete'] = 'Delete bookmark';
$txt['bookmark_delete_success'] = 'The bookmark was deleted successfully!';
$txt['bookmark_delete_failure'] = 'The bookmark couldn\'t be deleted.';
$txt['bookmark_add'] = 'Add bookmark';
$txt['bookmark_add_success'] = 'The topic was successfully added to your bookmarks!';
$txt['bookmark_add_exists'] = 'This topic is already listed in your bookmarks!';
$txt['bookmark_add_failed'] = 'Failed to add the topic to your bookmarks.';

 This code is needed, it should not have been removed. You need to replace the code and then make sure that:

Code: [Select]
?>
...appears once only, at the end of the file and on a line of its own.

sorry but I think I did that but still didnt work im now confused can you please place a code on what should i exactly place on my modifications.english.php? plsss thanks.