vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Beta Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=5)
-   -   IRCBrowse - no Eggdrop + no FTP!! (https://vborg.vbsupport.ru/showthread.php?t=48734)

feldon23 02-10-2003 12:10 PM

Quote:

Sirius said:
So the chat u use can only be used for their network? cause i wanna be able to use it for Aniverse and have forum users click the chan name and it connect with the java applet u have. I've seen them before but I like the way yours looks the best.
The webmaster backpack java applet only works with webchat servers. Actually, what you see on my forum is incredibly stripped down. I turned off most of the buttons to make it easy for first-time chatters.

Quote:

hey whats it mean when someone says run the file from AdminCP to install?

That was in the instructions of one of the hacks i'm trying to install and i have no clue how to do that.
Because of the complexity of installing some hacks (modifying 20-30 files), people have started to write smart installers to automate the process. If you look around, you'll see that more and more hacks come as "vbHacker installable". My IRCBrowse hack does not have an installer because you only modify one file to use it.

Quote:

Also what is Query's and how do i do them. Will need step by step on this one cause have not a single clue what it is, what it does, how to do it, or where to do it at^_^
You know I have been doing PHP for about a month now, I just haven't gotten round to using MySQL much.

A query is how you get information FROM or write information TO the MySQL database your forum (or website) runs on. Queries can be incredibly complex, grabbing a ton of cross-linked information from various parts of the database and recombining it into a temporary array which is then merged with HTML to display a forum page or other such tasks.

The reason why we talk about queries is that each MySQL query, no matter how simple or complex, adds to the load your server uses. But in many cases you do not have a choice. Each PHP page needs to do MySQL queries to get the information necessary to display the forum home, or a forum thread list, or to do a search, or to handle attachments, etc.

If you want to know how many users registered on your forum today and a MySQL query has not already been done to grab this information and provide it to the PHP script that's running, you'll have to do a query for it.

You can imagine that if someone comes out with a hack that does 5-10 queries and someone else does the same hack but it only does 1 query or even piggybacks on queries ALREADY being done on the page, then we'll probably favor that version of the hack!

Take your time, there's no rush to learn this stuff. :)

NuclioN 02-10-2003 12:31 PM

// This is the key you send from mIRC and vBulletin to make sure this script is not
// called by outsiders

What key?

feldon23 02-10-2003 12:40 PM

Make up a key number and put the same one in both places (mIRC and vBulletin), like 3049 or 2179.

Velocd 02-10-2003 03:28 PM

Quote:

VeloCD, you can imagine that adding the topic would be a huge stumbling block for URL length. A topic like this (from "A Fish Called Wanda"):
"It's k-k-k-Ken and he's c-c-c-coming to k-k-k-kill me!"

would expand to something like:
%26It's%20k-k-k-Ken%20and%20he%25s%20c-c-c-coming%20to%20k-k-k-kill%20me!%26
My coding in mIRC is very limited, and I'm not familar with the functions used there unlike PHP, but if you could somehow use a function similar to serialize() and unserialize(), you could convert the long and lengthy strings into byte-stream representations.

Maybe there is a related function in the C language iRC uses that is similar to serialize?

feldon23 02-10-2003 03:30 PM

Another possibility is to learn the protocols to do a POST method.

w596 02-11-2003 07:36 AM

Hey feldon23, You ROCK!!! Great Hack :D

Gryphon 02-12-2003 08:15 PM

My server is running php 4.0.6, I could not get this hack to work until I changed $_GET to $HTTP_GET_VARS and $_SERVER to $HTTP_SERVER_VARS, all it kept saying was "Nothing to do."

Works like a charm now.

feldon23 02-12-2003 08:24 PM

Sorry bout that. $_GET was added in 4.1. I will make it compatible with PHP3 & 4 in the next version.

Also going to try to allow for unlimited chatters.

Gryphon 02-12-2003 08:45 PM

I idle on about 15 channels across two servers, and the same channel that I wish to display exists on both servers. If someone joins or drops and such, it updates correctly; however after a few minutes it shows just my name. I assume this is displaying the channel from the other server of which I am the only one on it?

*(Edit added)
I plan on running it on a bot that is in about three channels on one server, just thought it would be nice if it worked otherwise, thanks.

feldon23 02-12-2003 10:01 PM

Well no amount of huffing and puffing will make QUIT work on a specific channel. And specifying a channel won't help your situation.

At this time, my script does not work predictably if you are joined in the same chat channel name on multiple servers.

I'll look into what's involved in abstracting my script such that you can specify which chat server's channel to respond to. Am I right to assume that you would never be joined to 2 different servers on the SAME chat network, such as having 2 joins to EFNet?

You can tell what chat network each of your Server windows is connected to by typing //echo $network in each one and looking at the result.

If you want, I can look at supporting this for 1.1. Already for 1.1, I hope to have:
-unlimited chatters
-passing the topic
-support for PHP 3 + 4

I really don't want this script to get too complex.


All times are GMT. The time now is 07:59 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01020 seconds
  • Memory Usage 1,741KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete