[solved] Activity Mod for 141

Mods etc.

Moderator: Integra Moderator

[solved] Activity Mod for 141

PostAuthor: Dioncecht » Fri Dec 01, 2006 1:36 pm

Guess what doesn't work in 141. Is anyone really surprised?

I did a manual install and now I get a login screen and when I hit submit to login, it goes to a white screen. If I try to clear my cookies, it says invalid session, and if I try to register, it tells me that the info I typed doesn't match my Control image, which is BS because it does match..

So I guess my question is, what .php files are loaded between the time you hit submit at the login page and teh next page? If someone could tell me, I could probably figure out where it's dying and maybe get it working with 141.
Last edited by Dioncecht on Tue Dec 05, 2006 4:55 am, edited 1 time in total.
'We keep moving forward, opening new doors, and doing new things, because we're curious and curiosity keeps leading us down new paths.' - Walt Disney

[img=left]http://rpghq.org/banner2.jpg[/img]
[url=http]The RPG Headquarters. The RPG capitol of the net![/url]
User avatar
Dioncecht
Sr Integra Member
Sr Integra Member
 
Posts: 244
Likes: 0 post
Liked in: 0 post
Joined: Sun Apr 09, 2006 5:23 pm
Cash on hand: 0.00

Re: Activity Mod for 141

PostAuthor: Helter » Fri Dec 01, 2006 1:43 pm

and if I try to register, it tells me that the info I typed doesn't match my Control image, which is BS because it does match..


if you try once and get it wrong, refresh the page before you try again, because the numbers/letters change, but the image does not change till you refresh
Last edited by Helter on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
"Success is getting what you want. Happiness is wanting what you get." - Dale Carnegie
User avatar
Helter
Administrator
Administrator
 
Posts: 4554
Likes: 40 posts
Liked in: 116 posts
Images: 0
Joined: Sat Mar 11, 2006 4:46 pm
Cash on hand: 1,959.15
Location: Seattle Wa
IntegraMOD version: phpBB2x

Re: Activity Mod for 141

PostAuthor: found it » Fri Dec 01, 2006 2:27 pm

there is no reason as to why my file edits for the activity mod will not work for 1.4.1 but as soon as it is officially release I will have a look at it....

:mrgreen:
Last edited by found it on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
[url=http]themes.[/url]
http://www.founditforum.com :: [url=http]Joining people together[/url]

[url=http][img=left]http://www.bbful.com/bbful_banner2.png[/img][/url]
User avatar
found it
Dev Team
Dev Team
 
Posts: 792
Likes: 0 post
Liked in: 0 post
Joined: Mon Mar 27, 2006 4:29 am
Cash on hand: 0.00

Re: Activity Mod for 141

PostAuthor: Helter » Fri Dec 01, 2006 4:04 pm

I added it succesfully, but I didnt use the pre-modded files
Last edited by Helter on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
"Success is getting what you want. Happiness is wanting what you get." - Dale Carnegie
User avatar
Helter
Administrator
Administrator
 
Posts: 4554
Likes: 40 posts
Liked in: 116 posts
Images: 0
Joined: Sat Mar 11, 2006 4:46 pm
Cash on hand: 1,959.15
Location: Seattle Wa
IntegraMOD version: phpBB2x

Re: Activity Mod for 141

PostAuthor: Dioncecht » Fri Dec 01, 2006 4:46 pm

I refreshed several times and got the same results. :roll:
Last edited by Dioncecht on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
'We keep moving forward, opening new doors, and doing new things, because we're curious and curiosity keeps leading us down new paths.' - Walt Disney

[img=left]http://rpghq.org/banner2.jpg[/img]
[url=http]The RPG Headquarters. The RPG capitol of the net![/url]
User avatar
Dioncecht
Sr Integra Member
Sr Integra Member
 
Posts: 244
Likes: 0 post
Liked in: 0 post
Joined: Sun Apr 09, 2006 5:23 pm
Cash on hand: 0.00

PostAuthor: Dioncecht » Mon Dec 04, 2006 10:43 am

ok.. I had a vanilla IM 140 install and I used teh premodded files.. completely killed it. Everything is a white page. What did I miss?
Last edited by Dioncecht on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
'We keep moving forward, opening new doors, and doing new things, because we're curious and curiosity keeps leading us down new paths.' - Walt Disney

[img=left]http://rpghq.org/banner2.jpg[/img]
[url=http]The RPG Headquarters. The RPG capitol of the net![/url]
User avatar
Dioncecht
Sr Integra Member
Sr Integra Member
 
Posts: 244
Likes: 0 post
Liked in: 0 post
Joined: Sun Apr 09, 2006 5:23 pm
Cash on hand: 0.00

Re: Activity Mod for 141

PostAuthor: found it » Tue Dec 05, 2006 3:41 am

the premodded files (if you used mine at founditforum.com) are for phpbb version 2.0.20 if your version of integramod is using a different verion of phpbb they will result in errors on your board

to install activity mod to 1.4.0 is to use the file edits only..

I will place a warning at my site so if anyone uses them they know they have to have phpbb 2.0.20

:mrgreen:
Last edited by found it on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
[url=http]themes.[/url]
http://www.founditforum.com :: [url=http]Joining people together[/url]

[url=http][img=left]http://www.bbful.com/bbful_banner2.png[/img][/url]
User avatar
found it
Dev Team
Dev Team
 
Posts: 792
Likes: 0 post
Liked in: 0 post
Joined: Mon Mar 27, 2006 4:29 am
Cash on hand: 0.00

PostAuthor: Dioncecht » Tue Dec 05, 2006 4:55 am

OOPS! hehe. Ok. It was a test install anyways so I didn't really lose anything. Thanks found it


p.s. I tried it again on 1.4.1 and indeed it does work. I missed an edit somewhere the first time through methinks
Last edited by Dioncecht on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
'We keep moving forward, opening new doors, and doing new things, because we're curious and curiosity keeps leading us down new paths.' - Walt Disney

[img=left]http://rpghq.org/banner2.jpg[/img]
[url=http]The RPG Headquarters. The RPG capitol of the net![/url]
User avatar
Dioncecht
Sr Integra Member
Sr Integra Member
 
Posts: 244
Likes: 0 post
Liked in: 0 post
Joined: Sun Apr 09, 2006 5:23 pm
Cash on hand: 0.00

Re: [solved] Activity Mod for 141

PostAuthor: found it » Tue Dec 05, 2006 4:41 pm

nice one
Last edited by found it on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
[url=http]themes.[/url]
http://www.founditforum.com :: [url=http]Joining people together[/url]

[url=http][img=left]http://www.bbful.com/bbful_banner2.png[/img][/url]
User avatar
found it
Dev Team
Dev Team
 
Posts: 792
Likes: 0 post
Liked in: 0 post
Joined: Mon Mar 27, 2006 4:29 am
Cash on hand: 0.00

Re: [solved] Activity Mod for 141

PostAuthor: DjPorkchop » Mon Dec 11, 2006 4:56 pm

So this DOES work on IM 1.4.1 beta? I wanted to try an install for test only I have one set up and it is only a test site.
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: [solved] Activity Mod for 141

PostAuthor: found it » Tue Dec 12, 2006 5:13 am

yes it does work with i.4.1 beta....and should work fine with the 1.4.1 release

:mrgreen:
Last edited by found it on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
[url=http]themes.[/url]
http://www.founditforum.com :: [url=http]Joining people together[/url]

[url=http][img=left]http://www.bbful.com/bbful_banner2.png[/img][/url]
User avatar
found it
Dev Team
Dev Team
 
Posts: 792
Likes: 0 post
Liked in: 0 post
Joined: Mon Mar 27, 2006 4:29 am
Cash on hand: 0.00

PostAuthor: Dioncecht » Tue Dec 12, 2006 5:24 am

Yeah.. use found it's knowledge base install instructions. I couldn't find 2 specific lines in the install instructions that came with it, but found it's worked perfectly for 1.4.1
Last edited by Dioncecht on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
'We keep moving forward, opening new doors, and doing new things, because we're curious and curiosity keeps leading us down new paths.' - Walt Disney

[img=left]http://rpghq.org/banner2.jpg[/img]
[url=http]The RPG Headquarters. The RPG capitol of the net![/url]
User avatar
Dioncecht
Sr Integra Member
Sr Integra Member
 
Posts: 244
Likes: 0 post
Liked in: 0 post
Joined: Sun Apr 09, 2006 5:23 pm
Cash on hand: 0.00

PostAuthor: ayasha » Tue Dec 12, 2006 11:30 am

ok, maybe i missed some edits, but how do you get the trophy king/queen rank to show, and how do you activate the trophy king/queen block?
Last edited by ayasha on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
No one can make you feel inferior without your consent.
~Eleanor Roosevelt

ayasha
Sr Integra Member
Sr Integra Member
 
Posts: 634
Likes: 0 post
Liked in: 0 post
Joined: Tue Mar 28, 2006 6:10 pm
Cash on hand: 0.00

PostAuthor: Dioncecht » Tue Dec 12, 2006 11:40 am

"cleo";p="18345" wrote:ok, maybe i missed some edits, but how do you get the trophy king/queen rank to show, and how do you activate the trophy king/queen block?


It didn't look like I had a Trophy King/Queen until I got a score and won a trophy. You may need to play and get a trophy first...
Last edited by Dioncecht on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
'We keep moving forward, opening new doors, and doing new things, because we're curious and curiosity keeps leading us down new paths.' - Walt Disney

[img=left]http://rpghq.org/banner2.jpg[/img]
[url=http]The RPG Headquarters. The RPG capitol of the net![/url]
User avatar
Dioncecht
Sr Integra Member
Sr Integra Member
 
Posts: 244
Likes: 0 post
Liked in: 0 post
Joined: Sun Apr 09, 2006 5:23 pm
Cash on hand: 0.00

PostAuthor: ayasha » Tue Dec 12, 2006 11:59 am

when i activate the block, it stretches the portal page way out, and i get this in the block

Parse error: parse error in /home/httpd/vhosts/graphicsplayhouse.com/httpdocs/psp/includes/template.php(938) : eval()'d code on line 1

and i have won a trophy, still no rank for it.
Last edited by ayasha on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
No one can make you feel inferior without your consent.
~Eleanor Roosevelt

ayasha
Sr Integra Member
Sr Integra Member
 
Posts: 634
Likes: 0 post
Liked in: 0 post
Joined: Tue Mar 28, 2006 6:10 pm
Cash on hand: 0.00

Re: [solved] Activity Mod for 141

PostAuthor: DjPorkchop » Tue Dec 12, 2006 4:00 pm

Cleo, Check your edits again. I Installed lastnight and it works flawlessly, EXCEPT, Unlike in other version of phpBB, instead getting every single trophy for every game I installed it gave me 29 of them and no matter what I did I couldnt reset trophy count or anything. I had to get into extreme styles and delete cache files and recompile them for everything to reset back to 0. BUT that being said, I was listed as trophy king right from the get go. And everything else works accordingly except the clicking form page 1,2,3 etc at the bottom of the games. I havent added that fix yet.

Example at http://www.mweva.com/boards no reg necessary I have guest game play turned on so everyone can check it out that it does function normally. have a nice day. Ray
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: ayasha » Tue Dec 12, 2006 9:21 pm

ok, was just hoping someone could point me in the direction of the edit that dealt specifically with the trophy rank. i have been through the edits so many times, and everytime i edit for the activity mod, about 4 times i have edited a forum for the activity mod, not just mine, i ask the same question, and no one seems to know which edit specifiaclly deals with the rank, so i will just leave it out.
Last edited by ayasha on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
No one can make you feel inferior without your consent.
~Eleanor Roosevelt

ayasha
Sr Integra Member
Sr Integra Member
 
Posts: 634
Likes: 0 post
Liked in: 0 post
Joined: Tue Mar 28, 2006 6:10 pm
Cash on hand: 0.00

Re: [solved] Activity Mod for 141

PostAuthor: DjPorkchop » Tue Dec 12, 2006 11:35 pm

Im not following what you mean by trophy king/queen block. the only thing I can find that outputs trophy anything is located in

language/lang_english/lang_extend_pcp_addons.php

profilcp/def/def_userfuncs_custom.php

profilcp/def/def_userfuncs_std.php

profilcp/def/def_userfields.php

profilcp/def/def_usermaps.php

those are the only file edits I can find that have anything that I know of to do with trophy output functions. I still cant think of any " Block " though. the only thin i have as an option in my activity mod is do I or do I not want to use trophy king function. if choose yes, you get a nice little trophy king/queen below your name in your forums.

Sry I couldnt be of anymore help. I apologize. I have never had a problem when I followed Foundit's walkthrough. I did have that problem once with the trophy king not showing up and a couple of other issues when following along with the install that comes with the mod itself.
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: [solved] Activity Mod for 141

PostAuthor: ayasha » Wed Dec 13, 2006 6:33 am

here is my profilcp/def/def_userfuncs_std.php

Code: Select all
<?php  /***************************************************************************  *                           def_userfuncs_std.php  *                           ---------------------  *   begin                 : 04/10/2003  *   copyright             : Ptirhiik  *   email                 : Ptirhiik@rpgnet.clanmckeen.com  *  *   version               : 1.0.1 - 30/10/2003  *  ***************************************************************************/  /***************************************************************************  *  *   This program is free software; you can redistribute it and/or modify  *   it under the terms of the GNU General Public License as published by  *   the Free Software Foundation; either version 2 of the License, or  *   (at your option) any later version.  *  *  ***************************************************************************/  if ( !defined('IN_PHPBB') ){     die('Hacking attempt');     exit;}  //-----------------------------------//// user_online output function////-----------------------------------function pcp_output_user_online($field_name, $view_userdata, $map_name=''){     global $board_config, $phpbb_root_path, $phpEx, $lang, $images, $userdata;     global $values_list, $tables_linked, $classes_fields, $user_maps, $user_fields;       $txt = '';     $img = '';     $res = '';     if  ( $view_userdata['user_id'] != ANONYMOUS )     {         // offline         $txt = $lang['Offline'];         $img = '<img>';         if ( !empty($view_userdata[$field_name]) )         {             // hidden             $txt = $lang['Hidden'];             $img = '<img>';               // not hidden set : online             if ($view_userdata['user_allow_viewonline'] == YES)             {                 $txt = $lang['Online'];                 $img = '<img>';             }         }           // result         $res = pcp_output_format($field_name, $txt, $img, $map_name);     }     return $res;}  //-----------------------------------//// user_my_friend output function////-----------------------------------function pcp_output_my_friend($field_name, $view_userdata, $map_name=''){     global $board_config, $phpbb_root_path, $phpEx, $lang, $images, $userdata;     global $values_list, $tables_linked, $classes_fields, $user_maps, $user_fields;       // use user_my_ignore       $txt = '';     $img = '';     $res = '';     if ( ($userdata['user_id'] != $view_userdata['user_id']) && ($view_userdata['user_id'] != ANONYMOUS) && $userdata['session_logged_in'] && ($userdata['user_id'] != ANONYMOUS) )     {         $from = '&from=profil';         $maps = explode('.', $map_name);         if ( empty($maps) )         {             $from = '&from=profil';         }         if ( in_array('viewprofile', $maps) )         {             $from = '&from=profil';         }         else if ( in_array('viewtopic', $maps) )         {             $from = '&from=topic&' . POST_POST_URL . '=' . $view_userdata['post_id'];         }         else if ( in_array('privmsgs', $maps) )         {             $from = '&from=privmsg&' . POST_POST_URL . '=' . $view_userdata['privmsgs_id'];         }         if ( $view_userdata['user_my_friend'] )         {             $temp_url = append_sid("./profile.$phpEx?mode=buddy&sub=friend&b=" . $view_userdata['user_id'] . "&set=remove" . $from);             $title = $lang['Remove_from_friend_list'];             $icon = $images['icon_friend_remove'];             $txt = '<a>' . $title . '</a>';             $img = '<a><img></a>';         }         else if ( !$view_userdata['user_my_ignore'] )         {             $temp_url = append_sid("./profile.$phpEx?mode=buddy&sub=friend&b=" . $view_userdata['user_id'] . "&set=add" . $from);             $title = $lang['Add_to_friend_list'];             $icon = $images['icon_friend_add'];             $txt = '<a>' . $title . '</a>';             $img = '<a><img></a>';         }                 // result         $res = pcp_output_format($field_name, $txt, $img, $map_name);     }     return $res;}  //-----------------------------------//// user_my_friend output function for buddy list////-----------------------------------function pcp_output_my_friend_buddy($field_name, $view_userdata, $map_name=''){     global $board_config, $phpbb_root_path, $phpEx, $lang, $images, $userdata;     global $values_list, $tables_linked, $classes_fields, $user_maps, $user_fields;       // use user_my_visible       $txt = '';     $img = '';     $res = '';     if ( ($userdata['user_id'] != $view_userdata['user_id']) && ($view_userdata['user_id'] != ANONYMOUS) && $userdata['session_logged_in'] && ($userdata['user_id'] != ANONYMOUS) )     {         if ( $view_userdata['user_my_friend'] )         {             $temp_url = append_sid( "./profile.$phpEx?mode=buddy&sub=friend&b=" . $view_userdata['user_id'] . "&set=" . ( $view_userdata['user_my_visible'] ? 'inv' : 'vis') );             $title = $view_userdata['user_my_visible'] ? $lang['Always_visible'] : $lang['Not_always_visible'];             $icon = $view_userdata['user_my_visible'] ? $images['icon_visible'] : $images['icon_not_visible'];             $txt = '<a>' . $title . '</a>';             $img = '<a><img></a>';         }           // result         $res = pcp_output_format($field_name, $txt, $img, $map_name);     }     return $res;}  //-----------------------------------//// user_my_ignore output function////-----------------------------------function pcp_output_my_ignore($field_name, $view_userdata, $map_name=''){     global $board_config, $phpbb_root_path, $phpEx, $lang, $images, $userdata;     global $values_list, $tables_linked, $classes_fields, $user_maps, $user_fields;       // uses user_my_friend       $txt = '';     $img = '';     if ( ($view_userdata['user_id'] != $userdata['user_id']) && ($view_userdata['user_id'] != ANONYMOUS) && $userdata['session_logged_in'] && ($userdata['user_id'] != ANONYMOUS) )     {         $from = '&from=profil';         $maps = explode('.', $map_name);         if ( empty($maps) )         {             $from = '&from=profil';         }         if ( in_array('viewprofile', $maps) )         {             $from = '&from=profil';         }         else if ( in_array('viewtopic', $maps) )         {             $from = '&from=topic&' . POST_POST_URL . '=' . $view_userdata['post_id'];         }         else if ( in_array('privmsgs', $maps) )         {             $from = '&from=privmsg&' . POST_POST_URL . '=' . $view_userdata['privmsgs_id'];         }         if ( $view_userdata['user_my_ignore'] )         {             $temp_url = append_sid("./profile.$phpEx?mode=buddy&sub=ignore&b=" . $view_userdata['user_id'] . "&set=remove" . $from);             $title = $lang['Remove_from_ignore_list'];             $icon = $images['icon_ignore_remove'];             $txt = '<a>' . $title . '</a>';             $img = '<a><img></a>';         }         else if (!is_admin($userdata) && !is_admin($view_userdata) && (get_user_level($userdata) != MOD) && (get_user_level($view_userdata) != MOD) && !$view_userdata['user_my_friend'])         {             $temp_url = append_sid("./profile.$phpEx?mode=buddy&sub=ignore&b=" . $view_userdata['user_id'] . "&set=add" . $from);             $title = $lang['Add_to_ignore_list'];             $icon = $images['icon_ignore_add'];             $txt = '<a>' . $title . '</a>';             $img = '<a><img></a>';         }           // result         $res = pcp_output_format($field_name, $txt, $img, $map_name);     }     return $res;}  //-----------------------------------//// username output function////-----------------------------------function pcp_output_username($field_name, $view_userdata, $map_name=''){     global $board_config, $phpbb_root_path, $phpEx, $lang, $images, $userdata;     global $values_list, $tables_linked, $classes_fields, $user_maps, $user_fields;       $txt = '';     $img = '';     $res = '';       $poster = ($view_userdata['user_id'] != ANONYMOUS) ? $view_userdata[$field_name] : ( (isset($view_userdata['post_username']) && ($view_userdata['post_username'] !='') ) ? $view_userdata['post_username'] : $lang['Guest'] );     $usereffects = explode("ÃÅÂ ¸", $view_userdata['user_effects']);     $userprivs = explode("ÃÅÂ ¸", $view_userdata['user_privs']);     $usercustitle = explode("ÃÅÂ ¸", $view_userdata['user_custitle']);     $userbs = array();     $usercount = count($userprivs);     for ($x = 0; $x < $usercount; $x++) { $temppriv = explode("ÃÅÂ ¾", $userprivs[$x]); $userbs[] = $temppriv[0]; $userbs[] = $temppriv[1]; }     $usercount = count($usereffects);     for ($x = 0; $x < $usercount; $x++) { $temppriv = explode("ÃÅÂ ¾", $usereffects[$x]); $userbs[] = $temppriv[0]; $userbs[] = $temppriv[1]; }     $usercount = count($usercustitle);     for ($x = 0; $x < $usercount; $x++) { $temppriv = explode("ÃÅÂ ¾", $usercustitle[$x]); $userbs[] = $temppriv[0]; $userbs[] = $temppriv[1]; }     $shoparray = explode("ÃÅÂ ¸", $board_config['specialshop']);     $shoparraycount = count ($shoparray);     $shopstatarray = array();     for ($x = 0; $x </font>'.$poster.'</span>';         $poster = $nameeffects;     }     if ((($userbs[24] == on) && ($shopstatarray[24] == on)) || (($userbs[20] == on) && ($shopstatarray[22] == on)) || (($userbs[22] == on) && ($shopstataray[20] = on)) || (($userbs[18] == on) && ($shopstatarray[18] == on))) {         $titleeffects = '</font>'.$poster_rank.'</span>';         $poster_rank = $titleeffects;     }     $username = ($view_userdata['user_id'] != ANONYMOUS) ? $view_userdata[$field_name] : ( (isset($view_userdata['post_username']) && ($view_userdata['post_username'] !='') ) ? $view_userdata['post_username'] : $lang['Guest'] );     $temp_url = append_sid("./profile.$phpEx?mode=viewprofile&" . POST_USERS_URL . '=' . $view_userdata['user_id']);     // txt     $txt = '<span>' . $poster . '</span>';       // img     /* Hide Buttons :: Altered     if ( $view_userdata['user_id'] != ANONYMOUS )*/     if($userdata['user_id'] != ANONYMOUS && $view_userdata['user_id'] != ANONYMOUS ) {         $temp_url = append_sid("./profile.$phpEx?mode=viewprofile&" . POST_USERS_URL . '=' . $view_userdata['user_id']);         $img = '<a><img></a>';     }       // result     $res = pcp_output_format($field_name, $txt, $img, $map_name);     return $res;}//----------------------------------- // // username output function with link on txt // //----------------------------------- function pcp_output_username_linked($field_name, $view_userdata, $map_name='') {     global $board_config, $phpbb_root_path, $phpEx, $lang, $images, $userdata;     global $values_list, $tables_linked, $classes_fields, $user_maps, $user_fields;       $txt = '';     $img = '';     $username = ($view_userdata['user_id'] != ANONYMOUS) ? $view_userdata[$field_name] : ( (isset($view_userdata['post_username']) && ($view_userdata['post_username'] !='') ) ? $view_userdata['post_username'] : $lang['Guest'] );       // txt     /* Hide Buttons :: Altered     if ( $view_userdata['user_id'] != ANONYMOUS )     {         $temp_url = append_sid("./profile.$phpEx?mode=viewprofile&" . POST_USERS_URL . '=' . $view_userdata['user_id']);         $txt = '<a>' . $username . '</a>';         $img = '<a><img></a>';     }     else     {         $txt = '<span>' . $username . '</span>';     }*/     if($userdata['user_id'] == ANONYMOUS || $view_userdata['user_id'] == ANONYMOUS )    {         $txt = '<span>' . $username . '</span>';     } else {         $temp_url = append_sid("./profile.$phpEx?mode=viewprofile&" . POST_USERS_URL . '=' . $view_userdata['user_id']);         $txt = '<a>' . $username . '</a>';         $img = '<a><img></a>';     }     // result     $res = pcp_output_format($field_name, $txt, $img, $map_name);     return $res; }  //-----------------------------------//// user_pm output function////-----------------------------------function pcp_output_user_pm($field_name, $view_userdata, $map_name=''){     global $board_config, $phpbb_root_path, $phpEx, $lang, $images, $userdata;     global $values_list, $tables_linked, $classes_fields, $user_maps, $user_fields;       $txt = '';     $img = '';     $res = '';     if ( !empty($view_userdata[$field_name]) && ($view_userdata['user_id'] != ANONYMOUS) && ($userdata['user_id'] != ANONYMOUS))     {         $temp_url = append_sid("./privmsg.$phpEx?mode=post&" . POST_USERS_URL . '=' . $view_userdata['user_id']);         $txt = '<a>' . $lang['Send_private_message'] . '</a>';         $img = '<a><img></a>';           // result         $res = pcp_output_format($field_name, $txt, $img, $map_name);     }     return $res;}  //-----------------------------------//// user_email output function////-----------------------------------function pcp_output_user_email($field_name, $view_userdata, $map_name=''){     global $board_config, $phpbb_root_path, $phpEx, $lang, $images, $userdata;     global $values_list, $tables_linked, $classes_fields, $user_maps, $user_fields;         // add text for admin view in buddy/memberlist     if ( in_array($map_name, array('PCP.buddy')) && is_admin($userdata))     {         $user_maps[$map_name]['fields'][$field_name]['txt'] = true;         $user_maps[$map_name]['fields'][$field_name]['crlf'] = true;     }       $txt = '';     $img = '';     $res = '';     if ( !empty($view_userdata[$field_name]) && ($view_userdata['user_id'] != ANONYMOUS)  )     {         $temp_url = ( $board_config['board_email_form'] ) ? append_sid("./profile.$phpEx?mode=email&" . POST_USERS_URL . '=' . $view_userdata['user_id']) : 'mailto:' . $view_userdata[$field_name];           $txt_title = ( is_admin($userdata) || $user_maps[$map_name]['fields'][$field_name]['img'] || $board_config['board_email_form'] ) ? $lang['Send_email'] : $view_userdata[$field_name];         $txt_link = ( is_admin($userdata) || ($user_maps[$map_name]['fields'][$field_name]['img'] && !$board_config['board_email_form'] ))? $view_userdata[$field_name] : $lang['Send_email'];         $txt = '<a>' . $txt_link . '</a>';         $txt_title = (is_admin($userdata) || !$board_config['board_email_form']) ? $view_userdata[$field_name] : $lang['Send_email'];         $img = '<a><img></a>';           // result         $res = pcp_output_format($field_name, $txt, $img, $map_name);     }     return $res;}  //-----------------------------------//// user_icq output function////-----------------------------------function pcp_output_icq($field_name, $view_userdata, $map_name=''){     global $board_config, $phpbb_root_path, $phpEx, $lang, $images, $userdata;     global $values_list, $tables_linked, $classes_fields, $user_maps, $user_fields;       $txt = '';     $img = '';     $res = '';     if ( !empty($view_userdata[$field_name]) && ($view_userdata['user_id'] != ANONYMOUS) )     {         $temp_url = 'http://wwp.icq.com/' . $view_userdata[$field_name] . '#pager';         $img = '<a><img></a>';         $txt = '<a>' . $lang['ICQ'] . '</a>';           // result         $res = pcp_output_format($field_name, $txt, $img, $map_name);     }     return $res;}//-----------------------------------//// user_aim output function////-----------------------------------function pcp_output_aim($field_name, $view_userdata, $map_name=''){     global $board_config, $phpbb_root_path, $phpEx, $lang, $images, $userdata;     global $values_list, $tables_linked, $classes_fields, $user_maps, $user_fields;       $txt = '';     $img = '';     $res = '';     if ( !empty($view_userdata[$field_name]) && ($view_userdata['user_id'] != ANONYMOUS) )     {         $temp_url = 'aim:goim?screenname=' . $view_userdata[$field_name] . '&message=Hello+Are+you+there?';         $txt = '<a>' . $lang['AIM'] . '</a>';         $img = '<a><img></a>';           // result         $res = pcp_output_format($field_name, $txt, $img, $map_name);     }     return $res;}  //-----------------------------------//// user_yim output function////-----------------------------------function pcp_output_yim($field_name, $view_userdata, $map_name=''){     global $board_config, $phpbb_root_path, $phpEx, $lang, $images, $userdata;     global $values_list, $tables_linked, $classes_fields, $user_maps, $user_fields;       $txt = '';     $img = '';     $res = '';     if ( !empty($view_userdata[$field_name]) && ($view_userdata['user_id'] != ANONYMOUS) )     {         $temp_url = 'http://edit.yahoo.com/config/send_webmesg?.target=' . $view_userdata[$field_name] . '&.src=pg';         $txt = '<a>' . $lang['YIM'] . '</a>';         $img = '<a><img></a>';           // result         $res = pcp_output_format($field_name, $txt, $img, $map_name);     }     return $res;}  //-----------------------------------//// user_msnm output function////-----------------------------------function pcp_output_msnm($field_name, $view_userdata, $map_name=''){     global $board_config, $phpbb_root_path, $phpEx, $lang, $images, $userdata;     global $values_list, $tables_linked, $classes_fields, $user_maps, $user_fields;       $res = '';     if ( !empty($view_userdata[$field_name]) && ($view_userdata['user_id'] != ANONYMOUS) )     {         $temp_url = (substr($map_name, 0, 6) == 'PHPBB.') ? append_sid("./profile.$phpEx?mode=viewprofile&" . POST_USERS_URL . '=' . $view_userdata['user_id']) : 'mailto:' . $view_userdata[$field_name];         $txt = '<a>' . $lang['MSNM'] . '</a>';         $img = '<a><img></a>';           // result         $res = pcp_output_format($field_name, $txt, $img, $map_name);     }     return $res;}  //-----------------------------------//// user_timezone output function////-----------------------------------function pcp_output_timezone($field_name, $view_userdata, $map_name=''){     global $board_config, $phpbb_root_path, $phpEx, $lang, $images, $userdata;     global $values_list, $tables_linked, $classes_fields, $user_maps, $user_fields;       $txt = '';     $img = '';     $res = '';     if ( $view_userdata['user_id'] != ANONYMOUS )     {         @reset($lang['tz']);         while ( list($offset, $value) = @each($lang['tz']) )         {             if ( $view_userdata[$field_name] == $offset )             {                 $txt = $value . ' (' . create_date($userdata['user_dateformat'], time(), $view_userdata['user_timezone']) . ')';                 $img = '<img>';                 break;             }         }           // result         $res = pcp_output_format($field_name, $txt, $img, $map_name);     }     return $res;}  //-----------------------------------//// user_website output function////-----------------------------------function pcp_output_website($field_name, $view_userdata, $map_name=''){     global $board_config, $phpbb_root_path, $phpEx, $lang, $images, $userdata;     global $values_list, $tables_linked, $classes_fields, $user_maps, $user_fields;       $txt = '';     $img = '';     $res = '';     if ( !empty($view_userdata[$field_name]) && ($view_userdata['user_id'] != ANONYMOUS) )     {         if (strtolower(substr($view_userdata[$field_name],0,7)) != 'http://'){                 $view_userdata[$field_name] = 'http://'.$view_userdata[$field_name];         }         if ( substr($map_name, 0, 4) == 'PCP.' )         {             $link = $view_userdata[$field_name];             $title = $lang['Visit_website'];         }         else         {             $link = $lang['Visit_website'];             $title = $view_userdata[$field_name];         }         $txt = '<a>' . $link . '</a>';         $img = '<a><img></a>';           // result         $res = pcp_output_format($field_name, $txt, $img, $map_name);     }     return $res;}  //-----------------------------------//// user_gender output function////-----------------------------------function pcp_output_gender($field_name, $view_userdata, $map_name=''){     global $board_config, $phpbb_root_path, $phpEx, $lang, $images, $userdata;     global $values_list, $tables_linked, $classes_fields, $user_maps, $user_fields;       $txt = '';     $img = '';     $res = '';     if ( $view_userdata['user_id'] != ANONYMOUS )     {         switch ($view_userdata[$field_name])         {             case 0:                 $txt = $lang['No_gender_specify'];                 $img = '<img>';                 break;             case 1:                 $txt = $lang['Male'];                 $img = '<img>';                 break;          case 2:             $txt = $lang['Female'];             $img = '<img>';             break;       }           // result         $res = pcp_output_format($field_name, $txt, $img, $map_name);     }     return $res;}  //-----------------------------------//// user_age output function////-----------------------------------function pcp_output_age($field_name, $view_userdata, $map_name=''){     global $board_config, $phpbb_root_path, $phpEx, $lang, $images, $userdata;     global $values_list, $tables_linked, $classes_fields, $user_maps, $user_fields;       // use user_birthday     $pm_display = pcp_get_class_check('pm', $view_userdata);       $txt = '';     $img = '';     $res = '';     if ( !empty($view_userdata['user_birthday']) && ($view_userdata['user_id'] != ANONYMOUS) )     {         $temp_url = $pm_display ? append_sid("./privmsg.$phpEx?mode=post&" . POST_USERS_URL . '=' . $view_userdata['user_id']) : '';         $img = ( intval(substr($view_userdata['user_birthday'], 4, 4)) == date('md', cal_date(time(),$board_config['board_timezone'])) ) ? ( $pm_display ? '<a><img></a>' : '<img>') : '';         $txt = date('Y', cal_date(time(),$board_config['board_timezone'])) - intval(substr($view_userdata['user_birthday'], 0, 4));         if ( intval(substr($view_userdata['user_birthday'], 4, 4)) > date('md', cal_date(time(),$board_config['board_timezone'])) )         {             $txt--;         }         if ($txt < 0)         {             $txt = '';             $img = '';         }           // result         $res = pcp_output_format($field_name, $txt, $img, $map_name);     }     return $res;}  //-----------------------------------//// user_rank_title output function////-----------------------------------function pcp_output_rank_title($field_name, $view_userdata, $map_name='') {         global $board_config, $phpbb_root_path, $phpEx, $lang, $images, $userdata;         global $values_list, $tables_linked, $classes_fields, $user_maps, $user_fields, $shopstatarray;           if ( $view_userdata['user_id'] != ANONYMOUS )         {                 $rank = get_user_rank($view_userdata);                   $shoparray = explode("ÃÅÂ ¸", $board_config['specialshop']);                 $shoparraycount = count ($shoparray);                 for ($x = 0; $x < $shoparraycount; $x++)                 {                         $temparray = explode("ÃÅÂ ¾", $shoparray[$x]);                         $shopstatarray[] = $temparray[0];                         $shopstatarray[] = $temparray[1];                 }                 $userprivs = array();                 $usereffects = array();                 $usercustitle = array();                 $userbs = array();                 $userprivs = explode("ÃÅÂ ¸", $view_userdata['user_privs']);                 $usercount = count($userprivs);                 for ($x = 0; $x < $usercount; $x++)                 {                         $temppriv = explode("ÃÅÂ ¾", $userprivs[$x]);                         $userbs[] = $temppriv[0];                         $userbs[] = $temppriv[1];                 }                 $usereffects = explode("ÃÅÂ ¸", $view_userdata['user_effects']);                 $usercount = count($usereffects);                 for ($x = 0; $x < $usercount; $x++)                 {                         $temppriv = explode("ÃÅÂ ¾", $usereffects[$x]);                         $userbs[] = $temppriv[0];                         $userbs[] = $temppriv[1];                 }                 $usercustitle = explode("ÃÅÂ ¸", $view_userdata['user_custitle']);                 $usercount = count($usercustitle);                 for ($x = 0; $x < $usercount; $x++)                 {                         $temppriv = explode("ÃÅÂ ¾", $usercustitle[$x]);                         $userbs[] = $temppriv[0];                         $userbs[] = $temppriv[1];                 }                 if ((($userbs[24] == on) && ($shopstatarray[24] == on)) ||                     (($userbs[20] == on) && ($shopstatarray[22] == on)) ||                     (($userbs[22] == on) && ($shopstatarray[20] = on)) ||                     (($userbs[18] == on) && ($shopstatarray[18] == on)))                 {                         $titleeffects = '</font>'.$rank['rank_title'].'</span>';                         $rank['rank_title'] = $titleeffects;                 }                   if (($shopstatarray[10] == on) && ($userbs[6] != on) && ($rank['rank_title'] != "Site Admin"))                 {                         $rank['rank_title'] = "None";                         $rank['rank_image'] = "";                 }                   $txt = $rank['rank_title'];                 $img = $rank['rank_image'];                                                                                                                       // result                 $res = pcp_output_format($field_name, $txt, $img, $map_name);         }         return $res; }  //-----------------------------------//// user_avatar output function////-----------------------------------function pcp_output_avatar($field_name, $view_userdata, $map_name=''){     global $board_config, $phpbb_root_path, $phpEx, $lang, $images, $userdata;     global $values_list, $tables_linked, $classes_fields, $user_maps, $user_fields;       $txt = '';     $img = '';     $res = '';     if ( !empty($view_userdata[$field_name]) && $userdata['user_viewavatar'] && $view_userdata['user_allowavatar'] && ($view_userdata['user_id'] != ANONYMOUS) )     {         switch ($view_userdata[$field_name . '_type'] )         {             case USER_AVATAR_UPLOAD:                 $img = ( $board_config['allow_avatar_upload'] ) ? '<img>' : '';                 break;             case USER_AVATAR_REMOTE:                 $img = ( $board_config['allow_avatar_remote'] ) ? '<img>' : '';                 break;             case USER_AVATAR_GALLERY:                 $img = ( $board_config['allow_avatar_local'] ) ? '<img>' : '';                 break;       }                   if ( ($img) && ($map_name == 'PHPBB.viewtopic.left') )                 {                         $tmp = append_sid("profile.$phpEx?mode=viewprofile&" . POST_USERS_URL . "=" . $view_userdata['user_id']);                         $img = '<a>'. $img .'</a>';                 }                 $shoparray = explode("ÃÅÂ ¸", $board_config['specialshop']);                 $shoparraycount = count ($shoparray);                 for ($x = 0; $x < $shoparraycount; $x++)                 {                         $temparray = explode("ÃÅÂ ¾", $shoparray[$x]);                         $shopstatarray[] = $temparray[0];                         $shopstatarray[] = $temparray[1];                 }                 $userprivs = array();                 $usereffects = array();                 $usercustitle = array();                 $userbs = array();                 $userprivs = explode("ÃÅÂ ¸", $view_userdata['user_privs']);                 $usercount = count($userprivs);                 for ($x = 0; $x </is> 0)                 {                         $user_sig = str_replace('"', '"', substr(preg_replace('#(>(((?>([^><R>' . $user_sig . '<'), 1, -1));                 }                 $txt = str_replace("n", "n<br>n", $user_sig);                   $shoparray = explode("ÃÅÂ ¸", $board_config['specialshop']);                 $shoparraycount = count ($shoparray);                 for ($x = 0; $x < $shoparraycount; $x++)                 {                         $temparray = explode("ÃÅÂ ¾", $shoparray[$x]);                         $shopstatarray[] = $temparray[0];                         $shopstatarray[] = $temparray[1];                 }                 $userprivs = array();                 $usereffects = array();                 $usercustitle = array();                 $userbs = array();                 $userprivs = explode("ÃÅÂ ¸", $view_userdata['user_privs']);                 $usercount = count($userprivs);                 for ($x = 0; $x </a>sql_query($sql) )             {                 message_die(GENERAL_ERROR, 'Could not get most active topic informations', '', __LINE__, __FILE__, $sql);             }             if ( $row = $db->sql_fetchrow($result) )             {                 // Define censored word matches                 $orig_word = array();                 $replacement_word = array();                 obtain_word_list($orig_word, $replacement_word);                   // get the info                 $most_active_topic_id = $row['topic_id'];                 $most_active_topic_title = ( count($orig_word) ) ? preg_replace($orig_word, $replacement_word, $row['topic_title']) : $row['topic_title'];                 $most_active_topic_posts = $row['posts_count'];                 $most_active_topic_posts_total = $row['topic_posts'];                 $most_active_topic_posts_total_forum = $row['forum_posts'];             }               // display             if ( $most_active_topic_id > -1 )             {                 // topic                 $temp_url = append_sid("./viewtopic.$phpEx?" . POST_TOPIC_URL . "=$most_active_topic_id");                 $txt = '<a>' . $most_active_topic_title . '</a>';                 $txt .= '<br><span>' . sprintf( '[' . $lang['Most_active_topic_stat'] . ']', $most_active_topic_posts, ( ($most_active_topic_posts*100) / $most_active_topic_posts_total ), ( ($most_active_topic_posts*100) / $most_active_topic_posts_total_forum ) ) . '</span>';             }         }         // result         $res = pcp_output_format($field_name, $txt, $img, $map_name);     }     return $res;}  //-----------------------------------//// user_forums_stat output function////-----------------------------------function pcp_output_forums_stat($field_name, $view_userdata, $map_name=''){     global $board_config, $phpbb_root_path, $phpEx, $lang, $images, $userdata;     global $values_list, $tables_linked, $classes_fields, $user_maps, $user_fields;     global $db;       $txt = '';     $img = '';     $res = '';     if ( !empty($view_userdata['user_posts']) && ($view_userdata['user_id'] != ANONYMOUS) )     {         $most_active_forum_id = -1;         $most_active_forum_name = '';         $most_active_forum_posts = 0;         $most_active_forum_posts_total = 0;         $total_posts = get_db_stat('postcount');           $is_auth = auth(AUTH_VIEW, AUTH_LIST_ALL, $userdata);         $forum_ids = array();         while (list($forum_id, $auth) = @each($is_auth) )         {             if ($auth['auth_view']) $forum_ids[] = $forum_id;         }         if ( !empty($forum_ids) )         {             $s_forum_ids = implode(', ', $forum_ids);               // most active forum             $sql = "SELECT t.forum_id, f.forum_name, f.forum_posts, count(p.post_id) AS posts_count                     FROM " . POSTS_TABLE . " p, " . TOPICS_TABLE . " t, " . FORUMS_TABLE . " f                     WHERE p.poster_id = " . $view_userdata['user_id'] . "                         AND t.topic_id = p.topic_id                         AND t.forum_id IN ($s_forum_ids)                         AND f.forum_id = t.forum_id                     GROUP BY t.forum_id                     ORDER BY posts_count DESC                     LIMIT 0, 1";             if ( !$result = $db->sql_query($sql) )             {                 message_die(GENERAL_ERROR, 'Could not get most active forum informations', '', __LINE__, __FILE__, $sql);             }             if ( $row = $db->sql_fetchrow($result) )             {                 $most_active_forum_id = $row['forum_id'];                 $most_active_forum_name = isset($lang[ $row['forum_name'] ]) ? $lang[ $row['forum_name'] ] : $row['forum_name'];                 $most_active_forum_posts = $row['posts_count'];                 $most_active_forum_posts_total = $row['forum_posts'];             }               // display             if ( $most_active_forum_id > -1 )             {                 // forum                 $temp_url = append_sid("./viewforum.$phpEx?" . POST_FORUM_URL . "=$most_active_forum_id");                 $txt = '<a>' . $most_active_forum_name . '</a>';                 $txt .= '<br><span>' . sprintf( '[' . $lang['Most_active_forum_stat'] . ']', $most_active_forum_posts, ( ($most_active_forum_posts*100) / $most_active_forum_posts_total ), ( ($most_active_forum_posts*100) / $total_posts ) ) . '</span>';             }         }           // result         $res = pcp_output_format($field_name, $txt, $img, $map_name);     }     return $res;}  //-----------------------------------//// user_groups output function////-----------------------------------function pcp_output_usergroups($field_name, $view_userdata, $map_name=''){     global $board_config, $phpbb_root_path, $phpEx, $lang, $images, $userdata;     global $values_list, $tables_linked, $classes_fields, $user_maps, $user_fields;     global $db, $template;       $txt = '';     $img = '';     $res = '';     if ( $view_userdata['user_id'] != ANONYMOUS )     {         // save template state         $sav_tpl = $template->_tpldata;           // template file         $template->set_filenames(array(             '_box_groups' => 'profilcp/public_groups_body.tpl')         );           $template->assign_block_vars('tiny_panel', array());           // groupes         $sql = "SELECT                     g.group_id,                     g.group_name,                     g.group_description,                     g.group_type                 FROM                     " . USER_GROUP_TABLE . " l,                     " . GROUPS_TABLE . " g                 WHERE l.user_pending = 0                     AND g.group_single_user = 0                     AND l.user_id = " . $view_userdata['user_id'] . "                     AND g.group_id = l.group_id                 ORDER BY                     g.group_name,                     g.group_id";         if ( !$result = $db->sql_query($sql) )         {             message_die(GENERAL_ERROR, 'Could not read groups', '', __LINE__, __FILE__, $sql);           }         $groups = array();         while ($row = $db->sql_fetchrow($result))         {             $groups[] = $row;         }           $template->assign_vars(array(             'L_USERGROUPS'   => $lang['Usergroups'],             'L_NO_GROUPS'    => $lang['None'],             'TXTCLASS'       => 'gensmall',             )         );         $nb = 0;         if (count($groups) > 0)         {             $class = false;             for ($i=0; $i <count>sql_query($sql) )                     {                         message_die(GENERAL_ERROR, 'Couldn't obtain viewer group list', '', __LINE__, __FILE__, $sql);                     }                     $is_ok = ( $row = $db->sql_fetchrow($result) );                 }                   // group allowed : display                 if ($is_ok)                 {                     $nb++;                     $class = !$class;                     $u_group_name = append_sid("groupcp.$phpEx?" . POST_GROUPS_URL . '=' . $groups[$i]['group_id']);                     $l_group_name = $groups[$i]['group_name'];                     $l_group_desc = $groups[$i]['group_description'];                     $template->assign_block_vars('groups',array(                         'CLASS'           => ($class) ? "row1" : "row2",                         'U_GROUP_NAME'   => $u_group_name,                         'L_GROUP_NAME'   => $l_group_name,                         'L_GROUP_DESC'   => $l_group_desc,                         )                     );                 }  // end if ($is_ok)             }  // end for ($i=0; $i <count> 0)           if ($nb == 0)         {             $template->assign_block_vars('no_groups', array('SPAN' => 1));         }           // transfert to a var         $template->assign_var_from_handle('_box', '_box_groups');         $txt = $template->_tpldata['.'][0]['_box'];           // result         $res = pcp_output_format($field_name, $txt, $img, $map_name);     }     return $res;}  //-- mod : add-on country flags for pcp ------------------------------------------------------------//-- add//-----------------------------------//// user_flag output function////-----------------------------------function pcp_output_flag($field_name, $view_userdata, $map_name=''){     global $board_config, $phpbb_root_path, $phpEx, $lang, $images, $userdata;     global $values_list, $tables_linked, $classes_fields, $user_maps, $user_fields;       $txt = '';     $img = '';     $res = '';       if ( $view_userdata['user_id'] != ANONYMOUS )     {             if (!empty($view_userdata['user_flag']))             {                 $img = '<img>';             }             else             {                 $img = '';             }         // result         $res = pcp_output_format($field_name, $txt, $img, $map_name);     }     return $res;}//-- fin mod : add-on country flags for pcp --------------------------------------------------------  //-- mod : add-on holidays for pcp -----------------------------------------------------------------//-- add//-----------------------------------//// user_holidays output function////-----------------------------------function pcp_output_holidays($field_name, $view_userdata, $map_name=''){     global $board_config, $phpbb_root_path, $phpEx, $lang, $images, $userdata;     global $values_list, $tables_linked, $classes_fields, $user_maps, $user_fields;       $txt = '';     $img = '';     $res = '';     if ( $view_userdata['user_id'] != ANONYMOUS )     {         switch ($view_userdata[$field_name])         {             case 1:                 $txt = $lang['On_Holidays'];                 $img = '<img>';                 break;         }           // result         $res = pcp_output_format($field_name, $txt, $img, $map_name);     }     return $res;}//-- fin mod : add-on holidays for pcp -------------------------------------------------------------  ?>  


this edit i could not find the specific code it wanted to replace.

and here is a screen shot of my trophy king block, it appeared as
Last edited by ayasha on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
No one can make you feel inferior without your consent.
~Eleanor Roosevelt

ayasha
Sr Integra Member
Sr Integra Member
 
Posts: 634
Likes: 0 post
Liked in: 0 post
Joined: Tue Mar 28, 2006 6:10 pm
Cash on hand: 0.00

Re: [solved] Activity Mod for 141

PostAuthor: found it » Wed Dec 13, 2006 7:53 am

Hi

Where did you get the trophy king block from as that does look like the code in there is causing the problem.......

Is it compatible with 1.4.1....?

just an idea


:mrgreen:
Last edited by found it on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
[url=http]themes.[/url]
http://www.founditforum.com :: [url=http]Joining people together[/url]

[url=http][img=left]http://www.bbful.com/bbful_banner2.png[/img][/url]
User avatar
found it
Dev Team
Dev Team
 
Posts: 792
Likes: 0 post
Liked in: 0 post
Joined: Mon Mar 27, 2006 4:29 am
Cash on hand: 0.00

PostAuthor: shedt_v » Wed Dec 13, 2006 8:12 am

i have arcade mod 2.1.4 installed fine, is the activity mod better?

i can't really see a difference between the two.
Last edited by shedt_v on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.

shedt_v
Integra Member
Integra Member
 
Posts: 114
Likes: 0 post
Liked in: 0 post
Joined: Sat Dec 09, 2006 8:37 am
Cash on hand: 0.00

PostAuthor: ayasha » Wed Dec 13, 2006 8:58 am

it just appeared in my choices of blocks to activate on the portal page Mike, so i have no idea where it came from, sorry, wish i could tell you more <img>

is there one that i can use?


edit: and i know this is off topic for this thread, but every time i have posted something to this thread, i get this

General Error

Failed sending email :: PHP ::

what is causing that?
Last edited by ayasha on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
No one can make you feel inferior without your consent.
~Eleanor Roosevelt

ayasha
Sr Integra Member
Sr Integra Member
 
Posts: 634
Likes: 0 post
Liked in: 0 post
Joined: Tue Mar 28, 2006 6:10 pm
Cash on hand: 0.00

PostAuthor: IntegraMOD » Wed Dec 13, 2006 9:10 am

"cleo";p="18383" wrote:edit: and i know this is off topic for this thread, but every time i have posted something to this thread, i get this

General Error

Failed sending email :: PHP ::

what is causing that?

This error is a known error, nothing to do with integra but it is an issue with the new server, whuch is being looked into right now
Last edited by IntegraMOD on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
Image
Please do not PM for support
User avatar
IntegraMOD
Administrator
Administrator
 
Posts: 459
Likes: 0 post
Liked in: 0 post
Joined: Sat Mar 11, 2006 4:46 pm
Cash on hand: 0.00
Bank: 100.00
Location: Seattle Wa

PostAuthor: Dioncecht » Fri Dec 15, 2006 5:11 pm

One thing I noticed.. if you use the premodded files after doing all the updates, your board will yell at you and tell you that you are running 2.0.19 and Security 1.0.2...

So it's prolly a good idea to stay away from the pre-modded files...
Last edited by Dioncecht on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
'We keep moving forward, opening new doors, and doing new things, because we're curious and curiosity keeps leading us down new paths.' - Walt Disney

[img=left]http://rpghq.org/banner2.jpg[/img]
[url=http]The RPG Headquarters. The RPG capitol of the net![/url]
User avatar
Dioncecht
Sr Integra Member
Sr Integra Member
 
Posts: 244
Likes: 0 post
Liked in: 0 post
Joined: Sun Apr 09, 2006 5:23 pm
Cash on hand: 0.00

Re: [solved] Activity Mod for 141

PostAuthor: DjPorkchop » Fri Dec 15, 2006 5:18 pm

Cleo this is very interesting. I have installed this mod many times and including 3 sites of my own and that block has never been an option. In order to have a Block you must have the tpl files and all to go with it to make it work which this mod does NOT have. I have read and re read all the code and no where at all is this block present OR are the files there that are need for a block to work even. Do you have any other web admins that may have tried to configure a block and just didnt relay the info to you of what they were up too? Im at a loss on this one. <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

PostAuthor: ayasha » Fri Dec 15, 2006 11:00 pm

could be MWE, that is why i asked if there was a block that i could use. i like the idea of having one, but have no idea how to make one <img>

also, a few post back, i asked for some help in finding the code edit for the profilcp/def/def_userfuncs_std.php file, can anyone help me?
Last edited by ayasha on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
No one can make you feel inferior without your consent.
~Eleanor Roosevelt

ayasha
Sr Integra Member
Sr Integra Member
 
Posts: 634
Likes: 0 post
Liked in: 0 post
Joined: Tue Mar 28, 2006 6:10 pm
Cash on hand: 0.00

Re: [solved] Activity Mod for 141

PostAuthor: DjPorkchop » Sat Dec 16, 2006 5:04 pm

Ok Cleo, I copied your file and added the edit. try this code and let me know what happens and in the meantime I will work on a trophy King block as well.

Code: Select all
<?php  /***************************************************************************  *                            def_userfuncs_std.php  *                            ---------------------  *    begin                : 04/10/2003  *    copyright            : Ptirhiik  *    email                : Ptirhiik@rpgnet.clanmckeen.com  *  *    version                : 1.0.1 - 30/10/2003  *  ***************************************************************************/  /***************************************************************************  *  *   This program is free software; you can redistribute it and/or modify  *   it under the terms of the GNU General Public License as published by  *   the Free Software Foundation; either version 2 of the License, or  *   (at your option) any later version.  *  *  ***************************************************************************/  if ( !defined('IN_PHPBB') ) {     die('Hacking attempt');     exit; }  //----------------------------------- // // user_online output function // //----------------------------------- function pcp_output_user_online($field_name, $view_userdata, $map_name='') {     global $board_config, $phpbb_root_path, $phpEx, $lang, $images, $userdata;     global $values_list, $tables_linked, $classes_fields, $user_maps, $user_fields;       $txt = '';     $img = '';     $res = '';     if  ( $view_userdata['user_id'] != ANONYMOUS )     {         // offline         $txt = $lang['Offline'];         $img = '<img>';         if ( !empty($view_userdata[$field_name]) )         {             // hidden             $txt = $lang['Hidden'];             $img = '<img>';               // not hidden set : online             if ($view_userdata['user_allow_viewonline'] == YES)             {                 $txt = $lang['Online'];                 $img = '<img>';             }         }           // result         $res = pcp_output_format($field_name, $txt, $img, $map_name);     }     return $res; }  //----------------------------------- // // user_my_friend output function // //----------------------------------- function pcp_output_my_friend($field_name, $view_userdata, $map_name='') {     global $board_config, $phpbb_root_path, $phpEx, $lang, $images, $userdata;     global $values_list, $tables_linked, $classes_fields, $user_maps, $user_fields;       // use user_my_ignore       $txt = '';     $img = '';     $res = '';     if ( ($userdata['user_id'] != $view_userdata['user_id']) && ($view_userdata['user_id'] != ANONYMOUS) && $userdata['session_logged_in'] && ($userdata['user_id'] != ANONYMOUS) )     {         $from = '&from=profil';         $maps = explode('.', $map_name);         if ( empty($maps) )         {             $from = '&from=profil';         }         if ( in_array('viewprofile', $maps) )         {             $from = '&from=profil';         }         else if ( in_array('viewtopic', $maps) )         {             $from = '&from=topic&' . POST_POST_URL . '=' . $view_userdata['post_id'];         }         else if ( in_array('privmsgs', $maps) )         {             $from = '&from=privmsg&' . POST_POST_URL . '=' . $view_userdata['privmsgs_id'];         }         if ( $view_userdata['user_my_friend'] )         {             $temp_url = append_sid("./profile.$phpEx?mode=buddy&sub=friend&b=" . $view_userdata['user_id'] . "&set=remove" . $from);             $title = $lang['Remove_from_friend_list'];             $icon = $images['icon_friend_remove'];             $txt = '<a>' . $title . '</a>';             $img = '<a><img></a>';         }         else if ( !$view_userdata['user_my_ignore'] )         {             $temp_url = append_sid("./profile.$phpEx?mode=buddy&sub=friend&b=" . $view_userdata['user_id'] . "&set=add" . $from);             $title = $lang['Add_to_friend_list'];             $icon = $images['icon_friend_add'];             $txt = '<a>' . $title . '</a>';             $img = '<a><img></a>';         }                   // result         $res = pcp_output_format($field_name, $txt, $img, $map_name);     }     return $res; }  //----------------------------------- // // user_my_friend output function for buddy list // //----------------------------------- function pcp_output_my_friend_buddy($field_name, $view_userdata, $map_name='') {     global $board_config, $phpbb_root_path, $phpEx, $lang, $images, $userdata;     global $values_list, $tables_linked, $classes_fields, $user_maps, $user_fields;       // use user_my_visible       $txt = '';     $img = '';     $res = '';     if ( ($userdata['user_id'] != $view_userdata['user_id']) && ($view_userdata['user_id'] != ANONYMOUS) && $userdata['session_logged_in'] && ($userdata['user_id'] != ANONYMOUS) )     {         if ( $view_userdata['user_my_friend'] )         {             $temp_url = append_sid( "./profile.$phpEx?mode=buddy&sub=friend&b=" . $view_userdata['user_id'] . "&set=" . ( $view_userdata['user_my_visible'] ? 'inv' : 'vis') );             $title = $view_userdata['user_my_visible'] ? $lang['Always_visible'] : $lang['Not_always_visible'];             $icon = $view_userdata['user_my_visible'] ? $images['icon_visible'] : $images['icon_not_visible'];             $txt = '<a>' . $title . '</a>';             $img = '<a><img></a>';         }           // result         $res = pcp_output_format($field_name, $txt, $img, $map_name);     }     return $res; }  //----------------------------------- // // user_my_ignore output function // //----------------------------------- function pcp_output_my_ignore($field_name, $view_userdata, $map_name='') {     global $board_config, $phpbb_root_path, $phpEx, $lang, $images, $userdata;     global $values_list, $tables_linked, $classes_fields, $user_maps, $user_fields;       // uses user_my_friend       $txt = '';     $img = '';     if ( ($view_userdata['user_id'] != $userdata['user_id']) && ($view_userdata['user_id'] != ANONYMOUS) && $userdata['session_logged_in'] && ($userdata['user_id'] != ANONYMOUS) )     {         $from = '&from=profil';         $maps = explode('.', $map_name);         if ( empty($maps) )         {             $from = '&from=profil';         }         if ( in_array('viewprofile', $maps) )         {             $from = '&from=profil';         }         else if ( in_array('viewtopic', $maps) )         {             $from = '&from=topic&' . POST_POST_URL . '=' . $view_userdata['post_id'];         }         else if ( in_array('privmsgs', $maps) )         {             $from = '&from=privmsg&' . POST_POST_URL . '=' . $view_userdata['privmsgs_id'];         }         if ( $view_userdata['user_my_ignore'] )         {             $temp_url = append_sid("./profile.$phpEx?mode=buddy&sub=ignore&b=" . $view_userdata['user_id'] . "&set=remove" . $from);             $title = $lang['Remove_from_ignore_list'];             $icon = $images['icon_ignore_remove'];             $txt = '<a>' . $title . '</a>';             $img = '<a><img></a>';         }         else if (!is_admin($userdata) && !is_admin($view_userdata) && (get_user_level($userdata) != MOD) && (get_user_level($view_userdata) != MOD) && !$view_userdata['user_my_friend'])         {             $temp_url = append_sid("./profile.$phpEx?mode=buddy&sub=ignore&b=" . $view_userdata['user_id'] . "&set=add" . $from);             $title = $lang['Add_to_ignore_list'];             $icon = $images['icon_ignore_add'];             $txt = '<a>' . $title . '</a>';             $img = '<a><img></a>';         }           // result         $res = pcp_output_format($field_name, $txt, $img, $map_name);     }     return $res; }  //----------------------------------- // // username output function // //----------------------------------- function pcp_output_username($field_name, $view_userdata, $map_name='') {     global $board_config, $phpbb_root_path, $phpEx, $lang, $images, $userdata;     global $values_list, $tables_linked, $classes_fields, $user_maps, $user_fields;       $txt = '';     $img = '';     $res = '';       $poster = ($view_userdata['user_id'] != ANONYMOUS) ? $view_userdata[$field_name] : ( (isset($view_userdata['post_username']) && ($view_userdata['post_username'] !='') ) ? $view_userdata['post_username'] : $lang['Guest'] );     $usereffects = explode("ÃÅÂ ¸", $view_userdata['user_effects']);     $userprivs = explode("ÃÅÂ ¸", $view_userdata['user_privs']);     $usercustitle = explode("ÃÅÂ ¸", $view_userdata['user_custitle']);     $userbs = array();     $usercount = count($userprivs);     for ($x = 0; $x < $usercount; $x++) { $temppriv = explode("ÃÅÂ ¾", $userprivs[$x]); $userbs[] = $temppriv[0]; $userbs[] = $temppriv[1]; }     $usercount = count($usereffects);     for ($x = 0; $x < $usercount; $x++) { $temppriv = explode("ÃÅÂ ¾", $usereffects[$x]); $userbs[] = $temppriv[0]; $userbs[] = $temppriv[1]; }     $usercount = count($usercustitle);     for ($x = 0; $x < $usercount; $x++) { $temppriv = explode("ÃÅÂ ¾", $usercustitle[$x]); $userbs[] = $temppriv[0]; $userbs[] = $temppriv[1]; }     $shoparray = explode("ÃÅÂ ¸", $board_config['specialshop']);     $shoparraycount = count ($shoparray);     $shopstatarray = array();     for ($x = 0; $x </font>'.$poster.'</span>';         $poster = $nameeffects;     }     if ((($userbs[24] == on) && ($shopstatarray[24] == on)) || (($userbs[20] == on) && ($shopstatarray[22] == on)) || (($userbs[22] == on) && ($shopstataray[20] = on)) || (($userbs[18] == on) && ($shopstatarray[18] == on))) {         $titleeffects = '</font>'.$poster_rank.'</span>';         $poster_rank = $titleeffects;     }     $username = ($view_userdata['user_id'] != ANONYMOUS) ? $view_userdata[$field_name] : ( (isset($view_userdata['post_username']) && ($view_userdata['post_username'] !='') ) ? $view_userdata['post_username'] : $lang['Guest'] );     $temp_url = append_sid("./profile.$phpEx?mode=viewprofile&" . POST_USERS_URL . '=' . $view_userdata['user_id']);     // txt     $txt = '<span>' . $poster . '</span>';       // img     /* Hide Buttons :: Altered     if ( $view_userdata['user_id'] != ANONYMOUS )*/     if($userdata['user_id'] != ANONYMOUS && $view_userdata['user_id'] != ANONYMOUS ) {           $temp_url = append_sid("./profile.$phpEx?mode=viewprofile&" . POST_USERS_URL . '=' . $view_userdata['user_id']);           $img = '<a><img></a>';       }         // result     $res = pcp_output_format($field_name, $txt, $img, $map_name);     return $res; } //-----------------------------------  //  // username output function with link on txt  //  //-----------------------------------  function pcp_output_username_linked($field_name, $view_userdata, $map_name='')  {       global $board_config, $phpbb_root_path, $phpEx, $lang, $images, $userdata;       global $values_list, $tables_linked, $classes_fields, $user_maps, $user_fields;         $txt = '';       $img = '';       $username = ($view_userdata['user_id'] != ANONYMOUS) ? $view_userdata[$field_name] : ( (isset($view_userdata['post_username']) && ($view_userdata['post_username'] !='') ) ? $view_userdata['post_username'] : $lang['Guest'] );         // txt       /* Hide Buttons :: Altered     if ( $view_userdata['user_id'] != ANONYMOUS )     {         $temp_url = append_sid("./profile.$phpEx?mode=viewprofile&" . POST_USERS_URL . '=' . $view_userdata['user_id']);         $txt = '<a>' . $username . '</a>';         $img = '<a><img></a>';     }     else     {         $txt = '<span>' . $username . '</span>';     }*/     if($userdata['user_id'] == ANONYMOUS || $view_userdata['user_id'] == ANONYMOUS )    {           $txt = '<span>' . $username . '</span>';       } else {           $temp_url = append_sid("./profile.$phpEx?mode=viewprofile&" . POST_USERS_URL . '=' . $view_userdata['user_id']);           $txt = '<a>' . $username . '</a>';           $img = '<a><img></a>';       }       // result       $res = pcp_output_format($field_name, $txt, $img, $map_name);       return $res;  }  //----------------------------------- // // user_pm output function // //----------------------------------- function pcp_output_user_pm($field_name, $view_userdata, $map_name='') {     global $board_config, $phpbb_root_path, $phpEx, $lang, $images, $userdata;     global $values_list, $tables_linked, $classes_fields, $user_maps, $user_fields;       $txt = '';     $img = '';     $res = '';     if ( !empty($view_userdata[$field_name]) && ($view_userdata['user_id'] != ANONYMOUS) && ($userdata['user_id'] != ANONYMOUS))     {         $temp_url = append_sid("./privmsg.$phpEx?mode=post&" . POST_USERS_URL . '=' . $view_userdata['user_id']);         $txt = '<a>' . $lang['Send_private_message'] . '</a>';         $img = '<a><img></a>';           // result         $res = pcp_output_format($field_name, $txt, $img, $map_name);     }     return $res; }  //----------------------------------- // // user_email output function // //----------------------------------- function pcp_output_user_email($field_name, $view_userdata, $map_name='') {     global $board_config, $phpbb_root_path, $phpEx, $lang, $images, $userdata;     global $values_list, $tables_linked, $classes_fields, $user_maps, $user_fields;           // add text for admin view in buddy/memberlist     if ( in_array($map_name, array('PCP.buddy')) && is_admin($userdata))     {         $user_maps[$map_name]['fields'][$field_name]['txt'] = true;         $user_maps[$map_name]['fields'][$field_name]['crlf'] = true;     }       $txt = '';     $img = '';     $res = '';     if ( !empty($view_userdata[$field_name]) && ($view_userdata['user_id'] != ANONYMOUS)  )     {         $temp_url = ( $board_config['board_email_form'] ) ? append_sid("./profile.$phpEx?mode=email&" . POST_USERS_URL . '=' . $view_userdata['user_id']) : 'mailto:' . $view_userdata[$field_name];           $txt_title = ( is_admin($userdata) || $user_maps[$map_name]['fields'][$field_name]['img'] || $board_config['board_email_form'] ) ? $lang['Send_email'] : $view_userdata[$field_name];         $txt_link = ( is_admin($userdata) || ($user_maps[$map_name]['fields'][$field_name]['img'] && !$board_config['board_email_form'] ))? $view_userdata[$field_name] : $lang['Send_email'];         $txt = '<a>' . $txt_link . '</a>';         $txt_title = (is_admin($userdata) || !$board_config['board_email_form']) ? $view_userdata[$field_name] : $lang['Send_email'];         $img = '<a><img></a>';           // result         $res = pcp_output_format($field_name, $txt, $img, $map_name);     }     return $res; }  //----------------------------------- // // user_icq output function // //----------------------------------- function pcp_output_icq($field_name, $view_userdata, $map_name='') {     global $board_config, $phpbb_root_path, $phpEx, $lang, $images, $userdata;     global $values_list, $tables_linked, $classes_fields, $user_maps, $user_fields;       $txt = '';     $img = '';     $res = '';     if ( !empty($view_userdata[$field_name]) && ($view_userdata['user_id'] != ANONYMOUS) )     {         $temp_url = 'http://wwp.icq.com/' . $view_userdata[$field_name] . '#pager';         $img = '<a><img></a>';         $txt = '<a>' . $lang['ICQ'] . '</a>';           // result         $res = pcp_output_format($field_name, $txt, $img, $map_name);     }     return $res; } //----------------------------------- // // user_aim output function // //----------------------------------- function pcp_output_aim($field_name, $view_userdata, $map_name='') {     global $board_config, $phpbb_root_path, $phpEx, $lang, $images, $userdata;     global $values_list, $tables_linked, $classes_fields, $user_maps, $user_fields;       $txt = '';     $img = '';     $res = '';     if ( !empty($view_userdata[$field_name]) && ($view_userdata['user_id'] != ANONYMOUS) )     {         $temp_url = 'aim:goim?screenname=' . $view_userdata[$field_name] . '&message=Hello+Are+you+there?';         $txt = '<a>' . $lang['AIM'] . '</a>';         $img = '<a><img></a>';           // result         $res = pcp_output_format($field_name, $txt, $img, $map_name);     }     return $res; }  //----------------------------------- // // user_yim output function // //----------------------------------- function pcp_output_yim($field_name, $view_userdata, $map_name='') {     global $board_config, $phpbb_root_path, $phpEx, $lang, $images, $userdata;     global $values_list, $tables_linked, $classes_fields, $user_maps, $user_fields;       $txt = '';     $img = '';     $res = '';     if ( !empty($view_userdata[$field_name]) && ($view_userdata['user_id'] != ANONYMOUS) )     {         $temp_url = 'http://edit.yahoo.com/config/send_webmesg?.target=' . $view_userdata[$field_name] . '&.src=pg';         $txt = '<a>' . $lang['YIM'] . '</a>';         $img = '<a><img></a>';           // result         $res = pcp_output_format($field_name, $txt, $img, $map_name);     }     return $res; }  //----------------------------------- // // user_msnm output function // //----------------------------------- function pcp_output_msnm($field_name, $view_userdata, $map_name='') {     global $board_config, $phpbb_root_path, $phpEx, $lang, $images, $userdata;     global $values_list, $tables_linked, $classes_fields, $user_maps, $user_fields;       $res = '';     if ( !empty($view_userdata[$field_name]) && ($view_userdata['user_id'] != ANONYMOUS) )     {         $temp_url = (substr($map_name, 0, 6) == 'PHPBB.') ? append_sid("./profile.$phpEx?mode=viewprofile&" . POST_USERS_URL . '=' . $view_userdata['user_id']) : 'mailto:' . $view_userdata[$field_name];         $txt = '<a>' . $lang['MSNM'] . '</a>';         $img = '<a><img></a>';           // result         $res = pcp_output_format($field_name, $txt, $img, $map_name);     }     return $res; }  //----------------------------------- // // user_timezone output function // //----------------------------------- function pcp_output_timezone($field_name, $view_userdata, $map_name='') {     global $board_config, $phpbb_root_path, $phpEx, $lang, $images, $userdata;     global $values_list, $tables_linked, $classes_fields, $user_maps, $user_fields;       $txt = '';     $img = '';     $res = '';     if ( $view_userdata['user_id'] != ANONYMOUS )     {         @reset($lang['tz']);         while ( list($offset, $value) = @each($lang['tz']) )         {             if ( $view_userdata[$field_name] == $offset )             {                 $txt = $value . ' (' . create_date($userdata['user_dateformat'], time(), $view_userdata['user_timezone']) . ')';                 $img = '<img>';                 break;             }         }           // result         $res = pcp_output_format($field_name, $txt, $img, $map_name);     }     return $res; }  //----------------------------------- // // user_website output function // //----------------------------------- function pcp_output_website($field_name, $view_userdata, $map_name='') {     global $board_config, $phpbb_root_path, $phpEx, $lang, $images, $userdata;     global $values_list, $tables_linked, $classes_fields, $user_maps, $user_fields;       $txt = '';     $img = '';     $res = '';     if ( !empty($view_userdata[$field_name]) && ($view_userdata['user_id'] != ANONYMOUS) )     {         if (strtolower(substr($view_userdata[$field_name],0,7)) != 'http://'){                 $view_userdata[$field_name] = 'http://'.$view_userdata[$field_name];         }         if ( substr($map_name, 0, 4) == 'PCP.' )         {             $link = $view_userdata[$field_name];             $title = $lang['Visit_website'];         }         else         {             $link = $lang['Visit_website'];             $title = $view_userdata[$field_name];         }         $txt = '<a>' . $link . '</a>';         $img = '<a><img></a>';           // result         $res = pcp_output_format($field_name, $txt, $img, $map_name);     }     return $res; }  //----------------------------------- // // user_gender output function // //----------------------------------- function pcp_output_gender($field_name, $view_userdata, $map_name='') {     global $board_config, $phpbb_root_path, $phpEx, $lang, $images, $userdata;     global $values_list, $tables_linked, $classes_fields, $user_maps, $user_fields;       $txt = '';     $img = '';     $res = '';     if ( $view_userdata['user_id'] != ANONYMOUS )     {         switch ($view_userdata[$field_name])         {             case 0:                 $txt = $lang['No_gender_specify'];                 $img = '<img>';                 break;             case 1:                 $txt = $lang['Male'];                 $img = '<img>';                 break;          case 2:               $txt = $lang['Female'];               $img = '<img>';               break;         }           // result         $res = pcp_output_format($field_name, $txt, $img, $map_name);     }     return $res; }  //----------------------------------- // // user_age output function // //----------------------------------- function pcp_output_age($field_name, $view_userdata, $map_name='') {     global $board_config, $phpbb_root_path, $phpEx, $lang, $images, $userdata;     global $values_list, $tables_linked, $classes_fields, $user_maps, $user_fields;       // use user_birthday     $pm_display = pcp_get_class_check('pm', $view_userdata);       $txt = '';     $img = '';     $res = '';     if ( !empty($view_userdata['user_birthday']) && ($view_userdata['user_id'] != ANONYMOUS) )     {         $temp_url = $pm_display ? append_sid("./privmsg.$phpEx?mode=post&" . POST_USERS_URL . '=' . $view_userdata['user_id']) : '';         $img = ( intval(substr($view_userdata['user_birthday'], 4, 4)) == date('md', cal_date(time(),$board_config['board_timezone'])) ) ? ( $pm_display ? '<a><img></a>' : '<img>') : '';         $txt = date('Y', cal_date(time(),$board_config['board_timezone'])) - intval(substr($view_userdata['user_birthday'], 0, 4));         if ( intval(substr($view_userdata['user_birthday'], 4, 4)) > date('md', cal_date(time(),$board_config['board_timezone'])) )         {             $txt--;         }         if ($txt < 0)         {             $txt = '';             $img = '';         }           // result         $res = pcp_output_format($field_name, $txt, $img, $map_name);     }     return $res; }  //----------------------------------- // // user_rank_title output function // //----------------------------------- function pcp_output_rank_title($field_name, $view_userdata, $map_name='') {    global $board_config, $phpbb_root_path, $phpEx, $lang, $images, $userdata;    global $values_list, $tables_linked, $classes_fields, $user_maps, $user_fields;      if ( $view_userdata['user_id'] != ANONYMOUS )    {       $rank = get_user_rank($view_userdata);    if ($board_config['ina_use_trophy'])       {       switch ($view_userdata['user_gender'])        {          case 0:             $trophy_leader = $lang['Trophy_Unknown'];             break;          case 1:             $trophy_leader = $lang['Trophy_King'];                 break;             case 2:                 $trophy_leader = $lang['Trophy_Queen'];                 break;          }    include_once($phpbb_root_path .'language/lang_'. $board_config['default_lang'] .'/lang_activity.'. $phpEx);    $trophy_image = '<img>';                 }       if ($view_userdata['user_id']   == $board_config['ina_trophy_king'])       {              $rank['rank_image'] = $trophy_image;                 $rank['rank_title'] = $trophy_leader;               $txt = $rank['rank_title'];              $img = $rank['rank_image'];       }       $txt = $rank['rank_title'];       $img = $rank['rank_image'];         // result       $res = pcp_output_format($field_name, $txt, $img, $map_name);    }    return $res; }  //----------------------------------- // // user_avatar output function // //----------------------------------- function pcp_output_avatar($field_name, $view_userdata, $map_name='') {     global $board_config, $phpbb_root_path, $phpEx, $lang, $images, $userdata;     global $values_list, $tables_linked, $classes_fields, $user_maps, $user_fields;       $txt = '';     $img = '';     $res = '';     if ( !empty($view_userdata[$field_name]) && $userdata['user_viewavatar'] && $view_userdata['user_allowavatar'] && ($view_userdata['user_id'] != ANONYMOUS) )     {         switch ($view_userdata[$field_name . '_type'] )         {             case USER_AVATAR_UPLOAD:                 $img = ( $board_config['allow_avatar_upload'] ) ? '<img>' : '';                 break;             case USER_AVATAR_REMOTE:                 $img = ( $board_config['allow_avatar_remote'] ) ? '<img>' : '';                 break;             case USER_AVATAR_GALLERY:                 $img = ( $board_config['allow_avatar_local'] ) ? '<img>' : '';                 break;       }                   if ( ($img) && ($map_name == 'PHPBB.viewtopic.left') )                   {                           $tmp = append_sid("profile.$phpEx?mode=viewprofile&" . POST_USERS_URL . "=" . $view_userdata['user_id']);                           $img = '<a>'. $img .'</a>';                   }                   $shoparray = explode("ÃÅÂ ¸", $board_config['specialshop']);                   $shoparraycount = count ($shoparray);                   for ($x = 0; $x < $shoparraycount; $x++)                   {                           $temparray = explode("ÃÅÂ ¾", $shoparray[$x]);                           $shopstatarray[] = $temparray[0];                           $shopstatarray[] = $temparray[1];                   }                   $userprivs = array();                   $usereffects = array();                   $usercustitle = array();                   $userbs = array();                   $userprivs = explode("ÃÅÂ ¸", $view_userdata['user_privs']);                   $usercount = count($userprivs);                   for ($x = 0; $x </is> 0)                   {                           $user_sig = str_replace('"', '"', substr(preg_replace('#(>(((?>([^><R>' . $user_sig . '<'), 1, -1));                   }                   $txt = str_replace("n", "n<br>n", $user_sig);                       $shoparray = explode("ÃÅÂ ¸", $board_config['specialshop']);                   $shoparraycount = count ($shoparray);                   for ($x = 0; $x < $shoparraycount; $x++)                   {                           $temparray = explode("ÃÅÂ ¾", $shoparray[$x]);                           $shopstatarray[] = $temparray[0];                           $shopstatarray[] = $temparray[1];                   }                   $userprivs = array();                   $usereffects = array();                   $usercustitle = array();                   $userbs = array();                   $userprivs = explode("ÃÅÂ ¸", $view_userdata['user_privs']);                   $usercount = count($userprivs);                   for ($x = 0; $x </a>sql_query($sql) )             {                 message_die(GENERAL_ERROR, 'Could not get most active topic informations', '', __LINE__, __FILE__, $sql);             }             if ( $row = $db->sql_fetchrow($result) )             {                 // Define censored word matches                 $orig_word = array();                 $replacement_word = array();                 obtain_word_list($orig_word, $replacement_word);                   // get the info                 $most_active_topic_id = $row['topic_id'];                 $most_active_topic_title = ( count($orig_word) ) ? preg_replace($orig_word, $replacement_word, $row['topic_title']) : $row['topic_title'];                 $most_active_topic_posts = $row['posts_count'];                 $most_active_topic_posts_total = $row['topic_posts'];                 $most_active_topic_posts_total_forum = $row['forum_posts'];             }               // display             if ( $most_active_topic_id > -1 )             {                 // topic                 $temp_url = append_sid("./viewtopic.$phpEx?" . POST_TOPIC_URL . "=$most_active_topic_id");                 $txt = '<a>' . $most_active_topic_title . '</a>';                 $txt .= '<br><span>' . sprintf( '[' . $lang['Most_active_topic_stat'] . ']', $most_active_topic_posts, ( ($most_active_topic_posts*100) / $most_active_topic_posts_total ), ( ($most_active_topic_posts*100) / $most_active_topic_posts_total_forum ) ) . '</span>';             }         }         // result         $res = pcp_output_format($field_name, $txt, $img, $map_name);     }     return $res; }  //----------------------------------- // // user_forums_stat output function // //----------------------------------- function pcp_output_forums_stat($field_name, $view_userdata, $map_name='') {     global $board_config, $phpbb_root_path, $phpEx, $lang, $images, $userdata;     global $values_list, $tables_linked, $classes_fields, $user_maps, $user_fields;     global $db;       $txt = '';     $img = '';     $res = '';     if ( !empty($view_userdata['user_posts']) && ($view_userdata['user_id'] != ANONYMOUS) )     {         $most_active_forum_id = -1;         $most_active_forum_name = '';         $most_active_forum_posts = 0;         $most_active_forum_posts_total = 0;         $total_posts = get_db_stat('postcount');           $is_auth = auth(AUTH_VIEW, AUTH_LIST_ALL, $userdata);         $forum_ids = array();         while (list($forum_id, $auth) = @each($is_auth) )         {             if ($auth['auth_view']) $forum_ids[] = $forum_id;         }         if ( !empty($forum_ids) )         {             $s_forum_ids = implode(', ', $forum_ids);               // most active forum             $sql = "SELECT t.forum_id, f.forum_name, f.forum_posts, count(p.post_id) AS posts_count                     FROM " . POSTS_TABLE . " p, " . TOPICS_TABLE . " t, " . FORUMS_TABLE . " f                     WHERE p.poster_id = " . $view_userdata['user_id'] . "                         AND t.topic_id = p.topic_id                         AND t.forum_id IN ($s_forum_ids)                         AND f.forum_id = t.forum_id                     GROUP BY t.forum_id                     ORDER BY posts_count DESC                     LIMIT 0, 1";             if ( !$result = $db->sql_query($sql) )             {                 message_die(GENERAL_ERROR, 'Could not get most active forum informations', '', __LINE__, __FILE__, $sql);             }             if ( $row = $db->sql_fetchrow($result) )             {                 $most_active_forum_id = $row['forum_id'];                 $most_active_forum_name = isset($lang[ $row['forum_name'] ]) ? $lang[ $row['forum_name'] ] : $row['forum_name'];                 $most_active_forum_posts = $row['posts_count'];                 $most_active_forum_posts_total = $row['forum_posts'];             }               // display             if ( $most_active_forum_id > -1 )             {                 // forum                 $temp_url = append_sid("./viewforum.$phpEx?" . POST_FORUM_URL . "=$most_active_forum_id");                 $txt = '<a>' . $most_active_forum_name . '</a>';                 $txt .= '<br><span>' . sprintf( '[' . $lang['Most_active_forum_stat'] . ']', $most_active_forum_posts, ( ($most_active_forum_posts*100) / $most_active_forum_posts_total ), ( ($most_active_forum_posts*100) / $total_posts ) ) . '</span>';             }         }           // result         $res = pcp_output_format($field_name, $txt, $img, $map_name);     }     return $res; }  //----------------------------------- // // user_groups output function // //----------------------------------- function pcp_output_usergroups($field_name, $view_userdata, $map_name='') {     global $board_config, $phpbb_root_path, $phpEx, $lang, $images, $userdata;     global $values_list, $tables_linked, $classes_fields, $user_maps, $user_fields;     global $db, $template;       $txt = '';     $img = '';     $res = '';     if ( $view_userdata['user_id'] != ANONYMOUS )     {         // save template state         $sav_tpl = $template->_tpldata;           // template file         $template->set_filenames(array(             '_box_groups' => 'profilcp/public_groups_body.tpl')         );           $template->assign_block_vars('tiny_panel', array());           // groupes         $sql = "SELECT                      g.group_id,                      g.group_name,                      g.group_description,                      g.group_type                  FROM                      " . USER_GROUP_TABLE . " l,                      " . GROUPS_TABLE . " g                  WHERE l.user_pending = 0                      AND g.group_single_user = 0                      AND l.user_id = " . $view_userdata['user_id'] . "                     AND g.group_id = l.group_id                  ORDER BY                      g.group_name,                      g.group_id";         if ( !$result = $db->sql_query($sql) )           {             message_die(GENERAL_ERROR, 'Could not read groups', '', __LINE__, __FILE__, $sql);             }         $groups = array();         while ($row = $db->sql_fetchrow($result))         {             $groups[] = $row;         }           $template->assign_vars(array(             'L_USERGROUPS'    => $lang['Usergroups'],             'L_NO_GROUPS'    => $lang['None'],             'TXTCLASS'        => 'gensmall',             )         );         $nb = 0;         if (count($groups) > 0)         {             $class = false;             for ($i=0; $i <count>sql_query($sql) )                     {                         message_die(GENERAL_ERROR, 'Couldn't obtain viewer group list', '', __LINE__, __FILE__, $sql);                     }                     $is_ok = ( $row = $db->sql_fetchrow($result) );                 }                   // group allowed : display                 if ($is_ok)                 {                     $nb++;                     $class = !$class;                     $u_group_name = append_sid("groupcp.$phpEx?" . POST_GROUPS_URL . '=' . $groups[$i]['group_id']);                     $l_group_name = $groups[$i]['group_name'];                     $l_group_desc = $groups[$i]['group_description'];                     $template->assign_block_vars('groups',array(                         'CLASS'            => ($class) ? "row1" : "row2",                         'U_GROUP_NAME'    => $u_group_name,                         'L_GROUP_NAME'    => $l_group_name,                         'L_GROUP_DESC'    => $l_group_desc,                         )                     );                 }  // end if ($is_ok)             }  // end for ($i=0; $i <count> 0)           if ($nb == 0)         {             $template->assign_block_vars('no_groups', array('SPAN' => 1));         }           // transfert to a var         $template->assign_var_from_handle('_box', '_box_groups');         $txt = $template->_tpldata['.'][0]['_box'];           // result         $res = pcp_output_format($field_name, $txt, $img, $map_name);     }     return $res; }  //-- mod : add-on country flags for pcp ------------------------------------------------------------ //-- add //----------------------------------- // // user_flag output function // //----------------------------------- function pcp_output_flag($field_name, $view_userdata, $map_name='') {     global $board_config, $phpbb_root_path, $phpEx, $lang, $images, $userdata;     global $values_list, $tables_linked, $classes_fields, $user_maps, $user_fields;       $txt = '';     $img = '';     $res = '';       if ( $view_userdata['user_id'] != ANONYMOUS )     {             if (!empty($view_userdata['user_flag']))             {                 $img = '<img>';             }             else             {                 $img = '';             }         // result         $res = pcp_output_format($field_name, $txt, $img, $map_name);     }     return $res; } //-- fin mod : add-on country flags for pcp --------------------------------------------------------  //-- mod : add-on holidays for pcp ----------------------------------------------------------------- //-- add //----------------------------------- // // user_holidays output function // //----------------------------------- function pcp_output_holidays($field_name, $view_userdata, $map_name='') {     global $board_config, $phpbb_root_path, $phpEx, $lang, $images, $userdata;     global $values_list, $tables_linked, $classes_fields, $user_maps, $user_fields;       $txt = '';     $img = '';     $res = '';     if ( $view_userdata['user_id'] != ANONYMOUS )     {         switch ($view_userdata[$field_name])         {             case 1:                 $txt = $lang['On_Holidays'];                 $img = '<img>';                 break;         }           // result         $res = pcp_output_format($field_name, $txt, $img, $map_name);     }     return $res; } //-- fin mod : add-on holidays for pcp -------------------------------------------------------------  ?>      
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: ayasha » Sat Dec 16, 2006 6:09 pm

thanks MWE <img>
Last edited by ayasha on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
No one can make you feel inferior without your consent.
~Eleanor Roosevelt

ayasha
Sr Integra Member
Sr Integra Member
 
Posts: 634
Likes: 0 post
Liked in: 0 post
Joined: Tue Mar 28, 2006 6:10 pm
Cash on hand: 0.00

Re: [solved] Activity Mod for 141

PostAuthor: DjPorkchop » Mon Dec 18, 2006 1:19 am

No Probs Cleo. Did that do the trick for you?
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: ayasha » Mon Dec 18, 2006 5:50 am

yes, that worked <img>
Last edited by ayasha on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
No one can make you feel inferior without your consent.
~Eleanor Roosevelt

ayasha
Sr Integra Member
Sr Integra Member
 
Posts: 634
Likes: 0 post
Liked in: 0 post
Joined: Tue Mar 28, 2006 6:10 pm
Cash on hand: 0.00

Re: [solved] Activity Mod for 141

PostAuthor: DjPorkchop » Mon Dec 18, 2006 2:32 pm

Well great Cleo! I'm glad to have helped. And Good news, I have a Trophy King Block for you as well. the code was written by someone else and didn't work. I have tweaked it a tad and you can now see it in action at my test site [url=http]MWEVA.COM[/url] I have it set as a header up top.

First what I need you to do is get into your root files and go to the blocks folder and remove anything trophy king related. It may be something along the lines of blocks_imp_trophyking.php

Next go to your templates folders and remove anything similar to trophyking_block.tpl

That should get rid of your current broken Trophy King/Queen Box

Now to add your new block.

Creat file trophyking_block.tpl
Place this code
Code: Select all
   <table> <tr> <td> <span> <img><br><br> <BEGIN> {trophyking.BEST} <END> </span> </td> </tr> </table>  


Save

Create file blocks_imp_trophyking.php
Place code
Code: Select all
<php> * Description : Display current Trophy King * version : 1.0.0 (Oct 24, 2005) * ************************************************************/ /************************************************************ * For Security Purposes, Please Check: * [url=http://IntegraMOD-tw.net]http://IntegraMOD-tw.net[/url] or [url=http://IntegraMOD.com]http://IntegraMOD.com[/url] * for the latest version of this MOD. * Downloading this MOD from other sites could cause malicious * code to enter into your phpBB Forum. * ************************************************************/ /*********************************************************** * * This program is free software; you can redistribute it * and/or modify it under the terms of the GNU General Public * License as published by the Free Software Foundation; * either version 2 of the License, or (at your option) * any later version. * ************************************************************/  if ( !defined('IN_PHPBB') ) { die("Hacking attempt"); }  if(!function_exists(imp_trophyking_block_func)) { function imp_trophyking_block_func() { global $template, $db, $theme, $phpEx, $userdata;  $q = "SELECT * FROM ". USERS_TABLE ." ORDER BY user_trophies DESC";  $best = $db -> sql_query($q); $trophyking = $db -> sql_fetchrow($best);  $username = $trophyking['username']; $user_id = $trophyking['user_id']; $trophies = $trophyking['user_trophies']; $link = ($trophyking['user_id'] == ANONYMOUS) ? ". ". $trophyking['username'] : "<b><a>". $username ."</a></b>";  $template -> assign_block_vars('trophyking', array( 'BEST' => $link . "<br><b>". number_format($trophies) . "</b> Trophies" ) );  } }    imp_trophyking_block_func();  ?>

Save

Upload files trophyking_block.tpl to your templates/blocks directory
Upload blocks_imp_trophyking.php to you root/blocks folder

Exit and log in to your ACP go Im Portal, and choose your page you wish to creat a new block in.

Name: Trophy King
Active: Yes
Type: BBcode
Cache: no
Block File: trophy King
View By: Your Choice

All the following options are your choice. I hope this helps you and others. I have had this block for a while and was not in a hurry to get it to work. Thx for lighting a fire under my Duff. Let me know if you have any issues with this block and I'll do what I can to help. Have a great day/night Ray
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: ayasha » Mon Dec 18, 2006 3:38 pm

thanks MWE, that worked great <img>
Last edited by ayasha on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
No one can make you feel inferior without your consent.
~Eleanor Roosevelt

ayasha
Sr Integra Member
Sr Integra Member
 
Posts: 634
Likes: 0 post
Liked in: 0 post
Joined: Tue Mar 28, 2006 6:10 pm
Cash on hand: 0.00

Re: [solved] Activity Mod for 141

PostAuthor: DjPorkchop » Mon Dec 18, 2006 3:48 pm

Cleo Im glad I got to help. I have been getting so much info from this community for so long , Im finally glad I could give back some.

I am also working on many other blocks for activity mod as well. Note though they are not my codes. All I did was make them work. For some reason I had to tweak a few lines but all seems good. If anyone is interested in these blocks let me know and Ill get to work on them Immediately and have them ready to go In a new thread since Ms. Cleo's probs have been solved here.
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: shedt_v » Mon Dec 18, 2006 5:44 pm

I would love these blocks, would they work with arcade mod?

Could you post how you made them?
Last edited by shedt_v on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.

shedt_v
Integra Member
Integra Member
 
Posts: 114
Likes: 0 post
Liked in: 0 post
Joined: Sat Dec 09, 2006 8:37 am
Cash on hand: 0.00

PostAuthor: ayasha » Mon Dec 18, 2006 7:15 pm

:lol:

what do these other block do MWE? maybe you can begin a new thread telling what they are and the purpose they serve <img>
Last edited by ayasha on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
No one can make you feel inferior without your consent.
~Eleanor Roosevelt

ayasha
Sr Integra Member
Sr Integra Member
 
Posts: 634
Likes: 0 post
Liked in: 0 post
Joined: Tue Mar 28, 2006 6:10 pm
Cash on hand: 0.00

Re: [solved] Activity Mod for 141

PostAuthor: DjPorkchop » Mon Dec 18, 2006 10:19 pm

Ok. Ill get a new thread going. I have a bunch more ready to go.
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: DjPorkchop » Tue Dec 19, 2006 12:39 am

"shedt_v";p="18580" wrote:I would love these blocks, would they work with arcade mod?

Could you post how you made them?


I think they do work with Napoleans arcade mod. A couple of them need editing though to make them work. Ill have to check on that.

And I would love to show you how I made them but i didnt make them as I stated before. I found these a long time ago and just played with them til I got them to work. Thats why all the original authors and copyrights still exist in the code and my name is nowhere at all. It is not my work. Only my fixing.
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 Modifications

Who is online

Registered users: App360MonitorBot, Bing [Bot], Google [Bot]