PDA

View Full Version : Module Chat Bot


Kru
07-26-2004, 05:01 AM
In your Admincp - Styles & Templates - Style Manager - Add a new template called "adv_portal_bot".

Insert this code into the template:

<!-- bot -->

<table align="center" border="0" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" class="tborder" width="100%">
<tr>
<td class="tcat"><span class="smallfont"><strong>$vba_options[portal_blockbullet] Chat Bot</strong></span>
</td>
</tr>
<tr>
<td class="$getbgrow" width="100%">


<!-- Begin bot -->
<p align="center"><OBJECT id="VHSS" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="/getFlash.php?u=codebase" WIDTH=400 HEIGHT=300><PARAM NAME=movie VALUE="http://vhost.oddcast.com/vhsssecure.php?doc=http%3A%2F%2Fvhost.oddcast.com%2Fgetshow.php%3Facc%3D10324%26 ss%3D143548%26sl%3D0%26embedid%3Dd6704596193717ce5f353b8ca2b96205&edit=0&acc=10324&firstslide=1&loading=1&bgcolor=0xFFFFFF"><PARAM NAME=quality VALUE=high><PARAM NAME=scale VALUE=noborder><PARAM NAME=bgcolor VALUE=#FFFFFF><EMBED src="http://vhost.oddcast.com/vhsssecure.php?doc=http%3A%2F%2Fvhost.oddcast.com%2Fgetshow.php%3Facc%3D10324%26 ss%3D143548%26sl%3D0%26embedid%3Dd6704596193717ce5f353b8ca2b96205&edit=0&acc=10324&firstslide=1&loading=1&bgcolor=0xFFFFFF" swLiveConnect=true NAME="VHSS" quality=high scale=noborder bgcolor=#FFFFFF WIDTH=400 HEIGHT=300 TYPE="application/x-shockwave-flash" pluginspage="/getFlash.php?u=pluginspage"></EMBED></OBJECT><!--webbot bot="HTMLMarkup" endspan i-checksum="61247" --></p>
<p align="center">
<iframe name="I1" src="http://thorsten.vhost.pandorabots.com/pandora/talk?botid=d51485db4e354e38" width="400" height="164" marginwidth="1" marginheight="1" border="0" frameborder="0">
Ihr Browser unterstützt Inlineframes nicht oder zeigt sie in der derzeitigen Konfiguration nicht an.
</iframe>
<!-- End bot -->


</td>
</tr>
</table>
<br/>

<!-- End bot -->


Save the template!

Still in your Admincp - vBa CMPS - Add Module

- Module Title - Bot
- Module Identifier - Leave blank
- OR Template to Include - bot
- Activate and select the center column
- All done.

A demo can be see here: http://www.spiritual-connections.com/index.php?page=ai-chat

apokalupsis
07-26-2004, 05:35 AM
nice. :)

I'm registering for an account now. I see very limited flash figures though. How did you get yours?

Our Sponsors
 

Kru
07-26-2004, 06:15 AM
nice. :)

I'm registering for an account now. I see very limited flash figures though. How did you get yours?

I bought my flash figure. It costs 14.95 dollar per month. This module includes my flash figure and you musn't pay for it extra. It still will pay by me and is non stop available.

But if you want a different figure you can choose one of the demo figures which includes big company logo of SitePal, too or buying a figure here: http://www.oddcast.com/home/

mholtum
07-26-2004, 07:17 AM
you are showing the demo as a page not a module. Does this actually work in a module?

Our Sponsors
 

Kru
07-26-2004, 08:35 AM
you are showing the demo as a page not a module. Does this actually work in a module?

Well I thought that the code that I posted and the instruction to install it is a module?

KW802
07-26-2004, 11:13 AM
you are showing the demo as a page not a module. Does this actually work in a module?
That page is one giant module. ;)

Kru
07-26-2004, 11:38 AM
Code edited. I fixed the bug with the right column. I missed to put </table>
<br/> at the end. ;)

KW802
07-26-2004, 11:46 AM
Is there supposed to be speech or just text?

apokalupsis
07-26-2004, 12:27 PM
Kru, I don't think it is a good idea for you to allow others to use your account there. The characters have limited streams (you pay for the amount of streams you want). If others are allowed to use your stream, it will eat up your account very quickly. You may want to look into that.

Also, for $14.95, isn't she supposed to be talking?

btw, you still didn't end the module correctly. You forgot the </td> and </tr> right above your </table>

Should look like this:


</td>
</tr>
</table>
<br/>

I have a demo I'm playing around with here:

http://www.onlinedebate.net/index.php?page=bot

My guy talks. ;)

I use a similar AliceBot already in my forums. I'm going to try to integrate this one in my forums. Right now, the old bot communicates with members via posts. This new bot is nifty, but I don't know about paying a monthly fee just for a "face".

Kru
07-26-2004, 12:30 PM
Kru, I don't think it is a good idea for you to allow others to use your account there. The characters have limited streams (you pay for the amount of streams you want). If others are allowed to use your stream, it will eat up your account very quickly. You may want to look into that.

Also, for $14.95, isn't she supposed to be talking?

I know about this and I canceled the stream for my account because of that she isn't talking. Thank you for the hint with the code I fixed it. :)

DarknessDivine
07-26-2004, 04:46 PM
apok. your bot is rude..lol and argued with me...although I did start it.

apokalupsis
07-26-2004, 04:57 PM
well, I don't know if I had anything to do w/ that or not. I started a swearing match w/ it last night. I couldn't get it to swear, but I did get it to get rather franky and ugly w/ me. ;)

DarknessDivine
07-26-2004, 05:19 PM
lol..I think I got him to lose his temper a tad..lol

agrajeda
08-21-2005, 02:31 AM
I am trying to get this to work on my site. Its not appearing correctly. Where exactly do I embed by code?