vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 5.x Products & Extensions (https://vborg.vbsupport.ru/forumdisplay.php?f=258)
-   -   Chat Modifications - [DBTech] vBShout v6 (vB5) [AJAX] (https://vborg.vbsupport.ru/showthread.php?t=288915)

heugabel 11-14-2021 02:58 PM

Quick fix for error in 5.6.5
in core/packages/dbtechvbshout/db/mysql/querydefs.php

search:
PHP Code:

$readChannels vB::getUserContext()->getReadChannels(); 

comment out or replace with:
PHP Code:

/*        $readChannels = vB::getUserContext()->getReadChannels(); */ 

next remove this line:
PHP Code:

AND vbshout.forumid IN(" . implode(',', array(0) + $readChannels['canRead']) . "


mdawg 11-15-2021 07:11 PM

What does that solve? Does this make vbshout work in 5.6.5 or is that a solution to the smilies list issue posed by LuckyRiver?

heugabel 11-15-2021 10:42 PM

this is a quick fix of error in 5.6.5

mdawg 11-16-2021 05:01 PM

YES, I am using vbshout on two sites running 5.6.5 after commenting out line 441 and removing 462 as you suggested. Thanks!

ka99 11-17-2021 12:37 PM

I was able to get it running on 5.6.5 with the help of @heugabel suggestions

but when I try to send to a certain user (shout target) I get the error "Error: 200 parsererror"

any idea?

TIA.

mdawg 11-25-2021 08:05 PM

From what I can see, these modifications will enable vbshout to work on vb 5.6.5 running something like PhP 7.4
If you try to run it with PhP 8 even with these modifications you'll get a new error,

unexpected_error,Unsupported operand types: string - int

and vbshouts will not load.

mdawg 01-13-2022 02:50 AM

I have to do some further checking but on my test forum it seems like vb 5.6.6 made the username of the shoutbox user disappear from the shout. The shout remains but to the left of it the username is no longer there.

https://i.imgur.com/ooectBSl.jpg

yilmaz 01-13-2022 08:06 AM

1 Attachment(s)
php 8 works with vB 5.6.6

Code:

/core/packages/dbtechvbshout/api/vbshout/shoutbox.php
Throw the attached php file to the full path above.

Demo https://vbyilmaz.com/vBShout

mdawg 01-13-2022 03:17 PM

When I look at your demo https://vbyilmaz.com/vBShout

I see this
https://i.imgur.com/iM989ipl.jpg
is that how it will be without identifying the username of the user who is making the shout? To the left of each "shout" is a generic face
https://i.imgur.com/2Lvqs4Xm.jpg
no username.

mdawg 01-13-2022 03:57 PM

Okay this is what I found out.

The Yilmaz new shoutbox.php will allow shoutbox to work with PhP 8.

Without this new file, you will get the
unexpected_error,Unsupported operand types: string - int
https://vborg.vbsupport.ru/
error when you try to run shoutbox on PhP8. So the new Yilmaz file SOLVES that error - that error will go away and Shoutbox will run okay now on vb 5.6.5 running PhP 8.

HOWEVER, there is a new issue that has to do with vb 5.6.6 When you run 5.6.6 , the shoutbox username disappears from the left side of the shoutbox,
https://vborg.vbsupport.ru/
and there is no way to tell who is making the shout.

yilmaz 01-13-2022 06:58 PM

1 Attachment(s)
Yes, I noticed that too, and if you assign this file to its full path, it will be fixed.

Code:

/core/packages/dbtechvbshout/api/vbshout/shoutbox.php
https://i.postimg.cc/RCkzZV2X/screen...3-21-59-35.png

mdawg 01-17-2022 12:03 AM

YES with your latest shoutbox.php installed shoutbox works fine with 5.6.6 running PhP 8.

Great work!

mdawg 01-17-2022 01:27 PM

On just one of my sites, the core/packages/dbtechvbshout/aop/shouts1.txt
keeps failing to load, and when I look at that file it hasn't been modified in years. The shoutbox works fine, but page source shows this error:

Failed to load resource: the server responded with a status of 404 () myforum.com/forums/core/packages/dbtechvbshout/aop/shouts1.txt?v=34947294495928.133&securitytoken=164 2433169-95f49972fc0b3612619709343386665cfc6afdaa[/url]

https://i.imgur.com/vAuQY8Zl.jpg

Also when I try to access core/packages/dbtechvbshout/aop/shouts1.txt I get a file not found (missing) error on that site.

I don't know what is different about my installation of shoutbox on that one site that might be causing this error.

yilmaz 01-17-2022 04:23 PM

create a file called shouts1.txt right there.

mofeu 01-27-2022 02:23 PM

1 Attachment(s)
Hello
I am new to the vb5 ( I installed yesterday ) . I downloaded the product and asks
I have an error

mofeu 01-29-2022 10:01 AM

I have the following error
unexpected error call to undefined method vb_user_context get read channels

mofeu 02-12-2022 12:23 PM

Anyone?

BliNeR-KeY 02-13-2022 12:56 PM

Quote:

Originally Posted by mofeu (Post 2608129)
Hello
I am new to the vb5 ( I installed yesterday ) . I downloaded the product and asks
I have an error

Same error here
someone have big heart to upload full zip .?

dbtech don't update this plugin also are free of basic.
important send mail valentine offerts:confused:

heugabel 02-13-2022 12:57 PM

Quote:

Originally Posted by mofeu (Post 2608139)
I have the following error
unexpected error call to undefined method vb_user_context get read channels

https://vbulletin.org/forum/showpost...&postcount=601

mdawg 02-17-2022 02:49 PM

In order to get vbshout to work on 5.6.6 with PhP 8 you need to scroll up and pick up all the pieces of modifications and implement them all.

1) Download the latest vbshout from this thread.

2) Download from here
https://vborg.vbsupport.ru/showpost....&postcount=565
the jquery.tmpl.min.js file and put it in board/js/jquery

3) Make the quick fix modification noted in
https://vbulletin.org/forum/showpost...&postcount=601

4) Install Yilmaz's shoutbox.php
https://vborg.vbsupport.ru/showpost....&postcount=611
to /core/packages/dbtechvbshout/api/vbshout/shoutbox.php overwriting the existing file that is there.

Also I suggest changing
php_value max_input_vars
to 10000 if it is not already set to at least that. Otherwise when you try to save settings vbshout may not allow you to save them.

You should do all of the above and THEN add/import the xml file and run it.

lange 02-17-2022 03:18 PM

Thanks.

This works under 5.6.6 / PHP 8.

How do you remove a shout from the list?

I don't see the option in AdminCP nor in the Chat itself.

mdawg 02-17-2022 03:44 PM

When I do a test shout and then wish to delete it, what I do is select (highlight) it by double clicking in it, then the option to delete appears, and I delete it.
https://i.imgur.com/PeBpoCal.jpg

mofeu 02-19-2022 01:50 PM

1 Attachment(s)
I did all the steps and the shoutbox remains to working

mofeu 03-04-2022 09:15 PM

Quote:

Originally Posted by mofeu (Post 2608192)
I did all the steps and the shoutbox remains to working

any solution?

voyger 03-15-2022 10:47 AM

How do I have the chat box on VBulletin 5.6.6 when I try to put it errors?

lange 03-16-2022 04:16 AM

Quote:

Originally Posted by mofeu (Post 2608258)
any solution?

Did you drag and drop the mod?

Works fine on 5.6.7 / PHP 8.0.16.

yilmaz 03-16-2022 07:38 AM

1 Attachment(s)
package that works for me
Tested with vBulletin Version 5.6.7 and PHP Version 8.0.16

Demo https://vbyilmaz.com/vBShout
Username. demo
Password: demo1234

voyger 03-16-2022 09:33 AM

how do i make a donation and how much will it be ?

mofeu 03-20-2022 01:50 PM

1 Attachment(s)
I have 5.6.6 and php 8 still the same problem

fortforum.org 04-27-2022 07:01 AM

Quote:

Originally Posted by yilmaz (Post 2608319)
package that works for me
Tested with vBulletin Version 5.6.7 and PHP Version 8.0.16

Demo https://vbyilmaz.com/vBShout
Username. demo
Password: demo1234

Very cool. You are the man! It works. The "Clear" button seems not to. In Edit settings it shoots this message:


An unexpected error was returned: 'count(): Argument #1 ($value) must be of type Countable|array, null given',

Appart from that is fine.

mp3president 06-29-2022 05:32 AM

Quote:

Originally Posted by fortforum.org (Post 2608507)
An unexpected error was returned: 'count(): Argument #1 ($value) must be of type Countable|array, null given',

Appart from that is fine.

When you add in .htacces or php.ini the following it is gone!

php_value max_input_vars
to 10000

Also, for the people who having trouble with editing a schout a fix:

Look for the file core/packages/dbtechvbshout/datamanager/shout.php and open it.
Scroll down to:

'notification' => array(vB_Cleaner::TYPE_STR, vB_DataManager_Constants::REQ_NO, 'if (!in_array($data, array(\'\', \'thread\', \'reply\'))) { return false; } return true;'),

Change it to:

'notification' => array(vB_Cleaner::TYPE_STR, vB_DataManager_Constants::REQ_NO),

Problem solved and you can edit shouts again!

milforum 01-02-2023 05:08 PM

Hi! When trying to access https://ajax.aspnetcdn.com/ajax/jque...ry.tmpl.min.js, I get the error "The resource you are looking for has been removed, had its name changed, or is temporarily unavailable." Anything to do?

mdawg 01-02-2023 08:05 PM

To get the shoutbox working, either follow the step by step from here
https://vbulletin.org/forum/showpost...&postcount=620

or just download what should be the complete modified package Yilmaz posted, here
https://vbulletin.org/forum/showpost...&postcount=627

In either case I suggest changing
php_value max_input_vars
to 10000 if it is not already set to at least that. Otherwise when you try to save settings vbshout may not allow you to save them.

funhaven 02-25-2023 11:12 PM

Hello I am real new to this and am trying to learn as I go. The chap running our forum past away and we had all sorts of problems with VB4 not working properly, so I paid for the Upgrade to VB5.72 knowing we would have to add the hacks back in that we previously had But I'm regretting it now as VB5 has been loaded with different bugs. Getting them sorted out slowly with help from VB, but my members Really want the shoutbox back, I have been trying all day to get the files loaded to the forum directory, But I don't think I am doing it properly as when I try to import with the hooks & products it can not find it.
Can anyone point me to a youtube video possibly that explains better to get this installed?
I just can't get it with the basic instructions included.
Many thanks. :)

Aristide 02-26-2023 08:10 PM

Try the Water Cooler Chat. I am using it and my members are satisfied with it,
https://vbulletin.org/forum/showthread.php?t=329498

funhaven 02-26-2023 09:57 PM

Thank you Aristide, will certainly have a go at that :)


All times are GMT. The time now is 06:18 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.01684 seconds
  • Memory Usage 1,817KB
  • 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
  • (2)bbcode_code_printable
  • (3)bbcode_php_printable
  • (6)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
  • (36)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