Member Awards (2.0 Compatible!)

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

Previous topic - Next topic

flutter

I'm using dreamweaver it it won't find it, I'll try in wordpad, thanks

TheMortician4


flutter

It's because you put your comment insdie the quote tags as well, you should only have had the quote inside them and your comment outside :D

TheMortician4

Quote from: flutter on November 09, 2010, 11:08:32 AM
It's because you put your comment insdie the quote tags as well, you should only have had the quote inside them and your comment outside :D

Is this correct? I am entering after the "[/quote]"

flutter

yep, you got it.  Hey don't think I was joining in there, it's just that I have this on notify to keep an eye on it and saw your post.

You know how to do it now and you learn something new every day  ;D


TheMortician4

Quote from: flutter on November 09, 2010, 12:15:17 PM
yep, you got it.  Hey don't think I was joining in there, it's just that I have this on notify to keep an eye on it and saw your post.

You know how to do it now and you learn something new every day  ;D



That is why I am here, to learn from those who know how to do what I hope to learn and someday  be able to do as well....


I apologize for the erred quote earlier, I will be more cautious from here on.   Thank you for the constructive criticism.....

flutter

I deleted my reply to you as it isn't valid anymore.  Rather than deleting your post and redoing it below mine, you could have hit modify on your post, and just fixed it  ;D

TheMortician4

Quote from: flutter on November 09, 2010, 02:58:58 PM
I deleted my reply to you as it isn't valid anymore.  Rather than deleting your post and redoing it below mine, you could have hit modify on your post, and just fixed it  ;D

Sorry, caught my error immediately and wanted to correct it ASAP. Unfortunately the system was dragging so I figured I would start fresh

flutter

#2068
I've got this installed but I can't find anywhere to input the permissions so can't add any awards images and can't actually give anyone an award.  If I go to profiles I can  see the awards panel but can't do a thing with it.  On the profile is show awards but in admin I have no options at all on this and can't add any images to awards nor apply them to anyone.  I can see the awards folders on the server

Sorry, I found out the issue, the admin.php I was given to download with the code in place, didn't actually have the code in place.

Now the issue is that I can add the category, I can add the award and I can add the images, but when I try to assign it I'm getting an error message

error, you must select a user and an award

I have downloaded the most recent file with Bogo's edits in it.  I'm on rc3 and wondering if those edits were more for rc4

telles0808

QuoteInstall Actions
Installations actions for "Member Awards":
The package you are trying to download or install is either corrupt or not compatible with this version of SMF.

wew3987

I've downloaded this to my forums, but I am getting messages like this in the "Main" section for this mod...

Unknown column 'a.id_category' in 'on clause'
File: /home/cievqdka/public_html/secondfleetonline.com/forum/Sources/ManageAwards.php
Line: 100

I also get the same thing for the "Assign" section (line 430) and on the "Categories" section (line 711).

I honestly have no clue what to do as I'm not exactly a pro when it comes to coding and such.  I've tried this on a test forum that we run and it runs perfectly.   It's just this particular forum (our main forum) and I don't know why (as I've already said).

Any help on this is greatly appreciated.  I've also attached the ManageAwards.php file to the post in hopes of someone finding a solution for me. 

Thanks a bunch,
Wayne

Kindred

sounds like the database portion did not get run correctly.

Did you have another awards mod installed previously?
Сл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."

wew3987

Nope.  This is the first awards mod that I've tried altogether.   :)

-Wayne

Kindred

then you should be able to re-run the db instruction file included with the mod
Сл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."

wew3987

Unfortunately, I do not see this particular file in the folder that it came in.

sharks

#2075
I found a little bug that should be fixed as soon as possible: The awards are not visible in the PM list. I am using SMF 1.1.11 and the awards do not appear under the members' avatar when viewing the list of PMs that i have received. Please fix that as it can be very confusing for all of my members and me as we suddenly find their awards missing and have to go check their profiles for anything that might be missing. Having the list of awards visible in the PM list makes it easier for me and my staff to make decisions when receiving PMs from members.

And please add a link in the top menu of the forum, where all members can see the list of available awards, and in the adjacent column, list the members who have won the respective award/s and a permission system to it, so that only certain forum membergroups are allowed to see that link in their menu.

hcfwesker

#2076
Quote from: sharks on November 19, 2010, 11:49:04 AM
I found a little bug that should be fixed as soon as possible: The awards are not visible in the PM list. I am using SMF 1.1.11 and the awards do not appear under the members' avatar when viewing the list of PMs that i have received. Please fix that as it can be very confusing for all of my members and me as we suddenly find their awards missing and have to go check their profiles for anything that might be missing. Having the list of awards visible in the PM list makes it easier for me and my staff to make decisions when receiving PMs from members.

First question i can help with.

In  themes/default/PersonalMessage.template.php

Find
// This shows the popular messaging icons.



Add BEFORE

// Show their awards?
if (!empty($message['member']['awards']) && $modSettings['awards_in_post'] > 0){
echo '
<li>
<fieldset style="border: 1px solid black; padding: 5px;">
<legend>', $txt['awards'], '</legend>';

// Couldn't limit it in Load.php, so let's do it here.
$awards = 0;
foreach ($message['member']['awards'] as $award){
if($awards < $modSettings['awards_in_post'])
echo '
<a href="', $scripturl, $award['more'], '"><img src="', dirname($scripturl), $award['img'], '" alt="', $award['description'], '" title="', $award['description'], '" /></a> ';
$awards++;
}

echo '
</fieldset>
</li>';
}



Or, you can check around the miniprofile options you can place it before any of the profile header options in this file.  I just placed the code where it shows above their messenger icons.


And, if you're interested, I've made a modifications to the display in the sigantures, which adds a text above the block for members to view that specific member's entire Awards.   

http://www.brawldomain.com/index.php?topic=5811.0  <--- check my sig in the first post


Personally, I felt awards in mini profiles made it too overcrowded.  :)  but, members have the option to also put their favorite award in their mini profile with another feature we have,.


DaleM

Hello all. I'm running Member Awards 2.2.3 on SMF 2.0 RC4, with the setting Awards in Post set to 1.

If I have multiple awards, and none are set as a favorite - should the awards be displayed randomly under the users avatar in posts? They seem to be static and not changing (on different visits or page loads). We previously had this mod (not sure what  version) running on SMF 1.1.11 and I *thought* the awards would randomly change, but I could be wrong.

If they are supposed to be randomized, can someone point me to the code location where that happens? And I'll check to make sure it installed correctly.

Thanks!

Blade_Runner

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?

hcfwesker

Quote from: DaleM on November 30, 2010, 01:46:34 PM
Hello all. I'm running Member Awards 2.2.3 on SMF 2.0 RC4, with the setting Awards in Post set to 1.

If I have multiple awards, and none are set as a favorite - should the awards be displayed randomly under the users avatar in posts? They seem to be static and not changing (on different visits or page loads). We previously had this mod (not sure what  version) running on SMF 1.1.11 and I *thought* the awards would randomly change, but I could be wrong.

If they are supposed to be randomized, can someone point me to the code location where that happens? And I'll check to make sure it installed correctly.

Thanks!

From what i understand, if members select a favorite award, then that will be the only award to show, if they don't have a favorite selected, then it will always show the last reward that member received.

Advertisement: