Pagina 1 van 1

Hoe kan ik een bepaalde functie standaard op nee zetten

Geplaatst: 26 aug 2006, 22:23
door PaulusB
Ik wil een functie die als je registreerd dat die standaard op nee staat

Code: Selecteer alles

Pop up window voor Profiel bezichtigingen:  Ja / Nee 
Hoe zet ik daar een standaard voor in de file want nu staat die op ja :?:

Geplaatst: 27 aug 2006, 09:53
door svenn
in templates/subSilver/profile_add_body.tpl moet je het die optie checked zetten.

Geplaatst: 27 aug 2006, 09:57
door Paul
svennson schreef:in templates/subSilver/profile_add_body.tpl moet je het die optie checked zetten.
Nope, dat wordt geregeld in includes/usercp_register.php ;)

Geplaatst: 27 aug 2006, 19:33
door PaulusB
Oke maar dan wel doen wat svennson zegt maar dan in de andere file :?:

Geplaatst: 29 aug 2006, 22:31
door Luuk
Niet helemaal, het bestand wat paul zegt klopt maar je moet zoeken naar

Code: Selecteer alles

	$viewemail = ( isset($HTTP_POST_VARS['viewemail']) ) ? ( ($HTTP_POST_VARS['viewemail']) ? TRUE : 0 ) : 0;
	$allowviewonline = ( isset($HTTP_POST_VARS['hideonline']) ) ? ( ($HTTP_POST_VARS['hideonline']) ? 0 : TRUE ) : TRUE;
	$notifyreply = ( isset($HTTP_POST_VARS['notifyreply']) ) ? ( ($HTTP_POST_VARS['notifyreply']) ? TRUE : 0 ) : 0;
	$notifypm = ( isset($HTTP_POST_VARS['notifypm']) ) ? ( ($HTTP_POST_VARS['notifypm']) ? TRUE : 0 ) : TRUE;
	$popup_pm = ( isset($HTTP_POST_VARS['popup_pm']) ) ? ( ($HTTP_POST_VARS['popup_pm']) ? TRUE : 0 ) : TRUE;
Die laatste 0 of TRUE (nee of ja) moet je veranderen.