Revision [16834]

This is an old revision of UserPagesAction made by PssQ5n on 2007-05-31 10:54:13.

 

UserPages Action


See also:
AdminModules
This action is meant as a module to integrate the MyPages action into the UserAdmin tool.
To use it as a standalone action simply add:
{{userpages user="UserName"}} in the page body.
 


This is an upgraded version of the MyPages action. It allows not only to display pages owned by current user but also by any other registered user specified either via a user action parameter or via a user GET variable.

Save the code below as actions/userpages.php.

The action

Current version: 0.4

Changes:

To do:



%%(php)
<?php

$owner =; #initializing variable

switch(true) {
case (isset($_GET['user'])
There are 9 comments on this page. [Show comments]
Valid XHTML :: Valid CSS: :: Powered by WikkaWiki