Forum

MamboHacks.com => Mambo-SMF Forum 1.3.0 Support => Topic started by: moin339 on August 03, 2005, 05:10:52 AM



Title: Only usernames in SMF
Post by: moin339 on August 03, 2005, 05:10:52 AM
Hi!

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 ;)


Title: Re: Only usernames in SMF
Post by: cowboy on August 03, 2005, 10:28:37 AM
This is a nice contribution. Maybe you want to submit it to the downloads section. ;)


Title: Re: Only usernames in SMF
Post by: moin339 on August 03, 2005, 10:46:11 AM
Quote from: cowboy on August 03, 2005, 10:28:37 AM
This is a nice contribution. Maybe you want to submit it to the downloads section. ;)


done ;)


Title: Re: Only usernames in SMF
Post by: OSCH on August 09, 2005, 04:16:30 AM
how to install the mod ?? in mamboadmin - modules - install i cant do it.
where is the way i cant see?
greetings
OSCH


Title: Re: Only usernames in SMF
Post by: moin339 on August 09, 2005, 05:33:59 AM
just unzip the file and look at the text-files ;)


Title: Re: Only usernames in SMF
Post by: OSCH on August 09, 2005, 06:13:43 AM
uuutch -  ::) yes i see  :-[
thanks
OSCH


Title: Re: Only usernames in SMF
Post by: OSCH on August 15, 2005, 04:46:56 PM
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


Title: Re: Only usernames in SMF
Post by: moin339 on August 22, 2005, 02:36:04 PM
and whats written in this line?


Title: Re: Only usernames in SMF
Post by: Marc Asbill on August 25, 2005, 12:33:45 AM
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;"

How do I do that?

Thanks!


Title: Re: Only usernames in SMF
Post by: OSCH on August 25, 2005, 06:50:47 AM
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


Title: Re: Only usernames in SMF
Post by: pestilence on August 25, 2005, 07:21:55 PM
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.


Forum | Powered by SMF 1.0.5 & Mambo-SMF.
© 2001-2005, Lewis Media. All Rights Reserved.