vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   Chat Modifications - [Shout/Chatbox 0.7.06] GCBOS - Generic Chat Box Operating System (https://vborg.vbsupport.ru/showthread.php?t=228046)

MyChemicalSelf 11-14-2009 10:00 PM

[Shout/Chatbox 0.7.06] GCBOS - Generic Chat Box Operating System
 
1 Attachment(s)
GCBOS - Generic Chat Box Operating System
by VertiCode UK

GCBOS is a command-based chat client written in PHP for vBulletin 3 & 4, the original modification was written by dinnerbone for vBulletin 3.7.

Versions:
-vBulletin 3.8

Features:
-Commands
-Topic and Reply notifications
-Simple to use commands
-Chat permissions
-Hide chatbox from usergroups
-Allow guests to view
-The ability to use similes and BB code
-Show who is using GCBOS on who's online
-Edit and delete messages
-Ability to prune the chat

Demo:
Otaku Studios

Commands:
- Impersonate: Makes <user> say <message ...>
- Usage: /say <user> <message ...>
- Example: /say "Basfreak" I like to touch myself at night.
- Mute User: Mutes <user>, preventing them from talking.
- Usage: /mute <user ..>
- Example: /mute Forum Troll
- Unmute User: Unmutes <user>, allowing them to talk.
- Usage: /unmute <user ..>
- Example: /unmute Forum Troll
- Edit Message: Edits message <messageid>, setting the new text to <message ..>
- Usage: /edit <messageid> <message ..>
- Example: /edit 1337 I'm in your message, stealing your texts.
- Delete message: Deletes message <messageid>.
- Usage: /delete <messageid>
- Example: /delete 1497
- Toggle Truesight: If enabled allows you to see who actually sent a message
- Usage: /truesight <0 or 1>
- Example: /truesight 1
- Clear Messages: Clears GCBOS, deleting all messages. Only you will see this.
- Usage: /clear
- Example: /clear
- List Muted Users: Lists all muted users
- Usage: /listmuted
- Example: /listmuted
- Private Message: Sends a private message to <user>
- Usage: /pm <user> <message ...>
- Example: /pm "Kanye West" Do you like fishsticks?
- List Ignored: Lists all users you are currently ignoring
- Usage: /listignores
- Example: /listignores
- Ignore User: Ignores all messages from <username ...>, preventing them from showing.
- Usage: /ignore <username ...>
- Example: /ignore Just Another Forum Troll
- Unignore User: Stops messages from <username ...> from being ignored.
- Usage: /unignore <username ...>
- Example: /unignore Dinnerbone
- Set Notice: Sets the notice to <notice>
- Usage: /notice <message ..>
- Example: /notice Welcome your new overlords!
- User Action: Perform an action, useful for role playing.
- Usage: /me <action ...>
- Example: /me dances
- Help: Displays this help menu
- Usage: /help
- Example: /help
- Prune Messages: Deletes all messages in GCBOS, this cannot be undone
- Usage: /prune
- Example: /prune

When using a command with 'parameters', you may either enter each parameter in the form of:
/command param1 param2 param3
However if the parameter contains spaces you must enclose it in quotes, such as:
/command "parameter 1" 'parameter2' param3.
You may edit messages by double clicking on them (If you have permission to do so), delete messages by clicking on the '#' in front of your messages, send a user a private message by single clicking their name, or speed up/slow down the speed messages are typed at by pressing the 'up' or 'down' arrow keys on your keyboard.

License:
GCBOS was released under the MPL on google code please see http://www.mozilla.org/MPL/MPL-1.1.html or view LICENSE.txt

Compatibility:
-vBulletin 4.x
-IIS7
-Apache2
-Litespeed webserver
-PHP 5.2.x
-PHP 5.3 (if references are enabled)

PHP 5.3
For GCBOS to work with PHP 5.3 you must have
Quote:

allow_call_time_pass_reference
set to
Quote:

On
Install:
-Upload the contents of the upload folder
-Import product-gcbos.xml
-Set usergroup permissions
-Insert <!-- {SHOUTBOX} --> into the template you want it to display in (EG FORUMHOME, FORUMDISPLAY) or at the bottom of navbar
-Navigate to vBulletin Settings->GCBOS set the forum restrictions to disable topic notifications or disable them by selecting no
-For 0.7.07 and above i reccomend installing the following modification (https://vborg.vbsupport.ru/showthread.php?t=228507) to add GCBOS to your navbar (http://yoursite.com/forums/gcbos.php?action=page).

Upgrade:
-Overwrite all files then import the product
-Edit permissions as required

MyChemicalSelf 11-15-2009 09:07 PM

Change-log:
-0.6
--Working on vB4
--Recoded style

-0.6.2
--Improvements to style
--Added submit button
--Fixed template bug

-0.6.3
--Changed the style of /me
--Fixed new template bugs that caused the submit button to display incorrectly

-0.6.4
--Fixed Who's online location

-0.6.5
--Fixed a HTML issue that caused issues on some browsers (un needed table tag, unsure how it got left in)
--Fixed an extra tag in enlarge or shrink options
--Reduced the amount of AJAX requests made

-0.6.6
--Fixed an issues with PHP 5.3

-0.6.6 PL1
--Fixed a issue with older versions of Internet Explorer

-0.6.7
--Fixed an issue with vBulletin CMS
--Fixed an issue with PHP 5.3
--Fixed bad version number

-0.6.8
--Issue with forums loading
--First shout on installation
--Minor tweaks

-0.6.9
---This version shows messages instantly and does not type them, in the next day or so i will upload a dual version that allows you to choose your preference.
--Fixed template error
--Adjusted template to work with the sidebar
--Change JS settings
--Changed style of shouts
--Changed style of PM's
--Added permissions for /impersonate and /truesight
--Changed Messages to show instantly (I will provide a typing version and instant at a later date)
--Added phrases

-0.6.10
--Changed the way the product is displayed
--Fixed compatibility issues with other products
--Fixed depreciated issues with PHP 5.3
--Fixed a template issue

-0.7.06 (0.7 Gold / Final)
--Fixes for broken commands in 0.6.10
--Alert on new topic
--Messages display instantly
--Check README for instructions on PHP5.3+
--Fixed an xml error
--Fixed SQL error
--Fixed template errors
--Optimised for vB4
--Removed vB3 specific code
--Fixed a white screen (php error) when infracting users
--Added topic reply notifications
--Fixed a 'important' issue with topic reply notifications
--Option to disable notifications for New topics and New reply's individually
--Fixed gcbos showing post editing as a reply
--UTF8 support (i have tested English characters and Arabic on my iis7 install) and Macheath confirmed it working on her site.

-0.7.07
--GCBOS Page: http://yoursite.com/forum/gcbos.php?action=page
--Fixes for PHP5.3

-0.7.08
--Added support for vBulletin 3.x

-0.8
-- Fixed comand system (/help /listmuted /clear now work again)
-- Updated the vBulletin 3.x version to be in lockstep with the vB4 build

-0.8.02
--Fixed known issues with vBCMS

FAQ
Q: My board uses UTF-8 or another nonstandard charset how can i fix this?
A: because UTF-8 is not vBulletin's default charset the data is incorrectly displayed. The fastest way to fix this is to open your admin panel select "Languages and Phrases" then Language Manager. Now hit edit settings on the language you are using and 7 options down you will see "HTML Character Set" change this to UTF-8 (default is ISO-8859-1).

Q: GCBOS always says loading how can i fix this?
A: The header include hooks is either missing or not working simply view your pages source and check if you can see gcbos.js if you cant please re-read the installation instructions and make sure all the steps have been followed.

Q: My host uses PHP 5.3 or above how do i make GCBOS work?
A: It should work by default (GCBOS sets 'allow_call_time_pass_reference' to on at runtime) if this doesnt work consult your host

Support
If you encounter any bugs please post as much detail as possible to help me find a solution this includes SQL errors and screen shots if you are not comfortable posting the error please PM me.

Charlie98902 11-15-2009 09:07 PM

This may be useful later. Tagged.

David Regimbal 11-15-2009 10:05 PM

Not sure why, but when people submit a message it shows all the code. For example:

#/delmessage]23/30/User/pm]>It shows the code/edit]/message]

is what shows

MalluParadise 11-15-2009 11:18 PM

Can u add smiles ,Bold ,Italic , color and Font option

MyChemicalSelf 11-16-2009 06:21 AM

Quote:

Originally Posted by David Regimbal (Post 1914864)
Not sure why, but when people submit a message it shows all the code. For example:

#/delmessage]23/30/User/pm]>It shows the code/edit]/message]

is what shows

I have never seen this before can you post a screen shot/ a link to thesite so I can take a look? If it's what I think it is it's a feature as the original developer intended it to be a command line system.

Quote:

Originally Posted by MalluParadise (Post 1914913)
Can u add smiles ,Bold ,Italic , color and Font option

I plan on adding a font option later today, but if people encounter bugs i will fix those first :) I beloved smilies work though but there is not an editor to show them as of yet.

This site realy needs a mobile style >_>

Vackrick 11-16-2009 07:01 AM

it keep saying loading...

gothicuser 11-16-2009 08:38 AM

What an eye opener. This is really nice, thankyou very much :D

sematopdemir 11-16-2009 08:48 AM

Thanks

Kolbi 11-16-2009 09:55 AM

How much ressources does your chat system need?

MyChemicalSelf 11-16-2009 10:13 AM

Quote:

Originally Posted by Kolbi (Post 1915148)
How much ressources does your chat system need?

From what I remember not that much, the original developer used it on a rather large site with no noticeable changes.

@above if it still shows loading you need to add the hook to headinclude.

abdobasha2004 11-16-2009 11:14 AM

reserved
it was very popular for 3.8
I expect also for vb4

Vackrick 11-16-2009 11:29 AM

Hey when i install the shoutbox it wrking fine the install when smoothly

when i go forum home see the shoutbox

it give me loading...

Alucard^ 11-16-2009 11:34 AM

I can't found the version for 3.8, someone can give me the link? or is a private addon?

MyChemicalSelf 11-16-2009 12:52 PM

Quote:

Originally Posted by Alucard^ (Post 1915190)
I can't found the version for 3.8, someone can give me the link? or is a private addon?

GSBOS the predecesor was released here or if you check the google code page (it's linked in the first post) you can find GCBOS for 3.8



About the font editor etc, i have an idea of how to code it but how would you like me to lay it out? Eg: B, U, I / Color picker in the notice bar or?



Update
Uploaded 0.6.4 fixes the who's online location issue.


Quote:

Originally Posted by David Regimbal (Post 1914864)
Not sure why, but when people submit a message it shows all the code. For example:

#/delmessage]23/30/User/pm]>It shows the code/edit]/message]

is what shows

Coming back to this you mean when you edit a message the input box shows /edit <message_id> <message_body> and delete shows /delete <message_id> ? If so this is an intended feature of the original developer as this is ment to be a command line system like IRC (ish).

macheath 11-16-2009 01:55 PM

Looks very nice, tagged.

meissenation 11-16-2009 02:16 PM

Thank you for taking time to make this. I really am interested in the IRC functionality that you have planned.

Kocuce 11-16-2009 04:29 PM

"#20/23/bigahega> türkçe karakter yok "

Something wrong with UTF-8?

MyChemicalSelf 11-16-2009 05:15 PM

Quote:

Originally Posted by Kocuce (Post 1915360)
"#20/23/bigahega> türkçe karakter yok "

Something wrong with UTF-8?

Should be fine what language are you using? I have a hunch what it might be though.

milaszewski 11-16-2009 05:17 PM

what code should be put into a HTML widget in order to have the chat as a widget?

MyChemicalSelf 11-16-2009 05:31 PM

Quote:

Originally Posted by milaszewski (Post 1915397)
what code should be put into a HTML widget in order to have the chat as a widget?

I will take a look into this later should be rather easy :)



About UTF8 Support i have replicated the problem and i will work on finding a fix.

Kocuce 11-16-2009 05:49 PM

Quote:

Originally Posted by MyChemicalSelf (Post 1915394)
Should be fine what language are you using? I have a munch what it might be though.

I'm using Turkish.

As far as you've managed to replicate, I'm waiting the fix then :p

MyChemicalSelf 11-16-2009 06:19 PM

Quote:

Originally Posted by Kocuce (Post 1915417)
I'm using Turkish.

As far as you've managed to replicate, I'm waiting the fix then :p

Found a fix :) because UTF-8 is not vBulletin's default charset the data is incorrectly displayed the fastest way to fix this is to open your admin panel select "Languages and Phrases" then Language Manager. Now hit edit settings on the language you are using and 7 options down you will see "HTML Character Set" change this to UTF-8 (default is ISO-8859-1).
https://vborg.vbsupport.ru/attachmen...6&d=1258403651

