Hi,
Its a pretty basic script, but I can't afford to spend too much time on it, as I'm doing it as a freebie :D
The script attached needs to go in the same folder as add.cgi (make sure you chmod viewuser.cgi at 755).
Then, make a new template - called
viewuser.html. Put the following code in it:
Code:
Username: <%Username%> <br />
Email: <%Email%> <br /><br />
Number of links: <%Number_of_Links%><br />
<h2>Links:</h2>
<%if Number_of_Links > 0%>
<%loop links_loop%>
<%include link.html%>
<%endloop%>
<%else%>
Sorry, this user has no links.
<%endif%>
Then, you can call the script with:
viewuser.cgi?user=xxxx
For example:
http://www.ultranerds.com/...wuser.cgi?user=admin Hope that works for you :D
Cheers
Andy (mod)
andy@ultranerds.co.uk
IMPORTANT: I've now moved to ultranerds.co.uk, and the .com will no longer work! Want to give me something back for my help? Please see my
Amazon Wish List GLinks ULTRA Package (plugins total "value" $3,325 & rising, for just $350)| GLinks ULTRA Package PRO (plugins total "value" $5,625 & rising, for just $500) Support Forum | Links SQL Plugins | DMOZ Dumps | UltraNerds | ULTRAGLobals Plugin |
Pre-Made Template Sets |
FREE GLinks Plugins! Compare our different Plugin packages *new* Free CSS Templates