http://www.icyphoenix.com/viewtopic.php?f=35&t=4314
-----------------------------------
Limun
Fri 13 Jun, 2008 20:03

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 linenumbers=false]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';[/code]

but i get same as andrea75 (not solved)

 [img]http://www.icyphoenix.com/files/images/3336/useralow.png[/img]


-----------------------------------
portalpez
Tue 17 Jun, 2008 14:17

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;
[/quote]




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;[/quote]



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.


-----------------------------------
portalpez
Tue 17 Jun, 2008 14:27

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....


-----------------------------------
KugeLSichA
Sat 21 Jun, 2008 13:17

Re: Wrong Default Profile Option On Registration
-----------------------------------
thanks for sharing...

i´ll test this later


-----------------------------------
portalpez
Sun 22 Jun, 2008 23:51

Re: Wrong Default Profile Option On Registration
-----------------------------------
You welcome. Dont forgett say me is run well  :wink:


-----------------------------------
Mighty Gorgon
Thu 10 Jul, 2008 00:44

Re: Wrong Default Profile Option On Registration
-----------------------------------
Yes... your solution is fine.

It was a bug.

Thanks for solving it. :mricy:


-----------------------------------
Limun
Thu 10 Jul, 2008 01:52

Re: Wrong Default Profile Option On Registration
-----------------------------------
[quote user="portalpez" post="29365"]You welcome. Dont forgett say me is run well  :wink:[/quote]

thank you...
it worked  :)


-----------------------------------
portalpez
Fri 29 Aug, 2008 17:48

Re: Wrong Default Profile Option On Registration
-----------------------------------
You welcome!!!


-----------------------------------
ganesh
Fri 02 Jan, 2009 10:55

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


-----------------------------------
Limun
Fri 02 Jan, 2009 11:06

Re: Wrong Default Profile Option On Registration
-----------------------------------
[quote user="ganesh" post="35277"]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[/quote]
what version you use ?

[quote user="ganesh" post="35277"]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[/quote]
what do you mean? 

btw i cant see profiles without login , so an test accound would be ok  :wink:


-----------------------------------
ganesh
Fri 02 Jan, 2009 11:15

Re: Wrong Default Profile Option On Registration
-----------------------------------
I have 1.2.0.27
[quote user="Limun" post="35278"]what do you mean? 
 [/quote]
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.


-----------------------------------
Limun
Fri 02 Jan, 2009 11:22

Re: Wrong Default Profile Option On Registration
-----------------------------------
[quote user="ganesh" post="35279"]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
[/quote]
ahaa , but this is not this problem from this topic

anyway take a look in your [b]ACP>Users>Add Custom Profile Fields or Edit Custom Profile Fields[/b] that is added by you or some admin in your site , you can remove it from there  :wink:


-----------------------------------
ganesh
Fri 02 Jan, 2009 11:26

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)...


-----------------------------------
Limun
Fri 02 Jan, 2009 11:36

Re: Wrong Default Profile Option On Registration
-----------------------------------
[quote user="ganesh" post="35281"]No, wait.
I do have the problem exposed in this topic. 
If you register, you still have disabled PM in.[/quote]ok lets see , activate me please

[quote user="ganesh" post="35281"]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)...[/quote]
and this as is different please post in new topic


-----------------------------------
ganesh
Fri 02 Jan, 2009 11:48

Re: Wrong Default Profile Option On Registration
-----------------------------------
[quote user="Limun" post="35282"]activate me please
[/quote]
Done.

[quote user="Limun" post="35282"]
and this as is different please post in new topic[/quote]
I Think it's related... ;)
Of course, I might be wrong... :mricy:


-----------------------------------
Limun
Fri 02 Jan, 2009 11:51

Re: Wrong Default Profile Option On Registration
-----------------------------------
[quote user="ganesh" post="35284"][quote user="Limun" post="35282"]activate me please
[/quote]
Done.
[/quote]

so you edited includes/usercp_register.php ?
any what version of icyphoneix you use ?


-----------------------------------
ganesh
Fri 02 Jan, 2009 11:53

Re: Wrong Default Profile Option On Registration
-----------------------------------
Yes I do.

[quote user="ganesh" post="35279"]I have 1.2.0.27
[/quote]


-----------------------------------
Limun
Fri 02 Jan, 2009 11:56

Re: Wrong Default Profile Option On Registration
-----------------------------------
[quote user="ganesh" post="35286"]Yes I do.

[quote user="ganesh" post="35279"]I have 1.2.0.27
[/quote][/quote]

and you tryed 
[spoiler]ALTER TABLE `[color=red]phpbb[/color]_users` CHANGE `user_allow_pm_in` `user_allow_pm_in` TINYINT(1) NOT NULL DEFAULT '1'; 
ALTER TABLE `[color=red]phpbb[/color]_users` CHANGE `user_allow_mass_email` `user_allow_mass_email` TINYINT(1) NOT NULL DEFAULT '1';[/spoiler]

did you changed [color=red]phpbb[/color] to your database prefix before you ALTER-ed TABLE ?


-----------------------------------
ganesh
Fri 02 Jan, 2009 12:00

Re: Wrong Default Profile Option On Registration
-----------------------------------
Of course, otherwise I wouldn't have posted here... ;)


-----------------------------------
Limun
Fri 02 Jan, 2009 12:06

Re: Wrong Default Profile Option On Registration
-----------------------------------
[quote user="ganesh" post="35288"]Of course, otherwise I wouldn't have posted here... ;)[/quote]
sorry for asking so many questions  :oops: 

anyway can i see your tables (this )
 [img]http://www.icyphoenix.com/files/images/3336/useralow_1230894292_636226.png[/img] 

and your usercp_register.php

PS. did you empty-ed cache from root cache also maybe you shoud upgrade to version "c"


-----------------------------------
ganesh
Fri 02 Jan, 2009 12:14

Re: Wrong Default Profile Option On Registration
-----------------------------------
[quote user="Limun" post="35289"]
sorry [/quote]
You're helping me, you don't have to be sorry...  :lol: 
Anyway...

 [img]http://www.icyphoenix.com/files/images/23/immagine_3.png[/img]


-----------------------------------
Limun
Fri 02 Jan, 2009 13:17

Re: Wrong Default Profile Option On Registration
-----------------------------------
[quote user="ganesh" post="35290"][quote user="Limun" post="35289"]
sorry [/quote]
You're helping me, you don't have to be sorry...  :lol: 
Anyway...

 [img]http://www.icyphoenix.com/files/images/23/immagine_3.png[/img][/quote]

this cant be true...  :? 
when you made this changes ? today? 
btw u didnt answered me if you cleared cache from root cache folder...
maybe you can also try optimise database...but backupit first before

also there is one strange thing 
your mass e-mail it on : 0; but in profile is set to "yes"


-----------------------------------
Mighty Gorgon
Fri 02 Jan, 2009 14:02

Re: Wrong Default Profile Option On Registration
-----------------------------------
Are you sure you have applied the latest available patch?

This problem has already been discussed and solved... try to search. :wink:


-----------------------------------
ganesh
Fri 02 Jan, 2009 14:06

Re: Wrong Default Profile Option On Registration
-----------------------------------
I made the changes when I first noticed the problem, about 2 months ago...  :cry: 
And yes... I cleared my cache several times.
I do manteinance about once a week (with backup) and nothing solved this...
I think I have a bad db...  :shock:

[quote user="Mighty Gorgon" post="35306"]Are you sure you have applied the latest available patch?[/quote]
I'm sure I have not! :lol:
You know how problematics are upgrades for me... ;)

[quote user="Mighty Gorgon" post="35306"]
This problem has already been discussed and solved... try to search. [/quote]
Oh... Well... I'm sorry... I only found this one...


-----------------------------------
Mighty Gorgon
Fri 02 Jan, 2009 15:04

Re: Wrong Default Profile Option On Registration
-----------------------------------
[quote user="ganesh" post="35307"][quote user="Mighty Gorgon" post="35306"]Are you sure you have applied the latest available patch?[/quote]
I'm sure I have not! :lol:
You know how problematics are upgrades for me... ;)[/quote]
Files are not too much, have a try... and then come back if the problem is still there. :wink:


-----------------------------------
ganesh
Fri 02 Jan, 2009 15:08

Re: Wrong Default Profile Option On Registration
-----------------------------------
[quote user="Mighty Gorgon" post="35311"]
Files are not too much, have a try[/quote]
You're right... I guess it's the best thing to do.


EDIT:
Well... Upgraded to "c"... and Pm_in is now set correctly.
Thank you very much.

But... The other problem remains still... Uff... :(


-----------------------------------
Mighty Gorgon
Sun 01 Feb, 2009 14:29

Re: Wrong Default Profile Option On Registration
-----------------------------------
Please open a new topic for that.


-----------------------------------
ganesh
Sun 01 Feb, 2009 18:08

Re: Wrong Default Profile Option On Registration
-----------------------------------
Oh well... I don't know why but the anonymous user had that infos in the profile.
Once edited, never happened again... So, it's solved.
;)


