[ABD] cBB Chat 1.0.1

Any abandoned MODs will be moved to this forum.

WARNING: MODs in this forum are not currently being supported or maintained by the original MOD author. Proceed at your own risk.
Forum rules
IMPORTANT: MOD Development Forum rules

WARNING: MODs in this forum are not currently being supported nor updated by the original MOD author. Proceed at your own risk.
Locked
User avatar
Dead Man
Registered User
Posts: 241
Joined: Tue Jun 05, 2012 12:35 am

Re: [RC] cBB Chat 1.0.1

Post by Dead Man » Sat Sep 20, 2014 1:02 am

So how do I edit it. I don't really get what I am suppose to change.

Code: Select all

var jchat_style_options = 
{
	positions: 
		{
			faq: 
				{
					top		: ['#pagecontent', 'before'],
					bottom	: ['#pagecontent', 'after']
				},
					
			viewforum: 
				{
					top		: ['#pagecontent', 'before'],
					bottom	: ['.tablebg:has(.breadcrumbs):last', 'before']
				},
					
			viewtopic: 
				{
					top		: ['#pagecontent', 'before'],
					bottom	: ['.tablebg:has(.breadcrumbs):last', 'before']
				},
					
			undefined: 
				{
					top		: ['.tablebg:has(.breadcrumbs):first', 'after'],
					bottom	: ['.tablebg:has(.breadcrumbs):last', 'before']
				}
		}
};

User avatar
Hennie vd Walt
Registered User
Posts: 22
Joined: Wed Jul 23, 2014 9:17 am
Location: Cape Town South Africa
Contact:

Re: [RC] cBB Chat 1.0.1

Post by Hennie vd Walt » Mon Sep 29, 2014 5:38 am

I still have not figured out how the Ban or kick off function works and how to do that in the chat, Any Help ? :D

User avatar
Dead Man
Registered User
Posts: 241
Joined: Tue Jun 05, 2012 12:35 am

Re: [RC] cBB Chat 1.0.1

Post by Dead Man » Mon Sep 29, 2014 6:45 am

Hennie vd Walt wrote:I still have not figured out how the Ban or kick off function works and how to do that in the chat, Any Help ? :D
Right Click a Users Name:
And this Comes up
Image

The first to are sort of Obvious as to what they do.
Private Message: Sends Direct Message to Only that User

~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~

Mention: Is to basically well Mention Someone
Message In Box
Image
Result Of mention
Image

~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~

Exclude: Basically means BAN
Image

~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~

Delete: Takes you to the Admin Panel To Administer That User
So do not worry about clicking it. You will have to confirm it in the Admin Panel if you do want to delete user.
Image

~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~
~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~
~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~

FOR EXCLUDE aka BAN
What I did is Edit this file and changed every word related to Exclude into BAN
root\language\en\mods\chat\main.php

If you do not like the word Exclude like I did LOL here is the main.php file if you don't want to look for that word Exclude and change it yourself lol

After you do changes and ReUpload File Purge your Forums Cache

Code: Select all

<?php
/** 
* main.php [English [En]]
* @package language cBB Chat
* @version $Id: main.php v1.0.1 10/09/2014 $
*
* @copyright (c) 2014 CaniDev
* @license http://opensource.org/licenses/gpl-license.php GNU Public License
*/

// DO NOT CHANGE
if(!defined('IN_PHPBB'))
{
	exit;
}

if(empty($lang) || !is_array($lang))
{
	$lang = array();
}

// Chat language
$lang = array_merge($lang, array(
	'CHAT'						=> 'Chat',
	'CHAT_ARCHIVE'				=> 'Chat archive',
	'CHAT_BAN_DATE'				=> 'End of Ban',
	'CHAT_BAN_DATE_EXPLAIN'		=> 'The valid format is DD/MM/YY hh:mm:ss.',
	'CHAT_BAN_PERIOD'			=> 'Ban duration',
	'CHAT_BAN_USER'				=> 'Ban User',
	'CHAT_BBCODE'				=> 'BBcodes',
	'CHAT_CANCEL'				=> 'Cancel',
	'CHAT_CLEAR_BBCODE'			=> 'Delete BBcode',
	'CHAT_CLEAR_INPUT'			=> 'Delete all',
	'CHAT_COLOR'				=> 'Text colour',
	'CHAT_CONNECT'				=> 'Connect/Disconnect',
	'CHAT_CUSTOM_BBCODES'		=> 'Custom BBcodes',
	'CHAT_DELETE_SELECTED'		=> 'Delete selected',
	'CHAT_DELETE_USER'			=> 'Delete user',
	'CHAT_DISCONNECT_MESSAGE'	=> 'You are disconnected.',
	'CHAT_FLOOD_WAIT'			=> 'Flood time is set. Please wait...',
	'CHAT_GUEST_ROOM'			=> 'General',
	'CHAT_MENTION'				=> 'Mention',
	'CHAT_NO_INFORMATION'		=> 'No available information.',
	'CHAT_PM_EXCEED'			=> 'You can not open more private conversations because of a limit set by the administration.',
	'CHAT_PURGE'				=> 'Purge messages',
	'CHAT_PURGE_CONFIRM'		=> 'Are you sure that you want to delete all messages from the main room?',
	'CHAT_REFRESH'				=> 'Refresh',
	'CHAT_REMAINING_CHARS'		=> 'characters left.',
	'CHAT_RULES'				=> 'Chat rules',
	'CHAT_SEND_PM'				=> 'Private message',
	'CHAT_SMILIES'				=> 'Smilies',
	'CHAT_SOUND'				=> 'Enable/Disable sound',
	'CHAT_SUBMIT'				=> 'Accept',
	'CHAT_TIP'					=> 'Tip',
	'CHAT_UNBAN_USER'			=> 'Remove Ban',
	'CHAT_USER_BANNED_PERIOD'		=> 'You are banned from the chat until: %s',
	'CHAT_USER_BANNED_PERMANENT'	=> 'You are banned from the chat permantly.',
	'CHAT_USER_ALREADY_EXISTS'		=> 'The user is already in use.',
	
	'CHAT_STATUS_AVAILABLE'		=> 'Available',
	'CHAT_STATUS_AWAY'			=> 'Away',
	'CHAT_STATUS_BUSY'			=> 'Busy',
	'CHAT_STATUS_HIDDEN'		=> 'Hidden',

	'CUSTOM_DATE'	=> 'Custom date',
	'EDIT'			=> 'Edit',
	'NEW_TOPIC'		=> 'New Topic',
	'PERMANENT'		=> 'Permanent',
	'QUOTE'			=> 'Quote',
	
	'HALF_AN_HOUR'	=> 'Half an hour',
	'NO_LIMIT'		=> 'No limit',
	'ONE_DAY'		=> 'One day',
	'ONE_HOUR'		=> 'One hour',
	'ONE_WEEK'		=> 'One week',
	'ONE_MONTH'		=> 'One month',
	'ONE_YEAR'		=> 'One year',
	'TWO_YEARS'		=> 'Two years',
));

// Text language
$lang = array_merge($lang, array());


User avatar
Hennie vd Walt
Registered User
Posts: 22
Joined: Wed Jul 23, 2014 9:17 am
Location: Cape Town South Africa
Contact:

Re: [RC] cBB Chat 1.0.1

Post by Hennie vd Walt » Mon Sep 29, 2014 7:42 am

for some reason i don't see the "exclude" i only see Private Message and Mention, i will check it out Thanks for the Help

User avatar
Dead Man
Registered User
Posts: 241
Joined: Tue Jun 05, 2012 12:35 am

Re: [RC] cBB Chat 1.0.1

Post by Dead Man » Mon Sep 29, 2014 10:11 am

Are you Main Administrator?

User avatar
Hennie vd Walt
Registered User
Posts: 22
Joined: Wed Jul 23, 2014 9:17 am
Location: Cape Town South Africa
Contact:

Re: [RC] cBB Chat 1.0.1

Post by Hennie vd Walt » Mon Sep 29, 2014 10:32 am

Dead Man wrote:Are you Main Administrator?
Yes I am ?

User avatar
Hennie vd Walt
Registered User
Posts: 22
Joined: Wed Jul 23, 2014 9:17 am
Location: Cape Town South Africa
Contact:

Re: [RC] cBB Chat 1.0.1

Post by Hennie vd Walt » Tue Sep 30, 2014 11:45 am

Image

User avatar
Hennie vd Walt
Registered User
Posts: 22
Joined: Wed Jul 23, 2014 9:17 am
Location: Cape Town South Africa
Contact:

Re: [RC] cBB Chat 1.0.1

Post by Hennie vd Walt » Tue Sep 30, 2014 11:46 am

am i missing something in permissions ?

User avatar
Dead Man
Registered User
Posts: 241
Joined: Tue Jun 05, 2012 12:35 am

Re: [RC] cBB Chat 1.0.1

Post by Dead Man » Tue Sep 30, 2014 1:58 pm

That is pretty weird. Are you a full time Administrator?

I honestly do not know. I have set up another account and I gave it all Permissions as YES. And I do not see the Exclude or Delete Option when using that account. Hmm I guess we wait for the Modder to come and reply because I cannot seem to figure out where those Chat Admin Settings ARE lol.


Edit: It seems like I got all the rest of the power of being able to edit other peoples post but as For Exclude or Delete no luck weird.

User avatar
Hennie vd Walt
Registered User
Posts: 22
Joined: Wed Jul 23, 2014 9:17 am
Location: Cape Town South Africa
Contact:

Re: [RC] cBB Chat 1.0.1

Post by Hennie vd Walt » Wed Oct 01, 2014 7:25 am

Yes I am full time admin, checked all the permissions, reinstalled the mod, redone all the edits but still I do not see the exclude when i right click on a username in the chat :? not even when i am logged in as admin

User avatar
Hennie vd Walt
Registered User
Posts: 22
Joined: Wed Jul 23, 2014 9:17 am
Location: Cape Town South Africa
Contact:

Re: [RC] cBB Chat 1.0.1

Post by Hennie vd Walt » Wed Oct 01, 2014 7:53 am

Ok I found a way to get it to work, Probably not the right remedy but it worked, it seems as if the install did not do something in the database I opened phpMyAdmin and went into phpbb_chat_users there i found this Image (only for one user) and changed the 0 in exclude_time to 1 and saved it went back to my board and the user was permantly excluded went back to phpMyAdmin and changed it back to 0 and saved it went back to my board and whala all works fine as long as i am logged in as a founder Image

User avatar
Kamahl19
Registered User
Posts: 1598
Joined: Tue Nov 06, 2007 3:33 pm
Location: Slovakia
Name: Martin
Contact:

Re: [RC] cBB Chat 1.0.1

Post by Kamahl19 » Sat Oct 04, 2014 1:09 pm

Is there any way to download version 1.0.0 ? I need to compare changes in template files. I use the MOD on custom style, and I need to update templates.

User avatar
Jessica
Former Team Member
Posts: 4342
Joined: Sun Jul 18, 2010 2:53 pm
Location: Pennsylvania, USA
Name: Jessica
Contact:

Re: [RC] cBB Chat 1.0.1

Post by Jessica » Sat Oct 04, 2014 2:47 pm

Kamahl19 wrote:Is there any way to download version 1.0.0 ? I need to compare changes in template files. I use the MOD on custom style, and I need to update templates.
http://www.canidev.com/app/?lang=en&i=cbb-chat-v1.0.0
Pro-choice, Atheist, Pro-LGBT rights
Everybody is a genius. But if you judge a fish by its ability to climb a tree, it will live its whole life believing that it is stupid. - Albert Einstein

User avatar
Kamahl19
Registered User
Posts: 1598
Joined: Tue Nov 06, 2007 3:33 pm
Location: Slovakia
Name: Martin
Contact:

Re: [RC] cBB Chat 1.0.1

Post by Kamahl19 » Sun Oct 05, 2014 2:35 pm

Thx Jessica, but there is no button for download. I can not download only latest version from canidev.

Edit: can anyone upload 1.0.0 here? Thanks

User avatar
RMcGirr83
Recognised Extension Developer
Posts: 21034
Joined: Wed Jun 22, 2005 4:33 pm
Location: Your display
Name: Rich McGirr
Contact:

Re: [RC] cBB Chat 1.0.1

Post by RMcGirr83 » Mon Oct 06, 2014 12:56 am

In times of change, learners inherit the earth, while the learned find themselves beautifully equipped to deal with a world that no longer exists - Eric Hoffer
Former Modifications/Extensions Team Member | My extensions
Appreciate the extensions/mods/support then buy me a beer
All requests for support via PM will be ignored

Locked

Return to “[3.0.x] Abandoned MODs”