[ABD] Medal System MOD for phpBB3

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.
User avatar
Gremlinn
Registered User
Posts: 2133
Joined: Mon Aug 04, 2003 12:13 am
Location: Rochester, NY
Name: Nathan

Re: [Beta] Medal System MOD for phpBB3

Post by Gremlinn » Fri Oct 16, 2009 12:24 pm

F.Gozalo: I think madmartyau has you covered there. As a side note, I have a squad that plays BF2 with the AIX mod. http://www.dfsquad.net/ I am the CO.

User avatar
Gremlinn
Registered User
Posts: 2133
Joined: Mon Aug 04, 2003 12:13 am
Location: Rochester, NY
Name: Nathan

Re: [Beta] Medal System MOD for phpBB3

Post by Gremlinn » Fri Oct 16, 2009 1:09 pm

vert5: Here are some places to set lengths for the number of medals.

open adm/style/acp_medals_new.html
find

Code: Select all

		<dl>
			<dt><label>{L_ACP_NUMBER}:</label><br><span>{L_ACP_NUMBER_EXPLAIN}</span></dt>
			<dd><label><input name="number" type="text" size="2" maxlength="2" value="{NUMBER_VALUE}" /></label></dd>
		</dl>
Change the size and maxlength to a bigger number like 10.

Now update the database:

Code: Select all

alter table phpbb_medals modify number int(10);

ikkeook
Registered User
Posts: 467
Joined: Sun Feb 15, 2004 10:30 pm
Location: holland
Contact:

Re: [Beta] Medal System MOD for phpBB3

Post by ikkeook » Fri Oct 16, 2009 9:35 pm

Gremlinn wrote:There are two ways to do it. You can go to that user's profile and click on Medals Control Panel or you can do it from the Medals page where you will see a Medals Control Panel. The second location will allow you to award the medal to more than one person.
ahh ty for your nice reply foundf it and its working cool
Need help with your board we setup a board for you for free yest contact me

Xtracker!
Registered User
Posts: 522
Joined: Sun Apr 05, 2009 10:36 pm
Location: Area 51

Re: [Beta] Medal System MOD for phpBB3

Post by Xtracker! » Sat Oct 17, 2009 4:20 pm

Does anyone have any cool medals that they can share?
TeenReply.com - Teen Support | Teen Advice | Teen Forums :D :D

User avatar
Bobski2000
Registered User
Posts: 130
Joined: Mon Feb 16, 2009 9:40 pm
Location: UK

Re: [Beta] Medal System MOD for phpBB3

Post by Bobski2000 » Mon Oct 19, 2009 12:10 pm

Having tried to install this mod, ive stumbbled across a problem..

I look at the medals mangement and it seems that the sql has not run?

Any help please...

Here is the error:-

Code: Select all

General Error
SQL ERROR [ mysqli ]

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

SQL

SELECT * FROM MEDALS_TABLE ORDER BY order_id ASC

BACKTRACE


FILE: includes/db/mysqli.php
LINE: 163
CALL: dbal->sql_error()

FILE: includes/acp/acp_medals.php
LINE: 169
CALL: dbal_mysqli->sql_query()

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

FILE: adm/index.php
LINE: 74
CALL: p_master->load_active()
Last edited by Bobski2000 on Mon Oct 19, 2009 12:33 pm, edited 2 times in total.

User avatar
Gremlinn
Registered User
Posts: 2133
Joined: Mon Aug 04, 2003 12:13 am
Location: Rochester, NY
Name: Nathan

Re: [Beta] Medal System MOD for phpBB3

Post by Gremlinn » Mon Oct 19, 2009 12:32 pm

Bobski2000: Looks like you are missing the language files. Verify they are in your default language folder.

User avatar
Bobski2000
Registered User
Posts: 130
Joined: Mon Feb 16, 2009 9:40 pm
Location: UK

Re: [Beta] Medal System MOD for phpBB3

Post by Bobski2000 » Mon Oct 19, 2009 12:34 pm

Hi, sorry.. I found that id not placed them...lol

But now im getting the sql error?

User avatar
madmartyau
Registered User
Posts: 440
Joined: Sun Sep 12, 2004 12:42 pm
Location: Brisbane,Australia
Name: Marty
Contact:

Re: [Beta] Medal System MOD for phpBB3

Post by madmartyau » Mon Oct 19, 2009 12:39 pm

Bobski2000 wrote:Having tried to install this mod, ive stumbbled across a problem..
Im getting to thepoint where it says...

In the "Add Module" drop down box, find "Configuration" under "Medals ACP" and click "Add module"


There is no Configuration..?

http://i611.photobucket.com/albums/tt19 ... 2000/1.jpg
Any ideas what im doing wrong please?
It looks like you might be missing language/en/mods/info_acp_medals_mod.php
The entries are showing up but they're not being translated.
Look for ACP_MEDALS_INDEX underneath you have
ACP_MEDALS_SETTINGS(This should show "Configuration")
and
ACP_MEDALS_TITLE(This should show "Medals Management")

It's possible that you are using US english(en-us) and not British english(en) so the language file wouldn't be getting parsed. If that's the case you need to move your language files to the appropriate folder.
Call me Grumpy.

User avatar
madmartyau
Registered User
Posts: 440
Joined: Sun Sep 12, 2004 12:42 pm
Location: Brisbane,Australia
Name: Marty
Contact:

Re: [Beta] Medal System MOD for phpBB3

Post by madmartyau » Mon Oct 19, 2009 12:40 pm

Bobski2000 wrote:Having tried to install this mod, ive stumbbled across a problem..

I look at the medals mangement and it seems that the sql has not run?

Any help please...

Here is the error:-

Code: Select all

General Error
SQL ERROR [ mysqli ]

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

SQL

SELECT * FROM MEDALS_TABLE ORDER BY order_id ASC

BACKTRACE


FILE: includes/db/mysqli.php
LINE: 163
CALL: dbal->sql_error()

FILE: includes/acp/acp_medals.php
LINE: 169
CALL: dbal_mysqli->sql_query()

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

FILE: adm/index.php
LINE: 74
CALL: p_master->load_active()
Have you done all the edits? There's an edit to includes/constants.php which defines the tables. If they are not done it will appear that the tables are not there.
Call me Grumpy.

User avatar
Bobski2000
Registered User
Posts: 130
Joined: Mon Feb 16, 2009 9:40 pm
Location: UK

Re: [Beta] Medal System MOD for phpBB3

Post by Bobski2000 » Mon Oct 19, 2009 12:58 pm

Thanks for the help...

I did the edits but didnt upload them as i wasn't up to that point.

But now ive uploaded the edits. It looks fine, but when i check my profile... I get this:

Username: Bobski [ Administrate user ] [ { MEDAL_CP } ]

Any ideas?

Edited:

Ive enabled the mod ans that has now gone.

Meph7447
Registered User
Posts: 10
Joined: Wed May 06, 2009 5:32 am
Location: Chicago, Illinois

Re: [Beta] Medal System MOD for phpBB3

Post by Meph7447 » Tue Oct 20, 2009 6:44 am

Gremlinn, let me first say great/excellent mod man! I've used it on a previous forum and it worked like a charm and was easily editable to my cosmetic liking's.

I just have one problem getting this to work on a new forum of mine. It's installed and everything but when navigate to "medals.php" The tables and everything are all squished together.

You can view it here.

http://www.devilsdescendants.xiledesign.net/medals.php

This isn't directly appointed towards Grem, but rather anyone who might be able to help me with my issue.

Thanks,
|Meph|

User avatar
madmartyau
Registered User
Posts: 440
Joined: Sun Sep 12, 2004 12:42 pm
Location: Brisbane,Australia
Name: Marty
Contact:

Re: [Beta] Medal System MOD for phpBB3

Post by madmartyau » Tue Oct 20, 2009 8:26 am

Meph7447 wrote:Gremlinn, let me first say great/excellent mod man! I've used it on a previous forum and it worked like a charm and was easily editable to my cosmetic liking's.

I just have one problem getting this to work on a new forum of mine. It's installed and everything but when navigate to "medals.php" The tables and everything are all squished together.

You can view it here.

http://www.devilsdescendants.xiledesign.net/medals.php

This isn't directly appointed towards Grem, but rather anyone who might be able to help me with my issue.

Thanks,
|Meph|
I've had a look with firebug and I'm buggered if I can figure it out. :?:

Edit:

OK, you've edited the css to have Image show up for a div id of "medals". This is causing your problem. If you change that id in your medals page to medal it will fix it.
Last edited by madmartyau on Tue Oct 20, 2009 10:37 am, edited 1 time in total.
Call me Grumpy.

User avatar
madmartyau
Registered User
Posts: 440
Joined: Sun Sep 12, 2004 12:42 pm
Location: Brisbane,Australia
Name: Marty
Contact:

Re: [Beta] Medal System MOD for phpBB3

Post by madmartyau » Tue Oct 20, 2009 10:36 am

This is what it looks like with the change.
Image

You gotta love web developer for firefox. It's a great plugin for this type of thing.
Call me Grumpy.

User avatar
Gremlinn
Registered User
Posts: 2133
Joined: Mon Aug 04, 2003 12:13 am
Location: Rochester, NY
Name: Nathan

Re: [Beta] Medal System MOD for phpBB3

Post by Gremlinn » Tue Oct 20, 2009 11:46 am

Nice one Mad. Thanks for checking. I can't access it from work :x And, I am going to find that plugin!

Meph7447
Registered User
Posts: 10
Joined: Wed May 06, 2009 5:32 am
Location: Chicago, Illinois

Re: [Beta] Medal System MOD for phpBB3

Post by Meph7447 » Tue Oct 20, 2009 4:49 pm

Lol you know what. I have that mod and it wasnt even on my mind to use it to check since it was so late xD lmfao. I figured it had something to do with that addition I did. Thanks Mad.

https://addons.mozilla.org/en-US/firefox/addon/60
There you go Grem, hope it helps out a little for you :)

Locked

Return to “[3.0.x] Abandoned MODs”