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

Looking at the logic of it, I'd say replace the whole thing.
Steven Hoffman
Former Team Member, 2009-2012

Robin Hood

I did that. But nothing. I even reinstalled mod, but still nothing...  :(

Robin Hood

Now I messed up all. When click on profile, im getting this.

Fatal error: Cannot redeclare awards() (previously declared in /home/***/public_html/Sources/Profile.php:2901) in /home/***/public_html/Sources/Profile.php on line 3060

Fustrate

Open Profile.php, and look at the end. There should be a giant block of code that is duplicated right above it. Delete one of them.
Steven Hoffman
Former Team Member, 2009-2012

Robin Hood

Now I have problem with load.php

Should I take manual install and delete everithing.

I assume that is everything duplicated.  :( :( :(

Fustrate

Ya, I'd say everything is duplicated :(
Steven Hoffman
Former Team Member, 2009-2012

ოկtђ

Turkish translate ..
default/languages/Modifications.turkish.php:

### Awards
// Used by: Errors
$txt['cannot_manage_awards'] = 'Ödülleri yönetme yetkiniz yok';

// Used by: Help
$helptxt['awards'] = 'Ödüller eklemenizi, ödülleri düzenlemenizi ve silmenizi sağlar ';

// Used by: ManagePermissions
$txt['permissionname_manage_awards'] = 'Ödülleri yönet';
$txt['permissionhelp_manage_awards'] = 'Bu kullanıcı eklemenizi düzenlemenizi ve silmenizi sağlar ';

// Used by: Multiple Areas
$txt['awards'] = 'Ödüller';
$txt['awards_view_album'] = 'Üyenin ödül albümünü gör.';
$txt['awards_main'] = 'Ana bölüm';
$txt['awards_modify'] = 'Ekle/Düzenle';
$txt['awards_assign'] = 'Ödül ata';
$txt['awards_categories'] = 'Kategoriler';
$txt['awards_settings'] = 'Ayarlar';
$txt['whoallow_awards'] = <a href="' . $scripturl . '?action=awards">ödüllerini yönet</a>.';

// Used by: Profile
$txt['showAwards'] = 'Üyenin ödüllerini göster';
### End Awards


Robin Hood

Ok, i repaired it, forum works now, but mod is not... (this first is more important, isnt it  8) )

Fustrate

heh, ya, that's the more important one :) what exactly isn't working?
Steven Hoffman
Former Team Member, 2009-2012

Robin Hood

Same error I mentioned above, and its same after i changed file you said.

Now i have problems with boards. I think i'll return backup, a dont know what to do anymore.  :( :( :(

Fustrate

406 or Cannot redeclare?

If you want to restore to a backup, that would be a good thing to do.
Steven Hoffman
Former Team Member, 2009-2012

Robin Hood

Quote from: Fustrate on May 17, 2009, 07:10:30 PM
406 or Cannot redeclare?

If you want to restore to a backup, that would be a good thing to do.

406

And i have problem with making new board...

Maybe to restore files, and keep base?

Xavi-Nena

any luck with that admin.php ?

Fustrate

Robin Hood - yes

NenaGb - You're using TP, and I have no clue how to add admin permissions and stuff like that to TP_addPerms(). You might want to ask them about that...
Steven Hoffman
Former Team Member, 2009-2012

General_Naga

Would it be possible for the awards to be displayed in the post view (or even better a separate thumbnail image is displayed)?

I realise this is a new feature but I think the mod could really benefit from it - especially as it would mean this mod did everything all the other award mods do individually :)

Thanks

Christasimmer


I keep getting this error if I try to edit or delete awards. Also if I click the award on a profile to see who all has the award. Help please.

Not Acceptable
An appropriate representation of the requested resource /index.php could not be found on this server.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.


--------------------------------------------------------------------------------

Apache/2.2.11 (Unix) mod_ssl/2.2.11 OpenSSL/0.9.8b mod_auth_passthrough/2.1 mod_bwlimited/1.4 FrontPage/5.0.2.2635 PHP/5.2.9 Server at ****.com Port 80

Fustrate

Quote from: General_Naga on May 18, 2009, 06:28:21 PM
Would it be possible for the awards to be displayed in the post view (or even better a separate thumbnail image is displayed)?

I realise this is a new feature but I think the mod could really benefit from it - especially as it would mean this mod did everything all the other award mods do individually :)

Thanks
This is already in 2.0, and will be in the updated 1.1.x release. I haven't recently had any time to work on the new release :(

Quote from: Christasimmer on May 20, 2009, 09:25:00 AM

I keep getting this error if I try to edit or delete awards. Also if I click the award on a profile to see who all has the award. Help please.

Not Acceptable
An appropriate representation of the requested resource /index.php could not be found on this server.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.


--------------------------------------------------------------------------------

Apache/2.2.11 (Unix) mod_ssl/2.2.11 OpenSSL/0.9.8b mod_auth_passthrough/2.1 mod_bwlimited/1.4 FrontPage/5.0.2.2635 PHP/5.2.9 Server at ****.com Port 80
continuing from above, I'm going to push forward on the new release now that I've finished my part of what the team is doing. I doubt this will continue to occur after that.
Steven Hoffman
Former Team Member, 2009-2012

Joe N

Microsoft: "We Need to Imagine Life Without Walls."
I Say: "If There are No Walls Who needs Windows."



My Mods (6) All My Mods Updated To SMF 2.0 RC2 and SMF 1.1.10!


General_Naga

Thanks Fustrate but I was meaning could you include the actual award images in the post view rather than just a link or even better the option to add a thumbnail image to an award which would be displayed in the post view.

Hardcase

Hi i'm having a slight problem with this mod which is when i upload the package and go to install i get this error:

4.     Execute Modification     ./Sources/Admin.php     Test failed

No i have gone through the manual install route and the problem is with the Admin.php which is in the default folder.

I'm running 1.1.9 with tp 1.0 beta 3 on Blackrain v2

Now when i look into the file the lines required in the admin.php are not there, therefore i cannot amend or replace any code.

Now i have installed the package on another tester (not wanting to completely make a mess of my active forum) and it installs and is available so long as i enter the link to the awards as previously mentioned (in another post earlier) but i have no access as such via the admin menu.

Any ideas would be more than welcome!

Advertisement: