vBulletin Modifications

irc team stats for SA's fxp pack

Welcome to vBHackers.com! - vBHackers Updates:

Go Back   vBulletin Modifications > General vBulletin Section > vBulletin Modification Requests

Reply
 
LinkBack Thread Tools
Old 10-03-2005, 10:24 AM   #1
Junior Member
Join Date: Nov 2004
IRES is on a distinguished road

Default irc team stats for SA's fxp pack

would appriciate that one didnt manage to do it....
thanks in advance!




Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Sponsored Links
Old 10-03-2005, 11:37 AM   #2
Advanced Coder
Niels's Avatar
Join Date: Jun 2004
Real Name: Niels
Location: NL
Niels is on a distinguished road

Default

Take this hack as base:
You must first be a registered member to view any code.
teamstat.tcl:
You must first be a registered member to view any code.
Teamstat.php:
You must first be a registered member to view any code.
Think something like this will do your job Btw this is based on the !userinfo hack from Isaiah :sleeping: Trust me there are bugs inside so give your errors etc. Also would be good if shaved reply's because he know's how his team table is made




Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 10-03-2005, 12:12 PM   #3
Junior Member
Join Date: Nov 2004
IRES is on a distinguished road

Default

yeah i tried to modify that one already... i was able to make it announce but with no data... i mean
scan: races: pubs:

couldnt make it take data from the DB, probbly didnt modify the varibles correctly as it is in SA's pack...




Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 10-03-2005, 09:17 PM   #4
vB User
Join Date: Oct 2004
Real Name: Matti
Location: Mechelen
MaTtIaSkE is on a distinguished road

Default

echo
LF, $team[totalposts],
LF, $team[totalraces],
LF, $team[totalpubs],
LF, $team[totalscans],
LF, $team[totalhacks],

change those into races pubs scans posts hacks
and retry it ;)




Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 10-03-2005, 10:02 PM   #5
Junior Member
Join Date: Nov 2004
IRES is on a distinguished road

Default

now i cant even make it announce it with blank numbers ((
any other idea? or maybe i missunderstood u?

(btw noticed that table and fields are different in SA's pack then in this script so i dont think that the modification u suggested will work alone..)

anyone have other suggestions/solutions?

thanks alot for the help guys (the ones who try also offcourse )

Last edited by IRES; 10-03-2005 at 10:07 PM..




Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 10-04-2005, 02:08 AM   #6
Coder
Senna's Avatar
Join Date: Mar 2005
Location: LalaLand
Senna is on a distinguished road

Default

edit teamstat.php as Niels made it with:

find:
echo
LF, $team[totalposts],
LF, $team[totalraces],
LF, $team[totalpubs],
LF, $team[totalscans],
LF, $team[totalhacks],

replace with:
echo
LF, $team[teamposts],
LF, $team[teamsecs],
LF, $team[teampubs],
LF, $team[teamscans],
LF, $team[teamhacks],

find:
$query=mysql_query("SELECT * FROM teams WHERE team='".addslashes(htmlspecialchars($team))."'");

replace with:
$query=mysql_query("SELECT * FROM userteam WHERE team='".addslashes(htmlspecialchars($title))."'");

find:
print "Error";

replace with (just a nicer line then Error, not very useful information else;) ):
print "This team couldn't be found on the board";

Think this should do the trick, sorry for the late reply didn't have a spare moment earlier ;)
***only thing I'm still wondering if this one supports teamnames with multiple names (eg team name instead of teamname)




Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 10-04-2005, 07:36 AM   #7
Junior Member
Join Date: Nov 2004
IRES is on a distinguished road

Default

made those changes but still it doesnt announce nothing my eggdrop kinda crazy so i cant see if there are errors in partyline... so any ideas? (yes the bot is working cause i was able to make the userstat working)....

thanks for the help guys




Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 10-04-2005, 08:26 AM   #8
Coder
Senna's Avatar
Join Date: Mar 2005
Location: LalaLand
Senna is on a distinguished road

Default

will have a better look at it tonight when I get home ;)




Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 10-04-2005, 02:43 PM   #9
Coder
Senna's Avatar
Join Date: Mar 2005
Location: LalaLand
Senna is on a distinguished road

Default

what error does your bot gives you?




Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 10-04-2005, 04:42 PM   #10
Junior Member
Join Date: Nov 2004
IRES is on a distinguished road

Default

cant see any errors :\ something strange in there (its windrop)




Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
IRC Team Stats bobbie vBulletin Modification Requests 27 01-03-2006 07:02 AM


All times are GMT -3. The time now is 12:46 AM.

Powered by vBulletin® Version 3.7.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0 ©2008, Crawlability, Inc. (Patent Pending)