News:

Wondering if this will always be free?  See why free is better.

Main Menu

Member Awards (2.0 Compatible!)

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

Previous topic - Next topic

Existence.

Fiddled around with it but to no avail. :/ Still having this error.

NephilimDM

Quote from: NephilimDM on July 11, 2009, 05:00:08 AM
Quote from: robinrobin on July 07, 2009, 03:36:24 PM
I get these errors in 2.0 RC1-1 which i guess is the reason for why i get the error above:

index.php?action=admin;area=awards;sa=assign;step=2
2: Invalid argument supplied for foreach()
File: Sources/ManageAwards.php
Line: 444
444:  foreach($_POST['recipient_to'] as $recipient)

8: Undefined index: recipient_to
File: Sources/ManageAwards.php
Line: 444
444:  foreach($_POST['recipient_to'] as $recipient)

Same error here... I'm using a fresh RC1 (no update).

Bye,
Nephilim

I still have this problem ... Can someone help me?

Bye,
Nephilim

LC

Quote from: Existence. on August 28, 2009, 11:55:20 PM
Hello,

I'm unable to see member awards below anyone's posts in any topic. I've looked all over this thread but cannot find a solution. One person (Chaos Dragon) said they figured it out, but didn't say why. :(

I'm running SMF 2.0 RC1-1.

Thanks.
Are you using a custom theme? If so, you will need to add the edits manually for your theme's template files. (such as Display.template.php and so on)

XaiXo

Hey there, great mod, thanks for sharing. :)

I'm having an issue with the awards on the members page - If I click on the award, it takes me to their profile and displays this message:

"Unable to load the 'awards_members' template."

Any idea how to fix this?

Fustrate

C4G-TK, clear your file cache in the admin center to see the new profile area.

dunamis, try contacting your host to see what they say is causing the error. Mods don't usually cause 500 errors unless they unintentionally corrupted a file or something.

NephilimDM, do you not have javascript enabled?

XaiXo, if you're using a custom theme, make sure you make the changes to that theme's Profile.template.php file.
Steven Hoffman
Former Team Member, 2009-2012

newnam

#1445
I am getting this error with 2.1.7:

QuoteField 'filename' doesn't have a default value
File: C:\inetpub\wwwroot\smf\Sources\ManageAwards.php
Line: 164

I saw the fix for an old version back on page 43 of this thread but the ManageAwards.php looks a lot different on this version.  Is there a fix for this version?

Thanks,
Mark

EDIT:  I was able to fix this by changing the filename and minifile fields from tinytext to varchar(80) in the database and then setting a default value.

XaiXo

Make what changes? (Sorry, I'm a total PHP noob.)

smartinezpr

Field 'filename' doesn't have a default value
File: C:\Clients\C2814\R2055\dr4gl3g3nds.com\public_html\Sources\ManageAwards.php
Line: 189

I have this error on the version 1-1

Santos

C4G-TK

Ok, I cleared the cache, but I have another bug to report. 

I have 2 pages of awards there and just like previously in the Admin area... when I click on page 2 within the profile section of the awards, it takes me to the Profile instead of page 2 of the awards.

-img removed-

C4G-TK

This is what appears in the error log when I hit the 2nd page...



BTW, it says "Recognition" now on my site just because of the way I use the mod.

-img removed-

excon

Hi Frustrate, can you help me on this? Every time I assign an award to a member I always encounter an error.

An Error Has Occurred!
You must select a member and/or award in order to continue!


On my first 3 tries, it is ok.. So smooth that it never open any problem but on my succeeding assigning to other members, this error always comes out.
Please advise and thank you very much.

excon

phxmaximus

Quote from: LightDiet on August 13, 2009, 09:33:34 AM
#1: Is it possible to change the width of the awards black outlining?? The thing that looks like this:

--Awards--------
|                      |
|                      |
¯¯¯¯¯¯¯¯¯¯¯¯

Mine is just a bit too wide and would like to make it smaller. Maybe let me know where and which file I can edit??

#2: It seems as well that there if a black dot infront of the awards part for some members, how can I get rid of that too??

Also a future suggestion would be to add Post Count-Based awards.

Anyways awesome MOD, working very well for me. Just need that first thing changed :(

Thanks for the help! Sorry if this question was already posted but there are 71 pages in this thread and didn't wanna browse them all :(

Does anyone have a solution for this? Thanks

Justin

LightDiet

Quote from: LightDiet on August 13, 2009, 09:33:34 AM
#1: Is it possible to change the width of the awards black outlining?? The thing that looks like this:

--Awards--------
|                      |
|                      |
¯¯¯¯¯¯¯¯¯¯¯¯

Mine is just a bit too wide and would like to make it smaller. Maybe let me know where and which file I can edit??

#2: It seems as well that there if a black dot infront of the awards part for some members, how can I get rid of that too??

Also a future suggestion would be to add Post Count-Based awards.

Anyways awesome MOD, working very well for me. Just need that first thing changed :(

Thanks for the help! Sorry if this question was already posted but there are 71 pages in this thread and didn't wanna browse them all :(

You said you'd look into my forum and help me out with this a while ago. Just incase you forgot i'm reposting. Any help would be awesome!

sear

#1453
www.teamseardelta.com [nofollow]
Smf Ver. 1.1.9
TinyPortal v1.0 beta 4
helios multi tp
Browesr IE8 and Firefox 3.5

Member Awards Mod:

http://custom.simplemachines.org/mods/index.php?mod=475

Hello, I have installed the Member Awards Mod this past sunday and i have noticed this morning i am recieving this error, In which template would this be refering to on how to fix this, The admin over at tinyportal pointed me here,Thank you.

Error message:

http://www.teamseardelta.com/index.php?action=profile;sa=awardsMembers;id=6 [nofollow]
8: Undefined index: members
File: /var/www/web14/html/Themes/default/languages/TPShout.english.php (awards_members sub template - eval?)
Line: 2354

Here's the file but as you can see no line 2354:

<?php
// Version: 1.0 beta4; TPShout


$txt['tp-allshoutsbyip'] = 'All shouts by this IP';
$txt['tp-allshoutsbymember'] = 'All shouts by this member';
$txt['tp-tabs10']='Shoutbox';
$txt['tp-allowguestshout'] = 'Allow guest shouts?';
$txt['tp-shoutboxheight'] = 'Height of shoutbox in pixels';
$txt['tp-shoutboxitems'] = 'Edit/Remove last shouts:';
$txt['tp-shoutboxlimit'] = 'Limit posts in shoutbox to:';
$txt['tp-shoutboxscrollspeed'] = 'Set scroll speed 1-6 where 1 is slowest';
$txt['tp-shoutboxsettings'] = 'Shoutbox';
$txt['tp-shoutboxusescroll'] = 'Use scrolling?';
$txt['tp-show_profile_shouts'] = 'Hide shouts in the profile?';
$txt['tp-shoutboxheader'] = 'Managing Shoutbox';
$txt['tp-shoutboxhelp'] = 'Help';
$txt['tp-shoutboxdescription'] = '';
$txt['tp-shoutboxduration'] = 'Duration for the scrolling ( 500-6000 ms)';
$txt['tp-shoutboxdelay'] = 'Delay between shouts for the scrolling ( 500-6000 ms)';
$txt['tp-shoutboxdirection'] = 'Direction of scrolling';
$txt['tp-shoutboxeasing'] = 'Scrolling effect';
$txt['tp-scrollvert'] = 'Vertically';
$txt['tp-scrollhoriz'] = 'Horisontally';

$txt['permissiongroup_tpshout'] = 'TP Shoutbox';
$txt['permissionname_tp_can_admin_shout'] = 'Manage Shoutbox';
$txt['permissionhelp_tp_can_admin_shout'] = 'Allows you to manage shouts.';
$txt['cannot_tp_can_admin_shout'] = 'Sorry, you aren\'t allowed to manage shouts.';
$txt['tp-showlatest'] = 'Show 50 latest';
$txt['tp-mootools'] = 'Yes, use Mootools version';
$txt['tp-marquee'] = 'Yes, use marquee(from TP v0.9)';

?>

I did turn off eval in the phpmyadmin data base and am not recieving any errors, Will update this if i do, thanks

excon

Hi frustrate, please advise how can i make the awards visible on ultimate profile.
thank you in advance. :)

sear

Ok new error after disabling eval.

http://www.teamseardelta.com/index.php?action=profile;sa=awardsMembers;id=9 [nofollow]
8: Undefined index: members
File: /var/www/web14/html/Themes/default/Profile.template.php
Line: 2354

This happens when you goto a certain award, then produces the above error, Thanks.

TwitchisMental

I have getting this error - Unknown column 'a.id_category' in 'on clause'
File: /home/twitch/public_html/forum/Sources/ManageAwards.php
Line: 97         

Oh and I am on smf 2.0 rc 1-2

Kindred

twitch...   the SQL update was not run.
Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

TwitchisMental

Quote from: Kindred on September 11, 2009, 07:40:00 AM
twitch...   the SQL update was not run.
SQL Update??

I didn't see any sql's <.<.

I just uploaded through the package manager.

Kindred

yes... and it would appear the the SQL update in the package failed.... which means that you will have to apply the SQL manually in phpmyadmin
Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

Advertisement: