![]() |
vBTeachbot 2.1
vBTeachbot 2.1
(by Martin64, martin64@vbhackers.com) [about] This hack requires Tombot: (https://vborg.vbsupport.ru/showthrea...threadid=48053). Want to teach your Tombot? vBTeachbot adds an option in your Admin CP that will let you teach the bot directly - it will instantly be able to answer your questions. [screenshots] https://vborg.vbsupport.ru/attachmen...&postid=347904 https://vborg.vbsupport.ru/attachmen...&postid=352490 https://vborg.vbsupport.ru/attachmen...&postid=352491 |
Teaching the bot (screenshot 1)
|
So after the mods submit the questions/answers in the ModCP, what happens next? Do admins get some notification?
|
Ugh, if you have downloaded the file already, please download it again, I had little permission error in teachbot.php earlier. :)
N9ne: No notification, but you'll see how many questions that have been added through the Mod CP. |
thanks a lot man :p
[high]* Automated clicks install[/high] |
Cool beans ... I'll try this one tonight :D
|
Thanks. :)
I'll re-write the teachbot.php file tonight (or tomorrow), it's not really that well-written. :p |
First Prob!
When you go to add to the DB usng the forum you have to add 5 at a time and this is not very good :( Can you mod it so that you only have to add 1 at a time but still leave 5 spaces there. Thanks Matthew |
Yup, that was one of the things I was going to correct, I'll post a new teachbot.php file in a minute. :)
|
I've updated the zip file, just upload the new teachbot.php file if you have installed this already.
This fixes the problem of mods having to submit 5 questions and answers at a time, and also fixes the apostrophes problem. |
Thanks Mate!
Also how do i go about getting the info out of the table in the DB? I dont know MYsql :( Do i run a query or something. Thanks :p Matthew |
Once more thing (please tell me if i am annoying you) Would it be possiable to add a new page which would allow users to submit their entries to the bot but first they would need to be approved by Mods and then entered into the DB becuase that would make the bot learn a lot quicker if normal members could contribute!
Thanks Matthew |
So basically the mods can add directly into the database?
Maybe you could make it so they can submit questions, and in the ACP admins can read through and approve whichever ones they think should be approved, and the rest can be discarded? |
Quote:
Maybe someone else can do that. [QUOTE]Originally posted by N9ne Quote:
|
OK Martin. I think my last post sounded a little un grateful :( I really do appretiate this hack.
Thanks a lot, maybe some of the other hacks could setp in and lend a hand ;) Matthew |
Automated: Don't worry about it, I wasn't offended :p
I have updated the zip file with a new teachbot.php and new instructions. The new release allows you to view the AIML directly from the Mod CP, and you can also empty the teachbot table from there. :) EDIT: If you're upgrading, just upload the teachbot.php file and re-do the changes to mod/index.php :bunny: |
What about adding the ability for an admin to just insert all of the data directly into the database without going through the trouble of adding it to the custom AIML file and running botloader.php?
|
db error when a moderator clicks on the teach bot link in mod cp:
Invalid SQL: SELECT * FROM moderator WHERE userid=xx mysql error: You have an error in your SQL syntax near ')' at line 1 |
Same thing as Nuclion, I installed it this evening and my mods cannot access it. I can, but the moderators cannot.
|
Looking forward to installing this after work. Good work, Martin! :)
|
Quote:
I would like to install this also :D Matthew |
Can this be made Admin Only, or at least limited to Super Mods?? That shouldn't be a hard request...https://vborg.vbsupport.ru/
|
Quote:
I've fixed the permission problems and will post a new version right after I hit submit reply here. :) |
New version released.
This new version add the options to the Admin CP as well. In the Admin CP, you have these options: Teach bot View AIML Drop AIML In the Mod CP, you have these options: Teach bot View AIML |
martin i so much appreciate the work done by you guys this bot brings a whole new level of fun, by you and the original auther !!
but is there anyway he can see peoples names and remember talking to them ??? ie he thinks everyone is the same person asking him a question :( i.e he knows that Mickie D created him (me lol) but he does not know its me when i post to him :( if not i understand how complex it is but just a thought, it would make alot more sense if he did, i can see he was made for a chat site... so i am thinking he must have routines to know on a chat site who people are :) |
The new version installed and when a moderator adds 5 questions it repeats the first one 5 times with the answers, writing the output over the other questions and answers it seems.
Also i test 1 question with the new botloader and custom.aiml. This add's 1 categorie alright but...when i repeat that question, the bot does not come with the answer from the custom aiml. |
And it would be great to put the random tag into it to make questions with multiple answers. ;)
|
The joys of XML.
|
Sounds very nice Martin :)
- miSt |
Ugh, I can't stop screwing up, can I? :)
I'll fix that and post a new zip asap. |
New version posted, I decided to call it vBTeachbot 1.1 to avoid confusion, I'll slap a new version number on each new release from now on.
If you have previously installed this, just upload the teachbot.php files to their respective directories. Now it works, I promise :p |
I have some very good news. I figured out how to teach the bot by directly inserting to the database! Hopefully I'll be able to release it tomorrow, I need to re-write the script first though. :)
|
Good news Martin, awesome.
|
Quote:
[high]* Automated anxiously waits for release![/high] |
Quote:
|
Took down the release for now, I'm going to put up the new version in a few minutes. :)
|
Do you have a changelog?
|
vBTeachbot 2.0 released!
CHANGELOG: You are now able to directly inserting questions to the bot and it will instantly be able to reply to that question. You can add up to 7 word questions, but I recommend sticking to short ones, as it won't always reply to long ones. INFO: No matter if you have previously installed this hack, I recommend running these queries: TRUNCATE TABLE conversationlog TRUNCATE TABLE dmcache TRUNCATE TABLE gossip TRUNCATE TABLE thatindex TRUNCATE TABLE thatstack If you're upgrading, read the instructions, it's easy. :) Enjoy. :D |
Hmmm...
Intruiging idea;) Perhaps I could help you with the Members adding questions and them being moderated bit;) If you want to know how, PM me:) I'm willing to show you:) Satan |
Code:
Database error in vBulletin Control Panel 2.2.9: That field is definitely there! |
All times are GMT. The time now is 02:09 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:
|