• Forum
  • Doc
  • Screenshots
  • Download
  • Donate
  • Contributors
  • Contact
  • Follow @phpfreechat
  • DEMO
  • Board index ‹ Version 1.x branch ‹ Joomla, Drupal, and Wordpress (v1.x)
  • Change font size
  • FAQ
  • Register
  • Login

Using the widgets

Integration help for Joomla, Drupal, and Wordpress

Moderators: OldWolf, re*s.t.a.r.s.*2

Post a reply
2 posts • Page 1 of 1

Postby K4yti » Fri Jun 18, 2010 10:10 am

Hi

I have phpfreechat installed and working great in Wordpress, thanks for the plugin.

My site is educational and I use s2Member to create two levels of access, all users are registered, one level can read only the chatroom and the second level can read and write in the chatroom:

1. The simplest solution would be to password protect write to the chatroom and just give s2member Level 2 users the password, however I couldn't find a option for this.

2. Alternatively, I wasn't sure if it was possible to modify the code where the plugin pickups the wordpress registered user and automatically joins them in the chatroom, so that it is 'if user is registered && is a s2member Level 2 then add to chatroom users'. However I'm not sure where the code is that handles the setting Registered Users Only? and whether s2member Level 1 users would just be able to add themselves as a guest anyway because they are also a registered user?

3. Or I have the chatroom in a page only s2member Level 2 users have access to and then add the two widgets phpfreechat Latest Chatter and phpfreechat Who's Online in a page (not the sidebar) s2member Level 1 users have access to. I'd need to have the chat widget inside a div that refreshes using AJAX so that s2member Level 1 users can watch the chatroom in realtime without actually being able to chat.

I'd be very grateful for advise on the best solution, either one of the above or an alternative suggestion, and then a bit of help how to implement.

Many thanks
Katie
K4yti
New member
 
Posts: 2
Joined: Fri Jun 18, 2010 9:41 am
Top

Postby Frumph » Tue Sep 07, 2010 10:41 pm

1) You can password protect pages and posts, that will work fine w/wordpress

2) totally possible, little coding in the chat.php and phpfreechat.php files

3) little coding again, in the phpfreechat.php file
Frumph
Member
 
Posts: 38
Joined: Wed Aug 05, 2009 10:47 am
Top


Post a reply
2 posts • Page 1 of 1

Return to Joomla, Drupal, and Wordpress (v1.x)

Who is online

Users browsing this forum: No registered users and 3 guests

  • Board index
  • The team • Delete all board cookies • All times are UTC + 1 hour
Powered by phpBB® Forum Software © phpBB Group
Sign in
Wrong credentials
Sign up I forgot my password
.
jeu-gratuit.net | more partners
Fork me on GitHub