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
Want to give me something back for my help? Please see my
Amazon Wish List GLinks ULTRA Package | GLinks ULTRA Package PRO Links SQL Plugins | Website Design and SEO | UltraNerds | ULTRAGLobals Plugin |
Pre-Made Template Sets |
FREE GLinks Plugins!