[RC] 2.0.4/2.0.5 : Profile Controle Panel v 1.0.1

A place for MOD Authors to post and receive feedback on MODs still in development. No MODs within this forum should be used within a live environment! No new topics are allowed in this forum.
Forum rules
READ: phpBB.com Board-Wide Rules and Regulations

IMPORTANT: MOD Development Forum rules

On February 1, 2009 this forum will be set to read only as part of retiring of phpBB2.
Silvertongue
Registered User
Posts: 116
Joined: Tue Aug 20, 2002 4:31 am
Contact:

Post by Silvertongue »

Silmarillion wrote: Has anyone tried to get the Mass PM to work with the PCP? I keep getting errors.....was just wondering


Still haven't seen an answer for this....anyone been able to successfully get it working? I'm currently trying to install it, but running into a major issue when trying to modify the profilcp_prvmsg.php file.

These are the instructions for the original prvmsg.php file, but the profilcop_prvmsg.php file is not the same as the original, so I run into errors.

Here are the instructions:

Code: Select all

# 
#-----[ OPEN ]------------------------------------------------ 
# 
privmsg.php 

# 
#-----[ FIND ]------------------------------------------------ 
# 
$to_username = $HTTP_POST_VARS['username']; 

# 
#-----[ REPLACE WITH ]---------------------------------------- 
#

// Start replacement - Custom mass PM MOD
$to_username_array = explode (",", $HTTP_POST_VARS['username']);

foreach ($to_username_array as $name) $temp_array[] = trim($name);
$to_username_array=$temp_array;

sort ($to_username_array);

$n=0;
while ( !empty($to_username_array[$n]) )
{
	$to_username_array[$n] = trim ($to_username_array[$n]);
	$to_usernames .=  (($to_usernames) ? "," : "" ) . "'" . $to_username_array[$n++]."'";
}
// End replacement - Custom mass PM MOD

# 
#-----[ FIND ]------------------------------------------------ 
# 
$sql = "SELECT user_id
FROM
WHERE username =
AND

# 
#-----[ IN-LINE FIND ]---------------------------------------- 
#
SELECT user_id

# 
#-----[ IN-LINE AFTER, ADD ]---------------------------------- 
#
, username

# 
#-----[ IN-LINE FIND ]---------------------------------------- 
# 
WHERE username = '" . str_replace("\'", "''", $to_username) . "'

# 
#-----[ IN-LINE REPLACE WITH ]-------------------------------- 
# 
WHERE username IN (" . str_replace("\'", "''", $to_usernames) . ")

#
#-----[ IN-LINE FIND ]---------------------------------------- 
# 
ANONYMOUS

# 
#-----[ IN-LINE AFTER, ADD ]---------------------------------- 
#
 . " ORDER BY username ASC" 

# 
#-----[ FIND ]------------------------------------------------ 
# 
			if ( !($result = $db->sql_query($sql)) )
			{
				$error = TRUE;
				$error_msg = $lang['No_such_user'];
			}

			$to_userdata = $db->sql_fetchrow($result);
		}
		else
		{

# 
#-----[ REPLACE WITH ]---------------------------------------- 
# 

// Start replacement - Custom mass PM MOD
if( !($result2 = $db->sql_query($sql)) )
{
	message_die(GENERAL_ERROR, 'Could not obtain users PM information', '', __LINE__, __FILE__, $sql);
}

$to_users = $db->sql_fetchrowset($result2);
$db->sql_rowseek(0,$result2);
$n=0;
while ( $to_username_array[$n] && !$error)
{
if (strcasecmp($to_users[$n]['username'],str_replace("\'", "'", $to_username_array[$n]))) 
{ 
$error = TRUE; 
$error_msg .= $lang['No_such_user']." '".str_replace("\'", "'", $to_username_array[$n])."'";
}
	$n++;
}
}
else
{
// End replacement - Custom mass PM MOD

# 
#-----[ FIND ]------------------------------------------------ 
# 
if ( !$userdata['user_allow_pm'] )
{
$message =
message_die(
}

# 
#-----[ AFTER, ADD ]------------------------------------------ 
#

// Start replacement - Custom mass PM MOD
include($phpbb_root_path . 'includes/emailer.'.$phpEx);
while ($to_userdata = $db->sql_fetchrow($result2))
{
// End replacement - Custom mass PM MOD

# 
#-----[ FIND ]------------------------------------------------ 
# 
include($phpbb_root_path . 'includes/emailer.'.$phpEx);
$emailer =

# 
#-----[ IN-LINE FIND ]---------------------------------------- 
#
include($phpbb_root_path . 'includes/emailer.'.$phpEx);

# 
#-----[ IN-LINE REPLACE WITH ]-------------------------------- 
#
// 1 line deleted for Custom mass PM MOD

# 
#-----[ FIND ]------------------------------------------------ 
# 
$emailer->send(

# 
#-----[ REPLACE WITH ]---------------------------------------- 
#

// Start replacement - Custom mass PM MOD
if ( count($to_username_array) > 1 )
{
	$emailer->send('yes');
} else
{
	$emailer->send('no');
}
// End replacement - Custom mass PM MOD

# 
#-----[ FIND ]------------------------------------------------ 
# 
$emailer->reset(
}
}

# 
#-----[ AFTER, ADD ]------------------------------------------ 
#

// Start add - Custom mass PM MOD
}
// End add - Custom mass PM MOD

# 
#-----[ FIND ]------------------------------------------------ 
# 
'body' => 'privmsgs_body.tpl')
);

