[BETA] Medal System MOD [ Latest: 0.4.6 ]

A place for MOD Authors to post and receive feedback on MODs still in development. No MODs within this forum should be used within a live environment! No new topics are allowed in this forum.
Forum rules
READ: phpBB.com Board-Wide Rules and Regulations

IMPORTANT: MOD Development Forum rules

On February 1, 2009 this forum will be set to read only as part of retiring of phpBB2.
Scali
Registered User
Posts: 51
Joined: Wed Dec 01, 2004 8:54 pm
Location: http://www.monloup.net
Contact:

Post by Scali »

Gremlinn :arrow: I've trying to do nothing, i haven't the knowledge about phpbb boards. You don't see where is the problem ?
User avatar
Gremlinn
Registered User
Posts: 2133
Joined: Mon Aug 04, 2003 12:13 am
Location: Rochester, NY
Name: Nathan

Post by Gremlinn »

:arrow: Scali: It looks like you probably missed something in the profile.php You should have a display of medals (small images) next to the medals - 1 button (which doesn't look like it is a button). When you click on the "Medals 1" it should drop down and display all the medals for that user with a long description.
FLUXARN
Registered User
Posts: 6
Joined: Tue Sep 14, 2004 11:15 pm

Post by FLUXARN »

I installed the mod using EasyMod. Everything works great except one thing. When you press the "Award Deatils"-button as you view others profiles there is a problem. It should show information about the awards, but I just get an error.

http://www.samlastarwars.nu/forum/profi ... ofile&u=65

In what php-page can I find the problem?? Can someone PLEASE help...

Thanks-
OTmaster
I've Been Banned!
Posts: 465
Joined: Wed Feb 18, 2004 5:54 pm

Post by OTmaster »

the awards detail thing isnt working with mozilla. i havnt tried firefox though.
FLUXARN
Registered User
Posts: 6
Joined: Tue Sep 14, 2004 11:15 pm

Post by FLUXARN »

I don't use Mozilla. I use Internet Explorer 6.0.

In what php-page is it I can start looking for a problem? I am not a pro in the php-codes and when I install mods manually I just do as the installfile tell me. It would be great if you guys could tell me in what page the problem might be and what the correct code should be (and where).

Excuse the poor english...

EDIT: I have seen forums where the award details are always visible. So you dont need the button, if you know what I mean. How do I do that?
User avatar
Gremlinn
Registered User
Posts: 2133
Joined: Mon Aug 04, 2003 12:13 am
Location: Rochester, NY
Name: Nathan

Post by Gremlinn »

:arrow: FLUXARN: I just clicked on your link and it looks great with no errors. However, if you want to always have it show, edit the template profile_view_body.tpl

Find:
<div style="width: 100%; overflow: hidden; display: none;" id="toggle_medal">

Replace with:
<div style="width: 100%; display: none;" id="toggle_medal">
FLUXARN
Registered User
Posts: 6
Joined: Tue Sep 14, 2004 11:15 pm

Post by FLUXARN »

Gremlinn: I just got it to work. EasyMod missed to add one file when installed the mod. Now it works just fine!

One thing though... I wanted to fix the weirdly spelled "deatils" and edited the language-file. When I have done that, some errors appeared on top of the forum. Exactly HOW to I fix the spelling on the button?
Ice Dead
Registered User
Posts: 5
Joined: Sun Jan 16, 2005 10:48 am

Post by Ice Dead »

Hello Gremlinn,

Thanks for your Last Anser but I have anather Problem

i have used this MOD and it works great.Now i want,that all registred users add and delete his Live Games ( Medals) by himself not for the other. can help me plz
also its a good idea for a new MOD

Thx Ice Dead

see at
http://www.icedead.iphpbb.de/medals.php

http://www.icedead.iphpbb.de/profile.ph ... ofile&u=25
User avatar
Gremlinn
Registered User
Posts: 2133
Joined: Mon Aug 04, 2003 12:13 am
Location: Rochester, NY
Name: Nathan

Post by Gremlinn »

:arrow: FLUXARN: I didn't even notice the miss spelled button. I edited the language/lang_english/lang_main.php, found the Award Deatils and changed it. That is all. If you started getting errors, double check you didn't remove a " or a ;


:arrow: Ice Dead: To get it so that a user can add and delete their own medals, would require a bit of work. It is up to ycl6 if he would like to add that feature to his mod.
FLUXARN
Registered User
Posts: 6
Joined: Tue Sep 14, 2004 11:15 pm

Post by FLUXARN »

When i change the DEATILS-thing, I get the following errors:

Warning: Cannot modify header information - headers already sent by (output started at /home/samla/public_html/forum/language/lang_english/lang_main.php:1118) in /home/samla/public_html/forum/includes/page_header.php on line 499

Warning: Cannot modify header information - headers already sent by (output started at /home/samla/public_html/forum/language/lang_english/lang_main.php:1118) in /home/samla/public_html/forum/includes/page_header.php on line 501

Warning: Cannot modify header information - headers already sent by (output started at /home/samla/public_html/forum/language/lang_english/lang_main.php:1118) in /home/samla/public_html/forum/includes/page_header.php on line 502


I don't get it. It's just a name on a button. I should be able to name it JADAJADA and it should work... Any ideas?
FLUXARN
Registered User
Posts: 6
Joined: Tue Sep 14, 2004 11:15 pm

Post by FLUXARN »

These are the lines in the page_header.php....

Code: Select all

	'U_MEDALS' => append_sid('medals.'.$phpEx),	// Medal MOD
	'I_MEDALS' => '<img src="' . $images['Medals'] . '" width="12" height="13" border="0" alt="' . $lang['Medals'] . '" hspace="3" />',	// Medal MOD
The error appears every time I try to edit the lang-file. I'd like to translate it to Swedish... :? Any ideas?
User avatar
Gremlinn
Registered User
Posts: 2133
Joined: Mon Aug 04, 2003 12:13 am
Location: Rochester, NY
Name: Nathan

Post by Gremlinn »

:arrow: FLUXARN: What does the line in the language file look like? And one line up and down from that one?
Ice Dead
Registered User
Posts: 5
Joined: Sun Jan 16, 2005 10:48 am

Post by Ice Dead »

:arrow: FLUXARN

this is my Line in the page_header

Code: Select all

	'U_LOGIN_LOGOUT' => append_sid($u_login_logout),
	'U_GROUP_CP' => append_sid('groupcp.'.$phpEx),
	'U_MEDALS' => append_sid('medals.'.$phpEx),	// Medal MOD
	'I_MEDALS' => '<img src="' . $images['Medals'] . '" width="12" height="13" border="0" alt="' . $lang['Medals'] . '" hspace="3" />',	// Medal MOD
      'U_ImpressumMOD1' => append_sid('impressum.'.$phpEx),
	'U_STAFF' => append_sid('staff.'.$phpEx),
	'L_STAFF' => $lang['Staff'],
SuperFedya
Registered User
Posts: 252
Joined: Sun Jul 14, 2002 9:14 pm
Contact:

Post by SuperFedya »

Award Deatils not work whit Firefox :(
Image
Post Reply

Return to “[2.0.x] MODs in Development”