jt2011
Active member
thank youACP > Options > Taigachat
thank youACP > Options > Taigachat
<xen:include template="dark_taigachat"><xen:set var="$taigachat_alt">1</xen:set></xen:include>
<xen:if is="{$renderedNodes}"><xen:include template="node_list" /></xen:if>
</xen:hook>
Sounds really good, do you know how far away you are from launching it? I'm really looking forward to seeing the pro version of this and will be buying it for sure if it turns out as plannedAlso I have resumed development on TaigaChat Pro
A couple of features have been dropped for the initial release though, namely multi-room support.
All the commonly requested features are still in the pipeline, along with my favourite new feature which is serving refreshes from a static html file, so pretty much as realtime and efficient as it's possible to get without requiring specialised server-side support or irc
<?php
require ('./intergration.php');
header('Location: ' . $_SERVER['HTTP_REFERER']);
$moderator = $user['is_admin'] OR $user['is_moderator'];
$nonmod = '0';
if ($moderator == $nonmod) {
die("You are not allowed to do this!"); }
else {
$user = "---dbuser---";
$pwd = "---dbpassword--";
$host = "localhost";
$dbname = "---dbname---";
$conn = mysql_connect($host,$user,$pwd) or ("error connecting to database");
$sql = "DELETE FROM `$dbname`.`dark_taigachat` ";
if(mysql_query($sql,$conn)){
echo "ShoutBox Cleared";
}
if(mysql_select_db($dbname,$conn))
mysql_query ("INSERT INTO dark_taigachat (id, user_id, username, date, message)
VALUES ('1', $user_id, '', $now, 'has pruned the shoubox!')");
mysql_close($conn);
}
?>
<?php
$fileDir = '..';
require ($fileDir . '/library/XenForo/Autoloader.php');
XenForo_Autoloader::getInstance()->setupAutoloader($fileDir . '/library');
XenForo_Application::initialize($fileDir . '/library/', $fileDir);
$request = new Zend_Controller_Request_Http();
$session = XenForo_Session::startPublicSession($request);
$userModel = XenForo_Model::create('XenForo_Model_User');
$user = $userModel->getUserById($session->get('user_id'));
$visitor = XenForo_Visitor::getInstance();
$user_id = $visitor->getUserId();
$now = XenForo_Application::$time;
?>
<a href="admin.php" class="acp adminLink"><span class="itemLabel">{xen:phrase admin_control_panel}</span></a>
<a href="tools/chat_prune.php" class="acp adminLink"><span class="itemLabel">Chatbox Prune</span></a>
<span class="itemCount {xen:if {$session.reportCounts.total}, 'alert'}">{$session.reportCounts.total}</span>
</a>
<a href="tools/chat_prune.php" class="acp adminLink"><span class="itemLabel">Chatbox Prune</span></a>
Hover over your avatar, your user ID is 9543 ( http://xenforo.com/community/members/pheyde.9543/ )Enter the user ID that archive posts should be made by, or 0 for guest.
Enter the ID of a thread above to have shoutbox messages archived to it daily, or enter 0 to disable this feature.
where do i find these ids? thanks
Hopefully i'll come up with a better way to do it, but for now this works.
So I have everything as the plugin states:
Code:<xen:include template="dark_taigachat"><xen:set var="$taigachat_alt">1</xen:set></xen:include> <xen:if is="{$renderedNodes}"><xen:include template="node_list" /></xen:if> </xen:hook>
But when you see the chatbox it does not flow with the theme like it is suppose too, I tried it on my old theme and it worked perfectly but on this theme *Resurgent* It doesn't work. Here is what it looks like:
I fixed my own problem. Since no one else seems to have this problem, nor has an interest in it, I won't bother posting the solution.
But that doesn't bother you to post that kind of message. Sad.I fixed my own problem. Since no one else seems to have this problem, nor has an interest in it, I won't bother posting the solution.
I wasn't saying it out of hate, was just not going to post the message if no one needed it.But that doesn't bother you to post that kind of message. Sad.
Misunderstood then. My bad.I wasn't saying it out of hate, was just not going to post the message if no one needed it.
hi, everything works fine, except that when i put the cursor over the small icon/smilie, the smilies box is way to low, so i can't chose a smilies.
Any help?
thanks!
.taigachat_smilies_list {
max-width: 450px !important;
}
Take your regular member usergroup and disable messages to be sent on the shoutbox via permissions. Make another group with the same permissions, but simply allow them to post messages on the shoutbox. Now go into user promotions and have the user get promoted to the shoutbox enabled message after x posts. Note, it will take (for me) 20 minutes for it to update, simply editing that in the cron entries will fix that problem.What would be a good way to set a post limit to be able to send messages in the shoutbox. I tried a usergroup promotion, but it didn't seem to work.
Take your regular member usergroup and disable messages to be sent on the shoutbox via permissions. Make another group with the same permissions, but simply allow them to post messages on the shoutbox. Now go into user promotions and have the user get promoted to the shoutbox enabled message after x posts. Note, it will take (for me) 20 minutes for it to update, simply editing that in the cron entries will fix that problem.
If you need a more in depth answer let me know.
Code:.taigachat_smilies_list { max-width: 450px !important; }
Adjust px as needed.
We use essential cookies to make this site work, and optional cookies to enhance your experience.