Profile Problem - Not working Profile Problem - Not working
 

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Main Menu

Profile Problem - Not working

Started by peakoverload, June 06, 2004, 11:04:21 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

peakoverload

I've just upgraded from the PHPNuke version of CPG to the standalone.

I've modded the standalone version to use MD5 encryption as this is what the PHPNuke version uses and I wanted to move all of my members across so they wouldnt have to re-register.

I've managed to get the vast majority of it working but I have just noticed that if i'm logged in using one of my old PHPNuke accounts and click on My Profile I get a There was an error while processing a database query error message. But if I create a new account and login using that then the My Profile works perfectly.

Looking at the user database I can see that the only difference between an old PHPNuke account and a newly created account is that the new account has an entry in the Actkey table (encrypted in MD5).

I can't work out anyway of being able to enter anything valid into this table for old PHPNuke accounts (unless you guys do) so I think the only thing open to me is to disable the My Profile link from appearing.

How do I do this and I am right in thinking that although this would stop my members from changing their passwords I could still do through my admin profile?

Cheers

Joachim Müller

to disable the profile link, edit themes/yourtheme/theme.php, find<!-- BEGIN my_profile -->
                        <a href="{MY_PROF_TGT}">{MY_PROF_LNK}</a> ::
<!-- END my_profile -->
and replace it with <!-- BEGIN my_profile -->
                        <!--<a href="{MY_PROF_TGT}">{MY_PROF_LNK}</a> ::-->
<!-- END my_profile -->


GauGau