Wrong Default Profile Option On Registration


Goto page 1, 2  Next

Subject: Wrong Default Profile Option On Registration
from here
http://www.icyphoenix.com/viewtopic.php?f=3&p=29143#p29143

i tryes also to do

Code: [Download] [Hide] [Select]
ALTER TABLE `phpbb_users` CHANGE `user_allow_pm_in` `user_allow_pm_in` TINYINT(1) NOT NULL DEFAULT '1';
ALTER TABLE `phpbb_users` CHANGE `user_allow_mass_email` `user_allow_mass_email` TINYINT(1) NOT NULL DEFAULT '1';


but i get same as andrea75 (not solved)

useralow

Profile PM  
Subject: Re: Wrong Default Profile Option On Registration
To solve this:

open /includes/usercp_register.php

Search for

Quote:
$allowviewonline = ( isset($_POST['hideonline']) ) ? ( ($_POST['hideonline']) ? 0 : true ) : true;
$profile_view_popup = ( isset($_POST['profile_view_popup']) ) ? ( ($_POST['profile_view_popup']) ? true : 0 ) : 0;
$viewemail = ( isset($_POST['viewemail']) ) ? ( ($_POST['viewemail']) ? true : 0 ) : 0;
$allowmassemail = ( isset($_POST['allowmassemail']) ) ? ( ($_POST['allowmassemail']) ? true : 0 ) : 0;
$allowpmin = ( isset($_POST['allowpmin']) ) ? ( ($_POST['allowpmin']) ? true : 0 ) : 0;
$notifyreply = ( isset($_POST['notifyreply']) ) ? ( ($_POST['notifyreply']) ? true : 0 ) : 0;
$notifypm = ( isset($_POST['notifypm']) ) ? ( ($_POST['notifypm']) ? true : 0 ) : true;
$popup_pm = ( isset($_POST['popup_pm']) ) ? ( ($_POST['popup_pm']) ? true : 0 ) : true;
$setbm = ( isset($_POST['setbm']) ) ? ( ($_POST['setbm']) ? true : 0 ) : 0;
$sid = (isset($_POST['sid'])) ? $_POST['sid'] : 0;





And remplace for:

Quote:
$allowviewonline = ( isset($_POST['hideonline']) ) ? ( ($_POST['hideonline']) ? 0 : true ) : true;
$profile_view_popup = ( isset($_POST['profile_view_popup']) ) ? ( ($_POST['profile_view_popup']) ? true : 0 ) : 0;
$viewemail = ( isset($_POST['viewemail']) ) ? ( ($_POST['viewemail']) ? true : 0 ) : 0;
$allowmassemail = ( isset($_POST['allowmassemail']) ) ? ( ($_POST['allowmassemail']) ? true : 0 ) : true;
$allowpmin = ( isset($_POST['allowpmin']) ) ? ( ($_POST['allowpmin']) ? true : 0 ) : true;
$notifyreply = ( isset($_POST['notifyreply']) ) ? ( ($_POST['notifyreply']) ? true : 0 ) : true;
$notifypm = ( isset($_POST['notifypm']) ) ? ( ($_POST['notifypm']) ? true : 0 ) : true;
$popup_pm = ( isset($_POST['popup_pm']) ) ? ( ($_POST['popup_pm']) ? true : 0 ) : true;
$setbm = ( isset($_POST['setbm']) ) ? ( ($_POST['setbm']) ? true : 0 ) : 0;
$sid = (isset($_POST['sid'])) ? $_POST['sid'] : 0;




Note:

Dont forget clear the cache.

$notifyreply is in true, this meaning all the users receive a email when in her post receive a reply.

If you want the user do not receibe a email when a receive a reply, You do not modify de source code.


I hope this help you.

Last edited by portalpez on Tue 17 Jun, 2008 15:09; edited 1 time in total
Subject: Re: Wrong Default Profile Option On Registration
I think will be good that the new users receive a email notification of reply in theirs post, because if is a new user probably he dont know manage in a forum, and if he is a experimented user, can change this in her profile.

I think....

Subject: Re: Wrong Default Profile Option On Registration
thanks for sharing...

i´ll test this later

Subject: Re: Wrong Default Profile Option On Registration
You welcome. Dont forgett say me is run well :wink:

Subject: Re: Wrong Default Profile Option On Registration
Yes... your solution is fine.

It was a bug.

Thanks for solving it. :mricy:

Subject: Re: Wrong Default Profile Option On Registration
portalpez wrote: [View Post]
You welcome. Dont forgett say me is run well :wink:


thank you...
it worked :)

Profile PM  
Subject: Re: Wrong Default Profile Option On Registration
You welcome!!!

Subject: Re: Wrong Default Profile Option On Registration
Hi there...
I have the same problem but this trick didn't worked for me...
I don't know what to do... Any ideas?
Also my custom profiles (text areas) are always filled with the ones of a specific user.
If you want to try... http://forum.megabass.it

Subject: Re: Wrong Default Profile Option On Registration
ganesh wrote: [View Post]
Hi there...
I have the same problem but this trick didn't worked for me...
I don't know what to do... Any ideas?
Also my custom profiles (text areas) are always filled with the ones of a specific user.
If you want to try... http://forum.megabass.it

what version you use ?

ganesh wrote: [View Post]
Also my custom profiles (text areas) are always filled with the ones of a specific user.
If you want to try... http://forum.megabass.it

what do you mean?

BTW i cant see profiles without login , so an test accound would be ok :wink:

Profile PM  
Subject: Re: Wrong Default Profile Option On Registration
I have 1.2.0.27
Limun wrote: [View Post]
what do you mean?

Just try to register... You should see the problem... ;)
I have 4 text areas that should be empty and are filled with other data (always of the same user).
Curriculum - Bassi - Ampli - Strumentazione passata

If you do need a test account I'll send it in PM, let me know.

Subject: Re: Wrong Default Profile Option On Registration
ganesh wrote: [View Post]
I have 1.2.0.27
I have 4 text areas that should be empty and are filled with other data (always of the same user).
Curriculum - Bassi - Ampli - Strumentazione passata

ahaa , but this is not this problem from this topic

anyway take a look in your ACP>Users>Add Custom Profile Fields or Edit Custom Profile Fields that is added by you or some admin in your site , you can remove it from there :wink:

Profile PM  
Subject: Re: Wrong Default Profile Option On Registration
No, wait.
I do have the problem exposed in this topic.
If you register, you still have disabled PM in.

Then... I DO need those custom profiles, but when you register they should be empty!
I know this is a different problem, I only mentioned it because it seems to me that the db is someway "locked" (I don't know how to explain)...

Subject: Re: Wrong Default Profile Option On Registration
ganesh wrote: [View Post]
No, wait.
I do have the problem exposed in this topic.
If you register, you still have disabled PM in.
ok lets see , activate me please

ganesh wrote: [View Post]
Then... I DO need those custom profiles, but when you register they should be empty!
I know this is a different problem, I only mentioned it because it seems to me that the db is someway "locked" (I don't know how to explain)...

and this as is different please post in new topic

Profile PM  
Subject: Re: Wrong Default Profile Option On Registration
Limun wrote: [View Post]
activate me please

Done.

Limun wrote: [View Post]

and this as is different please post in new topic

I Think it's related... ;)
Of course, I might be wrong... :mricy:

Goto page 1, 2  Next

Page 1 of 2


  
You cannot post new topics
You cannot reply to topics
You cannot edit your posts
You cannot delete your posts
You cannot vote in polls
You cannot attach files
You can download files
You cannot post calendar events

   

This is a "Lo-Fi" version of our main content. To view the full version with more information, formatting and images, please click here.

Powered by Icy Phoenix based on phpBB
Design by DiDiDaDo

Generation Time: 0.1696s (PHP: 42% SQL: 58%)
SQL queries: 16 - Debug On - GZIP Enabled