News:

SMF 2.1.6 has been released! Take it for a spin! Read more.

Main Menu

Member Awards (2.0 Compatible!)

Started by Spuds, September 18, 2006, 03:14:03 PM

Previous topic - Next topic

C4G-TK

Ok, give me a couple minutes.  (I'm ignoring the person on the phone for a second.   :D )

-img removed-

C4G-TK

 ???  I don't see anything different in the Modifications.english.php edit than what I did already.

But, at the same time, I went ahead and replaced what I had with this and then clicked everywhere on the forum that dealt with awards and don't see any more errors appearing.

What was the change?

-img removed-

Fustrate

it added the global $scripturl; line... as long as it installs fine, it doesn't matter if it's in there twice because of a manual edit.
Steven Hoffman
Former Team Member, 2009-2012

C4G-TK

Been checking the forum adding and deleting awards and haven't noticed anything appear.  Looks like you've got a winner at this point.

-img removed-

Fustrate

heh, I need to update the 1.1.x version for all of this... that'll be pure hell
Steven Hoffman
Former Team Member, 2009-2012

C4G-TK

Well, keep your chin up.  I don't want to sign in and see you changed your name to Frustrated!   :P

-img removed-

Fustrate

heh, sometimes mods can get pretty annoying... but that's what I just go work on other stuff when I get peeved.
Steven Hoffman
Former Team Member, 2009-2012

ʟink

Hmm...I finally had the courage to try this out on RC1 again, but I've hit a couple of bumps on the way. After having to fill in the initial database entries manually (I had dropped the old ones and the installer never restored them.), I could administrate the awards. However, I remember actually seeing the awards in the post view. Now all I see is a clickable icon that brings you to what should be the user's awards section in their profile, but it just brings me to the main profile view. I'm using 2.1.4. Any help or suggestions would be greatly appreciated. Also, before anyone asks, yes I tried the default theme; I didn't even see the icon in that theme for some reason.
Obedire est vivere, Vivere est obedire


Fustrate

Did you enter a number in the Awards Settings page? If it's still at 0, none will show.
Steven Hoffman
Former Team Member, 2009-2012

ʟink

Yes, I have it set to 3.
Obedire est vivere, Vivere est obedire


refuse_orders

Hi, Ive installed your mod to RC1. Ive assigned awards and everything seems to be fine but when you click the award image on the board or try to edit category's, assign or remove awards i get this message. Im currently getting no errors show up in the error log and as far as i can tell the permissions are set right. Any help would be greatly appreciated, Ive checked through the previous pages of this thread and have not been able to find anything related.

Thanks

QuoteNot Acceptable

An appropriate representation of the requested resource /index.php could not be found on this server.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.




uni

Hey,

I'm getting a couple of errors in RC1:
Quote
Unknown column 'id_category' in 'field list'
File: /home/nworpcom/public_html/forum/Sources/ManageAwards.php
Line: 700

Unknown column 'a.id_category' in 'on clause'
File: /home/nworpcom/public_html/forum/Sources/ManageAwards.php
Line: 97

Unknown column 'award_name' in 'field list'
File: /home/nworpcom/public_html/forum/Sources/ManageAwards.php
Line: 423

Unknown column 'aw.award_name' in 'field list'
File: /home/nworpcom/public_html/forum/Sources/Profile-View.php
Line: 1970


Any ideas how can I fix this?

Thanks in advance.

Fustrate

can you check if {db_prefix}awards, {db_prefix}awards_members and {db_prefix}awards_categories exist in your database?
Steven Hoffman
Former Team Member, 2009-2012

Lamarck

I cannot make favourite awards (shows an sql error) and I can't find how to quit an award from a member.I can only do It from phpmyadmin.

Other than that,It works fine.Looking for support for external images  :P


C4G-TK

Hey, I'm getting one error from the mod:


File: /var/www/html/c4g/cache/lang_ManageAwards_english_default.php (awards_members sub template - eval?)
Line: 3146



Have received this three or four times now.

Sorry, RC1 here on default

-img removed-

Fustrate

Quote from: Lamarck on April 17, 2009, 07:19:36 AM
I cannot make favourite awards (shows an sql error) and I can't find how to quit an award from a member.I can only do It from phpmyadmin.

Other than that,It works fine.Looking for support for external images  :P
What's the exact SQL error? And you can unassign an award via the admin center... just view the list of who has received it, and then check their name and press 'Unassign'.

Quote from: C4G-TK on April 17, 2009, 11:02:30 AM
Hey, I'm getting one error from the mod:

File: /var/www/html/c4g/cache/lang_ManageAwards_english_default.php (awards_members sub template - eval?)
Line: 3146

Have received this three or four times now.

Sorry, RC1 here on default
Can you open the file it's referencing and tell me what's on that line (hopefully it's before the eval is done...), and also go to Admin > Maintenance > Forum Maintenance > Routine and empty the file cache (AFTER you check that cache file!)?
Steven Hoffman
Former Team Member, 2009-2012

Lamarck

QuoteWhat's the exact SQL error? And you can unassign an award via the admin center... just view the list of who has received it, and then check their name and press 'Unassign'.

I can check the name,but there is no "unassign" button >__<.

PD: I will edit with the error.

C4G-TK

Quote from: C4G-TK on April 17, 2009, 11:02:30 AM
Hey, I'm getting one error from the mod:

File: /var/www/html/c4g/cache/lang_ManageAwards_english_default.php (awards_members sub template - eval?)
Line: 3146

Have received this three or four times now.

Sorry, RC1 here on default
Can you open the file it's referencing and tell me what's on that line (hopefully it's before the eval is done...), and also go to Admin > Maintenance > Forum Maintenance > Routine and empty the file cache (AFTER you check that cache file!)?
[/quote]

From the error log, it will not open the file to tell me what line it is.  It is a black link that is not clickable.

So, I downloaded it and there are less than 100 lines in that file...  ?????  So, not sure how to get line 3146

I didn't have any errors after the other day when I posted about everything being good to go...

Here is a screenshot of the error log and a picture of the page of where the error is being pulled from.  I just clicked on the URL link and sure enough just got a 3rd error by going there.

-img removed-

n3ith

#1218
I have a custome template.

What do I have to do to get this to work?

I dont have the "Badge" button in the Admin panel.
I cant see the "Awards" page on profiles
etc

http://www.noxxious.com [nofollow]


Fustrate

Quote from: C4G-TK on April 17, 2009, 07:50:33 PM
Quote from: C4G-TK on April 17, 2009, 11:02:30 AM
Hey, I'm getting one error from the mod:

File: /var/www/html/c4g/cache/lang_ManageAwards_english_default.php (awards_members sub template - eval?)
Line: 3146

Have received this three or four times now.

Sorry, RC1 here on default
Can you open the file it's referencing and tell me what's on that line (hopefully it's before the eval is done...), and also go to Admin > Maintenance > Forum Maintenance > Routine and empty the file cache (AFTER you check that cache file!)?

From the error log, it will not open the file to tell me what line it is.  It is a black link that is not clickable.

So, I downloaded it and there are less than 100 lines in that file...  ?????  So, not sure how to get line 3146

I didn't have any errors after the other day when I posted about everything being good to go...

Here is a screenshot of the error log and a picture of the page of where the error is being pulled from.  I just clicked on the URL link and sure enough just got a 3rd error by going there.

[/quote]
Disable template eval ( http://www.simplemachines.org/community/index.php?topic=290186.0 ) and then do exactly what you did to get the error before. It should tell you something different, and you need to find the line it references once it does.

n3ith - on the top right of the mod's download page, select the version you installed and your SMF version, and then click "Parse". For each of the files in your custom theme's folder, see if there are instructions for it on the parse page. It should be pretty straightforward from there.
Steven Hoffman
Former Team Member, 2009-2012

Advertisement: