Member Awards (2.0 Compatible!)

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

Previous topic - Next topic

iGate

mother goose how did u do that? i want manily the small little that goes to all their awards.

oh. what i want can be done using the custom profile field dw.



Also where in the database is all of the info stored. ie. medals, who has them.

I would like to create a script that pulls this data and displays it into a table but im not sure where the data is stored.

daragor

Webscom: Wordpress + SMF
Software Libre, Noticias y Entretenimiento.-

iGate

oh....sry...hmmmmm

i did try it but i forgot that you would need each user to input there user id. ask mother goose because im not sure how to do this automatically.

Mother Goose

Opps! Dugh! I forgot to add the information. LOL

It was custom code we added to the display.template.php which we got from here...


http://www.simplemachines.org/community/index.php?topic=114701.msg1154947#msg1154947
   

kabres

#544
Hi, I am using a custom theme.  All seems well but when I go to the profile and click awards I get this error.  Anyone able to help?  I don't know a lot about PhP or SQL, so hopefully it is an easy fix? :) 

version 1.4 and using the latest version of this mod.



******Unable to load the 'awards' template.*******

Thank you in advance.

Doc.Blade

Just a quick question, does this mod allow you to give the same award to members more than once and have it show that they have more than one of said award?

I am looking to add this to my BF2 Clan Forums for Tournament players, everyone that plays each time will get an award for actually playing in the match.  This will be the same award each time. 

Thanx in advance for any help anyone can offer.

Cheers

Doc

Fustrate

I haven't looked at this mod in a while, but I figure it's as easy as adding an integer row to the awards table, 'quantity'. It defaults to 1, and if you're giving someone an award and it sees that they've already gotten it, it can just ++ the $result['quantity'] and update it.

I don't have any spare time to test it out, but if someone wants to take 5 minutes to test it out, I think it's worth a shot.
Steven Hoffman
Former Team Member, 2009-2012

Doc.Blade

unfortunately i am not good enough to do any of those modifications, but if someone is, and has time, i would appreciate it greatly

melbinnc

#548
 No errors during install.  On the bottom left of my admin page I have a new box but it is empty.  I still do not see the link for the awards. Help? 
Forum version: SMF 1.1.4
Theme: saf-multicolor


**** Edit: i just did a view-source and the link for the awards is there and I can copy and paste to the address bar and get to it --yay!  Hmmmm...

I can assign the awards, and can see them in the admin page, but not on any other page/under the screenames.

Any ideas are appreciated!

kabres

Quote from: kabres on January 01, 2008, 06:28:13 PM
Hi, I am using a custom theme.  All seems well but when I go to the profile and click awards I get this error.  Anyone able to help?  I don't know a lot about PhP or SQL, so hopefully it is an easy fix? :) 

version 1.4 and using the latest version of this mod.



******Unable to load the 'awards' template.*******

Thank you in advance.

Does anyone have any info on this?  I Just can't figure it out and really want to get an award system started for my guild.

Thanks in advance :)

Tony Reid

looks like you need to manually reupload the template files that came with the mod.
Tony Reid

Fustrate

Quote from: iGate on December 27, 2007, 08:52:29 AM
mother goose how did u do that? i want manily the small little that goes to all their awards.

oh. what i want can be done using the custom profile field dw.



Also where in the database is all of the info stored. ie. medals, who has them.

I would like to create a script that pulls this data and displays it into a table but im not sure where the data is stored.

I'm not quite sure what you're requesting... would you like:
Quote from: Pseudo-code
Medal 1
  Joe
  Susan
  Greg
  Beth
Medal 2
  Joe
  Beth
  Andy
Medal 3
  Andy
  Susan
or would you like
Quote from: Pseudo-code
Joe
  Medal 1
  Medal 2
Susan
  Medal 1
  Medal 3
Greg
  Medal 1
Beth
  Medal 1
  Medal 2
Andy
  Medal 2
  Medal 3
?

If you want number two, look back a few pages for my post about how to make them show up under an avatar. It's mostly the same code, with just a few minor tweaks.
Steven Hoffman
Former Team Member, 2009-2012

melbinnc

I'm still having trouble.  I can direct link to the awards panel and assign them from there, but you don't see the awards anywhere? 
Thanks so much for any help!



Quote from: melbinnc on January 02, 2008, 08:24:28 PM
No errors during install.  On the bottom left of my admin page I have a new box but it is empty.  I still do not see the link for the awards. Help? 
Forum version: SMF 1.1.4
Theme: saf-multicolor


**** Edit: i just did a view-source and the link for the awards is there and I can copy and paste to the address bar and get to it --yay!  Hmmmm...

I can assign the awards, and can see them in the admin page, but not on any other page/under the screenames.

Any ideas are appreciated!


war4ever.xf.cz

#553
pls help  :'( :'( :'( :'(
Unknown column 'gameName' in 'field list'
File: /3w/czweb.org/w/war4ever/Sources/ManageAwards.php
Line: 193


Unknown column 'gameName' in 'field list'
File: /3w/czweb.org/w/war4ever/Sources/ManageAwards.php
Line: 322

JayBachatero

About the multiple awards.  I remember how to do this a few pages back.

war4ever.xf.cz did you get any errors on install?

BTW I plan on updating this mod in the future.  I added category support to this a while back but I just can't remember on which computer and where I stored the files :(.
Follow me on Twitter

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

cindy_nl

thank you for thiz i install thiz mod

SlipperyDuck

I've been trying to examine the .xml file of the install to figure this out, but i cant seem to get the awards to display on the user post pages.

Is this because I am using Themes, 7dana is my current theme.
I tried to uninstall and install again - the awards show up under the profile but not on the posts...maybe i missunderstood the use of member awards system, but should i see awards when posting???

I know with some other mods I've had to edit the index.template.php etc.... do i have to do the same here?

Please help - thx

iGate

if any of u are familiar with tinyportal. i would like to create a php article with a script that does the following:

Medal 1 (Name & Image)    |   Medal Description    |     Names of those who have it
Medal 2 (Name & Image)    |   Medal Description    |     Names of those who have it
Medal 2 (Name & Image)    |   Medal Description    |     Names of those who have it

etc etc how can i go about doing this?

jabroni pkp

I'm getting the following error when i try to add an award...

Unknown column 'timeAdded' in 'field list'
File: /home/gatherin/public_html/Sources/ManageAwards.php
Line: 322


i got the messages about awardname and gamename as in page 27 and added the fields using phpmyadmin.  Just wondering what code i should use to add the time added (is it different or can i use the same again, unsure as its a time field!)

thanks in advance for any help...cant wait to use the mod!

jabroni pkp

Quote from: jabroni pkp on January 20, 2008, 06:44:56 AM
I'm getting the following error when i try to add an award...

Unknown column 'timeAdded' in 'field list'
File: /home/gatherin/public_html/Sources/ManageAwards.php
Line: 322


i got the messages about awardname and gamename as in page 27 and added the fields using phpmyadmin.  Just wondering what code i should use to add the time added (is it different or can i use the same again, unsure as its a time field!)

thanks in advance for any help...cant wait to use the mod!

ok, i got this working but i have a couple of other questions

1) is there a way that members can view all awards?
2) the awards are not visible in the members posts like you have shown above.  Is there something i need to do to get this element working?

I'm using smf 1.1.4 by the way

Advertisement: