Module: User Thank/Flame
Posted by J. David Smith
|
Re: Module: User Thank/Flame May 19, 2008 04:57AM |
Registered: 22 years ago Posts: 174 |
|
Re: Module: User Thank/Flame May 20, 2008 09:09AM |
Registered: 18 years ago Posts: 49 |
|
Re: Module: User Thank/Flame May 20, 2008 12:52PM |
Registered: 18 years ago Posts: 4 |
First off, let me say that I LOVE this add-on, and on my board it is used quite heavily.
I'm having a strange issue, and wonder if anyone else is as well. In IE6, the flame feature doesn't work. If you attempt to flame someone, it thanks them instead. In all other browsers this works flawlessly, except IE6. Any ideas or suggestions?
I'm having a strange issue, and wonder if anyone else is as well. In IE6, the flame feature doesn't work. If you attempt to flame someone, it thanks them instead. In all other browsers this works flawlessly, except IE6. Any ideas or suggestions?
|
Re: Module: User Thank/Flame May 22, 2008 08:40AM |
Registered: 18 years ago Posts: 49 |
|
Re: Module: User Thank/Flame June 16, 2008 04:50AM |
Registered: 22 years ago Posts: 174 |
I got following error when trying to vote
Fatal error: phorum_api_user_save(): missing field "user_id" in user data array in /home/eastlink/public_html/phorun/include/api/user.php on line 417
any tips?
I think a very nice addon would be to allow users to vote threads instead of (or aditionally to) users.
Then we could create two pages with Top Users (users with better ranking) and Top Threads (specially interesting)
What do you think? Do you think would be easy to create?
Thanks!
Fatal error: phorum_api_user_save(): missing field "user_id" in user data array in /home/eastlink/public_html/phorun/include/api/user.php on line 417
any tips?
I think a very nice addon would be to allow users to vote threads instead of (or aditionally to) users.
Then we could create two pages with Top Users (users with better ranking) and Top Threads (specially interesting)
What do you think? Do you think would be easy to create?
Thanks!
|
Re: Module: User Thank/Flame June 16, 2008 09:58AM |
Registered: 18 years ago Posts: 49 |
The 'Top Users' thread wouldn't be hard. I haven't worked on this mod in awhile, I guess now would be a good time to get back in the loop.
The 'phorum_api_user_save()' error may be the result of a new version of phorum. I have tested it up to 5.2.2
Also, I had a problem similar to that before, and reinstalling the phorum database fixed it. I am not sure if it is the same error (probably not), but it may be. Don't forget to backup your DB before trying it!
I will work on adding the 'Top Users' page and an options page (been working on the latter for awhile).
@justingaynor: I have been unable to find the solution to this problem, although I have been able to reproduce it.
Edited 1 time(s). Last edit at 06/16/2008 10:03AM by freereign.
The 'phorum_api_user_save()' error may be the result of a new version of phorum. I have tested it up to 5.2.2
Also, I had a problem similar to that before, and reinstalling the phorum database fixed it. I am not sure if it is the same error (probably not), but it may be. Don't forget to backup your DB before trying it!
I will work on adding the 'Top Users' page and an options page (been working on the latter for awhile).
@justingaynor: I have been unable to find the solution to this problem, although I have been able to reproduce it.
Edited 1 time(s). Last edit at 06/16/2008 10:03AM by freereign.
|
Re: Module: User Thank/Flame June 16, 2008 11:13AM |
Registered: 22 years ago Posts: 174 |
thanks for replying and the effort in a further update
would be really difficult to add the vote threads feature.
that would be REALLY interesting, it is cool to see a top users list (to see who´s popular), but top threads voted by users make this a really useful feature
looking forward to your update.
not trying to push you, but is there any estimated finishing date?
thanks!!!
would be really difficult to add the vote threads feature.
that would be REALLY interesting, it is cool to see a top users list (to see who´s popular), but top threads voted by users make this a really useful feature
looking forward to your update.
not trying to push you, but is there any estimated finishing date?
thanks!!!
|
Re: Module: User Thank/Flame June 16, 2008 11:38AM |
Registered: 18 years ago Posts: 49 |
|
Re: Module: User Thank/Flame June 16, 2008 06:33PM |
Registered: 18 years ago Posts: 49 |
Okay, I'm back again with yet another problem. I want to access $PHORUM['mod_user_thank_flame']['mode'] in my templates. I only need to check it's value. How would I do that with template code, or should I use PHP? That variable is set in a settings page I am working on. When I do print($PHORUM['mod_user_thank_flame']['mode']) in my template it shows correctly.
|
Re: Module: User Thank/Flame June 17, 2008 02:49AM |
Admin Registered: 22 years ago Posts: 8,532 |
The template language cannot access that code. You either have to fallback to pure PHP or let your module put the variable somewhere in the $PHORUM['DATA'] space to make it available to the template engine. I would go for the latter myself, to keep the templates as simple as possible.
Maurice Makaay
Phorum Development Team
my blog
linkedin profile
secret sauce
Maurice Makaay
Phorum Development Team
my blog
linkedin profile
secret sauce
Sorry, only registered users may post in this forum.


