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)
-   -   Irc post Notifier -no eggdrop (https://vborg.vbsupport.ru/showthread.php?t=38205)

Demascus 05-04-2002 05:57 AM

i get this error when making a new post

Warning: Call-time pass-by-reference has been deprecated - argument passed by value; If you would like to pass it by reference, modify the declaration of fsockopen(). If you would like to enable call-time pass-by-reference, you can set allow_call_time_pass_reference to true in your INI file. However, future versions may not support this any longer. in /home/sites/site140/web/newthread.php on line 268

Warning: Call-time pass-by-reference has been deprecated - argument passed by value; If you would like to pass it by reference, modify the declaration of fsockopen(). If you would like to enable call-time pass-by-reference, you can set allow_call_time_pass_reference to true in your INI file. However, future versions may not support this any longer. in /home/sites/site140/web/newthread.php on line 268

my server
------------
Server Type
Linux / PHP v4.1.2

MySQL
v3.23.37

N!ck 05-04-2002 06:35 AM

aaaaaaaaaah! i get a timeout (110 seconds) error

JulianD 05-04-2002 08:55 AM

Maybe some PHP/Apache/Linux versions doesn't support this hack... It doesn't work on my server... I don't have timeouts or hang ups, but when I post a post/thread the bot doesn't show up on my channel.

IRiDiuM 05-04-2002 09:43 AM

Getting this to work with an eggdrop would be simple enough; and the eggdrop would be able to cope with the bandwidth hog.

Unfortunately I know that the fsock functions have been killing my host otherwise I would give it a go.

vB forums -> eggdrop -> irc

you just write a TCL script on the eggdrop to listen on a certain port, the forums connect to the eggdrop and send the line of information and the eggdrop sends the information to a channel.

Code:

vbulletin.tcl
listen 1337 script vbulletinaccept

proc vbulletinaccept {idx} {
 control $idx vbincoming
}

proc vbincoming {idx args} {
 if {[join $args] != "" } {
  putserv "PRIVMSG #vbchan :$args"
 }
 killdcc $idx
}


dymo 05-04-2002 10:37 AM

its one or all right now, the next release will have upto 5 forums you can monitor and point to different or the same channels to notify

Demascus 05-04-2002 11:29 AM

Quote:

Originally posted by JulianD
I don't have timeouts or hang ups, but when I post a post/thread the bot doesn't show up on my channel.
thats what happens with me

Floris 05-04-2002 11:30 AM

Quote:

Originally posted by JakeX
i get this error when making a new post

Warning: Call-time pass-by-reference has been deprecated - argument passed by value; If you would like to pass it by reference, modify the declaration of fsockopen(). If you would like to enable call-time pass-by-reference, you can set allow_call_time_pass_reference to true in your INI file. However, future versions may not support this any longer. in /home/sites/site140/web/newthread.php on line 268

Warning: Call-time pass-by-reference has been deprecated - argument passed by value; If you would like to pass it by reference, modify the declaration of fsockopen(). If you would like to enable call-time pass-by-reference, you can set allow_call_time_pass_reference to true in your INI file. However, future versions may not support this any longer. in /home/sites/site140/web/newthread.php on line 268

my server
------------
Server Type
Linux / PHP v4.1.2

MySQL
v3.23.37

The string you found & replaced is the first of two.. around line 309 or so is another one. You should replace that one.

Demascus 05-04-2002 11:37 AM

I don't have timeouts or hang ups, but when I post a post/thread the bot doesn't show up on my channel how do i fix that?

dymo 05-04-2002 05:01 PM

theres seems to major differences between ircd versions and how the process the connections and channel joins, this version works 100% with an unreal ircd server, we are working on a bug fix for few of the other versions of ircd.

the reason you get a delay or lag when posting is the script is attempted to notify it to irc at post time, the next release will no longer have that delay, the irc.php will run silently in the background.

another release change will be the bot staying in the channel where possible, but i think for a bot staying in the channel it would be wiser to use an eggdrop and allow it to pull the last posts from the database instead but we will see what we can do.

if you need a test bed you can connect to irc.gamerscafe.net or irc.d2network.com and test on a channel in there, these are known to work.

if your not running unreal ircd, please let me know what ircd version you are running, and if possible an address so we can test there as well.

d

sas1911 05-04-2002 05:02 PM

Your web host may not allow you to connect to an IRC server. That is the problem I have when I run the script. I can't connect to any irc server I put in. If you run irc.php in your browser, you'll probably get a connection refused error.


All times are GMT. The time now is 06:33 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.05374 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
  • (1)bbcode_code_printable
  • (2)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