Medal & Awards mod Update (Solved)

Support for IntegraMOD 141

Moderator: Integra Moderator

Medal & Awards mod Update (Solved)

PostAuthor: krillmeed » Wed Apr 09, 2008 9:36 am

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:
Last edited by krillmeed on Mon Apr 14, 2008 1:51 am, edited 1 time in total.

krillmeed
Sr Integra Member
Sr Integra Member
 
Posts: 301
Likes: 0 post
Liked in: 0 post
Joined: Sat May 27, 2006 1:34 am
Cash on hand: 0.00

Re: Medal & Awards mod Update

PostAuthor: DjPorkchop » Sun Apr 13, 2008 10:29 pm

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.
Last edited by DjPorkchop on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
"Don't gain the world and lose your soul, wisdom is better than silver and gold" -Bob Marley

If you build it, I can break it! ~ Whispered in the tone of the movie Field of Dreams.
User avatar
DjPorkchop
Administrator
Administrator
 
Posts: 1593
Likes: 136 posts
Liked in: 26 posts
Images: 12
Joined: Fri Apr 21, 2006 7:59 pm
Cash on hand: 1,575.25
Location: Illinois
IntegraMOD version: phpBB2x

PostAuthor: krillmeed » Mon Apr 14, 2008 1:51 am

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
Last edited by krillmeed on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.

krillmeed
Sr Integra Member
Sr Integra Member
 
Posts: 301
Likes: 0 post
Liked in: 0 post
Joined: Sat May 27, 2006 1:34 am
Cash on hand: 0.00

Re: Medal & Awards mod Update (Solved)

PostAuthor: DjPorkchop » Sat Jun 07, 2008 10:21 am

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?
Last edited by DjPorkchop on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
"Don't gain the world and lose your soul, wisdom is better than silver and gold" -Bob Marley

If you build it, I can break it! ~ Whispered in the tone of the movie Field of Dreams.
User avatar
DjPorkchop
Administrator
Administrator
 
Posts: 1593
Likes: 136 posts
Liked in: 26 posts
Images: 12
Joined: Fri Apr 21, 2006 7:59 pm
Cash on hand: 1,575.25
Location: Illinois
IntegraMOD version: phpBB2x

Re: Medal & Awards mod Update (Solved)

PostAuthor: anth0ny » Mon Jun 09, 2008 12:11 am

[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. :)
Last edited by anth0ny on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.

anth0ny
Newbie
Newbie
 
Posts: 14
Likes: 0 post
Liked in: 0 post
Joined: Sun Mar 30, 2008 3:27 am
Cash on hand: 0.00

Re: Medal & Awards mod Update (Solved)

PostAuthor: DjPorkchop » Mon Jun 09, 2008 12:34 pm

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>
Last edited by DjPorkchop on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
"Don't gain the world and lose your soul, wisdom is better than silver and gold" -Bob Marley

If you build it, I can break it! ~ Whispered in the tone of the movie Field of Dreams.
User avatar
DjPorkchop
Administrator
Administrator
 
Posts: 1593
Likes: 136 posts
Liked in: 26 posts
Images: 12
Joined: Fri Apr 21, 2006 7:59 pm
Cash on hand: 1,575.25
Location: Illinois
IntegraMOD version: phpBB2x


Return to IntegraMOD 141

Who is online

Registered users: App360MonitorBot, Bing [Bot], Google [Bot], Majestic-12 [Bot]