Page 25 of 65

Posted: Mon May 02, 2005 6:12 am
by Kinsman
It doesnt work with Firefox, which is a shame, as most of my users use that browser. :cry:

Ive been looking at the toggle code to display it, but im not smart enough to figure out why firefox doesnt like it. :oops:

Anybody else had any luck?

Posted: Tue May 03, 2005 11:25 am
by Gremlinn
I was going to try to use the Topic Calendar's toggle script to see if it would work. One of my members noticed the same thing. I use Avant which is a wrapper for the IE engine and therefor doesn't have a problem with it.

I will let you know if this works (unless someone else beats me with this test and posts their results).

Posted: Tue May 03, 2005 11:31 am
by Kinsman
Thanks mate, your a champ! :D

Posted: Fri May 06, 2005 11:47 am
by BrooklynFUNK
Does Medal Mod work with the latest 2.0.14 version of phpBB?

I'm sure I've installed Medal Mod correctly (I did it three times on moded and on clean phpBB installation), but there's no Medal Admin options in administrator control panel.

There is 'Medals' options on index page, but nothing related to Medal displays in ACP.

And one more thing: Did anyone notice spelling mistake in one of the SQL commands during instalation?

#
#-----[ ADD SQL ]------------------------------------------
#
# Remember to change the table prefix used on your database
INSERT INTO `phpbb_config` VALUES ('allow_medal_dispaly', '0');

It says: 'dispaly' instead of 'display'.

Posted: Fri May 06, 2005 12:07 pm
by Kinsman
yep change it. and theres spelling errors in the install too.

you can see it working on 2.0.1.4 here, as long as you dont ude firfox!

www.junglewraiths.net

Also, i installed a quick reply mod today, and the java toggle button for it works fine in firefox, as does the calendar one, so this should be fixable somehow! :P

Problem

Posted: Fri May 06, 2005 11:59 pm
by pharaohseti
Hi i installed your mod, but after installation the topics slipped down for the numbers of replies to messages. For example if the message has 14 replies, the first 14 lines are spaces, then the message starts.

I searched but i couldn't find where to change in the code.

I took a screen shot and sent you. Thanks for your help.

Image

I am waiting for your replies.
Bye.

Posted: Sat May 07, 2005 1:04 am
by Kinsman
its a simple error in the code you added for the viewtopic.tpl

i cant remember exactly, but the answer is in these pages somewhere. :P

Posted: Sat May 07, 2005 1:10 am
by pharaohseti
thanx.
i made a step by step roll-back and solved problem.
the solution is as you said i that page.

bye

Posted: Sun May 08, 2005 6:59 pm
by BrooklynFUNK
Kinsman wrote: you can see it working on 2.0.1.4 here, as long as you dont ude firfox!
www.junglewraiths.net


If it works on 2.0.14, wth am I dong wrong??? I don't use firefox.

I don't get 'Medal Admin' options in my ACP, can anyone help???

Posted: Tue May 17, 2005 2:44 pm
by Gremlinn
Try this to get the toggle to work with firefox.

Code: Select all

############################################################## 
## MOD Title:	Medals with PCP toggle.js
## MOD Author:	DragonFire < [email protected] > (Gen.DF-DFS) http://www.dfsquad.net/
## MOD Description:
##		This mod changes the Display Medals button to use the toggle_display.js that
##              comes with topic_calendar by Ptirhiik < [email protected] > (Pierre) http://rpgnet.clanmckeen.com
##              The toggle_display.js for topic_calendar works with Firefox web browsers.
##
## MOD Version: 1.0.0
## 
## Installation Level:	Easy
## Installation Time:	~5 Minutes
## Files To Edit:
##		profilcp/profilcp_medals.php
##		templates/subSilver/profilcp/profil_medals_body.tpl
##
## Included Files: n/a
##
############################################################## 
## For Security Purposes, Please Check: http://www.phpbb.com/mods/ for the 
## latest version of this MOD. Downloading this MOD from other sites could cause malicious code 
## to enter into your phpBB Forum. As such, phpBB will not offer support for MOD's not offered 
## in our MOD-Database, located at: http://www.phpbb.com/mods/ 
############################################################## 
## Author Notes: 
##
##		You will need to get the toggle_display.js file from the Topic Calendar Mod
##		and put it in the includes file.  If you don't already have it that is.
##	
## 
############################################################## 
## MOD History: 
## 
##   2005-05-17 - Version 1.0.0
##      - first public release
## 
############################################################## 
## Before Adding This MOD To Your Forum, You Should Back Up All Files Related To This MOD 
##############################################################
#
#-----[ OPEN ]------------------------------------------------
#
profilcp/profilcp_medals.php
#
#-----[ FIND ]------------------------------------------------
#
                        'MEDAL_BUTTON' => '<button onclick="ToggleBox(\'toggle_medal\')">'.$lang['Medal_details'].'</button>')
#
#-----[ BEFORE, ADD ]------------------------------------------
#
                        /*
#
#-----[ AFTER, ADD ]------------------------------------------
#
                        */
                        'MEDAL_BUTTON' => '<button onclick="hdr_toggle(\'toggle_medal\',\'medal_open_close\')">'.$lang['Medal_details'].'</button>')
#
#-----[ OPEN ]------------------------------------------------
#
templates/subSilver/profilcp/profil_medals_body.tpl
#
#-----[ FIND ]------------------------------------------------
#
<script language="Javascript" type="text/javascript" src="templates/toggle.js"></script>
#
#-----[ BEFORE, ADD ]------------------------------------------
#
                        <!--
#
#-----[ AFTER, ADD ]------------------------------------------
#
                        -->
<script language="Javascript" type="text/javascript" src="includes/toggle_display.js"></script>
#
#-----[ SAVE/CLOSE ALL FILES ]--------------------------------
#
# EoM
FYI: The code block wraps some lines.

Posted: Wed May 18, 2005 3:34 am
by Kinsman
Thankyou very much, works great! :D

Posted: Wed May 18, 2005 11:39 am
by Gremlinn
NP

Unfortunately, it doesn't do the scrolling action. I kinda liked that.

Posted: Sun May 22, 2005 5:58 pm
by BrooklynFUNK
Am I stupid or what ? Were's the 'profilcp/profilcp_medals.php' file???

Posted: Sun May 22, 2005 8:24 pm
by Kinsman
haha, no, your not stupid, you obviously dont have the profile control panel mod, i have no time now (late for work), but ill come back and tell you which files you need. :D

Posted: Sun May 22, 2005 9:17 pm
by Kinsman
ok, the first one is includes/usercp_viewprofile.php , and the second one is
templates/YOUR TEMPLATE/profile_view_body.tpl.

These are the two files responsible for viewing your profile, so just make the changes there, and voila, firefox will work! :D