2013-10-21, 22:11
Tutorial: Log on automatically chatbox |
Based on this tutorial, you can make when entering the index, forum users are automatically logged into the chatbox.
--> Tutorials, tips and tricks <--
Log on automatically chatbox
Log on automatically chatbox
1º - Javascript
- Code:
$(function(){ if(document.getElementById('logout')) $.post('/chatbox/chatbox_actions.forum?archives','mode=send&sent='); });
Go to Control Panel Modules HTML and Javascript code Javascript Management
Click the "Create a new javascript"
Title - You have to put a title for the page, so you can identify it in the list of pages JavaScript Control Panel; |
Investment - Choose "On index"; |
JavaScript code - In this field we have to insert the code that worked in the previous item; |
Confirm - Finally, after adding the code you need to click this button to save the setting. If you click another button or another section, the changes will not be validated. |
© PunBB Design
If you have any questions related to this topic create a topic with the following title: Log on automatically chatbox |