Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 2.x > vBulletin 2.x Beta Releases

Reply
 
Thread Tools
IRCBrowse - no Eggdrop + no FTP!! Details »»
IRCBrowse - no Eggdrop + no FTP!!
Version: 1.00, by feldon23 feldon23 is offline
Developer Last Online: Jan 2023 Show Printable Version Email this Page

Version: 2.2.x Rating:
Released: 02-08-2003 Last Update: Never Installs: 30
Is in Beta Stage  
No support by the author.

I looked at the "IRCUsers" hack written by eyeball (aka supreemball) using the ftp mirc script coded by Rich@home.nl and I thought wow this is cool. Then I looked at what's involved.

*It modifies global.php, meaning that EVERY PAGE of your forum loads this information even though only index.php uses it.

*It adds 1,150 lines of code to your mIRC.

*Requires 24/7 FTP access


So I thought, why not have vBulletin AND mIRC interface with a PHP file?
Thank you eyeball and Rich for the inspiration to write this!

I don't have a photo/snapshot because the PHP script runs "silent" and how the output looks all depends on your vB template.

The PHP script provides the # of total chatters, the highest # of chatters ever, and a formatted (customizable in the PHP script) comma-delimited list of users in the chat which you can insert anywhere in your templates (an example template under forumhome is provided).

The mIRC script opens a socket to your web server (HTTP) and does an "HTTP GET" to request the ircbrowse.php script. The secret is, it puts all the data in the Query line after the URL and then just ignores the page it gets back from the web server and closes the socket. This is all password-protected.

This is my first hack posted here so please be gentle.

This hack is operating on:

SereneScreen Aquarium Forum
Anime System

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #2  
Old 02-09-2003, 07:39 PM
FleaBag's Avatar
FleaBag FleaBag is offline
 
Join Date: Dec 2001
Posts: 1,674
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Very nice work, impressive. Just what a lot of people have been looking for!
Reply With Quote
  #3  
Old 02-09-2003, 08:00 PM
feldon23's Avatar
feldon23 feldon23 is offline
 
Join Date: Oct 2001
Posts: 124
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

If one were so inclined, the PHP script could also, using global.php and the authentication stuff (a bit over my head still) write the results directly into your MySQL database to be retrieved later by index.php.

I wonder which is faster, querying MySQL or querying a PHP script.
Reply With Quote
  #4  
Old 02-09-2003, 08:53 PM
wooolF[RM]'s Avatar
wooolF[RM] wooolF[RM] is offline
 
Join Date: Jan 2002
Posts: 524
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I think MySQL
Reply With Quote
  #5  
Old 02-09-2003, 10:01 PM
FleaBag's Avatar
FleaBag FleaBag is offline
 
Join Date: Dec 2001
Posts: 1,674
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I think so too, hence the whole point of using databases and in particular MySQL.
Reply With Quote
  #6  
Old 02-09-2003, 10:10 PM
feldon23's Avatar
feldon23 feldon23 is offline
 
Join Date: Oct 2001
Posts: 124
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Anyone actually running this?
Reply With Quote
  #7  
Old 02-09-2003, 11:55 PM
Velocd's Avatar
Velocd Velocd is offline
 
Join Date: Mar 2002
Location: CA University
Posts: 1,696
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'm having slight difficulty getting this thing to update the .txt file.
I'm probably entering something wrong, knowing my luck.

In the "ALIASES" folder, for this section of code:
Code:
  ;## Change the following 3 settings:
  %ircbrowsechannel = #animesystem.com
  %ircbrowseserver = www.animesystem.com
  %ircbrowsestr = /forums/ircbrowse.php?key=1234&action=write
  ;##
Would that be correct? My "ircbrowse.php" is located in my forums directory.
Reply With Quote
  #8  
Old 02-10-2003, 12:03 AM
feldon23's Avatar
feldon23 feldon23 is offline
 
Join Date: Oct 2001
Posts: 124
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ok my instructions are wrong, they say to CHMOD ircbrowse.txt to 644. It needs to be 666.

Your ircbrowse.php file is in the right place (I tested it). Make sure the key in your mIRC script matches the key in ircbrowse.php and make sure that you have CHMODded ircbrowse.txt to 666.

I have since updated the ZIP file without changing the version number since no code is affected.
Reply With Quote
  #9  
Old 02-10-2003, 12:46 AM
S1R1US S1R1US is offline
 
Join Date: Nov 2002
Posts: 58
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

looks very very nice. I have the similar hack at the bottom of my forums, pokecommunity.com but like yours better. Will it work with 2.2.9. Also how do it upload the list and keep it up to date without eggdrop or ftp mirc? Also i've been looking for a java chat to use on my forums and ur script will go perfectly with using it since it links the channel name with the java applet. Can u tell me info to get the chat applet ur using as well. THanks again!
Reply With Quote
  #10  
Old 02-10-2003, 12:48 AM
Velocd's Avatar
Velocd Velocd is offline
 
Join Date: Mar 2002
Location: CA University
Posts: 1,696
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by feldon23
Ok my instructions are wrong, they say to CHMOD ircbrowse.txt to 644. It needs to be 666.

Your ircbrowse.php file is in the right place (I tested it). Make sure the key in your mIRC script matches the key in ircbrowse.php and make sure that you have CHMODded ircbrowse.txt to 666.

I have since updated the ZIP file without changing the version number since no code is affected.
Ah, I was wondering about why you mentioned it to be "644" in the original directions, when that is usually set by default.

It works perfectly now, great hack!
(demo: http://www.animesystem.com/forums")

[high]* Velocd clicks install
[/high]

I had requested this in Eyeball's last hack, and that is is there a way to grab the topic from the channel in the chat, then I could display that variable?
Reply With Quote
Reply

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

Forum Jump


All times are GMT. The time now is 09:12 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04201 seconds
  • Memory Usage 2,291KB
  • Queries Executed 23 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)bbcode_code
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (10)postbit_onlinestatus
  • (10)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete