Bookmarks

Started by Matthew K., July 16, 2007, 01:07:24 PM

Previous topic - Next topic

Matthew K.

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.

shadow82x

Colin B
Former Spammer, Customize, & Support Team Member

Garry1953

Works perfect.
Thanks

ES23

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!!

TrueSatan

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/

nolageek

"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.

tonzi

#6
$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

tonzi

i get rid of it but it seems not working. is there an admin for this mod?

shadow82x

It looks like its interfering with other mods.
Colin B
Former Spammer, Customize, & Support Team Member

TrueSatan

@ tonzi

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

tonzi

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.

TrueSatan

Had you followed what I told you to do it would work!

tonzi

yah to have ?>  once.

TrueSatan

Note...You should have

?>

...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:


$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:

?>

...appears once only, at the end of the file and on a line of its own.

Ataraxicstorm

-- sorry.. deleted message while i sort it :) --

TrueSatan

 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

Ataraxicstorm

Quote from: TrueSatan 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

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

this is the error imgetting

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

Ataraxicstorm

Quote from: TubeRavers on July 17, 2007, 12:38:02 PM


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

this is the error imgetting

QuoteUnknown 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

TrueSatan

OK...glad you got it sorted out.

tonzi

Quote from: TrueSatan on July 17, 2007, 11:25:38 AM
Note...You should have

?>

...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:


$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:

?>

...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.

Advertisement: