Page 1 of 1

Medal & Awards mod Update (Solved)

PostPosted: Wed Apr 09, 2008 9:36 am
Author: krillmeed
Your phpBB Version: 2.0.
phpBB Type: Integramod 141
MODs: Yes
Your knowledge: Basic Knowledge
Board URL: http://krillmeed.com/forum/index.php

PHP Version: 5.2.3 (cgi-fcgi)
MySQL Version: 5.0.41-community-log


What was done before the problem appeared?
Installed the Medals award


What was done to try to solve the problem?
Everything humanly possible



De.scription and Message

dragonsys was kind enough to send me his files he did for this mod for the previous 1.40 version. I have installed it on my 1.41 version forum, and it went in perfectly, also i found it put very little strain on the database.
But it does have a BIG problem, to add new medal catagories or add a new medal, the ctracker stops it. I have of course done the debug like i have with all the other parts of the forum, and did as it said:
[php]
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Script-Filename: /forum/admin/admin_medal.php
----------------

Request-Method: POST

Matching rule: create
In variable: addmedal

Possible solution:
------------------

#
#-----[ OPEN ]------------------------------------------
#
/forum/admin/admin_medal.php

#
#-----[ FIND ]------------------------------------------
#
define('IN_PHPBB', 1);

#
#-----[ AFTER, ADD ]------------------------------------------
#
define('CT_SECLEVEL', 'MEDIUM');
$ct_ignorepvar = array('addmedal');

#
#-----[ SAVE/CLOSE ALL FILES ]------------------------------------------
#
# EoM

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Script-Filename: /forum/admin/admin_medal.php
----------------

Request-Method: POST

Matching rule: or
In variable: medal_de.scription

Possible solution:
------------------

#
#-----[ OPEN ]------------------------------------------
#
/forum/admin/admin_medal.php

#
#-----[ FIND ]------------------------------------------
#
define('IN_PHPBB', 1);

#
#-----[ AFTER, ADD ]------------------------------------------
#
define('CT_SECLEVEL', 'MEDIUM');
$ct_ignorepvar = array('medal_de.scription');

#
#-----[ SAVE/CLOSE ALL FILES ]------------------------------------------
#
# EoM
It still is popping up, i seem to be allowed to add on, then i need to put both of them in again with the ones already there, eventually i have a page full of these.

It took me 2 hours just to add 3 medals to the forum yesterday. :oops:

Re: Medal & Awards mod Update

PostPosted: Sun Apr 13, 2008 10:29 pm
Author: DjPorkchop
you only have to do that edit once. for example,

Code: Select all
#-----[ OPEN ]------------------------------------------ # /forum/admin/admin_medal.php  # #-----[ FIND ]------------------------------------------ # define('IN_PHPBB', 1);  # #-----[ AFTER, ADD ]------------------------------------------ # define('CT_SECLEVEL', 'MEDIUM'); $ct_ignorepvar = array('addmedal');  # #-----[ SAVE/CLOSE ALL FILES ]------------------------------------------ #  


on the 2nd one when it wants you to do that edit again, you dont ahve to keep doing those, just add this part in

, 'medal_de.scription'

so it would then look like

Code: Select all
define('CT_SECLEVEL', 'MEDIUM'); $ct_ignorepvar = array('addmedal', 'medal_de.scription');


(remove the . from that statement de.scription . Cracker tracker automatically ads that period for security reasons to posts)

And if all else fails, you can allways set the MEDIUM to LOW and see if that works.

PostPosted: Mon Apr 14, 2008 1:51 am
Author: krillmeed
This worked perfectly, sometimes the simpliest solution is the one that escapes me. If those of you with upload access to the download section here can pm me, i can send back a pm with a download link to this mod, so it can be used now by others. Works pefectly on 1.41 versions

Re: Medal & Awards mod Update (Solved)

PostPosted: Sat Jun 07, 2008 10:21 am
Author: DjPorkchop
I got a question and maybe someone can answer me.....Hopefully.

I run a IM Portal board setup with rabbitoshi and ADR and a but load of extras for it. This particular mod is one of them. I know of another board where if a user vsits and posts in a particular forum, they are awarded a medal automatically. <img>

How would one go about this? I asked the guy who owns the site to atleast point me in the right direction but he wont do it. Does anyone have any idea how this might work?

Re: Medal & Awards mod Update (Solved)

PostPosted: Mon Jun 09, 2008 12:11 am
Author: anth0ny
[quote=""MWE_001";p="33336""]I got a question and maybe someone can answer me.....Hopefully.

I run a IM Portal board setup with rabbitoshi and ADR and a but load of extras for it. This particular mod is one of them. I know of another board where if a user vsits and posts in a particular forum, they are awarded a medal automatically. :)

Re: Medal & Awards mod Update (Solved)

PostPosted: Mon Jun 09, 2008 12:34 pm
Author: DjPorkchop
Im looking into this. I have another mod that will gve out items automatically upon doing certain things on a forum. Maybe I can rough something together to figure it out. Maybe not.

In the mean time, if anyone has any clue wat all, help us out please. <img>