News:

Join the Facebook Fan Page.

Main Menu

Bookmarks

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

Previous topic - Next topic

busterone

Thanks. It is strange, I don't use utf-8, so I didn't bother to manually add it to that file in the start.  The file has never been used. It did not even have the correct <?php in the beginning or ?> at the end. I added them and the correct code and the  errors stopped. I have no idea why, but it worked. Thanks again.  :)

busterone

They have all returned again. Evidently, no one was using the bookmark function for awhile. Now the same error is back- 4 pages worth in less than an hour.

Sakae

Hi, I've read half of the topic (the last half), so sorry if someone asked before, but is any chance to see "Top X bookmarked topics" SSI function?
http://www.tigrelog.com.br
l: simple p: machines

busterone


digger

Russian lang for Bookmarks

Sakae

Quote from: softcore on August 25, 2008, 12:19:20 AM
Hi, I've read half of the topic (the last half), so sorry if someone asked before, but is any chance to see "Top X bookmarked topics" SSI function?

Bump?
http://www.tigrelog.com.br
l: simple p: machines

jepot5

Quote from: Aäron on August 23, 2008, 01:51:28 PM
Quote from: AlenNS on August 20, 2008, 07:41:28 AM
Please Aäron, could you help me with this. It is empty for a month. :(

Has it occured to you that you could just revert to the unmodified version of the mod? ::)

Okay, you want replies, views, the last message and its time in it. That's four extra things to load. You can't expect them to work after only adding them to the templates, as they aren't loaded in the query in my version of the mod. You'll have to modify both the query and the definition of the bookmarks array just after the query, too. If you're not sure how to do this, I suggest you have a look at the query in MessageIndex.php, which queries everything you want to show, except it's for a specific board instead of the bookmarks table.

Can anyone help me with this? I want to see the code for the query, and I also tried putting the code for 'last_post' array in Bookmarks.php but I am not sure if its right.

AlenNS

It doesn't work for me.

I've tried several changes with no success .
Also asked Aaron for help but didn't get any.

I hope this time will have more lucky. :)

Here's my edited files.


AlenNS


tridirk

Will this work for 1.1.16?  and I tried installing and got the error message about incompatibility.
Learning SMF..... Thanks for your help!

Ravac

Modifications.serbian-utf8.php (Latinic)


$txt['bookmarks'] = 'Moji Bookmarks-i';
$txt['bookmark_not_for_guests'] = 'Izvini te, ali jedino registrovani članovi mogu koristiti bookmark opciju!';
$txt['bookmark_list'] = 'Bookmarks';
$txt['bookmark_list_empty'] = 'Trenutno nemate ni jedan bookmark sačuvan. Dodaj klikom na \'Add bookmark\' u topiku.';
$txt['bookmark_open_window'] = 'Otvori u novom prozoru';
$txt['bookmark_delete'] = 'Izbriši selektovane bookmarks-e';
$txt['bookmark_delete_success'] = '%1$s bookmarks-i su uspešno obrisani!';
$txt['bookmark_delete_failure'] = 'Nemogu se obrisati neki bookmarks-i.';
$txt['bookmark_add'] = 'Dodaj bookmark';
$txt['bookmark_add_success'] = 'Ovaj topik uspešno je dodat u vaš bookmarks!';
$txt['bookmark_add_exists'] = 'Ovaj topik se već nalazi u vašem bookmarks-u!';
$txt['bookmark_add_failed'] = 'Neuspelo dodavanje topik-a u bookmarks.';

squad

Quote from: tridirk on September 26, 2008, 12:51:36 AM
Will this work for 1.1.16?  and I tried installing and got the error message about incompatibility.

I managed to get it to work on 1.1.6 Core only.

I need to know, please, will work with 2.0 Beta 4 and should I be able to install it
easily via the mod site, since my Package Manager is not presently working?

Thank you, this is such a great mod for a site like mine :)

squad

Quote from: squad on September 27, 2008, 02:09:08 PM
Quote from: tridirk on September 26, 2008, 12:51:36 AM
Will this work for 1.1.16?  and I tried installing and got the error message about incompatibility.

I managed to get it to work on 1.1.6 Core only.

I need to know, please, will work with 2.0 Beta 4 and should I be able to install it
easily via the mod site, since my Package Manager is not presently working?

Thank you, this is such a great mod for a site like mine :)

ANyine know if it will work on 2.0 Beta 4 and will it work on all preinstalled themes,
ie; Core, as well as Babylon and Classic YaBB SE Theme

Please :)

Frozt

Quote from: chinaren on August 19, 2008, 10:08:54 AM
Hello. I've just downloaded this, but when I go to the installer, I get the following:

Quote3.   Execute Modification   ./Themes/default/index.template.php   Test failed

I've checked, and the index.template.php file is where it should be.  I'm running the basic theme, with a couple of mods installed. 

Any ideas?

I installed bookmarks 2.1.2 in SMF 1.1.6 and I have the same warning

I see that is a piece of code that change the code in the file that do the warning, the mods "Tagging System" (in 1.1.1 version happen to me) or with mod "Google Tagged" ( version 1.4)  change this file:

/Themes/default/index.template.php

that mods change this line:

if (in_array($context['current_action'], array('search',

"Tagging System" change it to:

if (in_array($context['current_action'], array('tags','search',

"Google Tagged" change it to:
if (in_array($context['current_action'], array('tagged','search',

so the bookmarks mod cant install



1) I unzip the bookmarks212.zip file

2) and edit this file:

bookmarks11.xml

(for smf 1.1.6 versions)

and I search for:

if (in_array($context['current_action'], array('search',

3) and change it by:

if (in_array($context['current_action'], array('tags','search',

then save the changes in the file

and do a repacked of all files of that mod in a zip called bookmarks212.zip

then I can install it :)



in the case of have the "Google Tagged" mod, the line of stage 3 is:

if (in_array($context['current_action'], array('tagged','search',



work good, the only problem is in the last column of last post, there are a problem with the table, is possible that one of the mods that I have installed altered it
this is an image of it:
img241 dot imageshack dot us/my.php?image=bookmarksdh5.jpg

Frozt

Quote from: Aäron on July 12, 2008, 11:44:25 AM
Quote from: Angelotus on July 12, 2008, 11:41:22 AM
I have to install the bookmarks database table manually.
What code to use in phpmyadmin??

That's been said at least ten times already. :P Anyway:

CREATE TABLE smf_bookmarks
(
   `ID_MEMBER` mediumint(8) unsigned NOT NULL,
   `ID_TOPIC` mediumint(8) unsigned NOT NULL,
   UNIQUE KEY `ID_MEMBER` (`ID_MEMBER`,`ID_TOPIC`)
);


this is for 2.0 Beta 4 too?

I haven´t problems when I installed the mod, and work fine when add topics to bookmarks in 2.0 Beta 4

but when I go to see "My Bookmarks" appear this:

Database Error
Table 'forum.smf_bookmarks' dont exist
File: ...\Sources\Bookmarks.php
Line: 62



with 1.1.6 I havent this problem but I would like to install the mod in 2.0 Beta 4

I see in the install of smf20 file that is a bit different of the version smf11 so I would like to know if I do something wrong if I try to add the table manually

InternetMafia

Any plans to make this compatible with 1.1.6
Its better to be dead and cool than alive and uncool.

digger

Quote from: InternetMafia on October 09, 2008, 06:59:02 PM
Any plans to make this compatible with 1.1.6
It works with 1.1.6

bn7

It works with 1.1.6 for me... but ONLY with admin account. Users can't view [BOOKMARK ADD] in Display.template.php.

Any idea?

Thanks

Sakae

bn7, try to add "view bookmark" permission on manage permissions admin page.
http://www.tigrelog.com.br
l: simple p: machines

bn7

In Member->Permissions there isn't any bookmark related voice...

Advertisement: