Firefox PHP

Module: User Thank/Flame

Posted by J. David Smith 
Re: Module: User Thank/Flame
November 12, 2011 06:00AM
I get the error

Fatal error: phorum_api_user_save(): missing field "user_id" in user data array in /home/mysite/public_html/forum/include/api/user.php on line 417

when clicking thank or flame



Edited 1 time(s). Last edit at 11/12/2011 06:01AM by fevred.
Re: Module: User Thank/Flame
November 24, 2011 07:58AM
I'm getting the same error as fevred. Could someone help with this issue ?
Re: Module: User Thank/Flame
January 23, 2012 05:17PM
I've fixed a litany of bugs trying to get this mod working, but one that is currently stumping me is thanks/flames on the first post in a thread only affecting the user's count, but not being added to the message or thread's count. The voting buttons consequently remain visible. I chased this down all the way to the query performed by phorum_db_update_message() and echoed what it's (should be) doing. The queries (message and thread) seem fine and if I run them manually, it behaves correctly (at least until someone else tries to vote). There are no errors or anything written to the logs when this happens. Any idea what's up with this?
Re: Module: User Thank/Flame
November 26, 2012 02:08PM
Seems I have a weird new bug for you. My top users page always results in "No Users have been thanked yet!" Everything else seems to be working fine. Any ideas?
Re: Module: User Thank/Flame
December 24, 2012 07:51PM
I also getting the same issue, top users page always show "No Users have been thanked yet!". In fact, i did rate some of the posts.
Re: Module: User Thank/Flame
December 24, 2012 07:52PM
I also getting the same issue, top users page always show "No Users have been thanked yet!". In fact, i did rate some of the posts. Please help.
Re: Module: User Thank/Flame
December 28, 2012 08:00AM
can anyone help us?
Re: Module: User Thank/Flame
January 02, 2013 11:51PM
I fixed this error for awhile by going into the template folder and deleting the second if statement and it's else section in topusers.tpl. So it didn't check if there were top users at all, it just built the table. That worked for like 7 weeks. Now all of a sudden I am getting multisort array errors on the top users page stating an issue on user_thank_flame.php line 270.

Upon getting the new errors I reinstalled the mod files to their original state, I wasn't sure what I had done to the mod to fix the "no users have been thanked yet!" problem originally. Now I've got that problem again without the multisort errors.

I figured out that I deleted that if statement originally to fix this issue, but it's not fixing the error this time. I'm just getting a blank screen with no table at all. I'm thinking of just deleting the links to the top users page in my header.tpl. Letting the ratings next to the user name stand alone with no reports page.

It seems this mod has issues over time. I'm just annoyed that I had used it for so long. The users got accustomed to it, and we were using the top users page to promote users to higher statuses. Now I gotta take it away. That's never easy when people are used to something.
Re: Module: User Thank/Flame
January 07, 2013 07:30AM
This is a good script...too bad...many bugs not fixed yet.
Re: Module: User Thank/Flame
June 04, 2014 09:23AM
If you want to temporarily disable the mod you would need to wrap all recommended changes in templates with the following
{IF mod_user_thank_flame}
...
{/IF}

Otherwise you would get php notices about not defines variables/indexes
Sorry, only registered users may post in this forum.

Click here to login