vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.8 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=235)
-   -   Chat Modifications - Cyb - ChatBox (https://vborg.vbsupport.ru/showthread.php?t=201283)

eyedream27 07-18-2020 02:24 PM

need php 7.1 fix please

lange 08-12-2020 11:09 PM

Works perfectly but I have two errors in the logs.

[12-Aug-2020 00:45:35 UTC] PHP Warning: Use of undefined constant index - assumed 'index' (this will throw an Error in a future version of PHP) in /home/.../public_html/.../global.php(607) : eval()'d code(126) : eval()'d code on line 1
[12-Aug-2020 00:45:35 UTC] PHP Warning: Use of undefined constant userid - assumed 'userid' (this will throw an Error in a future version of PHP) in /home/f.../public_html/.../misc.php(100) : eval()'d code(502) : eval()'d code on line 1

I tried to fix them but it didn't work. The 'index' error is most likely caused by the following code inside the MN mod but I don't how to fix that:
Code:

        if (!in_array($vbulletin->userinfo['usergroupid'], array($cybtopstats_exclgroups)) AND $vbulletin->options['cybtopstats_enable_global'] AND !isset($_POST['fromquickreply']) AND (THIS_SCRIPT == "index" OR THIS_SCRIPT == "misc" OR THIS_SCRIPT == $vbulletin->options['cybtopstats_add_loc']))
        {
            global $vbulletin;

Any idea?

desmomax 09-28-2020 11:48 AM

1 Attachment(s)
hy
i just installed the mod
i have also installed a postimage plugin that allows to attach images in vb 3.8.x
i dont know why but chatbox show it twice.. as screenshot attached.
"add image" (aggiungi immagine in italian) is showed twice.. how can i fix? thanx

saadessa1 09-28-2020 11:22 PM

Thanks for the great work

desmomax 10-09-2020 06:44 AM

nobody can help me?

Dr.CustUmz 10-09-2020 06:19 PM

Quote:

Originally Posted by desmomax (Post 2604181)
nobody can help me?

link to site, im going to need to see source for this

desmomax 10-09-2020 06:35 PM

Quote:

Originally Posted by Dr.CustUmz (Post 2604188)
link to site, im going to need to see source for this


https://www.ilbraccoitaliano.net/forum/index.php

Thanks

Dr.CustUmz 10-09-2020 06:42 PM

Quote:

Originally Posted by desmomax (Post 2604189)

i need to be able to see the chatbox

desmomax 10-09-2020 06:45 PM

Check pm

Dr.CustUmz 10-09-2020 06:57 PM

1 Attachment(s)
Quote:

Originally Posted by desmomax (Post 2604069)
hy
i just installed the mod
i have also installed a postimage plugin that allows to attach images in vb 3.8.x
i dont know why but chatbox show it twice.. as screenshot attached.
"add image" (aggiungi immagine in italian) is showed twice.. how can i fix? thanx

Without knowing what image product that is, I am assuming it attaches to every textarea. The chatbox has a invisible textarea that flashes a notification.

I have attached a modified version that should do the trick for you, revert any template changes you made to cyb templates, and uninstall. use the attached chatbox and it should show only one image upload (this does loose status notifications, but it was the easiest way without removing your image upload product.


All times are GMT. The time now is 12:28 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.01440 seconds
  • Memory Usage 1,740KB
  • 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
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (2)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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