# 
#-----[ AFTER, ADD ]------------------------------------------ 
# 

// Start add - Custom mass PM MOD
$template->assign_block_vars('switch_display_mass_pm_button', array());
// End add - Custom mass PM MOD

# 
#-----[ FIND ]------------------------------------------------ 
# 
$post_pm_img = '<a href=

# 
#-----[ AFTER, ADD ]------------------------------------------ 
# 

// Start add - Custom mass PM MOD
include($phpbb_root_path . 'language/lang_' . $board_config['default_lang'] . '/lang_mass_pm.' . $phpEx);

if ( $userdata['user_id'] != ANONYMOUS )
{
	if ( $userdata['user_level'] == ADMIN )
	{
		$mass_pm_img = '<a href="' . append_sid("groupmsg.$phpEx") . '"><img src="' . $images['mass_pm'] . '" border="0" alt="' . $lang['Mass_pm'] . '" /></a>';
	} else
	{
		$sql_g = "SELECT DISTINCT g.group_id, g.group_name 
		FROM ".GROUPS_TABLE . " g, ".USER_GROUP_TABLE . " ug 
		WHERE g.group_single_user <> 1
			AND (
				(g.group_allow_pm='".AUTH_MOD."' AND g.group_moderator = '" . $userdata['user_id']."') OR  
				(g.group_allow_pm='".AUTH_ACL."' AND ug.user_id = " . $userdata['user_id'] . " AND ug.group_id = g.group_id ) OR
				(g.group_allow_pm='".AUTH_REG."') 		
			)" ;
		if( !$g_result = $db->sql_query($sql_g) ) message_die(GENERAL_ERROR, "Could not select group names!", __LINE__, __FILE__, $sql);
		$group_list = $db->sql_fetchrowset($g_result);

		if( !empty($group_list) )
		{
			$mass_pm_img = '<a href="' . append_sid("groupmsg.$phpEx") . '"><img src="' . $images['mass_pm'] . '" border="0" alt="' . $lang['Mass_pm'] . '" /></a>';
		}
	}
}
// End add - Custom mass PM MOD

# 
#-----[ FIND ]------------------------------------------------ 
# 
'POST_PM_IMG' =>

# 
#-----[ AFTER, ADD ]------------------------------------------ 
# 

// Start add - Custom mass PM MOD
'MASS_PM_IMG' => $mass_pm_img,
// End add - Custom mass PM MOD
Here's where it gets tricky, 'cause the information that I'm supposed to be searching on doesn't match up....so, *ANY* suggestions are welcome.

danb00
Registered User
Posts: 1025
Joined: Sun Dec 15, 2002 9:41 pm
Location: Inside Mod:Extreme PHPBB
Contact:

Post by danb00 »

i sometimes get invalid_session when trying to edit my sig or profial.

i am on phpbb 2.0.6 and is there a fix for it?

because it is sometimes real anoying

thanks in advance

wolferine
Registered User
Posts: 60
Joined: Fri Aug 15, 2003 12:05 pm
Location: Seinäjoki, Finland
Contact:

lang_main.php

Post by wolferine »

FINNISH TRANSLATION !!!

Code: Select all

//-- mod : profile cp ------------------------------------------------------------------------------
//-- add
$lang['profilcp_index_shortcut'] = 'Kotisivu';
$lang['profilcp_index_pagetitle'] = 'Ykstiyisprofiilin kotisivu';
$lang['profilcp_buddy_shortcut'] = 'Ystävälista';
$lang['profilcp_buddy_pagetitle'] = 'Ystävälista';
$lang['profilcp_buddy_friend_shortcut'] = 'Kaveri lista';
$lang['profilcp_buddy_friend_pagetitle'] = 'Muokkaa Ystävälistaasi';
$lang['profilcp_buddy_ignore_shortcut'] = 'Hylättyjen lista';
$lang['profilcp_buddy_ignore_pagetitle'] = 'Muokkaa Hylättyjen listaasi';
$lang['profilcp_buddy_list_shortcut'] = 'Kaikki jäsenet';
$lang['profilcp_buddy_list_pagetitle'] = 'Jäsenlista';
$lang['profilcp_profil_shortcut'] = 'Profiili';
$lang['profilcp_profil_pagetitle'] = 'Profiilin muokkaus';
$lang['profilcp_profil_base_shortcut'] = 'Julkinen';
$lang['profilcp_profil_base_pagetitle'] = 'Julkinen informaatio';
$lang['profilcp_signature_shortcut'] = 'Allekirjoitus';
$lang['profilcp_signature_pagetitle'] = 'Allekirjoitus';
$lang['profilcp_avatar_shortcut'] = 'Henkilökuva';
$lang['profilcp_avatar_pagetitle'] = 'Henkilökuva';
$lang['profilcp_prefer_shortcut'] = 'Asetukset';
$lang['profilcp_prefer_pagetitle'] = 'Asetuksesi';
$lang['profilcp_public_shortcut'] = 'Julkinen';
$lang['profilcp_public_pagetitle'] = 'Julkinen näyttö';
$lang['profilcp_public_base_shortcut'] = 'Perusinformaatio';
$lang['profilcp_public_base_pagetitle'] = 'Profiilin perusinformaatiot';
$lang['profilcp_public_groups_shortcut'] = 'Ryhmät';
$lang['profilcp_public_groups_pagetitle'] = 'Ryhmät joihin tämä henkilö kuuluu';
$lang['profilcp_register_shortcut'] = 'Rekisteröiminen';
$lang['profilcp_register_pagetitle'] = 'Rekisteröinti-informaatio';
$lang['profilcp_admin_shortcut'] = 'Ylläpitäjä';
$lang['profilcp_admin_pagetitle'] = 'Ylläpitäjä ainoastaan-informaatiot';
$lang['profilcp_public_info'] = 'Julkinen informaatio';
$lang['profilcp_sig_preview'] = 'Allekirjoituksen esikatselu';
$lang['profilcp_email_title'] = 'Sähköpostiosoite';
$lang['profilcp_email_confirm'] = 'Vahvista sähköpostiosoitteesi';
$lang['profilcp_buddy_messages'] = 'Viestit';
$lang['profilcp_password_explain'] = 'Sinun täytyy vahvistaa voimassa oleva salasanasi muuttaaksesi sitä';
$lang['profilcp_buddy_add_yourself'] = 'Et voi lisätä itseäsi kaverlistaasi';
$lang['profilcp_buddy_already'] = 'Kyseinen käyttäjä on jo kaverilistallasi';
$lang['profilcp_buddy_ignore'] = 'Lisäys on mahdoton: Olet käyttäjän hylätyt-listalla';
$lang['profilcp_buddy_you_admin'] = 'Koska olet ylläpitäjä tai valvoja et voi lisätä käyttäjiä hylätyt-listaan';
$lang['profilcp_buddy_admin'] = 'Et voi lisätä ylläpitäjiä tai valvojia hylätyt-listaan';

$lang['profilcp_username_missing'] = 'Käyttäjänimi puuttuu';
$lang['profilcp_email_not_matching'] = 'Sähköpostiosoitteet eivät täsmää';

$lang['Click_return_profilcp'] = 'Klikkaa %stästä%s palataksesi profiiliin ';
$lang['Click_return_privmsg'] = 'Klikkaa %stästä%s palataksesi yksityisviesteihin';
$lang['Friend'] = 'Ystävä';
$lang['Online'] = 'Paikalla';
$lang['Offline'] = 'Poissa';
$lang['Hidden'] = 'Piiloitettu';
$lang['Nobody'] = 'Ei kukaan';
$lang['Always_visible'] = 'Aina näkyvissä tälle käyttäjälle';
$lang['Not_always_visible'] = 'Tämä käyttäjä ei näe sinua kun olet paikalla jos sinulla on piiloitettu-tila päällä';
$lang['Unavailable'] = 'Ei saatavissa';

$lang['Friend_list'] = 'Ystävälista';
$lang['Ignore_list'] = 'Hylätty-lista';
$lang['New_subscribed_topic'] = 'Tilatut aiheet';
$lang['Submit_period'] = 'Näe aiheet';
$lang['No_new_subscribed_topic'] = 'Ei uusia vastauksia tilattuihin aiheisiin %s päivän aikaan';
$lang['No_new_subscribed_topic_at all'] = 'Ei uusia vastauksia tilattuihin aiheisiin';

$lang['Ignore_choosed'] = 'Olet valinnut tämän käyttäjän lisättäväksi hylätyt-listaan';

$lang['Add_to_friend_list'] = 'Lisää ystävälistaasi';
$lang['Remove_from_friend_list'] = 'Poista ystävälistaltasi';
$lang['Add_to_ignore_list'] = 'Lisää hylätyt-listaasi';
$lang['Remove_from_ignore_list'] = 'Poista hylätyt-listaltasi';

$lang['Last_visit'] = 'Viimeisin käyntiaika';
$lang['Other'] = 'Muu...';
$lang['View_user'] = 'Näytä minut kirjautuneena';
$lang['Friend_only'] = 'Vain ystävät';

$lang['Profile_created'] = 'Profiilisi on luotu';
$lang['Profile_created_inactive'] = 'Profiilisi on luotu. Kuitenkin, sinun tilisi on nyt passiivinen. Tarkista sähköpostistasi kuinka aktivoida tilisi, tai jos ylläpitäjän aktivointi on tarpeen odota ylläpitäjän aktivointia.';

$lang['anti_robotic'] = 'Kuvan hallitsija';
$lang['anti_robotic_explain'] = 'Tämä osa on sunniteltu rekisteröintibottien ylikuormittamisen esteeksi';
$lang['Robot_flood_control'] = 'Kontrollikuva ei vastaa sitä mitä kirjoitit kenttään';

$lang['Birthday'] = 'Syntymäpäivä';
$lang['Happy_birthday'] = 'Hyvää syntymäpäivää !';
$lang['birthday_msg'] = 'Hei %s, <br><br><br> %s on onnellinen saadessaan toivottaa sinulle Hyvää Syntymäpäivää !';

$lang['User_special'] = 'Erityis vain-ylläpitäjä kentät';
$lang['User_special_explain'] = 'Nämä kentät eivät ole tavallisten käyttäjien muokattavissa. Näistä voit muokata heidän statuksia ja muita asetuksia joita ei anneta käyttäjille.';

$lang['summer_time'] = 'Oletko "daylight saving" alueella ?';
$lang['User_status'] = 'Käyttäjä on aktiivinen';
$lang['User_allow_pm'] = 'Voi lähettää yksityisviestejä';
$lang['User_allowavatar'] = 'Voi näyttää henkilökuvia';
$lang['User_allow_email'] = 'Voi lähettää sähköpostia';
$lang['User_allow_website'] = 'Voi näyttää www infonsa';
$lang['User_allow_messanger'] = 'Voi näyttää viestitysosoitteensa';
$lang['User_allow_real'] = 'Voi näyttää henkilökohtaisen informaationsa';
$lang['User_allow_sig'] = 'Voi näyttää allekirjoituksensa';
$lang['Rank_title'] = 'Arvon nimi';
$lang['No_assigned_rank'] = 'Ei erityisarvoa';

$lang['User_delete'] = 'Poista tämä käyttäjä';
$lang['User_delete_explain'] = 'Klikkaa tässä poistaaksesi käyttäjän; tätä ei voi kumota.';
$lang['User_deleted'] = 'Käyttäjä on poistettu.';

$lang['User_fields'] = 'Käyttäjän kenttälista';
$lang['Sort_none'] = 'Järjestämätön';

$lang['Comp_LE'] = 'vähemmän kuin';
$lang['Comp_EQ'] = 'yhtä paljon kuin';
$lang['Comp_NE'] = 'on erilainen kuin';
$lang['Comp_GE'] = 'on suurempi kuin';
$lang['Comp_IN'] = 'sisältää';
$lang['Comp_NI'] = 'ei sisällä';

$lang['Display'] = 'Näytä';
$lang['Web_info'] = 'Web informaatiot';
$lang['Messangers'] = 'Viestittäjät';
$lang['Real_info'] = 'Henkilökohtaiset informaatiot';

$lang['Realname'] = 'Oikea nimi';
$lang['Home_phone'] = 'Kotinumero';
$lang['Home_fax'] = 'Kotifaxin numero';
$lang['Work_phone'] = 'Työnumero';
$lang['Work_fax'] = 'Työfaxin numero';
$lang['Cellular'] = 'Matkapuhelin';
$lang['Pager'] = 'Piippari';
$lang['Gender'] = 'Sukupuoli';
$lang['Male'] = 'Mies'; 
$lang['Female'] = 'Nainen'; 
$lang['No_gender_specify'] = 'Ei määritelty';

$lang['Public_view_pm'] = 'Hyväksy yksityisviestit';
$lang['Public_view_avatar'] = 'Näytä henkilökuvat';
$lang['Public_view_sig'] = 'Näytä allekirjoitukset';
$lang['Public_view_img'] = 'Näytä kuvat';

$lang['Do_not_allow_pm'] = 'Tämä käyttäjä ei hyväksy yksityisviestejä';
$lang['Agree_rules'] = 'Merkitsemällä tämän laatikon, hyväksyt  ja olet ymmärtänyt käyttäjäehdot';
$lang['Disagree_rules'] = 'Et hyväksynyt käyttäjäehtoja joten et voi rekisteröityä';

$lang['Age'] = 'Ikä';
//-- fin mod : profile cp --------------------------------------------------------------------------
lang_admin.php and buttons coming in a moment :)
Last edited by wolferine on Sat Sep 20, 2003 9:22 am, edited 1 time in total.

wolferine
Registered User
Posts: 60
Joined: Fri Aug 15, 2003 12:05 pm
Location: Seinäjoki, Finland
Contact:

lang_admin.php

Post by wolferine »

FINNISH TRANSLATION!!!

Code: Select all

//-- mod : profile cp ------------------------------------------------------------------------------
//-- add
$lang['summer_time_set'] = 'Onko nyt kesäaika? (lisää 1 tunti paikallisaikaan)';
$lang['Forum_rules'] = 'Foorumin sääntöjen aiheen tunnusnumero';
//-- fin mod : profile cp --------------------------------------------------------------------------
And then the buttons ;)

ImageImage
ImageImage

Download the icons!

User avatar
Carpe Diem
Registered User
Posts: 580
Joined: Tue Dec 10, 2002 11:19 pm

Post by Carpe Diem »

Hello there!

Ok I must ask you a question here. After looking for several different Control Panel mods, there is no doubt your PCP is the most complete, bugfree and supported out there, like all of your other mods of course..

