News:

SMF 2.1.4 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

TechnoDragon

Thanks for the info, I finally figured it out...with only one edit to one file...(see my post above)
Don't tell me to get into shape...I have a shape...It is round!


JayBachatero

#81
Use the format that I gave you.  It will require the use of only ONE query.  The way that you are using it now will require ~30 queries depending on how many posts per page you have.

Turn on the page generated in... option.
Follow me on Twitter

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

JayBachatero

Ok made a few changes on the query above.  It wasn't working.
Follow me on Twitter

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

TechnoDragon

awesome Juan...much more efficient than my code!
Don't tell me to get into shape...I have a shape...It is round!


Loverboy


Loverboy

Is there a dutch version of this mod?

If not, How can I translate it could someone help please

JayBachatero

No right now the only translation is English.  It would be nice to have other translations.
Follow me on Twitter

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

Loverboy

#87
When i trie to install it it gives the folowing error:

Fatal error: packageinstall() [function.require]: Failed opening
required '/local/web/websites/6993155865/www/web/Packages/temp/./install.php'
(include_path='.:/php/includes:/usr/share/php')
in /local/web/websites/6993155865/www/web/Sources/Packages.php on line 540


What do I have to do?

JayBachatero

Try redownloading the package and see if it works.
Follow me on Twitter

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

Loverboy

It gives the same error :(

JayBachatero

Create a dir called temp inside the Packages dir and chmod it to 777.
Follow me on Twitter

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

Loverboy

It worked.. thanks ;)

Now if I turn the language into Dutch, which is my default language, I can't see the mod in Admin pannel.. So I think I have to translate some scripts manually into dutch..

Could you specify which script those are and where I have to put them?

JayBachatero

Modifications.english.php.

// Member Awards adminIndex text strings.
$txt['awards'] = 'Awards';
$txt['pa_view_album'] = 'View member\'s awards album.';
$txt['pa_mods'] = 'Mods';
$txt['whoallow_pogoawards'] = 'Managing <a href="' . $scripturl . '?action=awards">Awards</a>.';


ManagePermissions.english.php

// Member Awards permissions.
$txt['permissionname_manage_awards'] = 'Manage Awards';
$txt['permissionhelp_manage_awards'] = 'This will allow users add. edit and assign new awards';
Follow me on Twitter

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

Loverboy

I have translated those 2 files but there are more as you see below:

1. Execute Modification ./index.php
2. Execute Modification ./Sources/Profile.php
3. Execute Modification ./Sources/Who.php
4. Execute Modification ./Sources/Admin.php 
5. Execute Modification ./Sources/Subs.php
6. Execute Modification ./Sources/ManagePermissions.php
7. Execute Modification ./Themes/default/index.template.php
8. Execute Modification ./Themes/default/Profile.template.php
9. Execute Modification ./Themes/default/Display.template.php
10. Execute Modification ./Themes/default/languages/Modifications.english.php
11. Execute Modification ./Themes/default/languages/ManagePermissions.english.php 
12. Execute Modification ./Themes/default/languages/Errors.english.php

I have to translate those too, otherwise I can't see the following pages in Admin panel: Main    Add  Assign  Settings   

JayBachatero

Oh forgot Errors.english.php.

$txt['cannot_manage_awards'] = 'You are not allowed to manage Awards.';


Also you need to edit ManageAwards.english.php.
Follow me on Twitter

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

Loverboy

I did it ;) thanks for your help

K_4_kelly

hello

can we have this for 1.1rc2?
please...

thanks...

Kel

JayBachatero

You need to make some changes for it to work on RC2.  Then again making those changes lead to UTF-8 errors >_<.
Follow me on Twitter

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

char39

I installed this package and everything installed fine except that there are no awards.  Do they not come with the mod?  If not where can I find some icons/avatars for this?

JayBachatero

No they don't come with the mod.  You have to search for them.  Most of the people that have this mod install run some type of RPG board or pogo awards.
Follow me on Twitter

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

Advertisement: