Moderator: Integra Moderator
"Mandoo";p="12449" wrote:MrDSL, ive just been racking my brains and my hardrive to find your original instructions for installing rabitoshi on pcp, cant find them anywhere, any chance you still have a copy kicking around?
##-----[ OPEN ]------------------------------------------#profilcp/def/def_userfuncs_custom.php ##-----[ FIND ]------------------------------------------#?> ##-----[ BEFORE, ADD ]------------------------------------------#function pcp_output_user_rabbitoshi($field_name, $view_userdata, $map_name=''){ global $board_config, $phpbb_root_path, $phpEx, $lang, $images, $userdata, $server_url, $db; global $values_list, $tables_linked, $classes_fields, $user_maps, $user_fields; $txt = ''; $img = ''; $res = ''; $lang['Rabbitoshi_topic']='See this user's pet'; $txt = '<a>'.$lang['Rabbitoshi_topic'].'</a>'; $res = pcp_output_format($field_name, $txt, $img, $map_name ); return $res;} ##-----[ OPEN ]------------------------------------------#profilcp/def/def_userfields.php ##-----[ FIND ]------------------------------------------#// messengers informations ##-----[ BEFORE, ADD ]------------------------------------------# 'user_rabbitoshi' => array( 'lang_key' => 'Pet', 'class' => 'generic', 'type' => 'VARCHAR', 'dsp_func' => 'pcp_output_user_rabbitoshi', 'visibility' => true, ), ##-----[ OPEN ]------------------------------------------#profilcp/def/def_usermaps.php ##-----[ FIND ]------------------------------------------# '[lf]3' => array( ), ##-----[ BEFORE, ADD ]------------------------------------------# 'user_rabbitoshi' => array( 'leg' => true, 'txt' => true, ), ##-----[ FIND ]------------------------------------------# 'user_country' => array( 'img' => true, 'style' => '<br><div>%s ', ), ##-----[ BEFORE, ADD ]------------------------------------------# 'user_rabbitoshi' => array( 'txt' => true, 'style' => '<div>%s ', ),
"Mandoo";p="12588" wrote:Wonderfull. Ive had a poke around on it and cant find any problems. Do you mind if i copy the instructions over to the ADR site as well?
Registered users: App360MonitorBot, Bing [Bot], Google [Bot]