Do you want your members need to Force to confirm new email id if they change the existing confirmed email id.
Here is the code which can help you to do this. This will change the
profile status to Unconfirmed if they change the existing email id. they
again need to confirm the email id to use the site.
Step 1) Create a new language Key as below. You can change the string as per your need
Key name: _UNCONFIRMED_EMAIL
Category: System
String text for English language: <b>Your email id is Unconfirmed. Resend me again <a target=_blank href="activation_email.php">confirmation e-mail</a></b>
Step 2) edit the file /templates/base/scripts/BxBaseMenu.php
Search for the code $sAddons .= ' <a href="' . $this->sSiteUrl . 'member.php">' . _t('_sys_breadcrumb_account') . '</a>';
Add the below code just before the above line if($aProfile['Status'] == 'Unconfirmed') { $sAddons .= _t('_UNCONFIRMED_EMAIL'); }
Step 3) edit the file pedit.php
Search for $this -> oPC -> updateProfile( $this -> iProfileID, $aUpd );
and $this -> oPC -> updateProfile( $this -> aProfiles[0]['Couple'],
$aUpd );
Add the below code just before the above each code
lin
if($aUpd['Email']) { $aUpd['Status'] = 'Unconfirmed'; }
Thanks
Another Day past............................. |
Life is a fatal disease, sexually transmissible - Virginity is carcinogenic! Ask here for vaccine. |
You're very welcome. I hope the information is
useful to you.
Another Day past............................. |
Hi DDDolphin,
This is an amazing addition thank you very much.
I have been waiting for something like this for a long time. Is there any way I can send a donation to you for your work?
Also I am looking for something similar.
My site will be free for women and paid for men. So what I don’t want to happen is people join up as females (so it’s free) and then change their Sex to male. Does this make sense?
Is there any way you can think of to police this situation? I would pay you of course.
Thank you for your time
Chris Hoole
|
Hi DDDolphin,
This is an amazing addition thank you very much.
I have been waiting for something like this for a long time. Is there any way I can send a donation to you for your work?
Also I am looking for something similar.
My site will be free for women and paid for men. So what I don’t want to happen is people join up as females (so it’s free) and then change their Sex to male. Does this make sense?
Is there any way you can think of to police this situation? I would pay you of course.
Thank you for your time
Chris Hoole
I think This will be easy In the step 3 you can add another few lines of code just after as below. You can change the status to Approval or Suspended as per your need for Sex change.
Step 3) edit the file pedit.php
Search for $this -> oPC -> updateProfile( $this ->
iProfileID, $aUpd );
and $this -> oPC -> updateProfile(
$this -> aProfiles[0]['Couple'],
$aUpd );
Add the below codes just before the above each code
lin
if($aUpd['Email']) { $aUpd['Status'] = 'Unconfirmed'; }
if($aUpd['Sex']) { $aUpd['Status'] = 'Approval'; }
Another Day past............................. |
I have been looking for something like this for a very long time... but will this work on 7.0.2?
Please let me know
Darkestar Holdings www.darkestar.com |
Yes it will work :)
I have been looking for something like this for a very long time... but will this work on 7.0.2?
Please let me know
Another Day past............................. |
oooo I'm trying to find out something similar - I want approval required by the admin whenever a member edits their description. Does anyone know how this is done? Any thoughts or suggestions hugley appreciated. |
Is there to make the message display into 3 lines instead of all on one line...I want it to look like this
Hello, Bernard!
|
oooo I'm trying to find out something similar - I want approval required by the admin whenever a member edits their description. Does anyone know how this is done? Any thoughts or suggestions hugley appreciated.
This will be easy. In the above step 3 you can use below lines of code just after as below. You can change the status to Approval as per your need for Description change.
Step 3) edit the file pedit.php
Search for $this -> oPC -> updateProfile( $this -> iProfileID, $aUpd );
and $this -> oPC -> updateProfile( $this -> aProfiles[0]['Couple'], $aUpd );
Add the below codes just before the above each code lin
if($aUpd['DescriptionMe']) { $aUpd['Status'] = 'Approval'; }
Another Day past............................. |
Is there to make the message display into 3 lines instead of all on one line...I want it to look like this
Hello, Bernard!
Yes possible, Just Create the new language Key as below. You can change the string as per your need
Key name: _UNCONFIRMED_EMAIL
Category: System
String text for English language: <b><br /><font color="red">Your email id is Unconfirmed.</font> Resend me again <a target=_blank href="activation_email.php">confirmation e-mail</a><br /></b>
In general.css you may need to change the div.sys_breadcrumb height (height:29px; to height:100%;) so that it can display 3 lines properly.
Another Day past............................. |
Is it possible to have the confirmation email sent out automatically? It is not so obvious that the member needs to click on the "Send confirmation email" link.
Stuart
Do you want your members need to Force to confirm new email id if they change the existing confirmed email id.
Here is the code which can help you to do this. This will change the profile status to Unconfirmed if they change the existing email id. they again need to confirm the email id to use the site.
Step 1) Create a new language Key as below. You can change the string as per your need
Key name: _UNCONFIRMED_EMAIL
Category: System
String text for English language: <b>Your email id is Unconfirmed. Resend me again <a target=_blank href="activation_email.php">confirmation e-mail</a></b>
Step 2) edit the file /templates/base/scripts/BxBaseMenu.php
Search for the code $sAddons .= ' <a href="' . $this->sSiteUrl . 'member.php">' . _t('_sys_breadcrumb_account') . '</a>';
Add the below code just before the above line if($aProfile['Status'] == 'Unconfirmed') { $sAddons .= _t('_UNCONFIRMED_EMAIL'); }
Step 3) edit the file pedit.php
Search for $this -> oPC -> updateProfile( $this -> iProfileID, $aUpd );
and $this -> oPC -> updateProfile( $this -> aProfiles[0]['Couple'], $aUpd );
Add the below code just before the above each code lin
if($aUpd['Email']) { $aUpd['Status'] = 'Unconfirmed'; }
Thanks
There are none so blind as those that will not see. |
I realy likt this function, however it would be great if the confirmation e-mail is send automaticly, can this be done? |
I realy likt this function, however it would be great if the confirmation e-mail is send automaticly, can this be done?
To get the confirmation e-mail send automatically you need to edit the file pedit.php
Search for $this -> oPC -> updateProfile( $this -> iProfileID, $aUpd );
Add the below code just AFTER the above code line
if($aUpd['Email']) { $iMemberID = getLoggedId(); activation_mail( $iMemberID );
}
Another Day past............................. |
Is there a simple way to to change login Username to Email
I've gone through D7's builder and can't find anything to change to that preference it would be a great help if anyone can help.
Common sense is usually on common! |
thanks for this mod. But a very simple work around is, to go back to your settings and save the (new) e-mail address again. This will remove the confirmation line ;) |
I would you like help for version 7.3.3 anybody? beacuse /templates/base/scripts/BxBaseMenu.php is diferent... |
|
i thinks boonex should add it as an option built in dolphin. its essential Always remember that the future comes one day at a time. |
I'm not sure if I'm offering false hope here, but if you untick Preserve Profile Status After Profile Info Editing,
|
I'm not sure if I'm offering false hope here, but if you untick Preserve Profile Status After Profile Info Editing,
That would mean if anyone changes anything on there profile at all. It would need to be approved by admin. So if someone changed there About me or Favorites the Admin would have to re-approve them.
|