[pmwiki-users] Question about Login Names

OBUTEX / Hladůvka admin at obutex.com
Tue Mar 21 11:20:09 CST 2006


That's a good idea.
I suppose

    $username = PageVar(MakePageName($pagename, $user), '$Name');

comes into local/config.php .

How should be the command if I wish to create not "Group.AliceRoberts" 
but "AliceRoberts.AliceRoberts"  ?

Best regards,
Jiri

Patrick R. Michaud napsal(a):
> On Tue, Mar 21, 2006 at 09:48:45AM -0500, The Editor wrote:
>   
>> Is there some way to automatically modify a login name to
>> automatically be the same it would be changed to if being used as a
>> page name?  
>>     
>
> The MakePageName function automatically converts a string into
> its equivalent pagename.  So, you might want:
>
>     $username = PageVar(MakePageName($pagename, $user), '$Name');
>
> The MakePageName() function takes a string like "alice roberts"
> and turns it into  "Group.AliceRoberts".  The PageVar() function
> then extracts just the name portion of that (i.e., "AliceRoberts").
>
> Pm
>
>
> _______________________________________________
> pmwiki-users mailing list
> pmwiki-users at pmichaud.com
> http://host.pmichaud.com/mailman/listinfo/pmwiki-users
>
> __________ Informace od NOD32 1.1453 (20060321) __________
>
> Tato zprava byla proverena antivirovym systemem NOD32.
> http://www.nod32.cz
>
>
>
>   

-- 
OBUTEX s.r.o
Ing.Jiří Hladůvka
Zlatovská 22
911 01 Trenčín

tel.: +421 (0)32 6587000
mailto:admin at obutex.com

http://www.obutex.com






More information about the pmwiki-users mailing list