Gunnar94 Posted October 16, 2011 Author Posted October 16, 2011 Delete that file called _notes in your directories, Dreamweaver always adds those for some stupid reason.
Timberwolf1771 Posted October 16, 2011 Posted October 16, 2011 So we need to delete that file to make it work?
Benny. Posted October 16, 2011 Posted October 16, 2011 not sure why , but i get a database error, awards is trying to write to an old table that dont exist, even when i drop all tables on install.
Mister Blonde Posted October 17, 2011 Posted October 17, 2011 I'm getting a driver error when I try accessing the auto awarding. 'There appears to be an error with the database.'
Guest Posted October 17, 2011 Posted October 17, 2011 I disabled the hook, makes it go away (obviously not a solution)
Mister Blonde Posted October 17, 2011 Posted October 17, 2011 I disabled the hook, makes it go away (obviously not a solution) But auto-awarding is the main reason I now downloaded this XD I was waiting for it. Plus I can do everything else it seems but when I click on autoawarding it says that.
Gunnar94 Posted October 17, 2011 Author Posted October 17, 2011 Well, that's why this is still BETA! I am going to look into this. Run this query, add your database prefix to it, it may fix it. CREATE TABLE inv_awards_auto_awards ( `inst_id` mediumint(8) NOT NULL auto_increment, `award_id` mediumint(8) NOT NULL, `title` varchar(35) NOT NULL, `type` varchar(25) NOT NULL, `data` text NOT NULL, `notes` varchar(150) NOT NULL, `enabled` tinyint(1) NOT NULL default '1', PRIMARY KEY (`inst_id`) );
makus Posted October 17, 2011 Posted October 17, 2011 after the update messages in threads are not added and writes - saves the message
matma4u.pl Posted October 17, 2011 Posted October 17, 2011 CREATE TABLE inv_awards_auto_awards ( `inst_id` mediumint(8) NOT NULL auto_increment, `award_id` mediumint(8) NOT NULL, `title` varchar(35) NOT NULL, `type` varchar(25) NOT NULL, `data` text NOT NULL, `notes` varchar(150) NOT NULL, `enabled` tinyint(1) NOT NULL default '1', PRIMARY KEY (`inst_id`) ); I did it and now is ok :smile:My proposalAuto-Award Type: points reputationDate format should be configurable in ACP What do you think about it?
Gunnar94 Posted October 17, 2011 Author Posted October 17, 2011 The points reputation is for sure. About the date format, is that for the profile view, where it says when the user got the award?
matma4u.pl Posted October 18, 2011 Posted October 18, 2011 In this place (hardcoded in file awards.php line 62)$a['date'] = gmdate('F j, Y g:i a', $a['date'] + $this->registry->class_localization->getTimeOffset());
Chris_JP Posted October 18, 2011 Posted October 18, 2011 In the admin side of things you're referencing some icons in "/admin/skin_cp/_newimages/icons/add.png" so I see broken images on the Add New Award buttons and such. There is no such directory in 3.2, "_newimages" is now just "images" And like others mentioned, auto-awarding just results in a driver error, I will try the query you posted earlier to try and fix that though. Also, any chance you can add the "Give Awards" link in the navigation on the left. I HATE having to go through IPB's hover menus in the ACP, you have to make a point of going directly vertical then horizontal to get to the option you want which is incredibly annoying, you can't drag the mouse diagonally like any normal person uses a computer because then it hovers over one of the other options... just a poor UX choice there... Apart from that, looking pretty good for a beta addon, looking forward to the finished product! Thanks.
Benny. Posted October 18, 2011 Posted October 18, 2011 i still have the same issues, topthrill , please see pm i sent cheers benny
Breadfan Posted October 19, 2011 Posted October 19, 2011 Would it be possible to change the naming of the mod folder and js file to something else but "awards"? Problem is, I have the other award mod and can't install this one due to the naming and app URL path are the same which is pitty.
DeRealDeano Posted October 20, 2011 Posted October 20, 2011 Hey buddy, regarding the public awarding one of my mod getting this error when he try to award a member. Warning: Invalid argument supplied for foreach() in /forums/cache/skin_cache/cacheid_16/skin_awards.php on line 77 Warning: Cannot modify header information - headers already sent by (output started at/forums/cache/skin_cache/cacheid_16/skin_awards.php:77) in /forums/admin/sources/classes/output/formats/html/htmlOutput.php on line 114 Warning: Cannot modify header information - headers already sent by (output started at/forums/cache/skin_cache/cacheid_16/skin_awards.php:77) in /forums/admin/sources/classes/output/formats/html/htmlOutput.php on line 127 Warning: Cannot modify header information - headers already sent by (output started at /forums/cache/skin_cache/cacheid_16/skin_awards.php:77) in/forums/admin/sources/classes/output/formats/html/htmlOutput.php on line 136 Warning: Cannot modify header information - headers already sent by (output started at /forums/cache/skin_cache/cacheid_16/skin_awards.php:77) in /forums/admin/sources/classes/output/formats/html/htmlOutput.php on line 137 Warning: Cannot modify header information - headers already sent by (output started at/forums/cache/skin_cache/cacheid_16/skin_awards.php:77) in /forums/admin/sources/classes/output/formats/html/htmlOutput.php on line 141 Any ideas? Thanks :smile:
Gunnar94 Posted October 20, 2011 Author Posted October 20, 2011 There probably aren't any awards that he/she is allowed to give, and so when the array, or lack of, to create the drop-down menu through a foreach loop is sent, it is empty and gets this error. Make sure this user's group has the ability to give at least 1 award, I will have a fix for this tonight, along with other fixes.
DeRealDeano Posted October 20, 2011 Posted October 20, 2011 The group trying to give the award has the same permissions as my group that is why I thought maybe its nothing to do with the permission. I will look out for the fix and see whether that fixes it :)
Recommended Posts
Archived
This topic is now archived and is closed to further replies.