Now actually I was looking for a reasonably simpler Control Panel mod to begin with. Your PCP although being VERY great looking and with the best support and developing potentials, but I have been afraid it would be too difficult to install, prticularly because my board contains some extra features in my default phpbb profile page and I was afraid of losing all that stuff...

So my first question is, as I understand, it is possible to move other fields installed by other mods in profile page like the gender mod, the birthday mod, the DST mod, and the user preferences mod, from the default profile page to the PCP mod, am I correct?! Because losing all that stuff already installed wouldn't be really worth the trouble. I'm asking this because PCP seems to be a VERY BIG mod and requires a complete rearrangement of the profile and ucp_register.php I think... and would probably mess up everything for me I'm afraid!

My second question is, how integrated is your PCP mod with your subcat v2 and calendar mod? I have only subcat v1.1.0 and also I don't have your calendar mod installed.. would it be still possible to install PCP?

Some of these questions might have been answered already but I didn't wanna read through 37 pages of posts here! So if you aldready have replied to these please accept my apologies and just redirect me to the correct path.

Either way, I'll be greatful for some replies on these issues!

Regards,
/Carpe Diem

User avatar
Ptirhiik
Registered User
Posts: 7411
Joined: Mon Jan 06, 2003 10:36 pm
Contact:

Post by Ptirhiik »

> Included in the mod cames 5 tutorials in order to add panel, sub-panels, fields, specials fields etc.. In most cases, adding a field to the PCP is a piece of cake, in some cases it will a few more difficult, but not outstanding :). Actually, if you know exactly for what a field to add is designed, you will find much more easy to add it to the PCP than to the standard usercp.

> integration with other mods of mine : there will be no problem to integrate the PCP with other of my mods. More, you will have a more versatile user preferences option for all the mods (in their last versions). BTW, I advice you to upgrade you cat. hierarchy 1.1.0 to the 2.0.1, which is faster and comes with much more possibilities :). A new version of the PCP is coming in order to integrate all the fixes already published :).

wolferine
Registered User
Posts: 60
Joined: Fri Aug 15, 2003 12:05 pm
Location: Seinäjoki, Finland
Contact:

Post by wolferine »

A new version of the PCP is coming in order to integrate all the fixes already published


Sounds promising ! :wink:

Hades
Registered User
Posts: 784
Joined: Thu Jan 10, 2002 3:31 pm
Location: The Underworld
Contact:

Post by Hades »

Carpe Diem wrote: So my first question is, as I understand, it is possible to move other fields installed by other mods in profile page like the gender mod, the birthday mod, the DST mod, and the user preferences mod, from the default profile page to the PCP mod, am I correct?! Because losing all that stuff already installed wouldn't be really worth the trouble. I'm asking this because PCP seems to be a VERY BIG mod and requires a complete rearrangement of the profile and ucp_register.php I think... and would probably mess up everything for me I'm afraid!


All of the MOD's you mentioned are already in the PCP as standard features :)
Carpe Diem wrote: My second question is, how integrated is your PCP mod with your subcat v2 and calendar mod? I have only subcat v1.1.0 and also I don't have your calendar mod installed.. would it be still possible to install PCP?


They are completely intergrated. Even the categories Hierarchy MOD has an optional part of the MOD to use if you have the PCP installed and wish to allow the users to change the viewing options themselves :)
Hades
Lord of the Underworld


Like roleplaying? Try BlastRPG Forums

User avatar
Carpe Diem
Registered User
Posts: 580
Joined: Tue Dec 10, 2002 11:19 pm

Post by Carpe Diem »

Ptirkiik and Hades:

Thank you very much for the replies and the feedback! Appreciated it!
Regards,
/Carpe Diem

Silvertongue
Registered User
Posts: 116
Joined: Tue Aug 20, 2002 4:31 am
Contact:

Post by Silvertongue »

Ok, I've narrowed down the problem with the Custom Mass PM mod...

Code: Select all

# 
#-----[ FIND ]------------------------------------------------ 
# 
if ( !$userdata['user_allow_pm'] )
{
$message =
message_die(
}

# 
#-----[ AFTER, ADD ]------------------------------------------ 
#

// Start replacement - Custom mass PM MOD
include($phpbb_root_path . 'includes/emailer.'.$phpEx);
while ($to_userdata = $db->sql_fetchrow($result2))
{
// End replacement - Custom mass PM MOD

# 
#-----[ FIND ]------------------------------------------------ 
# 
include($phpbb_root_path . 'includes/emailer.'.$phpEx);
$emailer =

# 
#-----[ IN-LINE FIND ]---------------------------------------- 
#
include($phpbb_root_path . 'includes/emailer.'.$phpEx);

# 
#-----[ IN-LINE REPLACE WITH ]-------------------------------- 
#
// 1 line deleted for Custom mass PM MOD

# 
#-----[ FIND ]------------------------------------------------ 
# 
$emailer->send(

# 
#-----[ REPLACE WITH ]---------------------------------------- 
#

// Start replacement - Custom mass PM MOD
if ( count($to_username_array) > 1 )
{
	$emailer->send('yes');
} else
{
	$emailer->send('no');
}
// End replacement - Custom mass PM MOD

# 
#-----[ FIND ]------------------------------------------------ 
# 
$emailer->reset(
}
}

# 
#-----[ AFTER, ADD ]------------------------------------------ 
#

// Start add - Custom mass PM MOD
}
// End add - Custom mass PM MOD
Specifically, when you add those pieces of code, you end up with the error message:

Fatal error: Cannot redeclare class emailer in /home/ufrealms/public_html/forums/testforum/phpBB2/includes/emailer.php on line 28

So, I commented out the include statement for the emailer.php file. The error goes away at that point, however, the PM is not actually sent....seems to just go into a black whole somewhere. Any ideas?

JJSmallballer
Registered User
Posts: 323
Joined: Tue May 27, 2003 12:23 am
Location: Greensboro, NC
Contact:

Post by JJSmallballer »

Just wondering... Is this Profile CP compatible with things like Point System (which uses profile to display points) Could I install that? Or would it not work?

Thanks
Do you play guitar?
Visit http://www.tabscentral.com

Going to be the best tabs site out there!

Hades
Registered User
Posts: 784
Joined: Thu Jan 10, 2002 3:31 pm
Location: The Underworld
Contact:

Post by Hades »

It will work, but you'll need to make the points system modifications to the appropriate userCP file instead of to profile.php

And same goes for the template files that affect the profile. :)
Hades
Lord of the Underworld


Like roleplaying? Try BlastRPG Forums

eviluncledave
Registered User
Posts: 17
Joined: Thu Jul 03, 2003 4:03 am
Location: Back of milk carton
Contact:

Post by eviluncledave »

zenpig wrote: Try this eviluncledave... http://rpgnet.clanmckeen.com/demo/viewtopic.php?t=584

Ptirhiik is already aware of it and well, already fixed it, too :)


I'm a little slow getting back, but the redirect (and the fix) is much appreciated. I love this and the calendar mod... they've improved the functionality of my forums 100%.

Thanks again. :)

dave

g-funk
Registered User
Posts: 34
Joined: Tue Sep 09, 2003 5:58 pm

Post by g-funk »

Hi.

May I recomend that you make a change in the Buddy/memberlist ?
At the moment you are using the user_lastvisit to show when the user was last online. It might be better to change this to the user_session_time because if a user does not log out the user_lastvisit wont be updated.
The session time is always up to date :)

Ive changed it on my board but I thought you might want to change it in the package.

CYa
G-Funk

User avatar
nubianniht
Registered User
Posts: 338
Joined: Thu Jun 05, 2003 4:02 am
Contact:

Post by nubianniht »

g-funk wrote: Hi.

May I recomend that you make a change in the Buddy/memberlist ?
At the moment you are using the user_lastvisit to show when the user was last online. It might be better to change this to the user_session_time because if a user does not log out the user_lastvisit wont be updated.
The session time is always up to date :)

Ive changed it on my board but I thought you might want to change it in the package.

CYa
G-Funk


how do i make that change?
thanks

Locked

Return to “[2.0.x] MODs in Development”