egghelp.org community Forum Index
[ egghelp.org home | forum home ]
egghelp.org community
Discussion of eggdrop bots, shell accounts and tcl scripts.
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

[solved] Livestats Modification...

 
Post new topic   Reply to topic    egghelp.org community Forum Index -> Modules & Programming
View previous topic :: View next topic  
Author Message
Daedalus
Voice


Joined: 27 Jun 2007
Posts: 24

PostPosted: Wed Aug 05, 2009 9:44 am    Post subject: [solved] Livestats Modification... Reply with quote

So I decided that I can't stand the way livestats is handled. IE, I don't like the page design.

What I want to do - and have done, indeed - is to set up a page with AJAX that basically lets users view all of one channel's stats on one page. They just click on the dropdown, select the type of stats to view, and it loads into a div with all the <a> tags modified to <p> tags and href=blahblah removed.

Perfect.

Except it's not. -.-

I still have the links at the bottom of the page - top30 and so on - and need to remove those. Regex is one way of doing it, but I can't -stand- writing a regex that complex just for this, so I thought I'd do a little hack to livestats.c to add a div around the content I want to remove - then just remove that div entirely.

Easy, right? No. For some unknown reason despite modifying livestats.c to add the div, recompiling, and restarting the bot, NOTHING changes.

Does anyone have any idea why this would be? Could it be something stored in the bot's .data file?


Last edited by Daedalus on Wed Aug 05, 2009 2:05 pm; edited 1 time in total
Back to top
View user's profile Send private message
Daedalus
Voice


Joined: 27 Jun 2007
Posts: 24

PostPosted: Wed Aug 05, 2009 2:05 pm    Post subject: Reply with quote

Never mind! Got it. Updated to the newer version of the stats mod and it works now. Score!
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    egghelp.org community Forum Index -> Modules & Programming All times are GMT - 4 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Forum hosting provided by Reverse.net

Powered by phpBB © 2001, 2005 phpBB Group
subGreen style by ktauber