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

Fustrate

#680
I guess the posts that had to do with this issue were deleted once you figured it out? 0_o
Steven Hoffman
Former Team Member, 2009-2012

Fustrate

Just wanted to give a heads-up that the Awards mod for SMF 2.0 is all packaged up and ready to be tested.

winrules is apparently on vacation, so until he gets back and has time to transfer this mod over to my name I can't post it on the mod site. If you would like to test it (SMF 2.0 ONLY) just send me a PM and I'll send a reply with the download link.

http://www.fustrate.com/projects/awards/
Steven Hoffman
Former Team Member, 2009-2012

KiLLuMiNaTi-7-

Quote from: YodaOfDarkness on July 25, 2008, 05:50:22 PM
Just wanted to give a heads-up that the Awards mod for SMF 2.0 is all packaged up and ready to be tested.

winrules is apparently on vacation, so until he gets back and has time to transfer this mod over to my name I can't post it on the mod site. If you would like to test it (SMF 2.0 ONLY) just send me a PM and I'll send a reply with the download link.

http://www.fustrate.com/projects/awards/

Looks good well done mate. I like the VB style table in the post page looks neat!

Any chance of adding a page to show all awards on the forum in the near future?


Fustrate

Right now that's admin-only, but it's easily modified to be public. I'll work on adding that in the coming days.
Steven Hoffman
Former Team Member, 2009-2012

KiLLuMiNaTi-7-

Quote from: YodaOfDarkness on July 25, 2008, 07:35:53 PM
Right now that's admin-only, but it's easily modified to be public. I'll work on adding that in the coming days.

Yea thats what i thought of doing. Modifying the admin page. But i my skill's don't go that far yet.

So yea if you could do that you'd make me a very happy man :D

Kimmie

#685
This doesnt allow me to assign an award to a "specific person" it only lets me assign it to a "membergroup". one of the images on the mod page shows it can be assigned to one person. Can anyone tell me hwo to change it so it shows members and not membergroups"

TIA


edit.. WOOHOO gotta love the "power of posting"  hehehehe. I figured out that you can select the members individually on the next page after you have selected the member group :)

Fustrate

First pick a membergroup that that member is in, and the next page will list all of the members in that group. You then pick names from that screen.

The 2.0 version will use a different method - you type the first few letters of a name, and it acts just like the Personal Messages' "To" field (I actually just borrowed the code from that ;))
Steven Hoffman
Former Team Member, 2009-2012

Kimmie

#687
Thanks I was able to figure that part out, however, I am not finding an "awards" folder in my root directory. I checked everywhere else as well and I cant find one.

Whats even weirder is I had already uploaded an image to test it out and it uploaded fine, and said the path of the image was my site/awards - but its not..lol

(I may be having a blond moment lol)

Edit.. I attached an image of my root folder to show you

Im also getting errors and the 2nd image I uploaded wont show up (its just a red x)

8: Undefined index: awardsDir
File: /home//public_html/Sources/ManageAwards.php
Line: 378

8: Undefined index: whoallow_awards
File: /home//public_html/Sources/Who.php
Line: 327

Fustrate

In the Settings page, what is the awards directory?

And what's the direct link to the image?
Steven Hoffman
Former Team Member, 2009-2012

Kimmie

#689
The settings page shows the word awards in the box

The direct link to the image I uploaded is

(the above image uploaded fine and shows up, but when I tried to upload another image, the image only shows up as a "red X". The link to the 2nd image is

REMOVED IMAGES

Fustrate

I'd recommend removing all characters that aren't alphanumeric or a space from the award name... I'm guessing the apostrophe is the problem.
Steven Hoffman
Former Team Member, 2009-2012

Kimmie

#691
ok I will try that. What about the folder itself? Any idea where its actually at?

Edit: I just uploaded another image that didnt have an " ' " in it and it uploaded fine.

Fustrate

I actually have no idea where it would be... as long as it's working, I wouldn't worry much about it...
Steven Hoffman
Former Team Member, 2009-2012

Kimmie

#693
Ok this is totally screwy..lol. The awards folder is now there (no clue as you can plainly see in my attached image above that it wasnt..lol)....I chmod the folder to 777. I got the same award error (1st one) as soon as I uploaded the image to the server. So, I made the change to the manageaward file like you said to do on page one of this topic. Tried it again and got the same error. I added the actual action this time for you to see.

http://patriotgames2.info/index.php?action=awards;sa=modify 

8: Undefined index: awardsDir
File: /home/patriotg/public_html/Sources/ManageAwards.php
Line: 378

Im getting that error every time I upload an image. (once its uploaded I go straight to my error log and there is a new one)

I get the second error when I assign the image and then view my profile
http://patriotgames2.info/index.php?action=profile 
8: Undefined index: whoallow_awards
File: /home/patriotg/public_html/Sources/Who.php
Line: 327
=============

Edit.. ok I think I have worked out the issue with the 2nd error (I chmodded the awards folder back to 755). The action on the 1st error says "modify". Whenever you upload an image, it takes you immediately to a page where you can modify the name, etc. I think thats where the error is coming from.

Fustrate

Go back to the Settings page - does the awards directory field have anything in it? Make sure it does, and then save the settings. That should fix your problem.

Or you can just check your smf_settings table through something like phpMyAdmin and look for a row with the name 'awardsDir'.
Steven Hoffman
Former Team Member, 2009-2012

Kimmie

Ive attached an image showing my settings page

As for checking my smf_settings table, Im not quite sure how to do that so please correct me if I did it wrong. I clicked on my DB (on the left), then clicked on smf_settings (on the left) and then clicked browse at the top. If thats correct, I dont have anything on that list that says awardsDir  ::)


Fustrate

Hmm... attach your ManageAwards.php to your next post and I'll look to see what's wrong.
Steven Hoffman
Former Team Member, 2009-2012

Kimmie

Sorry for all the trouble  :(. Thanks for all your help with this :)


DistantJ

Any way to make this show up on an Ultimate Profile? I've tried lots of ways but no success. I'm using 1.1.5.

Fustrate

Kimmie - here's the fixed file.

DistantJ - I have zero experience using the Ultimate Profile mod, and since I'm on 2.0 I can't really help with that :( sorry.
Steven Hoffman
Former Team Member, 2009-2012

Advertisement: