Register | Login
Views: 19364387
Main | Memberlist | Active users | ACS | Commons | Calendar | Online users
Ranks | FAQ | Color Chart | Photo album | IRC Chat
11-02-05 12:59 PM
0 user currently in Acmlmboard support?.
Acmlm's Board - I2 Archive - Acmlmboard support? - Need Help With Action Log Code | |
Add to favorites | "RSS" Feed | Next newer thread | Next older thread
User Post
TheGreatWhiteDope

Koopa
Banned
Level: 16

Posts: 17/108
EXP: 19462
For next: 794

Since: 01-05-05

Since last post: 8 days
Last activity: 4 days
Posted on 06-22-05 08:46 AM Link | Quote
I am making an action log code and for some reason it won't print $action but it will print $actionh.. Here is the code and here is the page without mod restrictions. Please help me.
Sandy53215
Acmlm (10:55:31 PM): they're having fun for the first time in so long
Level: 47

Posts: 671/948
EXP: 713034
For next: 53169

Since: 03-15-04
From: Milwaukee, Wisconsin (U.S.A)

Since last post: 1 day
Last activity: 4 hours
Posted on 06-22-05 09:05 AM Link | Quote
Here, I will hook you up with the one I made. Download

Just add...


#-- Logging --#
$currenttime=ctime();
$user=mysql_fetch_array(mysql_query("SELECT lastip,sex,powerlevel,id,lasturl,name FROM users WHERE id=$loguserid"));
mysql_query("INSERT INTO actionlog (atime, adesc) VALUES (".currenttime.", \"".$user[name]." was doing ???\")");
#-- End --#


Just change the description to add what you need.

That work?

Edit: And actionlogs.php goes in the admin directory.


(edited by Randy53215 on 06-22-05 12:05 AM)
TheGreatWhiteDope

Koopa
Banned
Level: 16

Posts: 18/108
EXP: 19462
For next: 794

Since: 01-05-05

Since last post: 8 days
Last activity: 4 days
Posted on 06-22-05 09:11 AM Link | Quote
Thanks man It works, but I'm going to try to make it so instead of showing the ID it shows the username and the same with threads.
Add to favorites | "RSS" Feed | Next newer thread | Next older thread
Acmlm's Board - I2 Archive - Acmlmboard support? - Need Help With Action Log Code | |


ABII


AcmlmBoard vl.ol (11-01-05)
© 2000-2005 Acmlm, Emuz, et al



Page rendered in 0.003 seconds.