News:

Want to get involved in developing SMF, then why not lend a hand on our github!

Main Menu

Bookmarks

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

Previous topic - Next topic

bn7

Understand. Problem is that i have forum with only read permission.
If you have a board without write/posts permission, mod works (with manual link to bookmark_add page) but don't appear in template.
However softcore thanks for your support :)

bn7

So, now a little question:

for example, if i set a forum in read mode only,  [REPLY] link disappear.
For bookmark is the same and [ADD BOOKMARK] link disappear.
I wish that this link remain with logged users (but obviously not for visitors).
Please, can you help me?

Thanks

Aaron

Okay, I just released version 2.2 of the bookmarks mod, which features a new 'My bookmarks' template and a proper way to (dis)allow users to make new bookmarks. :)

@bn7 and AlenNS: this release was made with your comments in mind. I hope you'll excuse the fact that you had to wait for it this long - my priorities have changed recently, as you'll probably have noticed.

Changelog for version 2.2:

  • + Extended the database query for the 'view bookmarks' screen to allow better customization of the bookmarks template.
  • & Enhanced the layout of the 'view bookmarks' template to include replies, views and last post.
  • * Added Serbian translation.
  • + Whether users can create bookmarks or not, now relies on a unique permission (make_bookmarks) instead of the can_reply permission.
  • * Added a few strings to the translations to support the above.
  • ! Made the mod installable on SMF 2.0 Beta 4.

As usually, the new package can be downloaded from the mod site. :)

Paracelsus

Aäron,

How is it for those who have the previous version of Bookmarks? Uninstall and install the new package or try to update it manually?

Aaron

If you uninstall the previous version and install the new version, then that should do the trick. :)

tridirk

When I install this on the smf forum, I still get an error message telling me to stop and not install, as it is not for my 1.1.16 version?

What do I need to do?
Learning SMF..... Thanks for your help!

Aaron

It should be compatible with SMF 1.1.6. You probably have other mods installed that conflict with this one. Try the manual installation instructions found on the mod page.

bn7

#327
Very thanks Aäron :)

However i've another problem with logged users.

Now [ADD BOOKMARKS] link is ok but i receive an error with db if i try try to add a bookmark.

Error is in index.LANGUAGE.php and call this 2 lines:

// Use numeric entities in the below string.
$txt[1001] = 'Database Error';
$txt[1002] = 'Please try again.  If you come back to this error screen, report the error to an administrator.';

(uhm wow!...i must report error to myself :( ...and then? )  -->ok little humor :)

Another thanks Aäron for your great mod and for your support!

:)

Garry1953

#328
Hi
When Accessing: Admin/Calendar/Calendar Settings     
I Get the below error.

Parse error: syntax error, unexpected ',' in /home/My Site in Here/public_html/art-forum/Sources/ManagePermissions.php on line 2189

This is caused by the Bookmark mod.
Once I uninstall Bookmark 2.2 the Parse error goes away.

I hope you can sort this out, as i really like this mod.
Garry

P.S. I tested this on a clean install of SMF v2.0 beta 4 with no other mods installed.

Frozt

I can install the new version 2.2 in 2.0 Beta 4 without problems
thanks  :D

Frozt

Calendar work for me in 2.0 Beta 4

but not Admin > Member > Permissions

Appear this error when I try to access it:

Parse error: parse error, unexpected ',' in ..\Sources\ManagePermissions.php on line 2155

and when I try to add a board the same error

tk2012

#331
I installed on my b4.0 forum!  I went back and checked line by line to make sure and all was good.  But, when I try to go into ADMIN > BOARDS > Modify board I can't edit the boards.  When I uninstall the mod, I can get in there.  Also, when installed, the ADMIN > MODIFICATIONS > Custom Forms tab doesn't work, but when I uninstall Bookmarks it works again.

Do I still need to make that code change in the .xml file?

somebody-else

This mod doesn't work for me.
I use SMF 1.1.6 with the Classic YaBB SE Theme installed with a slightly tweaked css stylesheet. Installed (and working) mods so far :
- Remove MySQL, PHP & W3C images to minimize footer size
- Custom Copyright

I uploaded the package, installed it (no error messages) and did the manual changes.

The bookmark link does not appear anywhere. I have to say that i did not do the instructions in the Code section ...
Code
smf11/install.php
This file should not be able to execute standalone. You may have to run the following queries manually.

Query: [Select]

CREATE TABLE IF NOT EXISTS {$db_prefix}bookmarks
(
`ID_MEMBER` mediumint(8) unsigned NOT NULL,
`ID_TOPIC` mediumint(8) unsigned NOT NULL,
UNIQUE KEY `ID_MEMBER` (`ID_MEMBER`,`ID_TOPIC`)

That is because i didn't really understand what i was supposed to do.

If that is the problem, could somebody please give me more details on how to do that step. Or if that is not the problem give me some pointer as to what might be the problem.



Thank you.

Frozt

You have to enter in your database manager, your hosting must have one, usually is phpmyadmin

If you do all the installation manually you need to have the database table of Bookmarks in your database for work the mod

if you have phpmyadmin enter the database of the forum
first see in your database if appear the database table of Bookmarks:
"smf_bookmarks"
if appear then it doesnt the problem and dont do the next
if not appear that database table you have to insert it manually
you have insert it in SQL section, see a horizontal menu in the top,
click in "SQL", will appear a textarea "Execute sql query..."
copy that code of the instructions and pasted it there,
then click in continue button and that include the database table of Bookmarks in your database

somebody-else

I checked, smf_bookmarks waspresent and looked correct. Still, the bookmarks are not working yet.

Any help would be appreciated.


Thanks.

bn7

#335
I made some tests. I think i'll must return to the old bookmark mod, because now, in any topics (with and without write permission) with logged user i receive this error:

"Please try again.  If you come back to this error screen, report the error to an administrator."

Any other idea would be appreciated.

Thanks in advance :)

EDIT/ADD: No problem and no db error with an admin account.

efil59

Hi,
Where can i set Permissions?
Thanks,
Efil.

Aaron

Quote from: bn7 on October 17, 2008, 10:00:28 AM
I made some tests. I think i'll must return to the old bookmark mod, because now, in any topics (with and without write permission) with logged user i receive this error:

Which version of SMF are you using? I tested both the version for SMF 1.1 and 2.0 from an admin perspective, and both seemed to be working alright.

Quote from: efil59 on October 17, 2008, 10:52:50 AM
Hi,
Where can i set Permissions?

Go to the admin center and click the 'permissions' link.

efil59


QuoteGo to the admin center and click the 'permissions' link.


Can't find there.
The mod i working good but only for the admin.
maybe somthing in the installation went wrong.
Thanks,
Efil.

AlenNS

Quote from: Aäron on October 13, 2008, 10:54:33 AM
Okay, I just released version 2.2 of the bookmarks mod, which features a new 'My bookmarks' template and a proper way to (dis)allow users to make new bookmarks. :)

@bn7 and AlenNS: this release was made with your comments in mind. I hope you'll excuse the fact that you had to wait for it this long - my priorities have changed recently, as you'll probably have noticed.

Changelog for version 2.2:

  • + Extended the database query for the 'view bookmarks' screen to allow better customization of the bookmarks template.
  • & Enhanced the layout of the 'view bookmarks' template to include replies, views and last post.
  • * Added Serbian translation.
  • + Whether users can create bookmarks or not, now relies on a unique permission (make_bookmarks) instead of the can_reply permission.
  • * Added a few strings to the translations to support the above.
  • ! Made the mod installable on SMF 2.0 Beta 4.

As usually, the new package can be downloaded from the mod site. :)
Aaron, thank you very much for this modification of your mod. It's fantastic! :)

Advertisement: