Thread Rating:
  • 2 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
ET-Chat and MyBB
#1
Tutorial how to install ET-Chat with MyBB
ET-Chat is a chat based on Php, MySQL (or Postgre) and AJAX. It fits nicely to MyBB. You can try it [Image: external.png]here for example.
1. Install MyBB (of course)
2. Download ET-Chat [Image: external.png]Download
3. Place ET-Chat in a MyBB subfolder, for example:
mybboard/chat
4. Install ET-Chat (Can use same database as MyBB with different prefix but doesn't have to) and set your preferred settings as admin.
5. Open the file Zusatztool_Anbindung_an_Fremduserverwaltung.php that comes with the ET-Chat
6. Search for You are not allowed to see php code., insert after it:
You are not allowed to see php code.
Optional: Don't let banned users enter the chat:
You are not allowed to see php code.
Next step: You are not allowed to see php code.7. Delete the following: You are not allowed to see php code.8. Find line: You are not allowed to see php code. Enter the site where the user shall be redirected after logging out from ET Chat, for example:You are not allowed to see php code.leads to board index.
Now save the file as index.php (overwrite existing one). If you need to login as admin lateron to configure something rename the index.php to something like administration.php before overwriting it. You'll be able to login as admin then going to administration.php
9. Now you only have to place a link to your chat, for example in the main menu. Go to your MyBB Admin-CP and go to Templates & Style, Templates. Search the templates of your skin and find Header Templates -> "header". Somewhere in the menu fill in the following code:
Code:
You are not allowed to see code.
If chat shall not open in a new window delete the
Code:
You are not allowed to see code.

Done! Now everything should work just fine Smile
If you have any questions or comments just post them here.
Forum Admin
Reply
#2
Very useful for me.

Thankyou
Reply
#3
thanks
Reply
#4
You are welcome Smile
Forum Admin
Reply
#5
Whether it can be made Shoutbox on the forum?
Reply
Register (for free) to hide the ads.
#6
You could do that by posting the log at the index page but it really is a chat and not a shoutbox.
Forum Admin
Reply
#7
but users have to register in ET Chat in order to chat

Thanx 4 gr8 tut
Reply
#8
No, the MyBB registration will work for them.
Forum Admin
Reply
#9
This is my index.php file, hope can help others, tested with ET-Chat v3.0.6 Big Grin

Change: $group_ids = array(8, 9, 3, 4, 6); TO your mybb Groups ID which allowed to chat.

Code:
You are not allowed to see code.
Reply
#10
Nice job, thanks for sharing!

Best regards
Lennart Sauter
Forum Admin
Reply
Need professional support? PRinguin, the Digital-Agency. For web design and online marketing.
Register (for free) to hide the ads.


Forum Jump:


Users browsing this thread: 1 Guest(s)