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

Spuds

Quoteis displaying the awards in signatures option (instead of posts profiles)
I had noticed that :D and took the hint. In the new version when you define an award, you also define where you want it to appear,  below the avatar, above the avatar (like a badge) or with the signatures, figure this would give folks flexibility in how they want them to appear.  There are also some basic formatting options with how they are grouped (titled y/n, boxed y/n).

QuoteWas wondering if you might consider adding a flag to each badge, saying whether it is visible to regular members to assign?
Yeah I knew that would be coming, without that its kind of a scarey permission if you give it to a large group of members.  Let me see about adding one more award creation flag and then updating all of the database querys (yuk) ...

Eclipse16V

Works nice on SMF 2.0
Thanks

But i have 2 Errors.

1. Error
Award modify look at the Screenshot

2. Error
On the Award List
Quotehttp://smf-2.0.xyz.de/index.php?action=profile;area=listAwards;u=1
8: Undefined index: view
I worked with:
SMF 2 in German

Shop:
SID Giessen

hcfwesker

Quote from: Eclipse16V on July 22, 2011, 04:20:10 AM
Works nice on SMF 2.0

2. Error
On the Award List
Quotehttp://smf-2.0.xyz.de/index.php?action=profile;area=listAwards;u=1
8: Undefined index: view

Sources/Profile-View.php

Find
         $context['categories'][$row['id_category']] = array(
            'name' => $row['category_name'],
            'awards' => array(),
         );


Replace With
         $context['categories'][$row['id_category']] = array(
            'name' => $row['category_name'],
            'view' => $scripturl . '?action=admin;area=awards;sa=viewcategory;id=' . $row['id_category'],
            'awards' => array(),
         );


That code is listed twice, but you'll notice on the 2nd one of them, the 'view' line didn't get readded.


SIMul8rReviews

Well, since Eclipse said it works fine on 2.0 I went ahead and tried it.

I updated the package_info so it would be able to install on 2.0, but once I try and installing it.. I get the following errors



Can someone help me with this issue? I've already tried doing what it said to "add before" "add after" "replace" but im still getting the errors.  :(


lokeshch

Hello all,
i installed this mod on SMF 1.1.14 i cannot get where to add awards and how to award members
I'm using Actualism theme by Crip
can anyone tell me where to add awards and how to award to members
regards
Lokesh

Spuds

QuoteCan someone help me with this issue? I've already tried doing what it said to "add before" "add after" "replace" but im still getting the errors.  :(
Those mean that another mod changed those areas so the package manager can not determine where to make the edits.  Only thing you can to is Manual Installation of Mods

lokeshch

sir can you please help me regarding my issue too :)

Spuds

Quote from: lokeshch on July 23, 2011, 10:36:44 AM
Hello all,
i installed this mod on SMF 1.1.14 i cannot get where to add awards and how to award members
I'm using Actualism theme by Crip
can anyone tell me where to add awards and how to award to members
regards
Lokesh
In 1.1.14 the awards menu is in your admin panel under the forum section ... look for awards, select it, add an award and then assign the award

lokeshch

Please see these pictures
pic while installation:
http://i53.tinypic.com/mh3l9c.jpg
pic after installation:
http://i56.tinypic.com/2nvcim1.jpg
it's the second mod I'm installing on my forum. the first mod i installed was an update from SMF 1.1.13 to SMF 1.1.14
so what shall i do now sir?
thanks for your time sir :)

SIMul8rReviews

Quote from: Spuds on July 23, 2011, 10:42:37 AM
QuoteCan someone help me with this issue? I've already tried doing what it said to "add before" "add after" "replace" but im still getting the errors.  :(
Those mean that another mod changed those areas so the package manager can not determine where to make the edits.  Only thing you can to is Manual Installation of Mods

Erm. This is very odd. In the second step, it says
Quoteopen the .mod file with any text editor and search for <edit file>...</edit file> , you will find a file name after the tag. What we need here is looking for a template file i.e. index.template.php, BoardIndex.template.php ..etc.
I've opened all xml files and no where do I see <edit file></edit file>  :-\

Spuds

Manual Installation of Mods
Quote from: lokeshch on July 23, 2011, 11:44:38 AM
Please see these pictures
pic while installation:
http://i53.tinypic.com/mh3l9c.jpg
pic after installation:
http://i56.tinypic.com/2nvcim1.jpg
it's the second mod I'm installing on my forum. the first mod i installed was an update from SMF 1.1.13 to SMF 1.1.14
so what shall i do now sir?
thanks for your time sir :)
You did select install now and are viewing that panel with your admin account?

Spuds

Quote from: SIMul8rReviews on July 23, 2011, 12:03:56 PM
Quote from: Spuds on July 23, 2011, 10:42:37 AM
QuoteCan someone help me with this issue? I've already tried doing what it said to "add before" "add after" "replace" but im still getting the errors.  :(
Those mean that another mod changed those areas so the package manager can not determine where to make the edits.  Only thing you can to is Manual Installation of Mods

Erm. This is very odd. In the second step, it says
Quoteopen the .mod file with any text editor and search for <edit file>...</edit file> , you will find a file name after the tag. What we need here is looking for a template file i.e. index.template.php, BoardIndex.template.php ..etc.
I've opened all xml files and no where do I see <edit file></edit file>  :-\
open the install.xml file, look for <file name="$sourcedir/Admin.php"> and <file name="$sourcedir/Subs.php"> its those two sections of edits that need to be manually added. 

lokeshch

Quote from: Spuds on July 23, 2011, 12:20:26 PM
Manual Installation of Mods
Quote from: lokeshch on July 23, 2011, 11:44:38 AM
Please see these pictures
pic while installation:
http://i53.tinypic.com/mh3l9c.jpg
pic after installation:
http://i56.tinypic.com/2nvcim1.jpg
it's the second mod I'm installing on my forum. the first mod i installed was an update from SMF 1.1.13 to SMF 1.1.14
so what shall i do now sir?
thanks for your time sir :)
You did select install now and are viewing that panel with your admin account?
yes i am the only Admin of the forum and i installed using my account only. BTW i tried to uninstall it gives me error.
i want to clarify one thing: installed mods: SMF 1.1.14 update and Member awards
i installed Members awards today i got NO error while installation but while uninstallation i am getting errors:
1.    Execute Modification    install_display_template.xml    Modification parse error
2.     Execute Modification    -    Modification parse error
i have installed NO other mod after Member awards
please help me to get it displayed. BTW I'm on Actualism theme by Crip and i tried using default Core but results are same
thanks for your time sir  :)

AllanD

How do you get to show the award in the postprofile on the right.I installed ieverything went great created an award and assigned it.If you goto the profile it says show awards and list awards but nothing shows in the postprofile.
Check out this great sites.
KnD Hosting

Spuds

Quoteplease help me to get it displayed.
Sorry, don't know what else to tell you to try.  I Just installed it on a 1.1.14 forum and it installed, functioned and uninstalled just fine.

Quote from: CrazieGrafix on July 23, 2011, 01:26:55 PM
How do you get to show the award in the postprofile on the right.I installed ieverything went great created an award and assigned it.If you goto the profile it says show awards and list awards but nothing shows in the postprofile.
If you are asking how to get awards to display on the profile summary screen, they don't and you would have to write a modification to the summary template to add that functionality.

AllanD

no they don't display in the postbit.
Check out this great sites.
KnD Hosting

Eclipse16V

I worked with:
SMF 2 in German

Shop:
SID Giessen

hcfwesker

#2337
Quote from: CrazieGrafix on July 23, 2011, 03:14:24 PM
no they don't display in the postbit.

Admin > Awards > Settings

You have to check the option to show it in the post bit.  (Though, I think they make the postbit profile too cluttered, so I have them display in signatures on our forum.)

@ Eclipse16V, You're Welcome, bud. :)

AllanD

i don't have that option just these

QuoteAwards Directory:
This is the directory where awards are stored - just the name without the trailing slash. Favorite Award:
Check this if you want to allow users to have more than one favorite award. Awards in Post:
How many awards should be shown under a user's avatar? Set to 0 to show none.
Check out this great sites.
KnD Hosting

hcfwesker

"Awards in Post:
How many awards should be shown under a user's avatar? Set to 0 to show none"

Did you change the 0 to something else?

Advertisement: