News:

Join the Facebook Fan Page.

Main Menu

Award System

Started by bubbleybooboo, October 14, 2012, 09:56:12 AM

Previous topic - Next topic

bubbleybooboo

I am looking for an award system i can add to our forum. Im looking for awards to be added through the user profiles by our site admin and for them to show up in each post under where the posters name would be.

we have SMF 2.0.2

any help would be greatly appreciated. Thanks and be gentle with me... im not very technically minded haha

mashby

Maybe like this one?
http://custom.simplemachines.org/mods/index.php?mod=475
I went to the menu at the top and selected Modifications from the Customize menu and searched on Award. If the one above doesn't meet your needs have a look for others in that area of the site. :)
Always be a little kinder than necessary.
- James M. Barrie

bubbleybooboo

thats exactly what im wanting. ive gone to the 2.0.2 part and clicked parse.

it says

File Edits
./Sources/Admin.php
Find: [Select]


         ),
      ),
      'layout' => array(

Add Before: [Select]


            'awards' => array(
               'label' => $txt['awards'],
               'file' => 'ManageAwards.php',
               'function' => 'Awards',
               'icon' => 'awards.gif',
               'permission' => array('manage_awards'),
               'subsections' => array(
                  'main' => array($txt['awards_main']),
                  'modify' => array($txt['awards_modify']),
                  'assign' => array($txt['awards_assign']),
                  'categories' => array($txt['awards_categories']),
                  'settings' => array($txt['awards_settings']),
               ),
            ),


Find: [Select]


   // You have to be able to do at least one of the below to see this page.
   isAllowedTo(array('admin_forum', 'manage_permissions', 'moderate_forum',

Add After: [Select]

'manage_awards',

would this be in the css??

mashby

Definitely not. However, I'm thinking you'd be way better off installing this mod via Package Manager.
Package Manager
That way you don't have to look at the parsing stuff, although it sure is useful at times. It's just a lot easier to start with Package Manager. :)
Always be a little kinder than necessary.
- James M. Barrie

bubbleybooboo


mashby

Confused how? Have you ever installed a mod via Package Manager before?
Always be a little kinder than necessary.
- James M. Barrie

bubbleybooboo

no  ???

i have just installed the second one that it shows and it now gives me an option to see member awards but not sure how to add the awards. do i need to install both of the files?

mashby

Hmm...Package Manager is the preferred, easiest way to install a mod. It does all of the work for you. Can you undo what you've done so far with the Award System and try downloading the ZIP file and using Package Manager instead? I think you'll find it much easier. :)
Always be a little kinder than necessary.
- James M. Barrie

bubbleybooboo

i did it with the package manager.

ive just looked and managed to add an award to a member but the award doesnt show under the name of the poster on each post though. do you know how i would change it so it does?

thanks for all your help btw :D x

mashby

Are you using a theme other than Curve? If so, did the installation process try to install it on other themes if it could? I'm not really familiar with the mod, but there is a support topic for it. Likely a good place to go read/ask for support on it. :)
Always be a little kinder than necessary.
- James M. Barrie

bubbleybooboo

we have installed sunshine theme. does that make a difference?

mashby

Not sure exactly. But looking at that theme and looking at what files are affected by the mod, you might have two options:
Remove Display.template.php from the sunshine's theme folder.
Make the same/similar edits to the Display.template.php file for the sunshine's theme.

The first is easiest but might take away any extra look/feel that that theme's file offers.
Always be a little kinder than necessary.
- James M. Barrie

bubbleybooboo

where would i find the sunshines theme folder?

mashby

Probably in Themes/sunshine/
Not entirely sure what the actual folder name will be but I imagine it at least has sunshine in the name. :)
Always be a little kinder than necessary.
- James M. Barrie

bubbleybooboo

if i was to change theme to check it... would it erase any details on the site to see if the awards show up in curve?

mashby

Nah, shouldn't affect a thing. Good idea to go see if it's working on Curve, too! :)
Always be a little kinder than necessary.
- James M. Barrie

bubbleybooboo

arghhhhhh just checked the curve... i was brave... and its showing awards in there at the side where i want them but when i go back to sunshine its not there

mashby

So, see above for the two options! :)

If you delete the file from sunshine, the default (Curve) one takes over.
Always be a little kinder than necessary.
- James M. Barrie

bubbleybooboo

is there a way to reset the theme to default coz its all gone weird :/

bubbleybooboo

ive now changed everyone to the curve theme... awards are showing in there but the forum is usually the sunshine one. is there a way to re install the sunshine one?

Advertisement: