![]() |
Cant wait till the final version for vb gold is released..
|
new version 2.9, attachment updated
|
Quote:
|
Quote:
|
Quote:
admin coding is completely different to start At a guess id say in new thread.php your looking for is: PHP Code:
PHP Code:
PHP Code:
Im really not that advance in coding tho iv np adding hacks Id be interested to see what dutchman has got so far and maybe I could help out with the tcl |
I have this working on my forums.
in /newthread.php find: // ### NOT PREVIEW - ACTUAL POST ### if ($newpost['postpoll']) { $url = "poll.php?$session[sessionurl]t=$newpost[threadid]&polloptions=$newpost[polloptions]"; } else if ($newpost['visible']) { $url = "showthread.php?$session[sessionurl]p=$newpost[postid]#post$newpost[postid]"; } else { $_REQUEST['forceredirect'] = 1; $url = "forumdisplay.php?$session[sessionurl]f=$foruminfo[forumid]"; } BELOW it add PHP Code:
Run the install.sql as normal. In the irc.php find: $postusername and replace it with PHP Code:
$subject and replace it with PHP Code:
$goto and replace it with PHP Code:
But don't let this stop you...just change the vaules in database tot he ip,channel,port and forum id's and run it. then when the ircadmin.php is rewrote its just a admincp/index.php edit and a file upload and your done. |
Quote:
this is line 10 after changing 2 of each of the instances you suggested :( global $threadid, $bbuserinfo['username'], $_POST['subject'], $forumid; |
Quote:
the irc.php should look like this PHP Code:
|
can someone put together a file that contains everything to get this running on gold
would be appreciated :) |
Quote:
|
i dont mind changing stuff though mysql if someone tells me what i have to run :)
|
Here is the edits for dong's notify for vb 3 gold that i have found to work this is not a offical release dong will release it when he gets his done this is just for those of you that are trying to install dong's great hack on vb3. Altho i am not php coder so i could not rewrite the ircadmin.php as it needs to be rewrote i have supplied the file changes for everything else hopefully dong can get the ircadmin.php rewrote for vb3 soon.
Dong if i am outta bounds here i am sorry and please have thread removed. |
nice one much appreciated - i follow what u saying but with no admin cp how do u select which forums it will do posts from or does it just show all from the board ?
|
Quote:
open phpmyadmin go to the forum database go to ircaddon go to browse then edit you will see like #chan1 bot-ip and such just replace the info and save |
hmmm summat wierd im getting no output, I can see it connect ok but getting no output
iv tried forcing in the tcl set chan #mychan in mysql ircaddon iv ircenable 1 ircthread 1 ircreply 0 ircchan1forum 0 (for simplicity till i see it do what v1 used to do when i used it ages ago) ircchannel1 #mychan and blank when i try to force chan in tcl not that that shud make difference ircserver theipofbot ircport thebotport all other fields iv left blank, really cant see what is wrong :( I would be questioning the global line i had trouble with earlier but if its working ok for others then it cant be that, strange. what I really want to do with this is to get it working so I can digest the code and maybe port an addon probly with the need for plenty help from others in this thread if interested to announce new champs from the v3Arcade addon. |
Quote:
|
Quote:
[high]* nitro shrugs[/high] |
Fatal error: Cannot redeclare postonirc() (previously declared in
anyone get that ? or have i overlooked something ? all i did was upload the files and then edit new thread i aint edited irc.php etc also i edited the sql queries from phpymyadmin etc so it posts which it does but i get that error on the board as well |
nitro sounds like either you did not add the tcl script to bot config or you did not change #chan1 to #urchannelname
and lasto i dunno what your prob is buddy. not seen that error before |
ok got it to post in mirc but here is the output
why is the poster missing and the thread name ? (12:00:14) (%Bot) {New thread in Test Section.| Poster: . Subject: . Link: http://localhost/test/} Also in phpmyadmin can we only select 3 channels from which this is to take posts to mirc as if i do it liek this 35.36.37 etc it dont work |
Quote:
it had to be edited some from the one dong posted and also i not follow ur phpadmin ? cause channels have 3 slots and the are #chan1 #chan2 #chan3 and you shoud just put in #urchannel name can have up to 3 channels but one per box and the 35.36.37 sounds like forum id's and if thats the casue they are 35 36 37 note only one space between |
ok it works cheers CarolinaKid
now for one more question (also it is easy to do this hack even in phpmyadmin :)) i see 3 boxes where i enter the forumids - is this all we allowed as i have more forums i want to be included |
Quote:
Example: 1 2 3 4 5 6 7 8 9 10 11 12 13 |
Quote:
infact im happy now cause it works on vb3 :) appreciate all your help on this one :) |
Quote:
|
Quote:
bot console: ?6:23PM? [10:23] Loaded chanlimit.tcl v1.5 by slennox (active on all channels) ?6:23PM? [10:23] vbulletin.tcl loaded yes i just simply added a putlog "vbulletin.tcl loaded" so it shows up in rehash and logs. Note dont put this in a proc, it would usually go at the end of the .tcl heres what i get in bot console on new thread posting in the 1 forum specified in ircchanforum1: ?6:25PM? [10:24] Telnet connection: xxxx.xxxxxhost.net/47738 ?6:25PM? [10:24] Timeout/EOF ident connection the above is from live testing as opposed to the other tests i made on my own box. Still not getting any announce tho :( so its connecting ok i have 1 possible idea what are these new mysql fields for in ver 2 of this addon ? ircbnick ircbpass irc_user irc_host irc_serv irc_realname is anything needed in any of these fields for identing, i dont remember these fields in ircadmin of the old ver i used some time ago probably pre v1. PS thanx for your guidance so far I just hope as others got it going I can too |
hmm i know this is a dumb question but have ya got bot in channel and as you said it looks to connecting.. almost seems like a problem with the bot itself. All i can say at this point is double check everything and maybe even try adding a 2nd channel to see if it will work in 2nd channel. let me know what you figure out.
|
Quote:
|
Quote:
well iv just tried thaT and its the same .+host nitro *!*@xxx.xxxhost.net |
Quote:
|
|
Yes, yes, the Shaved version you mention is fully working!! Great work again and thanx for figuring out the error/issue with the windrop!!!
|
He i'm trying to annouce on 2 or 3 lines but it still doesn't work i also tried the code what is used here
https://vborg.vbsupport.ru/showthrea...nes#post437070 but it's still annouces on one Line in IRC, and in the beginning and the end it has an { and } how do i delete those ? |
Quote:
Hi all, does anybody have this Hack for me? The Hack was deleted on vbhacks.us and i need this Hack ;o) Thanks a lot TheShell |
i get any error
[17:05] Tcl error in file 'eggdrop.conf': [17:05] invalid command name "source/vbulletin.tcl" while executing "source/vbulletin.tcl" (file "eggdrop.conf" line 1344) |
Quote:
the config line should read source scripts/vbulletin.tcl not source/vbulletin.tcl |
ircserver = Bot Host
ircport = Port the Irc channel ? are them two correct after that what are all these others for ircbnick ircbpass irc_user irc_host irc_serv irc_realname |
anyone ?
|
would be great to see this for the latest vb.... any thoughts?
|
I'm trying to follow the install guide but since it's not fully updated for 3.x.x, can someone help me with it? How do I find the new admin/index.php and such?
|
All times are GMT. The time now is 04:17 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|