Welcome, Guest. Please login or register.
Did you miss your activation email?
May 26, 2012, 04:47:43 PM

Login with username, password and session length
Search:     Advanced search
Interested in joining the WebsiteBaker team?
For more Information read here or on our new website.
155544 Posts in 21714 Topics by 7736 Members
Latest Member: chris85
* Home Help Search Login Register
Pages: [1]   Go Down
Print
Author Topic: Video chat module  (Read 1084 times)
djdeeno

Offline Offline

Posts: 51


« on: January 15, 2011, 12:52:14 PM »

Hi

I be building a new module, a flash video chat script. And it working already.
But i want a little help about the session, i thing i must call it session.

So what want to know, if no one is log in on a websitebaker website, visitors can access the wit a guest login, simply like a form:
<input name="userName" type="text" id="userName" />
<input type="submit" name="submit" value="Login" />

But when a user is logon, example: admin
What i want is that when admin click on the chat button he access automatic the chatvideo box.
Is there a example how i can fix this?

Please help with this great new script.
Here a printscreen of it:

« Last Edit: January 19, 2011, 10:40:06 PM by djdeeno » Logged
kweitzel
Forum administrator
*****
Offline Offline

Posts: 6975


WWW
« Reply #1 on: January 15, 2011, 02:00:44 PM »

To check if a user is logged in, you could have a look at the Droplet "LoginBox" Additionally we have a list of available constants & variables within WebsiteBaker online in the Helpsection, Developer Guide.

But, since some of this is going to change with upcoming versions of WB, I hope that one of the developers will give you some information as well.

cheers

Klaus
Logged

WebsiteBaker Org e.V. - for WebsiteBaker

djdeeno

Offline Offline

Posts: 51


« Reply #2 on: January 15, 2011, 02:14:06 PM »

Thanks,

I look in the help guide.
Maybe there is s simple example module that works with this? I learn a better and faster with example's.
I hope every one understand what i try to ask?

Thanks again.
Logged
djdeeno

Offline Offline

Posts: 51


« Reply #3 on: January 16, 2011, 12:13:19 PM »

Oke
i have fix it, work perfect.
Have a other question, dont know if i must post it here?
The videochatbox is into a module, so it comes in the template after you create a page with the chatbox module, but is there a way to POPUP de chatbox from that template?
So that he grabs the viceochatbox out of the page and popup it?

If i have a normaly popup, he displays also the template, i want to create a checkbox where people can say if the box use the template in the website or the chatbox must popup out of the site.

I know how the Checkfunction works in the admin but don't know how to grab the box out of the template page. Or is better tot make a php file into module with the chatbox this working without the template?

Thanks hope one of this days open a test site so every one can see and download it.
requere a flash server like red5 or media from adobe
« Last Edit: January 16, 2011, 01:46:13 PM by djdeeno » Logged
djdeeno

Offline Offline

Posts: 51


« Reply #4 on: January 17, 2011, 03:34:26 PM »

also thanks
it works with the check option
enable code with check function in admin zone.
So give me 1 week and hope to lance a new chat video box.

Mars
Logged
djdeeno

Offline Offline

Posts: 51


« Reply #5 on: January 18, 2011, 11:29:09 AM »

A lot of work to do, like implanting module, userright ect.
but little preview www.marceldeen.nl/wb
anyone a suggest when a user as login, (regsiter) with example name, john, that there is a link to him profile, like john.php ? a module or somehting, so i can linkit with the users in the chat?
thanks
Logged
Pages: [1]   Go Up
Print
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!