Member Awards (2.0 Compatible!)

Started by Spuds, September 18, 2006, 03:14:03 PM

Previous topic - Next topic

CaNe

I'm looking to be able to add a link to the awards mod to show which awards i have installed into my forum board.

Is there anyway to get a page to display them?

you can view some of the awards i have on my board at this URL http://artificialintelligence.the-aria.net/board/index.php?action=profile;sa=awards;u=2

But i want to be able to display them all in there own little page to members are able to apply for these medals or just read what they are for.

CaNe


TechnoDragon

Well, without doing a lot of coding, you could just create a topic on your forum with all of the awards in it...
Don't tell me to get into shape...I have a shape...It is round!


CaNe

Quote from: TechnoDragon on March 10, 2007, 07:33:28 PM
Well, without doing a lot of coding, you could just create a topic on your forum with all of the awards in it...

I wanted to create a page on my joomla website to link to the awards.

TechnoDragon

Does Joomla have "articles"?  if so, you could create an article that displayed all of the images...
Don't tell me to get into shape...I have a shape...It is round!


CaNe

Quote from: TechnoDragon on March 11, 2007, 07:36:42 PM
Does Joomla have "articles"?  if so, you could create an article that displayed all of the images...

I dont believe it does.

perplexed

#386
Quote from: CaNe on March 12, 2007, 01:33:05 AM
Quote from: TechnoDragon on March 11, 2007, 07:36:42 PM
Does Joomla have "articles"?  if so, you could create an article that displayed all of the images...

I dont believe it does.

it has the same function, just a different name, so yes you could do it :)

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

Jay, I have a question

I have some awards that we give out to members monthly - is it possible to give someone the same award more than once?

eg we have a member of the month award, which members can win more than once.  Normally we have a group with a badge for this and it's displayed on their posts, but I would also like to use the member awards to keep a record of this in their profiles.  I tried to award a test award to a member for a second time but even though it let me save it, it doesnt show in their profile twice.

did I do something wrong or does it not work that way?

~thanks

TechnoDragon

Right now that is the way it works, in order to award the same award each month you would have to upload the same image each month
Don't tell me to get into shape...I have a shape...It is round!


littleone

Quote from: perplexed on March 15, 2007, 08:42:30 AM
Quote from: CaNe on March 12, 2007, 01:33:05 AM
Quote from: TechnoDragon on March 11, 2007, 07:36:42 PM
Does Joomla have "articles"?  if so, you could create an article that displayed all of the images...

I dont believe it does.

it has the same function, just a different name, so yes you could do it :)

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

Jay, I have a question

I have some awards that we give out to members monthly - is it possible to give someone the same award more than once?

eg we have a member of the month award, which members can win more than once.  Normally we have a group with a badge for this and it's displayed on their posts, but I would also like to use the member awards to keep a record of this in their profiles.  I tried to award a test award to a member for a second time but even though it let me save it, it doesnt show in their profile twice.

did I do something wrong or does it not work that way?

~thanks

Somewhere in this thread Jay posted what code you need to modifiy to allow the same award to be awarded multiple times to the same member.  Sorry I don't recall exactly where but it is somewhere in this thread.

robotman321

hey jay i saw ur explanation for this error:
Quote
Database Error
Unknown column 'awardName' in 'field list'
File: /home/bradriem/public_html/forums/Sources/ManageAwards.php
Line: 322
but i dont understand what i need to look for, can you help?
whats a signature without text, WOOT!

Punter

Hi, I am having BIG problems trying to install this mod, I have read most of the way through this thread without much luck, I am running 1.1.2, I can install the mod OK,  the installer reports everything OK, when I click on the link in the info box just after installation where it tells you what tables have been created I just go to home page, there is no menu in admin for awards, there is no folder /awards and no changes to Themes/default/ folder although awards.gif is created in themes/default/images. I have chmodded every file and every folder to 755 and then to 777 and then back to 755 ,I have uninstalled  mod and I get a report that all the tests have failed but they all passed on installation. One time I got an awards folder created in the root section of my server right next to htdocs when my smf is 2 levels above that. I deleted that and it hasn't happened again. I have no other mods installed. Another bit of info that may be relevant is that I ported over from another server, installing a fresh copy of 1.1.2 and then uploading all the data from the old smf 1.1.1, I have linked with coppermine on the same database and every thing is working well.
and I thought it was just me

Punter

Okay now, I erased everything and started all over again and again and again and again
and I thought it was just me

littleone

Are you using a custom theme?  If you are using a custom theme you will need to manually install the mod to your Theme's files.  The Default theme is the SMF default theme and not the theme you are using for everyone on the forum.

KreedGhost

I went to install this mod and this is the error that I got...

1. Execute Modification ./index.php Test successful
2. Execute Modification ./Sources/Profile.php Test successful
3. Execute Modification ./Sources/Who.php Test successful
4. Execute Modification ./Sources/Admin.php Test failed
5. Execute Modification ./Sources/Subs.php Test successful
6. Execute Modification ./Sources/ManagePermissions.php Test successful
7. Execute Modification ./Themes/default/index.template.php Test successful
8. Execute Modification ./Themes/default/Profile.template.php Test successful
9. Execute Modification ./Themes/default/Display.template.php Test successful
10. Execute Modification ./Themes/default/languages/Modifications.english.php Test successful
11. Execute Modification ./Themes/default/languages/ManagePermissions.english.php Test successful
12. Execute Modification ./Themes/default/languages/Errors.english.php Test successful
13. Extract File ./Sources/ManageAwards.php 
14. Extract File ./Themes/default/ManageAwards.template.php 
15. Extract File ./Themes/default/languages/ManageAwards.english.php 
16. Extract File ./Themes/default/images/award.gif 
17. Create Tree ./awards 
18. Execute Code install.php

littleone

Quote from: KreedGhost on March 19, 2007, 06:33:07 PM
I went to install this mod and this is the error that I got...

1. Execute Modification ./index.php Test successful
2. Execute Modification ./Sources/Profile.php Test successful
3. Execute Modification ./Sources/Who.php Test successful
4. Execute Modification ./Sources/Admin.php Test failed
5. Execute Modification ./Sources/Subs.php Test successful
6. Execute Modification ./Sources/ManagePermissions.php Test successful
7. Execute Modification ./Themes/default/index.template.php Test successful
8. Execute Modification ./Themes/default/Profile.template.php Test successful
9. Execute Modification ./Themes/default/Display.template.php Test successful
10. Execute Modification ./Themes/default/languages/Modifications.english.php Test successful
11. Execute Modification ./Themes/default/languages/ManagePermissions.english.php Test successful
12. Execute Modification ./Themes/default/languages/Errors.english.php Test successful
13. Extract File ./Sources/ManageAwards.php 
14. Extract File ./Themes/default/ManageAwards.template.php 
15. Extract File ./Themes/default/languages/ManageAwards.english.php 
16. Extract File ./Themes/default/images/award.gif 
17. Create Tree ./awards 
18. Execute Code install.php


It probably failed because you have another mod so just make the modification that failed manually.

KreedGhost

That is another problem, I am not to PHP swavvy, so I don't know what to change manually or what to even look for.....Does anyone know what to look for to fix?

TechnoDragon

just use the xml file in the package to see what changes need to be made for that file...it should have a before, after, replace then the code that needs to go in there
Don't tell me to get into shape...I have a shape...It is round!


littleone

Like Techno said, in the .xml file you will need to find <file code that refers to the Sources/Admin.php  and then it will say, like techno said it will say before, after or replace and give you some code.  Search for that code in the Admin.php file.  Back in the .xml file it will have a new set of code.  If it says Before, then you will add the new code from the .xml file BEFORE the code you found in Admin.php.  If it says after then add the new code AFTER the code you searched for, and if it says replace then replace the code you searched for with the new code.

perplexed

Quote from: TechnoDragon on March 15, 2007, 09:14:37 AM
Right now that is the way it works, in order to award the same award each month you would have to upload the same image each month

thanks technodragon!

JSizzal

I keep getting these errors back n forth in my error log:



8: Undefined index: pa_mods
File: /home/decisive/public_html/daspot/Sources/Subs.php
Line: 2828

8: Undefined index: awards
File: /home/decisive/public_html/daspot/Sources/Subs.php
Line: 2830


WAT TO DO!!

Advertisement: