Member Awards (2.0 Compatible!)

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

Previous topic - Next topic

perplexed

Quote from: ladyshanae on November 26, 2006, 08:34:07 AM
Running SMF 1.1 RC3 with Global Announcements & the Admin Modification Menu installed, among a slew of other mods.

Now, I love this mod.  But I am having one hopefully minor problem.  Each time I upload a new award, I get the following error in my database:

Quotemysiteinfo/index.php?action=awards;sa=modify
8: Undefined index: awardsDir
File: mysiteinfo/Sources/ManageAwards.php
Line: 378

Line 378 looks like this:

if (!is_writable($boarddir . '/' . $modSettings['awardsDir']))

I checked my awards directory and made sure it was chmod 777 (it was 755, but I changed it to 777 and still got the error).

So - I don't know what to do.  It's not a HUGE deal - the mod still works.  I just don't like my error log flooding all the time, ya know?

Awesome mod, though - really going to work well on my forum!

Quote from: JayBachatero on November 28, 2006, 08:15:52 AM
I'm going to give you a modified file for testing.  It should help debug the problem.

Quote from: JayBachatero on November 29, 2006, 01:23:26 PM
ladyshanae use this file.  It will print out the $_POST data and use it for debug.

hello

I installed this mod today successfully but I am getting this error too.  After the above quoted posts there is nothing else in the thread.

Can you please tell me how to fix this error?

I'm using 1.1.2

~thanks

JayBachatero

You mean the error when trying to assign an award?
Follow me on Twitter

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


Simpatico

Hi Jay i installed the module what do i need to do now? How about the read note i don't get it.

TechnoDragon

For those of you that have the awards mod installed and working correctly, I have added category support for it!

You can download the most recent zip file from here but here it is for all of those that want it now!

You must replace the files in the zip file with the corresponding ones on your server and run the included SQL file to add a new table and a new field to the smf_awards table.
Don't tell me to get into shape...I have a shape...It is round!


JayBachatero

Quote from: perplexed on February 18, 2007, 07:13:53 AM
yes, I'm getting it too
I'm going to try and look into this this week, but converters are my main priority at the moment so lets see how this goes.
Quote from: Simpatico on February 18, 2007, 10:54:38 AM
Hi Jay i installed the module what do i need to do now? How about the read note i don't get it.
You need to add and assign your awards.

Quote from: TechnoDragon on February 18, 2007, 09:02:31 PM
For those of you that have the awards mod installed and working correctly, I have added category support for it!

You can download the most recent zip file from here but here it is for all of those that want it now!

You must replace the files in the zip file with the corresponding ones on your server and run the included SQL file to add a new table and a new field to the smf_awards table.
TechnoDragon thanks for adding this to the mod.  I like the idea.  What I was thinking was rewritting this section though so that it follows more the SMF style and my style.  I'll give you credit for it though.  I just prefer to write everything that way I know the code better.

Also after talking with LittleOne he wants a submission page so that people can request awards.  If you guys want I can make this a default feature as well for the public version of the mod.  Will anyone of you use it? Don't want to spend time working on something that others wont use.
Follow me on Twitter

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

perplexed

Quote from: JayBachatero on February 19, 2007, 01:19:59 AM
Quote from: perplexed on February 18, 2007, 07:13:53 AM
yes, I'm getting it too
I'm going to try and look into this this week, but converters are my main priority at the moment so lets see how this goes.


Also after talking with LittleOne he wants a submission page so that people can request awards.  If you guys want I can make this a default feature as well for the public version of the mod.  Will anyone of you use it? Don't want to spend time working on something that others wont use.

re my error. 
I suppose its not a big deal if it only happens when you add a new award, as I wont be doing that all the time

re submission page
I probably wouldn't use it, as I have a request thread on the board instead.  

TechnoDragon

Understandable Jay (I am the same way!)  thanks for giving me credit and at least it is most of the way there!
Don't tell me to get into shape...I have a shape...It is round!


JayBachatero

Quote from: perplexed on February 19, 2007, 08:26:17 AM
Quote from: JayBachatero on February 19, 2007, 01:19:59 AM
Quote from: perplexed on February 18, 2007, 07:13:53 AM
yes, I'm getting it too
I'm going to try and look into this this week, but converters are my main priority at the moment so lets see how this goes.


Also after talking with LittleOne he wants a submission page so that people can request awards.  If you guys want I can make this a default feature as well for the public version of the mod.  Will anyone of you use it? Don't want to spend time working on something that others wont use.

re my error. 
I suppose its not a big deal if it only happens when you add a new award, as I wont be doing that all the time

re submission page
I probably wouldn't use it, as I have a request thread on the board instead. 
It should still be fixed though.  I'll see what I can do about it.
Follow me on Twitter

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

Sic0

Quote from: Sic0 on February 17, 2007, 02:14:23 PM
Hi.
I have searched for an answer and even tried to mess with the code.

I have managed to get this to work with the "Amber" theme but for all my trying I cannot get the "award.gif"to show under the members names.

Is this something that has to be modified before it is installed?

I see no way to get it to show and would appreciate a pointer or two.

Many thanks

Any ideas?

littleone

did u upload the image to the themedirectory/images folder?  If you left the image in default its not gonna find it since it will be looking for it in your themes directory.

DOOM666

#371
im new to this and i cant mod anything yet but i wont to use this mod for my site and but the awards in the sig part im using smf 1.1.2 and the helios theme could some one help me please. thanks in advance

i would like more then one award to show this for my socom site

Sic0

Okay.. I had not edited my display templates to include the relevant code.

All fixed now and thank you Jay for this mod.

ferrazf

Hi,

I was pointed to this mod by vbgamer45, regarding an awards system I wanted to implement on my forums.

I saw on a different board a medals system that also works a sort of warning/punishment system for a forum user. If you go here, and scroll down to the sixth post, you can see a user has a whole bunch of icons under his name. If you put your mouse over the icons, it shows the description as to why he got each one.

I would like to know if it would be possible to make a similar system with this mod, and if I can use multiple small icons like in the example above. If so, is this module hard to install using a custom template?

Thanks in advance

JayBachatero

You mean the title that comes out when you hover it?  It should be pretty simple to do.
Follow me on Twitter

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

perplexed

that looks interesting because its not like a tooltip description for each icon as I thought, its a message that someone has typed when giving the award.   That might be fun

JayBachatero

You can just use the alt tag in the image and show the message.
Follow me on Twitter

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

Metal_GunBlade

Dude could you please help me install this mod?!

I got an error:
8.     Execute Modification     ./Themes/default/Profile.template.php     Test failed

I have SMF 1.1.2
Life is ours to be spent, not to be saved

littleone

Quote from: Metal_GunBlade on March 05, 2007, 02:49:16 AM
Dude could you please help me install this mod?!

I got an error:
8.     Execute Modification     ./Themes/default/Profile.template.php     Test failed

I have SMF 1.1.2

Just find that file and make the edit manually.

Mick.

Yep. I got the same error.

8.     Execute Modification     ./Themes/default/Profile.template.php     Test failed

Advertisement: