Arrow Home arrow Forums
larger font smaller font default font Fixed screen resolution Auto adjust screen size

Joomlapolis Forums  


<< Start < Prev 1 2 Next > End >>
Re:Bug in "Resend Activation Emails"
Date: 2008/04/30 13:07 By: e_builds Status: User  
Karma: 0  
Fresh Joomlapolitan

Posts: 14
graphgraph
Thanks so far, B0ris. You set me on the way to further investigate this.
Check comprofiler.class.php around line 4965:
Code:

 if ( $row->cbactivation ) {                 $confirmCode $row->cbactivation;             } else {                 $confirmCode '';        // this was registrations-confirm codes before 1.0.2, removed at 1.1: md5($row->id);             }


Why was this removed at 1.1 ?
Anyway, seems your code belongs there, B0ris.

Checking it out further...
www.e-builds.com (A crappy sites is often proof of many customers holding you from your own site)
Click here to see the profile of this user The administrator has disabled public write access.

Re:Bug in "Resend Activation Emails"
Date: 2008/04/30 13:31 By: e_builds Status: User  
Karma: 0  
Fresh Joomlapolitan

Posts: 14
graphgraph
OK, I adjusted it a bit and placed it in the class. You never know where else the class is misused.
SO, around line 4962 in "comprofiler.class.php", make the function like this:
Code:

 function _replaceVariables($msg$row){         global $mainframe$_CB_database$mosConfig_live_site$ueConfig$mosConfig_emailpass;                  if($ueConfig['reg_confirmation']==1) {             if ( $row->cbactivation ) {                 $confirmCode $row->cbactivation;             } else {                 $row->cbactivation =                      "reg" md5cbMakeRandomString() ) .                      sprintf"%08x", ((int) hexdec(substrmd5 $mainframe->getCfg'secret' ) . $mainframe->getCfg'db' ) ), 07)))                      ^ ( (int) $row->id ) );                  $_CB_database->setQuery(    "UPDATE #__comprofiler "                     "\n SET cbactivation='".$row->cbactivation."' "                     "\n WHERE user_id='".$row->id."' "                     );         $_CB_database->query();                 $confirmCode $row->cbactivation;//$row->cbactivation;        // this was registrations-confirm codes before 1.0.2, removed at 1.1:  md5($row->id);             }



Post edited by: e_builds, at: 2008/04/30 13:32

Post edited by: e_builds, at: 2008/04/30 13:32
www.e-builds.com (A crappy sites is often proof of many customers holding you from your own site)
Click here to see the profile of this user The administrator has disabled public write access.

Re:Bug in "Resend Activation Emails"
Date: 2008/05/05 10:07 By: beat Status: Admin  
Karma: 241  
Admin

Posts: 4063
graphgraph
Thanks, fixed in CB 1.2 in the new CB user class.
Beat - Developer on Community Builder core Team
- If you like CB and this forum, you will love Nick's CB 1.1 reference manual ! : Click here to Get it now
- Would like to help us move faster ? Get it, and/or help us spend more time coding by helping others in this forum, many thanks
Click here to see the profile of this user The administrator has disabled public write access.

Re:Bug in "Resend Activation Emails"
Date: 2008/08/08 16:41 By: kdeelstra Status: CB Doc subscriber  
Karma: 0  
Fresh Joomlapolitan

Posts: 10
graphgraph
Hi, i yust installed cb yeserday so tis the last one,
but i get also empty confirmcode= emails

So its not corrected in CB 1.2 in the new CB user class?
Click here to see the profile of this user The administrator has disabled public write access.

Re:Bug in "Resend Activation Emails"
Date: 2008/08/08 17:47 By: yogiboy Status: CB Doc subscriber  
Karma: 0  
Junior Joomlapolitan

Posts: 28
graphgraph
Since the initial posting, I have upgraded to CB 1.2 RC2 and have not found another program for resending activation emails.
Aaron Star
www.chelseayoga.net
Click here to see the profile of this user The administrator has disabled public write access.

Re:Bug in "Resend Activation Emails"
Date: 2008/09/29 21:12 By: lgadola Status: CB Doc subscriber  
Karma: 0  
Fresh Joomlapolitan

Posts: 1
graphgraph
I have installed CB 1.2 RC2 and still get emails with empty confirmcode.
Any news on this?
Thanks
Lukas
Click here to see the profile of this user The administrator has disabled public write access.

<< Start < Prev 1 2 Next > End >>

Documentation

Documentation Subscription Service
(updated for CB 1.2 RC2)

What?

Why?

Where?

Just click here for answers!

Click here for a yearly subscription: subscribe now

Download Latest Release

The latest stable Community Builder Release is version 1.1 for Joomla 1.0 and Mambo.
You need to be a registered member of Joomlapolis to download.

The latest release candidate of Community Builder is version 1.2 RC3, native for Joomla 1.0, 1.5 and Mambo.
It is available as "thank you" to all CB documentation subscribers at this time.

CB Login