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

Mother Goose

Thank you Jay!! I got it fixed...

We love your mod. Thank you for your continuing and consistent support for this mod.
   

rowedf

Quote from: JayBachatero on April 02, 2008, 09:35:51 AM
Mother Goose - You need to make the awards directory writeable.

Quote from: rowedf on March 28, 2008, 04:19:08 PM
Having issues with the awards link showing in people's profile.  So far only admin and global moderator can see that link.
Check your permissions.

Quote from: examino on March 28, 2008, 09:56:16 PM
Solved the issue with translation, now, when i enter a description inside an award, is shows up like this:

??????????? ?? ???????

Always does. I' m guessing it's caused by the utf encryption. The language i'm typing is Greek. Any help would be highly appreciated.
Check in phpMyAdmin what is the collation for the awards table and the messages table.

The only thing in permissions is for people to manage awards.  I can't find anything that allows them to view them ?

JayBachatero

Do you have a custom theme?  Maybe they are using a different theme.  You need to apply the changes manually for other themes.
Follow me on Twitter

"HELP!!! I've fallen and I can't get up"
This moment has been brought to you by LifeAlert

novastar

I am having an issue with this mod as well. I checked the box for users to be able to select multiple favorites, but it doesn't seem to do anything. I can still only select one favorite. If I select another award as favorite, it removes the previous award as favorite. Any suggestions?

lOOmis

I had the mod installed and working fine, but wanted to try another mod similar to this one. I uninstalled the mod and tried installing a new one. It came up with a warning about conflicting with an existing mod that was all ready installed. Went back to reinstall this mod, everything seems to work fine but I cannot access the profile of any of the members now.
QuoteFatal error: Cannot redeclare awards() (previously declared in /home/unboundk/public_html/smf/Sources/Profile.php:2941) in /home/unboundk/public_html/smf/Sources/Profile.php on line 319
This is the error.
Sorry if this has been discussed all ready, I honestly have read throught this topic but didnt see anything.

Thanks for any help.

ccbtimewiz

Attach your profile.php.

JayBachatero

Quote from: novastar on April 09, 2008, 03:58:43 PM
I am having an issue with this mod as well. I checked the box for users to be able to select multiple favorites, but it doesn't seem to do anything. I can still only select one favorite. If I select another award as favorite, it removes the previous award as favorite. Any suggestions?
Did you select a number of favorites?
Follow me on Twitter

"HELP!!! I've fallen and I can't get up"
This moment has been brought to you by LifeAlert

novastar

I had 2 awards uploaded as a test. I set one as favorite no problem. When I select the other as favorite as well, it removes the favorite setting from the first one.

lOOmis

#608
This is the code between 314 and 323, not sure if this helps,

// This is here so the menu won't be shown unless it's actually needed.
if (!isset($context['profile_areas']['info']['areas']['trackUser']) && !isset($context['profile_areas']['info']['areas']['showPermissions']) && !isset($context['profile_areas']['edit_profile']) && !isset($context['profile_areas']['profile_action']['areas']['banUser']) && !isset($context['profile_areas']['profile_action']['areas']['deleteAccount']))
$context['profile_areas'] = array();

// Set the selected items.
$context['menu_item_selected'] = $_REQUEST['sa'];
$context['sub_template'] = $_REQUEST['sa'];

// All the subactions that require a user password in order to validate.
$context['require_password'] = in_array($context['menu_item_selected'], array('account'));


Including my profile php file as well. One other thing. having the mod uninstalled along with deleted from my forums it still shows in the Admin section and can be used. Strange

ccbtimewiz

#609
This most likely will fix your profile section. I attached your fixed profile.php with this post.

For everything else, include in your next post:

admin.php
modsettings.php
Load.php

lOOmis

#610
I'm still having the same error. Could I just upload a profile file from the full 1.1.4 download file? Meaning, download the SMF 1.1.4 install and extract it. Take that profile.php file and put it into my Source folder?
It cant be that easy....

This is the error..
QuoteFatal error: Cannot redeclare template_awards() (previously declared in /home/unboundk/public_html/smf/Sources/Load.php(1735) : eval()'d code:2267) in /home/unboundk/public_html/smf/Sources/Load.php(1735) : eval()'d code on line 2548

bbjimbb

I have a problem, the Admin gives me a Award. And I activated it in my Profile by clicking on the +.
But it is not showing by my posts. In my awards page only. ;)

How do I solve this?

JayBachatero

Quote from: lOOmis on April 09, 2008, 11:01:50 PM
I'm still having the same error. Could I just upload a profile file from the full 1.1.4 download file? Meaning, download the SMF 1.1.4 install and extract it. Take that profile.php file and put it into my Source folder?
It cant be that easy....

This is the error..
QuoteFatal error: Cannot redeclare template_awards() (previously declared in /home/unboundk/public_html/smf/Sources/Load.php(1735) : eval()'d code:2267) in /home/unboundk/public_html/smf/Sources/Load.php(1735) : eval()'d code on line 2548
The mod got installed twice.  Check the Profile.template.php file for duplicate functions.

Quote from: bbjimbb on April 12, 2008, 01:28:36 PM
I have a problem, the Admin gives me a Award. And I activated it in my Profile by clicking on the +.
But it is not showing by my posts. In my awards page only. ;)

How do I solve this?
Read the many posts on this topic about that.
Follow me on Twitter

"HELP!!! I've fallen and I can't get up"
This moment has been brought to you by LifeAlert

bbjimbb

Quote from: JayBachatero on April 15, 2008, 02:39:25 AM
Read the many posts on this topic about that.
Please can you answer me, this is not an answer. I can't search all the 31 pages. It will cost many time and my English is really bad.

Fustrate

Steven Hoffman
Former Team Member, 2009-2012

bbjimbb

Thanks, I hope my admin will add this. ;)

Krysia

Quote from: JayBachatero on January 28, 2008, 03:18:40 PM
Quote from: Krysia on January 27, 2008, 04:40:24 PM
I've plowed through all 29 pages of this thread, and I didn't see the following request, but if this has already been broached, apologies.

Is there a way to assign an award through like, a member search (individual award assigning), rather than through the current system which lists all the members of that group?

I ask because my board has over 1300 members, and keeps growing. I'm just concerned that say, at 5000, the load time or something might cause my browser to stroke. LOL...
Sounds like a good idea.  I just need to get myself to work on this mod again.  If I do update it it will be for SMF 2.0.

YAY! Thanks, Jay!  :D



Marcus Forsberg

Swedish translation:

// Pogo Awards adminIndex text strings.
$txt['awards'] = 'Priser';
$txt['pa_view_album'] = 'Visa andra medlemars priser.';
$txt['pa_mods'] = 'Mods';
$txt['whoallow_pogoawards'] = 'Redigerar <a href="' . $scripturl . '?action=awards">priserna</a>.';

(ManageAwards.swedish.php attached)

dreama.nana2

i'm using the classic theme. i go through the steps to install but when i click on "add award" i get a blank screen. and when it gets to the "manageawards.php the "test successful" stops. yet goes on like it's fine.

perplexed

Quote from: dreama.nana2 on April 28, 2008, 07:59:35 PM
i'm using the classic theme. i go through the steps to install but when i click on "add award" i get a blank screen. and when it gets to the "manageawards.php the "test successful" stops. yet goes on like it's fine.

as per my advice in the arcade thread, the same thing applies here regarding your classic theme.

As for the second part of your question, I'm not sure I understand - has the mod installed successfully with no 'test failed' or not?

Advertisement: