News:

Bored?  Looking to kill some time?  Want to chat with other SMF users?  Join us in IRC chat or Discord

Main Menu

Member Awards (2.0 Compatible!)

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

Previous topic - Next topic

Fustrate

I don't quite understand - is the image not being uploaded, or are you just missing the text up top?

Steven Hoffman
Former Team Member, 2009-2012

bros


Fustrate

I'm at a loss on that. Go through your database and make sure each of these rows is in their respective table...

smf_awards_members:
id_award_member
id_award
id_member
date_received
favorite

######################################################################################

smf_awards:
id_award
award_name
description
time_added
filename
width
height
id_category

######################################################################################

smf_awards_categories:
id_category
category_name
Steven Hoffman
Former Team Member, 2009-2012

bros

Yes, but smf_awards_members had it as ID_AWARD

Still get the error though

bros

#864
Setting a directory for the awards seems to have fixed it.

edit - doesn't show an image.

Kosedragen

#865
YodaOfDarkness: Hum, I'm not quite sure. Either it refuses to upload the image (which I don't think it is, because I'm able to save the award even though I can't see the image), or it just refuses to let me see it xp

EDIT: Attached a more detailed image of the error =o That's what I see when I try making the award.

Quote from: bros on October 05, 2008, 09:34:58 PM
Setting a directory for the awards seems to have fixed it.

edit - doesn't show an image.
Then it seems we have the same problem ^^;

Fustrate

Do you have a directory called /awards/ in your forum's root?
Steven Hoffman
Former Team Member, 2009-2012

bros


Fustrate

and if you go to the settings page, the awards directory box says "awards" in it?

Also do what it says in the first post of this thread, see if it helps.
Steven Hoffman
Former Team Member, 2009-2012

Kosedragen

Yes, both those options apply to my problem as well.

I did what the first post said, but there is no difference >:

Fustrate

and the award isn't inside that directory? (it'll have a slightly different name if so)

If that's it, then it's a database problem. If not, it's the upload function that's not functioning.
Steven Hoffman
Former Team Member, 2009-2012

Kosedragen

No, it was not inside =/

bros

Hm. I checked today and they were showing up

Kosedragen

Yoda: You were right ^^ It was a hosting problem though. Now it's fixed and only one issue is left to solve.

The custom themes. I'm vondering how I'm going to add the following things (look at the image attached).
- The awards-option in the profile-menu (where you can view your own or others awards)
- The awards-options under mods in the admin-menu.
- The award icon under the avatars of users (not the icon itself, but how to get it there).

Is this doable? =3

novastar

OK, think I'll try this again now that I have time. A while back I posted this issue, but did not really get a response. I am currently using SMF 1.1.6 and the member awards 1.0.2. Everything seems to work fine except for one issue.

I try to assign multiple favorites, but it only allows 1 favorite award. Does not matter whether the admin setting is checked or not to allow more than 1. Any ideas why this may be?

Fustrate

That was never fixed in Jay's 1.1.x version, but I think it'll be done in the version I'm about to release (a few pesky problems are stopping me)

Kosedragen: You need to manually do the editsfrom this file for Display.template.php and Profile.template.php. The admin menu should already be in place, but check to make sure the /Sources/Admin.php changes were made.
Steven Hoffman
Former Team Member, 2009-2012

Kosedragen

#876
Thanks ^^;

I found a little something in the who.php. A duplicate of this:

Quote'awards' => array('manage_awards'),
      'awards' => array('manage_awards'),

Is that dupposed to be there?

EDIT:
This might just be my fault because of the earlier duplicates, but I found another double string in the subs.php:
Quote$context['allow_admin'] .= allowedTo('manage_awards');

   $context['allow_admin'] .= allowedTo('manage_awards');

Fustrate

Ya, those duplicates shouldn't be there. You might need to check every file for that =\
Steven Hoffman
Former Team Member, 2009-2012

Kosedragen

#878
Meh, they are not -doing- it up now anyways, so it doesn't bother me enough.

Also: The missing awards-things in admin and profile probably has something to do with missing txt-strings in the language-folder of this theme. The theme is certainly somewhat weird when it comes to files..

And there we have it. The language-files does not include a single instance of the word "award".

And then it was confirmed as well. Adding the $txt['awards'] = 'Awards' in profile.php made awards option appear in the profile ^^

Can you tell me other language strings I might be missing? Or should I just copy if from the default theme? (Darksilver Equinox is kind of like default, only in black).

For craps sake. I just realized this wont work in the admin-template.


And then again; for the sake of simplicity:
Disregard everything above; for members this theme is flawless now, us admins should just refrain from using it. Thanks for everything, you've been great =]

tk2012

Re-HELLO Yoda

I'm trying to make the jump from v2.0 b3.1 to v2.0 b4

I've read the last 6 pages here and was wondering if there should be much of a problem since I'm not jumping from 1.1.5?  I was just going to do all manual edits.  Or, was wondering how long until you were going to release the c2.0 b4 version?

Thanks again for all your work.  I really enjoy your creations!

Advertisement: