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

eyo

#2080
trying to install with rc4 2.0, so far there are subs.php and sources/admin.php errors :)
newbie here what do these mean? i also get this from smfshop mod even if its the 2.0rc4 mod, im using the "reference" theme from this site fwiw

very nice mod its just sad i keep running into these "now compatible with 2.0rc4" when it should be "now compatible with 2.0rc4 if you're good at coding" :( i have rc4 but yeah insta errors even when i dont have anything installed. .

Melissa524

#2081
 
Quote from: Blade_Runner on December 01, 2010, 07:19:10 AM
Thanks for this great mod.
I would like to know how to change the image file for an award that is already in used. Everytime I try to edit, select new image file and save it, there will always have "An Error Has Occurred!", "You must select a file to upload!". How can I fix this?

I am also having issues with this error too. I lost all my images when I updated the site from 3.0 to 4.0
In case, I forget to say.  I am using 2.0.2

Jayne Louise

Installing on SMF2RC3.

When I installed member_awards_v2.2.3.zip with the default core theme there was this one failed test:

QuoteFind[Select]
$context['allow_admin'] = allowedTo(array('admin_forum', 'manage_boards', 'manage_permissions', 'moderate_forum', 'manage_membergroups', 'manage_bans', 'send_mail', 'edit_news', 'manage_attachments', 'manage_smileys'));

Replace[Select]
$context['allow_admin'] = allowedTo(array('admin_forum', 'manage_boards', 'manage_permissions', 'moderate_forum', 'manage_membergroups', 'manage_bans', 'send_mail', 'edit_news', 'manage_attachments', 'manage_smileys', 'manage_awards'));

I then found the following line and added 'manage_awards' to the end:

Quote$context['allow_admin'] = allowedTo(array('admin_forum', 'manage_boards', 'sp_admin', 'sp_manage_settings', 'sp_manage_blocks', 'sp_manage_articles', 'sp_manage_pages', 'sp_manage_shoutbox', 'manage_permissions', 'moderate_forum', 'manage_membergroups', 'manage_bans', 'send_mail', 'edit_news', 'manage_attachments', 'manage_smileys', 'manage_awards'));


I can setup the new category and add the images etc but I cant assign without getting the following error:

QuoteMethod Not Implemented

GET to /rc3/index.php not supported.

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

The awards werent showing in the default core theme so I changed the theme to curve and the awards appear on the assigned profile. But I am still constantly getting this GET error everytime I assign or try to delete a category no matter what theme I use. I also receive the GET error on the awards Main menu when I click the Add/Modify icons for Edit, Assign or Members.

Any suggestions anyone? Would love to have this working with the core and the curve without these fatal errors.



~J:L

Jayne Louise

To simplify this I have now installed this mod to rc4. The same subs.php fail and an admin.php fail showed up. I manually edited exactly as shown and everything works perfectly in rc4.

Except, the same Get error shows up everytime I click assign or try to delete a category or when I click the Add/Modify icons on the main menu for Edit, Assign or Members.

I read here that its a server side problem yet my host says that its a file problem and isnt interested.

Besides this error the mod is working perfectly. Is there any way whatsoever that I can prevent this error arising?
~J:L

C4G-TK

Quote from: Bugo on November 08, 2010, 03:27:40 PM
Quote from: Bugo on November 08, 2010, 09:57:43 AM
Member Awards 2.2.2, Language: English, SMF: 2.0 RC4.

Add any award (to any user) and go to Profile » Profile Info » Awards List, then see in Error Log:
Quote
***/index.php?action=profile;area=listAwards;u=1
8: Undefined index: view
File: ***/www/Themes/default/languages/ManageAwards.english.php (awards_list sub template - eval?)
Line: 3165

Solution:
Open Profile-View.php, find block:
         $context['categories'][$row['id_category']] = array(
            'name' => $row['category_name'],
            'awards' => array(),
         );

and replace with:
         $context['categories'][$row['id_category']] = array(
            'name' => $row['category_name'],
            'view' => $scripturl . '?action=admin;area=awards;sa=viewcategory;id=' . $row['id_category'],
            'awards' => array(),
         );

This operation should be done 2 times (2 replaces).

I was getting the same error with the most recent version of the mod on RC4.  Every time I went into the Awards List inside a person's profile, I got the error.  I went to do this fix and the first edit for it was updated in the package, but the second time you do it, it was like the previous version, so I went ahead and only did it once.  It worked like a charm.  If this is a fix for everyone, I think it should be included in the package the next go around.  Otherwise, this error really fills up your log quick when people are looking at a new award you posted.

-img removed-

Jayne Louise

Thanks for that C4G-TK.

Sadly it doesnt seem to make any difference for me at all for either rc3 or rc4. The same as you found the first one already had the replacement and I replaced the second.

As a bodge, if I cant get this solved, how do I prevent the linking of the award in the users profile? Like you say this error really fills up the log quick when people are clicking on a new award thats been posted to someone.
~J:L

Zeruda

Hello,

Love this mod. Very useful! I'm wondering how to have that modification to make the awards appear in signatures instead of miniprofile? I saw it on the Brawl site and like it much better. I have version 1.1.2 on 1.1.12. Thanks in advance. :>

sattninja

hi i have installed this with only one error

i had to make this edit manually in the subs.php


$context['allow_admin'] = allowedTo(array('admin_forum', 'manage_boards', 'manage_permissions', 'moderate_forum', 'manage_membergroups', 'manage_bans', 'send_mail', 'edit_news', 'manage_attachments', 'manage_smileys', 'manage_awards'));

but it is like the  mod is not even installed i have no reference to it anywhere in my admin/settings

can someone help please i just upgraded to RC4 ad really want an awards mod

thanks
Running Rc4

sattninja

ok finally got it to show in settings however i get this now '

An Error Has Occurred!
Unable to load the 'main' template.

what the hell is going on i mean i had no errors during install and it seems like it isn't installing


Running Rc4

eyo

where do i see this awards tab? im trying to look for it and i dont see it in the main admin

eyo

please help, i can attach files if whoever needs it  to see why i cant see the "manage awards" tab in admin, everything installed and did the correct edits already

KensonPlays

First of all, please don't bump within 24 hours. Please wait that long before you post again, or just edit your post.

Second: What edits did you do? and yes can you provide some screenshots?

Owner of Mesozoic Haven

Zeruda

Quote from: Zeruda on December 20, 2010, 03:28:52 PM
Hello,

Love this mod. Very useful! I'm wondering how to have that modification to make the awards appear in signatures instead of miniprofile? I saw it on the Brawl site and like it much better. I have version 1.1.2 on SMF1.1.12. Thanks in advance. :>
I'm just bumping my question- I hope I waiting long enough. I searched through the thread and not finding a solution (maybe I'm seeing wrong).

sattninja

Quote from: sattninja on December 26, 2010, 08:26:30 PM
ok finally got it to show in settings however i get this now '

An Error Has Occurred!
Unable to load the 'main' template.

what the hell is going on i mean i had no errors during install and it seems like it isn't installing


can someone tell me how to fix this please !!!!
Running Rc4

elguapo

im trying to install this mod on 2.0 RC4 but i got this error.

Quote7.   Execute Modification   ./Sources/Subs.php   Test failed
   1.   Replace   ./Sources/Subs.php   Test failed

any help please?  thanks..

Kindred

requires manual installation on that file.
Сл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."

elguapo


My LG Cookie Fresh

Hi I'm a beginner with SMF and I'm wondering how do I install these mods?
I would be so happy if someone depots cos I really want awards for my forum!
Thanks ;)

Kindred

elguapo,

use FTP + text editor or your site's cpanel file editor
do the edits as listed in the link that was also displayed along with the error.

My LG Cookie Fresh,

use the package manager.
http://docs.simplemachines.org/index.php?topic=93
Сл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."

Shrinath

I have installed it successfully,.. :)
where i can find images for it?

Advertisement: