News:

Bored?  Looking to kill some time?  Want to chat with other SMF users?  Join us in IRC chat or Discord

Main Menu

Bookmarks

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

Previous topic - Next topic

fff

Quote from: gbsothere on July 19, 2009, 08:54:56 AM
Actually, both your index.template.php and Display.template.php files look fine (as far as I can tell).  What language are you using?
I am using English

gbsothere

Did you make this edit to your Modifications.english.php file?

Find at the end of the file:

?>

Add before that:


$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 selected bookmarks';
$txt['bookmark_delete_success'] = '%1$s bookmarks were deleted successfully!';
$txt['bookmark_delete_failure'] = 'Not all bookmarks could 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.';
$txt['permissionname_make_bookmarks'] = 'Create bookmarks for topics';
$txt['cannot_make_bookmarks'] = 'Sorry, you don\'t have permission to make bookmarks.';


In fact, fff, I would go to the mod page here:

http://custom.simplemachines.org/mods/index.php?mod=864

And set the pull-down menu for 1.1.9 (if I remember correctly, that's your version, but set it to your version) and click Parse, then check all your files against those for correct parsing.  Also remember to move the two included files Bookmarks.php and Bookmarks.template.php to their proper directories. 
My apologies, but I am taking a break from accepting PM requests for support.  If I am not currently assisting you, please do not ask as long as this notice is posted.  Thank you.

I Don't Want To Grow Old Alone


It has been proven that Steely Dan reduces the occurrence of road rage, according to an independent study.



A reminder about admin / ftp passwords etc.

fff

Actually I made the previous edit to ./Themes/maistrafego/languages/ThemeStrings.english.php
I attached that file down.
I didnt make the previous edit to Modifications.english.php because there isnt such file in Maistrafego theme but I think that ThemeStrings.english.php is same file as Modifications.english.php

BTW I think that I did everything correctly because I tried to istall bookamrks mod several times and the result is the same

gbsothere

I'm really stumped, fff.  What browser are you viewing your site with?  Have you tried dumping the cache and relaunching it and also trying other browsers in addition to what you normally use, to see if it appears the same with them?

Of course, Aäron is the guy with the answers, so hopefully, he'll be able to weigh in on whether or not this can work with your theme as you're hoping.

My apologies, but I am taking a break from accepting PM requests for support.  If I am not currently assisting you, please do not ask as long as this notice is posted.  Thank you.

I Don't Want To Grow Old Alone


It has been proven that Steely Dan reduces the occurrence of road rage, according to an independent study.



A reminder about admin / ftp passwords etc.

fff

 ;D I am using Mozila Firefox. But last time I viewed my site with Internet Explorer and everything is OK.  So when I am using Internet explorer everything is good with my forum. :D
But if Aäron had a solution for my problem, I would like to tell me what I have to do to solve the problem about viewing my forum with Firefox.

Sabre™

Your button problem has nothing to do with your browser.
Try the attached index.template
Do NOT give admin and/or ftp details to just anybody, see if they are trust worthy first!!  Do your homework ;)


gbsothere

That's definitely different than the parsing instructions for editing that file.   :) 

*eager to hear the results*
My apologies, but I am taking a break from accepting PM requests for support.  If I am not currently assisting you, please do not ask as long as this notice is posted.  Thank you.

I Don't Want To Grow Old Alone


It has been proven that Steely Dan reduces the occurrence of road rage, according to an independent study.



A reminder about admin / ftp passwords etc.

Sabre™

Yeah, the nav menu layout for that theme isn't set as the default theme is.
It should work as designed, but....  the message under my avy says it all! lol ;)
Do NOT give admin and/or ftp details to just anybody, see if they are trust worthy first!!  Do your homework ;)


plusev

#448
I get the following error when trying to install:

The package you are trying to download or install is either corrupt or not compatible with this version of SMF.

Please advise

2 RC1.2

Tried reverting to 2 rc1.1 and still the same.

willerby

Same problem after reinstalling from scratch RC1.2...

Any helpers or is this manual install only now?
What type of washing machine is September?

An autumnatic. :)

willerby

Well as no reply i've manually installed but parser only has 2.0 b4 compatible mod despite RC1-1 being listed.

All works fine on manual install with SMF2 RC1-2 but parser and download need looking at otherwise this is a dead mod for most people. That would be a shame as its a good one.
What type of washing machine is September?

An autumnatic. :)

fff

Quote from: Sabre™ on July 19, 2009, 06:01:17 PM
Your button problem has nothing to do with your browser.
Try the attached index.template
Sorry because I didn't answer for some time. I was on holiday. 
Yesterday I upload the index.template file and everything is OK with ''my bookmarks" button. Thank you. :D

Sabre™

Do NOT give admin and/or ftp details to just anybody, see if they are trust worthy first!!  Do your homework ;)


plusev

Will this Mod be available for 2 rc 1.2 any time soon? Maybe a manual edit? Tried the revert to 2 rc 1.1 but that didn't work. Its truly an excellent mod I'd love to get running.

Thx

Sabre™

The manual edits should be the same/similar, I'll try later on tonight to confirm for you
Do NOT give admin and/or ftp details to just anybody, see if they are trust worthy first!!  Do your homework ;)


ElectroPheonix

I've installed the mod with no issues. It's a very useful mod so thanks very much  :D I'm using a custom theme on 1.1.10

I do have one small issue with it. It does not show up in the Who's Online list when people are looking at the bookmark page... instead it shows it as "Unknown Action".

I know something has to change in the Who.php and maybe a piece of code like the following might be needed...

<?php
 
include_once('../forum/SSI.php');
 
$online=ssi_logOnline('array');
 
?>


I have checked the instructions in the who.php file and tbh I can't understand what's what in there...

Some help to get the online list to say "Bookmarks" would be awesome!

Thanks in advance.

plusev

Quote from: Sabre™ on August 09, 2009, 11:58:18 PM
The manual edits should be the same/similar, I'll try later on tonight to confirm for you

Thx, I'd appreciate that.

willerby

Quote from: plusev on August 13, 2009, 12:14:04 PM
Quote from: Sabre™ on August 09, 2009, 11:58:18 PM
The manual edits should be the same/similar, I'll try later on tonight to confirm for you

Thx, I'd appreciate that.

Manual install works fine on RC1-2
What type of washing machine is September?

An autumnatic. :)

plusev

Quote from: willerby on August 13, 2009, 02:51:04 PM
Quote from: plusev on August 13, 2009, 12:14:04 PM
Quote from: Sabre™ on August 09, 2009, 11:58:18 PM
The manual edits should be the same/similar, I'll try later on tonight to confirm for you

Thx, I'd appreciate that.

Manual install works fine on RC1-2

Ok thx. I found the parse for 2 rc1. At the end it states:

Code
smf20/install.php
This file should not be able to execute standalone. You may have to run the following queries manually.


File Operations
Move the included file "smf20/Bookmarks.php" to "./Sources".
Move the included file "smf20/Bookmarks.template.php" to "./Themes/default".


Not sure what that means. Is the manual install the same for a custom theme? Thx, +EV

willerby

Themes will pick up the bookmarks.template.php from the default Theme if it does not exist in their folder. Try it. Different themes display pages differently but this is a simple mod which should display fine on any theme.

Always keep a backup of the files before you amend them (inserting a ~ tild on the end of each original file brefore uploading the new version). Very easy to then go back to working state.

It works fine on Shadow People theme (which was for v2.0b4)

W
What type of washing machine is September?

An autumnatic. :)

Advertisement: