Member Awards (2.0 Compatible!)

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

Previous topic - Next topic

kat

The links are down, apparently.

Quite why the person concerned reported it to the moderators, I really don't know.

Damn. This means I'm gonna get this topic in "Replies" forever, now... :(

Kindred

Сл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."

Spuds

Looks like someone reported a post in this thread from back in 2008 cause the links to some award images are dead ... K@ welcome to the fun  :P

sharks

#2543
Hey Spuds

I actually have some legitimate problems related to your mod on a fresh installation of SMF 1.1.15.

I come from this topic where i first asked about this same issue: http://www.simplemachines.org/community/index.php?topic=456037.0

I get hundreds of pages of this particular error, which is generated every single time that someone views any topic on my forum. I use the default theme and here is the error:

8: Undefined index: topblock
File: /home/user/serv/smf/Sources/Load.php
Line: 924

I have also attached my Load.php file in case you want to confirm that the error is indeed coming from your mod.
I know that you have dropped development for SMF 1.1.x but you state that you will still be fixing bugs, and this is definitely a seriously annoying bug as it's filling up hundreds of pages in the Error Log within minutes!! I have been using this mod for a long time and my members love it, so i really hope you can update your mod or at least help me with a solution.

bharatforum

I have the same problem, whenever I try to assign a member and choose the award, I get this message: -You must select a member and/or award in order to continue! I used this mod with the SMF 1.1.15 and it worked fine. How can I solve this problem, any suggestions?

Spuds

Quote from: sharks on October 15, 2011, 11:59:52 AM
Hey Spuds

I actually have some legitimate problems related to your mod on a fresh installation of SMF 1.1.15.

I come from this topic where i first asked about this same issue: http://www.simplemachines.org/community/index.php?topic=456037.0

I get hundreds of pages of this particular error, which is generated every single time that someone views any topic on my forum. I use the default theme and here is the error:

8: Undefined index: topblock
File: /home/user/serv/smf/Sources/Load.php
Line: 924

I have also attached my Load.php file in case you want to confirm that the error is indeed coming from your mod.
I know that you have dropped development for SMF 1.1.x but you state that you will still be fixing bugs, and this is definitely a seriously annoying bug as it's filling up hundreds of pages in the Error Log within minutes!! I have been using this mod for a long time and my members love it, so i really hope you can update your mod or at least help me with a solution.
Thats not part of this mod ... seems some other mod you installed added a new statement in the awards query which is wrong.  The mod that did this has something call topblock, something to do with boards from what I can see in this file. 

Anyway I removed the extra code that that mod added to the member awards section, that should fix the error.




Spuds

Quote from: bharatforum on October 15, 2011, 12:31:38 PM
I have the same problem, whenever I try to assign a member and choose the award, I get this message: -You must select a member and/or award in order to continue! I used this mod with the SMF 1.1.15 and it worked fine. How can I solve this problem, any suggestions?
Means you have to select an 1) award and 2) chose the member from the drop down list that appears.  You MUST select from the drop down list and not just type in the name in the member box.

bharatforum

Somehow I can only type the name of the member and not choose it from the drop down list. There is only one option Select Members: and then you can type the name over there. Can I change something manually so that it works normally?

sharks

Quote from: Spuds on October 15, 2011, 01:14:11 PM
Quote from: sharks on October 15, 2011, 11:59:52 AM
Hey Spuds

I actually have some legitimate problems related to your mod on a fresh installation of SMF 1.1.15.

I come from this topic where i first asked about this same issue: http://www.simplemachines.org/community/index.php?topic=456037.0

I get hundreds of pages of this particular error, which is generated every single time that someone views any topic on my forum. I use the default theme and here is the error:

8: Undefined index: topblock
File: /home/user/serv/smf/Sources/Load.php
Line: 924

I have also attached my Load.php file in case you want to confirm that the error is indeed coming from your mod.
I know that you have dropped development for SMF 1.1.x but you state that you will still be fixing bugs, and this is definitely a seriously annoying bug as it's filling up hundreds of pages in the Error Log within minutes!! I have been using this mod for a long time and my members love it, so i really hope you can update your mod or at least help me with a solution.
Thats not part of this mod ... seems some other mod you installed added a new statement in the awards query which is wrong.  The mod that did this has something call topblock, something to do with boards from what I can see in this file. 

Anyway I removed the extra code that that mod added to the member awards section, that should fix the error.

Spuds, could you help me identify which mod/s might be causing this inteference with your mod?
Here is the complete list of mods that i installed (via package manager with no manual edits of any sorts).

1.    Anonymize Links (1.1.11)    2.5    [ Uninstall ]
2.    Hide Info Center From Guests    1.0    [ Uninstall ]
3.    New Topic Button    1.0    [ Uninstall ]
4.    Topic View Log    1.2    [ Uninstall ]
5.    Member Awards    1.1.2    [ Uninstall ]
6.    Hide Tag Special    1.8.5    [ Uninstall ]
7.    Hide Tag BBC Image    1.0.1    [ Uninstall ]
8.    Avatar Verification    1.4.3    [ Uninstall ]
9.    Last Topics of Person    1.1    [ Uninstall ]
10.    Country Flags    1.1.2    [ Uninstall ]
11.    Board Notes    1.0.7    [ Uninstall ]
12.    Add IP2Location to Track IP    1.3    [ Uninstall ]
13.    ListCreator    1.3.1    [ Uninstall ]
14.    Move Topic Notification    1.2    [ Uninstall ]
15.    OS & Browser Detection    1.5    [ Uninstall ]
16.    Related Topics    1.3.3    [ Uninstall ]
17.    Tagging System    2.4.2    [ Uninstall ]
18.    Users Online Today Mod    1.4.0    [ Uninstall ]
19.    User Email System    1.3    [ Uninstall ]
20.    Limit A Guests Daily PageViews Mod    2.1    [ Uninstall ]
21.    DisableTemplateEval    1.2    [ Uninstall ]

Spuds

Board notes .... does this edit
<search for>
'description' => $row['description'],
</search for>

<replace>
'description' => $row['description'],
'topblock' => $row['topblock'],
</replace>

and since member awards also has the line 'description' => $row['description'],  in load.php it gets the topblock added to its code as well.  Just one of those things really.

Spuds

Quote from: bharatforum on October 15, 2011, 01:21:23 PM
Somehow I can only type the name of the member and not choose it from the drop down list. There is only one option Select Members: and then you can type the name over there. Can I change something manually so that it works normally?
Do you see the drop down list?

sharks

#2551
Quote from: Spuds on October 15, 2011, 03:02:32 PM
Board notes .... does this edit
<search for>
'description' => $row['description'],
</search for>

<replace>
'description' => $row['description'],
'topblock' => $row['topblock'],
</replace>

and since member awards also has the line 'description' => $row['description'],  in load.php it gets the topblock added to its code as well.  Just one of those things really.

So... If i want to have both the boardnotes and member awards mods installed, i should install board notes first and then member awards, right?

In an attempt to see if what i said above is true, i proceeded to uninstall all the mods installed, in the reverse order that i installed them. However, when i reached member awards mods, i get these errors when trying to uninstall:

1.    Execute Modification    ./index.php    Test successful
2.    Execute Modification    ./Sources/Subs.php    Test successful
3.    Execute Modification    ./Sources/Load.php    Test successful
4.    Execute Modification    ./Sources/ManagePermissions.php    Test successful
5.    Execute Modification    ./Sources/Who.php    Test successful
6.    Execute Modification    ./Sources/Profile.php    Test successful
7.    Execute Modification    ./Themes/default/Display.template.php    Test successful
8.    Execute Modification    ./Themes/default/Profile.template.php    Test successful
9.    Execute Modification    ./Themes/default/languages/Modifications.english.php    Test successful
10.    Execute Modification    ./Themes/default/languages/Modifications.english-utf8.php    Skipping file
11.    Execute Modification    install_display_template.xml    Modification parse error
12.    Execute Modification    -    Modification parse error
13.    Delete Tree    ./awards    
14.    Delete File    ./Sources/ManageAwards.php    
15.    Delete File    ./Themes/default/ManageAwards.template.php    
16.    Delete File    ./Themes/default/languages/ManageAwards.english.php    
17.    Delete File    ./Themes/default/languages/ManageAwards.english-utf8.php    
18.    Delete File    ./Themes/default/images/award.gif

Spuds

QuoteSo... If i want to have both the boardnotes and member awards mods installed, i should install board notes first and then member awards, right?
I have no idea, never installed boardnotes ... you should have just used the load.php that you had me look at and edit for you to get them both to work *shrugs*  Past that I have never looked at nor changed the 1.1 branch as when I took over this mod that branch of the mod's development effort had stopped so I don't know why you are getting uninstall the errors.

sharks

Thanks for your help with the fixed Load.php, Spuds. I just wanted to try and understand a possible solution to the problem without having to involve any manual edits. I will try to uninstall this mod despite the errors and hopefully it won't break my forum.

DonBruno

Quote from: Jessica. on July 03, 2011, 12:15:20 PM
can't assign awards. I get this:


Method Not Implemented

GET to /forum/index.php not supported.
Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.

I have this...

Quote from: Spuds on July 03, 2011, 02:08:30 PM
I would *guess* that you have mod_security enabled on your server, the mod currently uses id= in the links which mod security will flag and reject.  (really causing a 501 error but you don't have a 501 error page so it reports a 404 on the 501 it can't find, dumb huh?)

Anyway thats one of the things that I have that fixed in the 2.0 update that I'm working on.

Wasnt supposed to be fixed?

Spuds

Not in the current package, its fixed only in the beta package which is only available for testing (e.g. not on a live forum)

DonBruno

Any ETA on the release date of a fixed version?

purepks0r

Hmmm it does not shwo the awards list on the post just the button to go to personal gallery, :/

and on install it gave 2 test failed on load.php :/

Spuds

So it gave errors on the install, and now the mod does not work Hummm, very odd  :D  Sounds like you will need do a manual install of the edits in load.php and see if that fixes if for you, the edits in load actually load a members awards.

Manual Installation of Mods

sharks

Quote from: Spuds on October 15, 2011, 05:10:45 PM
QuoteSo... If i want to have both the boardnotes and member awards mods installed, i should install board notes first and then member awards, right?
I have no idea, never installed boardnotes ... you should have just used the load.php that you had me look at and edit for you to get them both to work *shrugs*  Past that I have never looked at nor changed the 1.1 branch as when I took over this mod that branch of the mod's development effort had stopped so I don't know why you are getting uninstall the errors.
Spuds, do you think  you could take a look at the errors from 1.1 branch of your mod, and maybe fix it if you get some time? :)
It would be really awesome if you could fix the uninstall (and any other reported) errors, as well as any incompatibility issues with other mods.
Hopefully it's not too much work, but i'll stay off your back. ;)

Advertisement: