Sorry for my English
Autocreate users pages after registration. Use plugin parameters for set users namespace (default users).
You can use in template page functions mytpl_userinfo(), mytpl_pageinfo() or change functions in file inc/template.php
If you want see link to userpage to revisions and recent page then change file inc/html.php
/* string 436 (replace string) */
/* print (empty($INFO['editor']))?('('.$lang['external_edit'].')'):htmlspecialchars($INFO['editor']); */
print (empty($INFO['editor']))?('('.$lang['external_edit'].')'):mytpl_userhtmllink($INFO['editor']);
/* string 480 (replace string) */ /* print htmlspecialchars($info['user']); */ print mytpl_userhtmllink($info['user']);
/* string 575 (replace string) */ /* print htmlspecialchars($recent['user']); */ print mytpl_userhtmllink($recent['user']);
If you want see link in toolbar in signature change file inc/toolbar.php and use @USERPAGE@ in parameter signature
/* string 201 (insert new string) */
$sig = str_replace('@USERPAGE@',$INFO['usersnamespace'].':'.$_SERVER['REMOTE_USER'],$sig);
Is this working when I do not have user registration? I got LDAP auth - the users can't register they are simply coming in using LDAP.
I had to change a line in the action.php: function action_act_preprocess_after: removing the : before $INFO['usersnamespace']
What are the plugin's parameters that I use for configuration?
в строке 84 нужно убрать : /*$pageName=':'.$INFO['usersnamespace'].':'.$_SERVER['REMOTE_USER'];*/ $pageName= ''.$INFO['usersnamespace'].':'.$_SERVER['REMOTE_USER'];
/conf/acl.auth.php and ':' on the start), here is the solution: /lib/plugins/userspagecreate/action.php from $pageName=':'.$INFO['usersnamespace'].':'.$_SERVER['REMOTE_USER']; $pageName=.$INFO['usersnamespace'].':'.$_SERVER['REMOTE_USER'];
That should do the job for you.
geckon
* I've got a tip for you. If you want to show a link to logged user's page, just add following line to file /lib/tpl/default/main.php (where default can be replaced by name of template which is currently used).
<?php mytpl_userinfo()?>''