News:

SMF 2.1.4 has been released! Take it for a spin! Read more.

Main Menu

Simple Awards System

Started by Windy, November 14, 2006, 09:01:54 PM

Previous topic - Next topic

pibe86


fcwedd


HR

OK, so.. I add the template pull to the ultimate profile mod and low and behold.. error you cant redeclare 'template_awards' so  I figure pull it out of profile.template.php and see if it flies since that is the only other place its declared & no display at all.. Im open to suggestions as Im running out of gas here..

I can explain this as simply as possible.. If I do it & implement I guarantee it.
If I do it and you implement it its a crap shoot.

Fe2O3y

Our board's server crashed, so we started over with a fresh SMF 1.1.7. I just installed SAS 2.0.1, and it's working perfect without any modification at all.

cubex

hi,
I just installed this mod in my forum ver 1.1.7 and using Classic YaBB SE Theme but the award icon didnt show up on the page.

Kindly assist.

Thank you everybody  :'(

HR

Custom themes require manual installation.

I can explain this as simply as possible.. If I do it & implement I guarantee it.
If I do it and you implement it its a crap shoot.

cubex

Quote from: HR on January 07, 2009, 01:59:57 AM
Custom themes require manual installation.
it worked! thanks alot!

spoontosser

I just installed onto my heavily modded SMF 1.1.7 default theme using the package manager and it worked flawlessly.

thanks for this mod!

fivewinds

Glad you sorted your issues, Tea. I still can't remove/fix the mod. I downloaded Windy's v2.0.1 update, but I got this message instead:



QuoteApply Mod
This package is already installed, and no upgrade was found!
You should uninstall the old version first to avoid problems, or ask the author to create an upgrade from your old version.
Please remember to always make regular backups of your sources and database before installing mods, especially beta versions.

Installation Readme
Simple Award System v2.0.0.4b
-----------------------------------
Adds the ability to give users little awards to users.

Profile Add-ons
-----------------------------------
Awards Option from profile to view and give out the awards.
Displays the icon, title, date received and who gave it.
Awards require just a title and the image to submit.

Permissions Add-ons
-----------------------------------
Give Awards in Profile Permissions, gives the ability to give
awards to members.

Display Add-ons
-----------------------------------
Awards appear (just the icons, and a tooltip which shows the title)
in the column where user information is stored.

Features and Options Add-ons
-----------------------------------
Adds the options that allow you to change the width and height of the kind of awards allowed

Install Actions
Installations actions for "Simple Award System":
Installing this package will perform the following actions:
   Type    Action    Description
1.    Execute Code    AwardSystemdb.php    
2.    Execute Modification    ./Sources/Load.php    Test successful
3.    Execute Modification    ./Themes/default/Display.template.php    Test successful
4.    Execute Modification    ./Themes/default/Profile.template.php    Test successful
5.    Execute Modification    ./Sources/Profile.php    Test successful
6.    Execute Modification    ./Sources/ManagePermissions.php    Test successful
7.    Execute Modification    ./Sources/ModSettings.php    Test successful
8.    Execute Modification    ./Themes/default/languages/Modifications.english.php    Test successful





I went back to the original mod to delete it and it says it is currently installed, but I can't uninstall because I am missing the uninstaller link :(  The following was my original post for reference sake.
Quote from: fivewinds on November 30, 2008, 06:35:06 PM
How can I uninstall / delete this mod from my package manager?

I am currently running SMF 1.1.7 and I believe this mod was installed a lot earlier than that.

The mod is called "Simple Award System      2.0.0b"
There is no Uninstall link next to it. Only "List Files" and "Delete" buttons.
There is no Award link on the features section of the Admin panel. Nothing in permissions. Nada.

The listed files are:
   1.  AwardSystemdb.php (4165 bytes)
   2. modification.xml (17741 bytes)
   3. package-info.xml (1431 bytes)
   4. readme.txt (829 bytes)
   5. modification2.xml (18285 bytes)
   6. AwardSystemdb2.php (5370 bytes)
   7. readme2.txt (895 bytes)


I assume something got fubard at one point in time.  Can someone help me uninstall this mod or let me know if its safe to just "Delete" it from the package list?

Currently Using SMF 1.1.8 & TP 0.9.8

Windy

You may want to try editing the packages install files if you have ftp access, then go into the packages directory, download the package, edit the package info file inside the zip and set the version for to the current version of smf you're using and then replace the package that's on your server.  I think you can use version_emulate as well, but i'm not quite sure.
All unsolicited PM's will be ignored.  Any support requests should go in their topics.

My Mods


Image Zoom Tag
Image Quote Removal
Color Picker
Additional Polls
Simple Awards System

Mods are only updated to the latest same major version of smf on request.

coucnilhomeswap

its installed on my 1.1.7 smf no probs but when i goto my profile and click awards i get this error.

"The awards upload directory is not writable. Your award could not be saved. " any idea were it is or where it should go

Windy

You need an "awards" directory which should go in the same directory as where you installed your forum, if there is one already there, then it means that the permissions on that directory aren't set properly so it can write awards and probably should be set to the same permissions you have on your attachments directory.
All unsolicited PM's will be ignored.  Any support requests should go in their topics.

My Mods


Image Zoom Tag
Image Quote Removal
Color Picker
Additional Polls
Simple Awards System

Mods are only updated to the latest same major version of smf on request.

Chriss Cohn

#192
Windy, can you maybe add that an Avatar which is above the max-sizes get resized either by html-code or with gd-library, just like it can be done with the Avatars in default SMF ?
Of course this could be as an extra option, so people without GD-Support can either choose html-resize or nothing of it....
Maybe also a maximum filesize check?

I mean all those functions are in SMF by default...
What you think?

EDIT: I just noticed that i can't remove given awards anymore.
Maybe its because i use SEF-URLs, which are looking like this for removing:
http://www.mysite.com/profiles/chrisscohn-u1.html;sa,awards;remove,2

Any help here?

Flocke

German:
      <file name="$languagedir/Modifications.german.php">
         <operation>
            <search position="end"></search>
            <add><![CDATA[
$txt['awardPanel_showAwards'] = 'Awards für: ';
$txt['awards'] = 'Awards';
$txt['award_add'] = 'Award hinzufügen';
$txt['award_add_button'] = 'Hinzufügen';';
$txt['award_max_height'] = 'Maximale Höhe eines Awards<div class="smalltext" style="font-weight: bold">(0 = kein Limit)</div>';
$txt['award_max_width'] = 'Maximale Breite eines Awards<div class="smalltext" style="font-weight: bold">(0 = kein Limit)</div>';
$txt['award_image'] = 'Bild';
$txt['award_no_exist'] = 'Der Award den du löschen willst existiert nicht.';
$txt['awards_no_write'] = 'Das Upload-Verzeichnis ist nicht beschreibbar.  Dein Award konnte nicht gespeichert werden.';
$txt['award_timeout'] = 'Dein Award konnte nicht gespeichert werden. Das kann passieren, wenn der Upload zu lange dauert oder der Server die Datei nicht annimmt.<br /><br />Bitte kontaktiere den Administrator, wenn du mehr Informationen wünscht.';
$txt['award_title'] = 'Award Titel';
$txt['cannot_give_awards'] = 'Du hast nicht die Berechtigung Awards zu verleihen.';
$txt['no_awards'] = 'Du hast keinen Award.';
$txt['permissionname_give_awards'] = 'Awards verleihen';
$txt['permissionhelp_give_awards'] = 'Erlaube Mitgliedern Awards auszugeben.';
$txt['profile_error_award_large_image'] = 'Dein Bild ist zu groß, erlaubt sind ' . $modSettings['award_max_width'] . 'x' . $modSettings['award_max_height'] . '.';
$txt['profile_error_award_invalid_image'] = 'Das Bild ist ungültig';
$txt['profile_error_award_no_title'] = 'Kein Award-Titel gewählt';       
   ]]></add>
         </operation>
      </file>

PerryM

Upgraded to smf 2.0 RC1 and [apply Mod] does not show up under my Packages section - can't install it.

Thanks for a great mdoule
Perry

davieb

Having trouble with this one. I've created a fresh SMF using 1.1.8 and when I try to install this I get

QuoteThe package you are trying to download or install is either corrupt or not compatible with this version of SMF.

I've tried version 1.3.1 and 2.0.1 and get the same on both.

Any ideas?

trekkie2444

Yup, I'm having the same problem.

zagrom

Im trying to make/add a mod to this mod, sadly I cant code so any
help would be nice.

Ok, here is what Im trying to do, and Im pretty sure its complicated,
I tend to give out awards on a whim causing some member to be
loaded with awards!  I am wondering if I can make it so that they
can only have a certain number of awards shown, but have a spot
in there profile where they can choose the awards they want shown,
I am using MegaPolis theme and this is the simple awards mod

I believe I have explained this in an understandable way, but feel
free to ask for more information

Xavi-Nena

Will this ever be able to be used with 1.1.8 ?

edi67

will be released and fixed for smf 2 rc1 ?
CrazyZone - My SMF Forum


From the difficult the hardening of the man you can see

Advertisement: