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)

venom2124 01-21-2010 12:33 AM

okay uploaded everything and installed the product but it doesn't show up need help.

carrlos 01-21-2010 01:08 AM

Quote:

Originally Posted by Ju4nCh0 (Post 1961756)
FYI....

I did a clean install on v 0.7 RC2 and I was getting this error.....

HTML Code:

Warning: Call-time pass-by-reference has been deprecated; If you would like to pass it by reference, modify the declaration of call_user_func(). If you would like to enable call-time pass-by-reference, you can set allow_call_time_pass_reference to true in your INI file in /home/content/j/u/a/juanchito/html/foros/includes/class_gcbos.php on line 128

Warning: Cannot modify header information - headers already sent by (output started at [path]/includes/class_gcbos.php:128) in [path]/gcbos.php on line 143

So I went in class_gcbos.php and in line 128 found this

PHP Code:

$done call_user_func($command['function'], $this$command$params$message, &$output); 

There's an extra & right before $output... removed it, reuploaded it and it worked just fine =D

However... it's still showing the text with the "typewriter effect" and takes forever to load all the messages =S

Is there a way to disable it???

I had this issue to. Removing the "&" before $output solved it for me too. If it's suppose to be there, why is it causing errors?

Videx 01-21-2010 01:31 AM

Installed, but needs a few things to make it functional.
  • An idle time out is mandatory, otherwise it's a chatbox, not a shoutbox.
  • A rolling 24 hour archive, so people can look back and see what's being talked about.
Eventually more editor functions would be nice like formatted text.

Videx 01-21-2010 01:33 AM

Quote:

Originally Posted by venom2124 (Post 1961870)
okay uploaded everything and installed the product but it doesn't show up need help.

That's much too vague for us to help. Usually this happens if you skip a step somewhere. Try reinstalling, making sure to follow each step carefully. Double check that your usergroups have permission to see the box, and that you've put the call somewhere in a template so that it's viewable.

Charlie98902 01-21-2010 01:51 AM

Videx maybe he didn't do the template edit? Just a thought with what little he posted.

volarium 01-21-2010 02:09 AM

Quote:

Originally Posted by carrlos (Post 1961890)
I had this issue to. Removing the "&" before $output solved it for me too. If it's suppose to be there, why is it causing errors?

Thanks!

movslow 01-21-2010 04:37 AM

Bump.

Still getting the same error in the chatbox.

Quote:

Warning: Call-time pass-by-reference has been deprecated; If you would like to pass it by reference, modify the declaration of call_user_func(). If you would like to enable call-time pass-by-reference, you can set allow_call_time_pass_reference to true in your INI file in /xxxx/includes/class_gcbos.php on line 128

At the top of this page, you say this

Quote:

PHP 5.3
For GCBOS to work with PHP 5.3 you must have
allow_call_time_pass_reference
set to On
Where??

Nothing is said in the readme?

:confused::confused::confused:

dieKetzer 01-21-2010 04:45 AM

allow_call_time_pass_reference refers to a setting in php.ini.
in your vb admincp, go to maintenance > view php info. find 'allow_call_time_pass_reference' and see if it is set to 'on'.
if it is not you will need to talk to your host.

beacher 01-21-2010 06:46 AM

upgrade and work like a charm ;) thanks and keep up the good work ;)

beacher 01-21-2010 08:02 AM

just an update: the italian characters ° and à have been showed like a mess

MyChemicalSelf 01-21-2010 08:08 AM

Quote:

Originally Posted by carrlos (Post 1961890)
I had this issue to. Removing the "&" before $output solved it for me too. If it's suppose to be there, why is it causing errors?

Its not an 'error' as such its a warning in PHP5.3 they depreciated referencing and i haven't got round to recoding GCBOS's commands and core to work without them. For now all that can be done is enabling referencing in php.ini or doing it with ini_set (some hosts disallow this).

anaksimandros 01-21-2010 08:30 AM

Quote:

Originally Posted by yilmaz (Post 1946938)
TR: T?rk?e karekter sorunu bu şekilde ??z?lm?şt?r.
EN: Problem is solved in this way, Turkish character.

TR: gcbos.php dosyasında 41. satırda bul
EN: The file gcbos.php find line 41

BUL/FIND
PHP Code:

$message trim($_POST['message']); 


Altına Ekle/Add below

PHP Code:

        $vbturkocom = array(
        
'Ü'=>'?',
        
'ü'=>'?',
        
'Ä'=>'?',
        
'ä'=>'?',
        
'ß'=>'?',
        
'ö'=>'?',
        
'Ö'=>'?',
        
'ç'=>'?',
        
'Ç'=>'?',
        
'ğ'=>'?',
        
'Ğ'=>'?',
        
'ş'=>'?',
        
'Ş'=>'?',
        
'ı'=>'?',
        
'İ'=>'?',
        
'?r'=>'?',
        
'?c'=>'?',
        
'€'=>'?'
);
   
$message strtr($message$vbturkocom); 

Demo: http://www.yilmazweb.com/test/forum.php

?ok teşekk?r ederim abi.

thank you my brother

HansMuenchen 01-21-2010 08:39 AM

Quote:

Originally Posted by movslow (Post 1961490)
Great.....reinstalled .7 or whatever the latest release was..and it errored out on install.



Now in my chatbox it shows this over and over.


Here at me too, "Header already send" and the messages also be shown

HansMuenchen 01-21-2010 09:08 AM

Quote:

Originally Posted by anaksimandros (Post 1962129)
?ok teşekk?r ederim abi.

thank you my brother

Don't work for me :(

movslow 01-21-2010 12:07 PM

Quote:

Originally Posted by dieKetzer (Post 1962012)
allow_call_time_pass_reference refers to a setting in php.ini.
in your vb admincp, go to maintenance > view php info. find 'allow_call_time_pass_reference' and see if it is set to 'on'.
if it is not you will need to talk to your host.

Thank your for an explanation.

However when I view my php.ini through admin cp, it's just an output of that file, no changes can be made.

Directive Local Value Master Value
allow_call_time_pass_reference Off Off

Where do I go to change this?

I'm not sure I understand the need for this reference, as I'm only using PHP Version 5.2.6.

digibyte 01-21-2010 12:10 PM

Is it possible to add a menu block "Chat" or "Chatbox" besides the existing menu blocks "Home", "Forum", "Blogs", "What's New?". This block should link to a full-page chatbox version. There can be an option in the admin panel to enable/disable this menu block.

movslow 01-21-2010 12:28 PM

Well after chatting w/my hosting provider, they will not make changes to the php.ini file.

So I assume that leaves us S.O.L.

movslow 01-21-2010 12:35 PM

I went ahead and removed the & in front of output in the class_gcbos file.

Seems to be working so far...so we shall see.

SpongeBob71 01-21-2010 12:45 PM

Quote:

allow_call_time_pass_reference refers to a setting in php.ini.
in your vb admincp, go to maintenance > view php info. find 'allow_call_time_pass_reference' and see if it is set to 'on'.
if it is not you will need to talk to your host.


I have the same error message....Uninstalled for now.



-Sponge

dangerin 01-21-2010 12:52 PM

after installing the chat i've this error :

Warning: Invalid argument supplied for foreach() in [path]/includes/functions.php on line 4760

what can be happened ?

cbiweb 01-21-2010 02:09 PM

I don't know if this was addressed already, but every message in the chat box looks like this:

#1:06 pm (username)> blah bah

See the 'pm' before the name? That's all I see, but I've never used the /pm command. It started like that from the time I installed. Any ideas?

fromtheflames 01-21-2010 02:09 PM

hello, thanks for this mod

May I suggest you to use the locale settings for formatting the time in chat?

thank you

thomas

MyChemicalSelf 01-21-2010 02:13 PM

Quote:

Originally Posted by cbiweb (Post 1962359)
I don't know if this was addressed already, but every message in the chat box looks like this:

#1:06 pm (username)> blah bah

See the 'pm' before the name? That's all I see, but I've never used the /pm command. It started like that from the time I installed. Any ideas?

The pm is the time in 12 hour format 1:06 am and 1:06pm ya see

cbiweb 01-21-2010 02:23 PM

Ah, okay! LOL... my bad.

Ju4nCh0 01-21-2010 02:25 PM

Quote:

Originally Posted by dangerin (Post 1962294)
after installing the chat i've this error :

Warning: Invalid argument supplied for foreach() in [path]/includes/functions.php on line 4760

what can be happened ?

I had the exact same issue... that seems to be an incompatibility issue with the "VSa - Login To User Account" plugin... i disabled it and the error went away.

kiwi1342 01-21-2010 03:30 PM

it doesn't seem like the messages appear immediately like stated few pages ago

you can see what I mean here http://www.cryrulez.net/forum/forum.php

the alert of new messages doens't work too (yes it's enabled)


:(

also as said from other people it's necessary a history of all messages and it should be lighter... choose font color etc

kiwi1342 01-21-2010 03:39 PM

Quote:

Originally Posted by cbiweb (Post 1962359)
I don't know if this was addressed already, but every message in the chat box looks like this:

#1:06 pm (username)> blah bah

See the 'pm' before the name? That's all I see, but I've never used the /pm command. It started like that from the time I installed. Any ideas?

to change it into the "normal" format 19:00 open the file class_gcbos.php in the include folder that you uploaded.
Search for vbdate and where it says 'h:i a' put 'H:i'.

It takes few refreshes to the change to apply

Videx 01-21-2010 06:30 PM

Bug report: Regular users just reported seeing notification of a thread to a private moderators forum! I may have to disable this unless there's a setting somewhere to prevent this?

dieKetzer 01-22-2010 04:09 AM

hi. the php info page in admin cp is a reference only, using a built in php command to output your server configuration for you to inspect for debugging purposes. php.ini is a separate file used to configure php, typically located well out of reach. some hosts do allow you to upload your own php.ini to override and change some options, but they are few and far between.
Quote:

Originally Posted by movslow (Post 1962256)
Thank your for an explanation.

However when I view my php.ini through admin cp, it's just an output of that file, no changes can be made.

Directive Local Value Master Value
allow_call_time_pass_reference Off Off

Where do I go to change this?

I'm not sure I understand the need for this reference, as I'm only using PHP Version 5.2.6.


rizelim 01-22-2010 06:43 AM

names of characters in error chatbox ta member is.

Code:

#10:04 am 052mor�im�ek>

Matais 01-22-2010 09:26 AM

I am trying to remove the "roll" "typing" effect and make new messages appear at the top, does anyone have any ideas how to do this?

I have altered it so when you first load the shoutbox new messages appear at the top but when you post a new one it appears at the bottom, I did this by editing the fetch_messages function in class_gbcos.php

armthehomeless1 01-22-2010 09:59 AM

Quote:

Originally Posted by vexvegaz (Post 1961593)
hey MyChemicalSelf, 1st great mod love the simplicity of ur product.

that aside..few issues i have
1. when putting the chatbox anywhere besides forumhome(ie. navbar) i get these wierd errors
"#/delmessage]23/30/User/pm]>It shows the code/edit]/message]"

2.how do i change the time stamp from military to standard?

again, tnks for the mod.

edit: running on vb 4.0.1

I too am having this issue, but only on 'SHOWTHREAD'. FORUMHOME and FORUMDISPLAY work fine.

Davidinh 01-22-2010 10:13 AM

how can i change particular font style on GCBOS
some character of unicode is not shown right
I thought is a font issure because the rest of place on my site are okay
so, somebody can tell me how i set or assigned the font style on it
thanks.

.... it will set arial, tahoma

cloferba 01-22-2010 10:31 AM

i get this error after send an infraction:

Fatal error: Cannot redeclare gcbos_command_impersonate() (previously declared in includes/class_gcbos.php(49) : eval()'d code:22) in includes/class_gcbos.php(49) : eval()'d code on line 35

on url
infraction.php?do=update

HansMuenchen 01-22-2010 10:58 AM

Quote:

Originally Posted by Davidinh (Post 1963249)
how can i change particular font style on GCBOS
some character of unicode is not shown right
I thought is a font issure because the rest of place on my site are okay
so, somebody can tell me how i set or assigned the font style on it
thanks.

.... it will set arial, tahoma

Also waiting for a answer to that, because need unicode for the german umlaute ???? etc.
Also would be interesting to set the font size bigger.

But ok let's wait and see. I used before the MGC Chatbox (not updated now) and never had such Problems like with that mod.

Greetings
Hans

kiwi1342 01-22-2010 01:03 PM

Today the chat disappeared. I can't display it anymore. I reinstalled the latest version, the previous version, deleted old files manually etc. but still no luck.

What's going on???

kiwi1342 01-22-2010 01:08 PM

I fixed with usergroup permission but I canpt understand how it disappeared the first time

update:

I lastly installed the previous version 6.10 but it seems like I have the latest version with alerts on new topics....

Moondust 01-22-2010 01:18 PM

Hi,

i have install the newest DL and i see the Chatbox in my Forum - but when i will Submit a Text..... no working.

Greetings

Moondust

Davidinh 01-22-2010 01:42 PM

Quote:

Originally Posted by HansMuenchen (Post 1963272)
Also waiting for a answer to that, because need unicode for the german umlaute ???? etc.
Also would be interesting to set the font size bigger.

But ok let's wait and see. I used before the MGC Chatbox (not updated now) and never had such Problems like with that mod.

Greetings
Hans

well within version 3.x of vbb no problem at all
i am using Shoutbox V2.x
With a new version 4 of vbb it causes a lot of structure code imcompatible
so that's a problem for everyone

MyChemicalSelf 01-22-2010 02:41 PM

Quote:

Originally Posted by Videx (Post 1962620)
Bug report: Regular users just reported seeing notification of a thread to a private moderators forum! I may have to disable this unless there's a setting somewhere to prevent this?

How is that a bug? If you look at the readme i added that you have to add the forum id into the filter.... you seriously dont expect me to do it for you?


All times are GMT. The time now is 10:54 AM.

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.01928 seconds
  • Memory Usage 1,855KB
  • 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
  • (1)bbcode_code_printable
  • (1)bbcode_html_printable
  • (3)bbcode_php_printable
  • (19)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)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