Author |
Message |
Murmur Board Member
Joined: 20 Aug 2009
Posts: 57 Location: California
|
Posted: Thu Nov 19, 2009 2:23 am Post subject: Re: Bookmarks Mod, adding the number |
|
|
Ok...try again. The repaired code is above. |
|
Back to top |
|
|
Holger Board Member
Joined: 19 Jan 2009
Posts: 509 Location: Hanover
|
Posted: Thu Nov 19, 2009 3:13 am Post subject: Re: Bookmarks Mod, adding the number |
|
|
That seems to work! Thank you very much! |
|
Back to top |
|
|
Murmur Board Member
Joined: 20 Aug 2009
Posts: 57 Location: California
|
Posted: Thu Nov 19, 2009 4:39 am Post subject: Re: Bookmarks Mod, adding the number |
|
|
You're welcome. You can pay me in Schultheiss (sp)
Do they still sell that brand?
"Was trinken wir?
Schultheiss Bier!" |
|
Back to top |
|
|
Holger Board Member
Joined: 19 Jan 2009
Posts: 509 Location: Hanover
|
Posted: Thu Nov 19, 2009 5:09 am Post subject: Re: Bookmarks Mod, adding the number |
|
|
Never heard of that ...
But I have Jever and Veltins in the fridge! |
|
Back to top |
|
|
Murmur Board Member
Joined: 20 Aug 2009
Posts: 57 Location: California
|
Posted: Thu Nov 19, 2009 5:13 pm Post subject: Re: Bookmarks Mod, adding the number |
|
|
Oh well, that was 25 years ago in Berlin. It may have been a local brand. Love German beer. America didn't have any decent beers until about the 80's when all the micro-breweries popped up. |
|
Back to top |
|
|
dondino Board Member
Joined: 09 Dec 2008
Posts: 144
|
Posted: Fri Dec 11, 2009 8:25 pm Post subject: Re: Bookmarks Mod, adding the number |
|
|
Hey Holger and Murmur,
I would like to do that as well... show the number of bookmarked topics, for registered users... beside the bookmarks link. I have of course, the bookmarks mod installed.
But I didn't understand much about the modifications posted here...
Can you post an addon... step by step?
Thanks in advance! |
|
Back to top |
|
|
Holger Board Member
Joined: 19 Jan 2009
Posts: 509 Location: Hanover
|
Posted: Sun Dec 13, 2009 12:20 pm Post subject: Re: Bookmarks Mod, adding the number |
|
|
Hi, use this:
http://www.phpbb2refugees.com/viewtopic.php?p=4591#4591
and place
{BM_COUNT}
where you want the number to show up.
I have done that like this:
Code: | <a href="{U_BOOKMARKS}" class="nav">{L_BOOKMARKS} ({BM_COUNT})</a> |
|
|
Back to top |
|
|
dondino Board Member
Joined: 09 Dec 2008
Posts: 144
|
Posted: Tue Dec 15, 2009 8:49 am Post subject: Re: Bookmarks Mod, adding the number |
|
|
Hi Holger!
I did as explained but now in the menu i get a voice "Bookmarks ()"
as if it cannot get the number of bookmarked topics from the database... maybe I should update or insert something also in phpmyadmin? a new variable? how? sorry for the questions!
|
|
Back to top |
|
|
Holger Board Member
Joined: 19 Jan 2009
Posts: 509 Location: Hanover
|
Posted: Tue Dec 15, 2009 8:55 am Post subject: Re: Bookmarks Mod, adding the number |
|
|
Uh? It works for me ... |
|
Back to top |
|
|
dondino Board Member
Joined: 09 Dec 2008
Posts: 144
|
|
Back to top |
|
|
dondino Board Member
Joined: 09 Dec 2008
Posts: 144
|
Posted: Tue Dec 15, 2009 9:03 am Post subject: Re: Bookmarks Mod, adding the number |
|
|
Hah! Holger
I found the mistake... my bookmark database table is BOOKMARKS_TABLE
not BOOKMARK_TABLE... I don't know why you have it on a different name if you used the same bookmarks mod!
anyway, no problem, it was a silly mistake! It works now!!
Thanks a lot for the help! |
|
Back to top |
|
|
Holger Board Member
Joined: 19 Jan 2009
Posts: 509 Location: Hanover
|
Posted: Tue Dec 15, 2009 9:05 am Post subject: Re: Bookmarks Mod, adding the number |
|
|
Strange! |
|
Back to top |
|
|
dondino Board Member
Joined: 09 Dec 2008
Posts: 144
|
Posted: Tue Dec 15, 2009 9:07 am Post subject: Re: Bookmarks Mod, adding the number |
|
|
Maybe its just a different but similar mod, and the author decided to change the table name! Well, too many years passed since then... it's even hard to find old specific phpbb2 mods nowadays... and even if you manage to contact the original authors, they say they deleted the files! thank god I should have a backup of each and every one of them in my hdd, if needed. |
|
Back to top |
|
|
Holger Board Member
Joined: 19 Jan 2009
Posts: 509 Location: Hanover
|
Posted: Tue Dec 15, 2009 9:09 am Post subject: Re: Bookmarks Mod, adding the number |
|
|
Yes, I have also some stored goodies. |
|
Back to top |
|
|
|