Beacause I wanted to see only the usernames in SMF and not the realnames I created a little mod. The mod disables the realname in the Mambo-SMF-Bridge from mambohacks.com and shows instead the username.
I attached it beacause I read that a lot of other people doesn't like the realnames
uhh after all seems to run perfect now i get a template parse error when i try to open the profile of my user. Any others here with the same error? OSCH
edit---- this is the error Parse error: parse error, unexpected $ in /www/htdocs/v159664/simplemachines/Themes/default/Profile.template.php on line 1604
« Last Edit: August 15, 2005, 05:00:32 PM by OSCH »
This step in the installation file, "2. If you want to disable the realnames from the current SMF users run this SQL-Statement: UPDATE smf_members SET realName = memberName;"
go into your mysqleditor phpmyadmin open your database click 'sql' and go for it. Ask your provider for phpmyadmin or similar tool. Most providers installed it. OSCH
Actually the whole Realname thing should be optional inside mambo, i don't know why they didn't modify it up to now. Another solution is to edit the registration module erase the name field and inside the post processing include a small hack like:
Code:
$name = mosGetParam( $_POST, 'username', '');
this would match the name value to the username value and you wouldn't have to worry with any other issues.
None of the text or images in this public website may be copied without the expressed written consent of the authors. Copyright 2005 by MamboHacks.com. Powered by Mambo. All rights reserved. TERMS OF USE