Added FAQ to first post. Some time tomorrow i will be uploading a fix to gcbos.js this simply reduces the amount of AJAX requests made to the server and should make this more suitable for larger boards. The difference is not visible but will reduce server load when it counts.

Kocuce 11-16-2009 06:41 PM

1 Attachment(s)
Default charset was ISO-8859-9 here. When I change it to UTF-8, yes as you've said it works but everything except the chat breaks down. You can see it in the attachment.

MyChemicalSelf 11-16-2009 06:48 PM

Quote:

Originally Posted by Kocuce (Post 1915451)
Default charset was ISO-8859-9 here. When I change it to UTF-8, yes as you've said it works but everything except the chat breaks down. You can see it in the attachment.

I shall have a look on my test board sorry for the inconvenience. How odd seems to work for me, do you know what the collation of your database is? As that's the only thing i can see it being.

https://vborg.vbsupport.ru/external/2009/11/10.png

Kocuce 11-16-2009 06:52 PM

Quote:

Originally Posted by MyChemicalSelf (Post 1915453)
I shall have a look on my test board sorry for the inconvenience

Nema problema. I hope you can find another fix.

I've looked to my tables and they are utf8_general_ci.

MyChemicalSelf 11-16-2009 06:56 PM

seems to work for me using some turkish i found on the net (i have my sql server set to UTF-8 aswell as boards). Im currently out of ideas towards this i shall ask around a few people i know who might have an answer :)

Kocuce 11-16-2009 07:10 PM

Interesting it really looks fine from your images but not like here. There is nothing to do but waiting then.

cjwzx2 11-16-2009 08:02 PM

I've found that using this chatbox inside a style breaks IE rendering on pages the chatbox is displayed on. Renders fine in Chrome & FireFox. What's the deal?

MyChemicalSelf 11-16-2009 08:16 PM

Quote:

Originally Posted by cjwzx2 (Post 1915495)
I've found that using this chatbox inside a style breaks IE rendering on pages the chatbox is displayed on. Renders fine in Chrome & FireFox. What's the deal?

I cant test on IE as i have no windows machine 8-) and the general vBulletin style hardly work on IE atm. Last time my testers used it IE reported fine what exactly is the error. If youc an provide a screen shot that would help :)

cjwzx2 11-16-2009 08:25 PM

Quote:

Originally Posted by MyChemicalSelf (Post 1915500)
I cant test on IE as i have no windows machine 8-) and the general vBulletin style hardly work on IE atm. Last time my testers used it IE reported fine what exactly is the error. If youc an provide a screen shot that would help :)

It basically looks like a blank page. I haven't had a change to look through the GCBOS template but I'm wondering if we don't have an open tag or something. Here's a SS:
http://pics.fullavit.com/vb_bugs/ss1.png
http://pics.fullavit.com/vb_bugs/ss2.png

Basically, nothing of the page renders right, it's empty til the footer information. If I do a view source, the source is there...

MyChemicalSelf 11-16-2009 08:37 PM

Quote:

Originally Posted by cjwzx2 (Post 1915505)
It basically looks like a blank page. I haven't had a change to look through the GCBOS template but I'm wondering if we don't have an open tag or something. Here's a SS:
http://pics.fullavit.com/vb_bugs/ss1.png
http://pics.fullavit.com/vb_bugs/ss2.png

Basically, nothing of the page renders right, it's empty til the footer information. If I do a view source, the source is there...

If GCBOS is installed correctly it only hooks just under the text that on your site says Welcome to teamzxq.com so from that it looks like either a vB error or another addon your using.

cjwzx2 11-16-2009 08:40 PM

Quote:

Originally Posted by MyChemicalSelf (Post 1915508)
If GCBOS is installed correctly it only hooks just under the text that on your site says Welcome to teamzxq.com so from that it looks like either a vB error or another addon your using.

It doesn't matter where I put the hook, it does it no matter what on any IE version. The only other plugin installed is the uCash plugin, and I highly doubt it's the cause, it doesn't touch those templates.

MyChemicalSelf 11-16-2009 08:51 PM

Quote:

Originally Posted by cjwzx2 (Post 1915509)
It doesn't matter where I put the hook, it does it no matter what on any IE version. The only other plugin installed is the uCash plugin, and I highly doubt it's the cause, it doesn't touch those templates.

One of my mates has just tested it and it seems fine (just no rounded edges). Uploading screens now :)

https://vborg.vbsupport.ru/external/2009/11/9.png

cjwzx2 11-16-2009 09:06 PM

Weird... back to the drawing board.

David Regimbal 11-16-2009 09:06 PM

1 Attachment(s)
I'm using the English language. It's not when I edit a message, though when someone posts a message that it appears like this:

#/delmessage]00/06/user/pm]>my text i posted/edit]/message]

When posted and after refreshing the page, the already posted comments take a while to appear, like its almost writing what was posted.

MyChemicalSelf 11-16-2009 09:10 PM

How odd have you tried upgrading to a newer version? I havent seen anything like it before on IIS or Apache (localhost and production server). And did it occour before or after template edits (i think its been edited) ;P

David Regimbal 11-16-2009 09:15 PM

I have not made any template edits to the mod. Though, I have changed the colors of the forum from white to another color. Here are my specs:

Server Type: Linux
Web Server: Apache (cgi)
PHP 5.2.11
PHP Max Post Size: 8.00 MB
PHP Maximum Upload Size: 100.00 MB
PHP Memory Limit: 128.00 MB
MySQL Version: 5.0.81-community-log
MySQL Packet Size: 1.00 MB

I have updated to your latest version.

MyChemicalSelf 11-16-2009 09:27 PM

Quote:

Originally Posted by David Regimbal (Post 1915520)
I have not made any template edits to the mod. Though, I have changed the colors of the forum from white to another color. Here are my specs:

Server Type: Linux
Web Server: Apache (cgi)
PHP 5.2.11
PHP Max Post Size: 8.00 MB
PHP Maximum Upload Size: 100.00 MB
PHP Memory Limit: 128.00 MB
MySQL Version: 5.0.81-community-log
MySQL Packet Size: 1.00 MB

I have updated to your latest version.

How odd virtually identical to my setup, only thing i can think of the file has gone corrupt during the upload but i doubt it would happen two installs in a row.

David Regimbal 11-16-2009 10:05 PM

Does it need its own language file? I know chat things I used in the past required an overwrite of the current language file.


All times are GMT. The time now is 06:20 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.02345 seconds
  • Memory Usage 1,860KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (19)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete