Quote:
Originally Posted by Skydiver10
I have spent hours searching this thread and other related version threads for this error and could not find a fix. I spent an additional few more hours on the web searching for database error information under different scenarios than mine, but I have found something that works on line 581 in the award.php file, I would like to know your experienced opinion with database errors.
On line 581 of award.php:
Code:
$issue_id = mysql_insert_id();
Replaced with this:
Code:
$issue_id = $db->insert_id;
This eliminates the error that shows for 5 seconds after giving a member an award in the adminCP awards.
~ With your expert opinion and experience with data-basing, is this OK?
~ When you talk about member list, are you referring to the memberlist_resultsbit; awards that show up on the community member list? I have not been able to figure these errors out since there are 3 database errors that show up in a row on every single member line. I can live without the awards not showing up on this list, since all of the awards that are won... show up on the awards.php list!
Look forward to your responses, special the database error above...happy new year, and thanks again.
|
I will have to take a look around the code and see if I can duplicate the errors, and/or duplicate your code change and see if it affects anything else in the system.
Quote:
Originally Posted by Virtualshiner
On a website that uses this, www.vmkmagic.com , they have it so if you post in a certain thread, it will automatically give you an award. I have checked and checked in my settings, but i do not see an option for this. How is it possible?
|
Most likely they have a custom script, cron, or plugin that does this. That isn't part an option in the awards system, nor will the demand be there enough for it to work on coding that.
If you want the code, I would suggest you get a hold of that site administrator/developer and see what you can work out with them.