[ABD] Medal System MOD 0.21.0

Any abandoned MODs will be moved to this forum.

WARNING: MODs in this forum are not currently being supported or maintained by the original MOD author. Proceed at your own risk.
Forum rules
IMPORTANT: MOD Development Forum rules

WARNING: MODs in this forum are not currently being supported nor updated by the original MOD author. Proceed at your own risk.
NaGeL182
Registered User
Posts: 32
Joined: Sat Oct 23, 2010 5:05 pm

Re: [BETA] Medal System MOD 0.21.0

Post by NaGeL182 »

Okay...
I added auto awarding Based on post count, but so far its only works once per medal, so no devices, yet. need to work on that. Also it uses the Admin account(id= 2) to award them.
Should i put an option there to set who is sending it,
Also.. is it just me or there isn't any remove button for the medals, even thought the code is in there and works fabulously?
Jessica wrote:maybe make the medal count in posts (in the mini profile) clickable? so it can direct someone to the list of medals someone has (links to profile, maybe)
so basically linking to the member's page?
vipaka wrote:Optional automated specific default medals for certain forum features like posting, answering polls...etc
Optional UCP controls for displaying medals in profile/posts (not just ACP)
So.. automated medal awarding when the user casts a vote?
And under Optional UCP controls, what kind of controls you mean? there is a setting to display medals o n the topic user info block.
Nuker_Viper
Registered User
Posts: 4
Joined: Tue Apr 10, 2012 3:26 pm

Re: [BETA] Medal System MOD 0.21.0

Post by Nuker_Viper »

You dont have the necessary permissions to access this page

everytime i click on the link in the "medals control panel" in the award section of the medals.php page i get this and it logs me out.

Yet
Trace for: Nuker_Viper / Can award medals to users




Who
Setting
Total
Information

Default
No
No
By default every permission is NO (unset). So the permission can be overwritten by other settings.

Administrators
Yes
Yes
This group’s permission is set to YES which becomes the new total value because it wasn’t set yet (set to NO).

Global moderators
No
Yes
The permission is NO for this group so the old total value is kept.

Registered users
No
Yes
The permission is NO for this group so the old total value is kept.

Nuker_Viper
Yes
Yes
The user’s permission is set to YES and the total value is set to YES, so nothing is changed.

Trace result
Yes
Resulting permission
NaGeL182
Registered User
Posts: 32
Joined: Sat Oct 23, 2010 5:05 pm

Re: [BETA] Medal System MOD 0.21.0

Post by NaGeL182 »

Strange..
Do you other mods installed?
maybe that does something to the authentication?

or if you can enable debug, and see if you get any error.
vipaka
Registered User
Posts: 492
Joined: Sun Aug 28, 2011 7:25 pm
Contact:

Re: [BETA] Medal System MOD 0.21.0

Post by vipaka »

NaGeL182 wrote:Okay...
I added auto awarding Based on post count, but so far its only works once per medal, so no devices, yet. need to work on that. Also it uses the Admin account(id= 2) to award them.
Should i put an option there to set who is sending it,
Also.. is it just me or there isn't any remove button for the medals, even thought the code is in there and works fabulously?
Jessica wrote:maybe make the medal count in posts (in the mini profile) clickable? so it can direct someone to the list of medals someone has (links to profile, maybe)
so basically linking to the member's page?
vipaka wrote:Optional automated specific default medals for certain forum features like posting, answering polls...etc
Optional UCP controls for displaying medals in profile/posts (not just ACP)
So.. automated medal awarding when the user casts a vote?
And under Optional UCP controls, what kind of controls you mean? there is a setting to display medals o n the topic user info block.
There are acp controls for displaying medals, but no UCP ones.
UCP controls like, "display medals next to posts", "display medals on profile" would be nice to have.
And for the automated voting medals, I was thinking something like, an automatic medal for answering one poll, 50 polls etc (although I don't know if there are table values for the total number of polls answers).
Curious about my work? See it for yourself.
Image
NaGeL182
Registered User
Posts: 32
Joined: Sat Oct 23, 2010 5:05 pm

Re: [BETA] Medal System MOD 0.21.0

Post by NaGeL182 »

If you mean the "display medals on profile" to mean "display medals on memberspage" than sure, but if not the two things means the same.
but yeah doable.

Also. about the vote there is no table that keeps tabs on how much did a user vote, but with the poll votes table i could count it and use it that, so yeah
doable again.

okay i think i do all these, and release a version.
Lutten
Registered User
Posts: 24
Joined: Wed May 09, 2012 1:51 pm
Location: India
Name: iRockstar Stark
Contact:

Re: [BETA] Medal System MOD 0.21.0

Post by Lutten »

Hi. I just installed this on my 3.0.10 board with the Business Board theme. My problem is that the Medals don't show up in profile or posts. I did the changes on Buziness board mentioned for editing prosilver but IDK what is the problem. Help please.

EDIT: Fixed it. Thanks for this wonderful mod.

My Forum: http://rockstarboards.byethost7.com/

How can I add a button for the Medals?
NaGeL182
Registered User
Posts: 32
Joined: Sat Oct 23, 2010 5:05 pm

Re: [BETA] Medal System MOD 0.21.0

Post by NaGeL182 »

Sorry guys for not writing anything, just IRL Hit me hard the past two weeks(deaths around me...)
and legal drama on my forum...

i didn't do anything to the code but hopefully i can in the next few days.

@lutten:

just add this line to the overal_header.html

Find:

Code: Select all

				<li class="icon-faq"><a href="{U_FAQ}" title="{L_FAQ_EXPLAIN}">{L_FAQ}</a></li>
Add-After:

Code: Select all

				<!-- IF U_MEDALS and S_USER_LOGGED_IN and not S_IS_BOT --><li class="icon-medal"><a href="{U_MEDALS}" title="{L_MEDALS_VIEW_EXPLAIN}">{L_MEDALS_VIEW}</a></li>
that should do it.
If you want to add it somewhere else, you need t customize that code.
User avatar
Jessica
Former Team Member
Posts: 4342
Joined: Sun Jul 18, 2010 2:53 pm
Location: Pennsylvania, USA
Name: Jessica
Contact:

Re: [BETA] Medal System MOD 0.21.0

Post by Jessica »

NaGeL182 wrote:so basically linking to the member's page?
Yeah
Pro-choice, Atheist, Pro-LGBT rights
Everybody is a genius. But if you judge a fish by its ability to climb a tree, it will live its whole life believing that it is stupid. - Albert Einstein
Lutten
Registered User
Posts: 24
Joined: Wed May 09, 2012 1:51 pm
Location: India
Name: iRockstar Stark
Contact:

Re: [BETA] Medal System MOD 0.21.0

Post by Lutten »

NaGeL182 wrote:Sorry guys for not writing anything, just IRL Hit me hard the past two weeks(deaths around me...)
and legal drama on my forum...

i didn't do anything to the code but hopefully i can in the next few days.

@lutten:

just add this line to the overal_header.html

Find:

Code: Select all

				<li class="icon-faq"><a href="{U_FAQ}" title="{L_FAQ_EXPLAIN}">{L_FAQ}</a></li>
Add-After:

Code: Select all

				<!-- IF U_MEDALS and S_USER_LOGGED_IN and not S_IS_BOT --><li class="icon-medal"><a href="{U_MEDALS}" title="{L_MEDALS_VIEW_EXPLAIN}">{L_MEDALS_VIEW}</a></li>
that should do it.
If you want to add it somewhere else, you need t customize that code.
How to add an image to this button, I mean where to put?
NaGeL182
Registered User
Posts: 32
Joined: Sat Oct 23, 2010 5:05 pm

Re: [BETA] Medal System MOD 0.21.0

Post by NaGeL182 »

inside the <a> tag if you want it to be the link, or before it if you want to be a small icon.
SwT-CarbonzZ
Registered User
Posts: 575
Joined: Tue Oct 12, 2010 7:17 am

Re: [BETA] Medal System MOD 0.21.0

Post by SwT-CarbonzZ »

EDIT: i see now its from oddfish , nice to see its keep developping.
User avatar
Greyhound76
Registered User
Posts: 69
Joined: Sun Nov 30, 2008 6:56 pm
Location: Germany
Contact:

Re: [BETA] Medal System MOD 0.21.0

Post by Greyhound76 »

Hello,

when i go to medal managment, then comes ...

Code: Select all

Allgemeiner Fehler
SQL ERROR [ mysqli ]

Table 'xxxxxxxx.MEDALS_TABLE' doesn't exist [1146]

SQL

SELECT * FROM MEDALS_TABLE ORDER BY order_id ASC

BACKTRACE

FILE: [ROOT]/includes/db/mysqli.php
LINE: 182
CALL: dbal->sql_error()

FILE: [ROOT]/includes/acp/acp_medals.php
LINE: 155
CALL: dbal_mysqli->sql_query()

FILE: [ROOT]/includes/functions_module.php
LINE: 507
CALL: acp_medals->main()

FILE: [ROOT]/adm/index.php
LINE: 74
CALL: p_master->load_active()
NaGeL182
Registered User
Posts: 32
Joined: Sat Oct 23, 2010 5:05 pm

Re: [BETA] Medal System MOD 0.21.0

Post by NaGeL182 »

Did you do the the uml install?

also sorry guys for no update but I got a job in web development and got a few project showed on to me.
User avatar
Greyhound76
Registered User
Posts: 69
Joined: Sun Nov 30, 2008 6:56 pm
Location: Germany
Contact:

Re: [BETA] Medal System MOD 0.21.0

Post by Greyhound76 »

Yes, Umil was installed
User avatar
Jessica
Former Team Member
Posts: 4342
Joined: Sun Jul 18, 2010 2:53 pm
Location: Pennsylvania, USA
Name: Jessica
Contact:

Re: [BETA] Medal System MOD 0.21.0

Post by Jessica »

Greyhound76 wrote:Yes, Umil was installed
did you run the installer?
Pro-choice, Atheist, Pro-LGBT rights
Everybody is a genius. But if you judge a fish by its ability to climb a tree, it will live its whole life believing that it is stupid. - Albert Einstein
Locked

Return to “[3.0.x] Abandoned MODs”