Member Awards (2.0 Compatible!)

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

Previous topic - Next topic

Fustrate

No problem, sorry I didn't think of it earlier ;)
Steven Hoffman
Former Team Member, 2009-2012

khamseen

Hey, sorry but that trick doesn't appear to have sorted my problem. :(
"In hope we find despair and in despair we find truth." - Myself

efil59

#922
Quote from: YodaOfSpookness on October 14, 2008, 02:11:55 PM
Open /Sources/ManageAwards.php and find
ID_AWARD, awardName, gameName, timeAdded, filename, width, height
and replace it with an asterik, then save and try again.

Hi,
Sorry for the late respond.
Now this problem fixd, but i have another:
When i try to Add Award i get this:


Unknown column 'gameName' in 'field list'
קבצים: /home/XXX/public_html/fmky/Sources/ManageAwards.php
שורה: 322

Note: It appears that your database may require an upgrade. Your forum files are currently at version SMF 1.1.6, whereas your database is at version SMF 1.1.5. It is recommended that you execute the latest version of upgrade.php.

Another problem:
when i  push on the Profile link I get this error:
Fatal error: Cannot redeclare awards() (previously declared in /home/XXX/public_html/fmky/Sources/Profile.php:3150) in /home/XXX/public_html/fmky/Sources/Profile.php on line 3359

Thanks,
Efil.

Fustrate

khamseen: Attach your Modifications.english.php file from /Themes/default/languages/ to a post here.

efil59: Do the same, but with /Sources/Profile.php. I also think your database doesn't have the correct rows in it, so I'm going to write a quick script for you test test it with.
Steven Hoffman
Former Team Member, 2009-2012

khamseen

Hey, this is the file you said to attach, thank you.
"In hope we find despair and in despair we find truth." - Myself

Fustrate

and you said you tried
Quote from: YodaOfSpookness on October 18, 2008, 08:50:39 PM
Go to Admin > Maintenance > Forum Maintenance > Common Tasks

and click "Empty the file cache."
? That should've fixed the problem. Can I get the URL to your forum?
Steven Hoffman
Former Team Member, 2009-2012

khamseen

Yeah I did try it and that didn't work.

The site is actually restricted on access because I have it set to not allow registrations etc whilst our admin team works on getting it ready. I shall PM you login details to an account if you don't mind.
"In hope we find despair and in despair we find truth." - Myself

khamseen

#927
Ok, here is the profile.php file you requested.
"In hope we find despair and in despair we find truth." - Myself

Fustrate

You installed the 1.1.x version of the mod on a 2.0 forum ;) can you uninstall and use the other file?
Steven Hoffman
Former Team Member, 2009-2012

khamseen

Oh for crying out loud lol. I just seriously need my head screwed on today don't I. That's after me uninstalling the correct version to reinstall using the "Install to other skins" function lol.

I'll give it another bash and get back to you.
"In hope we find despair and in despair we find truth." - Myself

khamseen

Sorry, again I'm double posting.

I have now installed the correct version (which is I assure you what I had done the first time, dunno why I didn't the second time), it shows up, menu buttons are there and I can gain access.

However, when I try to assign an award it isn't showing any usergroups and if I input the ID manually it is showing {member_name} under the text box in red but then not doing anything.

Also, if I click on one of the awards to edit it or if I manually select "edit" "view assigned" etc, it returns this error "Wrong value type sent to the database. Integer expected."
"In hope we find despair and in despair we find truth." - Myself

Fustrate

I'm getting the "Wrong error type" on quite a few of my mods, just in SMF 2.0 Beta 4 Public, not any earlier ones...

I'm working on finding out why, so know that I'm trying my hardest :) sorry there's no definite answer at the moment...
Steven Hoffman
Former Team Member, 2009-2012

khamseen

That's cool. I look forward to seeing any progress you can make over time. I am just glad to hear that this particular error is not caused by my incompetence  ;D .

Thanks for all the help you've given me to get me this far, I shall keep track of the progress to see what comes of it. I have used a couple of your other mods and I do like them so I am sure I will like this one as much once it's sorted for beta4. ;D
"In hope we find despair and in despair we find truth." - Myself


Fustrate

Have you clicked the checkbox next to a group name? You need to choose one or more groups, and then you can assign the award to people from that group.
Steven Hoffman
Former Team Member, 2009-2012

nosoyelmejor

#935
Yes i clicked the checkbox, it's the same error if i choose all or one
The awards are assigned but give me the error.

Look at the attachment, because i had modify it

Line: 378
changed awardsDir for pa_awardsDir

Line: 356
changed $$boarddir for $boarddir

Line: 297

Changed global $context, $db_prefix, $func, $txt; for global $context, $db_prefix, $func, $txt, $boarddir;

Fustrate

I have a feeling the form isn't getting sent through correctly... is it possible to set up an admin account for me to test it with (which you can delete afterwards, of course)

If you want to do that, don't post the details here - PM me the URL and login details.
Steven Hoffman
Former Team Member, 2009-2012

khamseen

Just thought I would post a couple of screen shots to show the problem I seem to get in a bit more detail. I thought of it after reading your post about selecting the membergroup check boxes as I know they are there in the 1.1.x version but I haven't seen them in the 2.0 version.

This is what I get, the first one is what I see if I type a member name into the box and press "Add", this shot has two as I tried adding two names one at a time.

The second shot is what I get if I click on the {MEMBER_NAME}.
"In hope we find despair and in despair we find truth." - Myself

Fustrate

Does it do the same thing when you add multiple names when sending a PM?
Steven Hoffman
Former Team Member, 2009-2012

khamseen

Quote from: YodaOfSpookness on October 20, 2008, 09:36:02 PM
Does it do the same thing when you add multiple names when sending a PM?

Nope, when I add a name to the PM list it shows their name, which in turn links to their profile.
"In hope we find despair and in despair we find truth." - Myself

Advertisement: