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 - MGC Chatbox Evo (https://vborg.vbsupport.ru/showthread.php?t=168992)

TruthElixirX 10-19-2012 02:31 AM

Quote:

Originally Posted by Ranger187 (Post 2342446)
Registered users is where you set it to display it by default. The option you are showing is AFTER they are logged in. That's after the fact, that they logged in. That's a UserCP setting AFTER their usergroup takes precedence. Hence USER selects. It's simple.

Bringing this back up because it has come back on my list.

I understand quite well that this is after they login, but for some reason it is default to "No" for everyone on signing up. Where do I set it to default to "Yes" and let them change it to "No" if they want?

I can't find it anywhere. I've even found where it is set in the MySQL database "mgc_cb_evo_show";i0;s18:" is "No" and "Yes" is "mgc_cb_evo_show";i1;s18:"

But I don't know what query to run to get everyone to i1 instead of i0. The string of text for this area is this:

Code:

a:9:{s:15:"mgc_cb_evo_font";s:7:"Verdana";s:15:"mgc_cb_evo_size";i:0;s:16:"mgc_cb_evo_color";s:6:"00FF00";s:12:"mgc_cb_evo_b";i:1;s:12:"mgc_cb_evo_u";i:0;s:12:"mgc_cb_evo_i";i:0;s:15:"mgc_cb_evo_show";i:1;s:18:"mgc_cb_evo_uchanid";i:0;s:24:"mgc_cb_evo_sound_disable";i:0;}
and my MySQL skills are not up to par to write a query to exit that one portion. I have even found the code where this is set:

Code:

        $userdata->set('mgc_cb_evo_params', $serialize_cb_params);
        $userdata->save();

Inside profile_updateoptions.php. But no idea what to do with it:

Code:

                'mgc_cb_evo_show' => $vbulletin->input->clean_gpc('p', 'mgc_cb_evo_show', TYPE_UINT),
So what I am asking is how do I make this:

https://dl.dropbox.com/u/14824930/chatbox.png

Default to "Yes" for everyone instead of defaulting to "No". I have been pulling my hair out on this for way too long. I need help bad.


EDIT:

To expand upon this I have found another issue:

I want a certain usergroup to be able to see the chatbox, but not type inside of it, so I have the following permissions set in this usergroup's permissions:

Can view the chatbox
Yes

Can use the chatbox
No

But nothing shows up for them. If I go to the User CP and click edit options, they do not have the option to display it.

I then go and change "Can use the chatbox" to "Yes" and go back to the forum home as them, and the chatbox is still not there. I go to their User CP and the options show up. I change this to show the chatbox (since it is set to no by default). I then go to the main forum page and it shows up, and they can type. I then go back to the Admin CP, turn "Can use the chatbox" to "No", go back to the forum as them, and they can still see it but they can't post in it (which is what I want). If I go to the User CP the options are gone now as well.

I've tried re-uploading all files from a fresh download and re-importing the product file, and it doesn't seem to change anything. It hasn't always been this way. It happened somewhere along with an upgrade. It was previously on by default and displaying.

Alfa1 10-19-2012 03:08 AM

Quote:

Originally Posted by VBDev (Post 2373857)
Can you post a screenshot of the exact position issue ?

http://awesomescreenshot.com/0dajnzc0b
Mind that I clicked the dropdown of the chat completely at the bottom.
Clicking the options has no effect.

Quote:

Originally Posted by VBDev (Post 2373857)
Hum Not seing really the problem here.

The function to close the window is hidden in the chatbox text. See the top left of the window.

Quote:

Originally Posted by VBDev (Post 2373857)
Well the chats doesn't load or the chatbox itself ?

The chats do not load on low bandwidth.

karma010 10-19-2012 08:12 PM

Can someone please post an example of what I would need to add to the postbit template to manually place the chat count? When I enable the feature from the settings, it places it under everything else (including the thumbs up mod I'm using) -- I'd like to place it right under "Posts".

StikxX 10-20-2012 09:30 AM

How can I integrate ChatBox in the vBadvanced CMPS v4.2.0 Portal

Ranger187 10-20-2012 01:35 PM

Quote:

Originally Posted by TruthElixirX (Post 2374155)
Bringing this back up because it has come back on my list.

I understand quite well that this is after they login, but for some reason it is default to "No" for everyone on signing up. Where do I set it to default to "Yes" and let them change it to "No" if they want?

I can't find it anywhere. I've even found where it is set in the MySQL database "mgc_cb_evo_show";i0;s18:" is "No" and "Yes" is "mgc_cb_evo_show";i1;s18:"

But I don't know what query to run to get everyone to i1 instead of i0. The string of text for this area is this:

Code:

a:9:{s:15:"mgc_cb_evo_font";s:7:"Verdana";s:15:"mgc_cb_evo_size";i:0;s:16:"mgc_cb_evo_color";s:6:"00FF00";s:12:"mgc_cb_evo_b";i:1;s:12:"mgc_cb_evo_u";i:0;s:12:"mgc_cb_evo_i";i:0;s:15:"mgc_cb_evo_show";i:1;s:18:"mgc_cb_evo_uchanid";i:0;s:24:"mgc_cb_evo_sound_disable";i:0;}
and my MySQL skills are not up to par to write a query to exit that one portion. I have even found the code where this is set:

Code:

        $userdata->set('mgc_cb_evo_params', $serialize_cb_params);
        $userdata->save();

Inside profile_updateoptions.php. But no idea what to do with it:

Code:

                'mgc_cb_evo_show' => $vbulletin->input->clean_gpc('p', 'mgc_cb_evo_show', TYPE_UINT),
So what I am asking is how do I make this:

https://dl.dropbox.com/u/14824930/chatbox.png

Default to "Yes" for everyone instead of defaulting to "No". I have been pulling my hair out on this for way too long. I need help bad.


EDIT:

To expand upon this I have found another issue:

I want a certain usergroup to be able to see the chatbox, but not type inside of it, so I have the following permissions set in this usergroup's permissions:

Can view the chatbox
Yes

Can use the chatbox
No

But nothing shows up for them. If I go to the User CP and click edit options, they do not have the option to display it.

I then go and change "Can use the chatbox" to "Yes" and go back to the forum home as them, and the chatbox is still not there. I go to their User CP and the options show up. I change this to show the chatbox (since it is set to no by default). I then go to the main forum page and it shows up, and they can type. I then go back to the Admin CP, turn "Can use the chatbox" to "No", go back to the forum as them, and they can still see it but they can't post in it (which is what I want). If I go to the User CP the options are gone now as well.

I've tried re-uploading all files from a fresh download and re-importing the product file, and it doesn't seem to change anything. It hasn't always been this way. It happened somewhere along with an upgrade. It was previously on by default and displaying.

Usergroup options. But from the sounds of it, you either have sql or template edits over riding this.... I'd revert to a backup at this point if nothing else works. You do take backups right?

warlord0 10-20-2012 01:50 PM

We installed 3.3.0 and lost a shed load of features.

No /team or any other / command - no preview of commands. Had to uninstall it and roll back to 3.2.3

Ranger187 10-21-2012 08:46 AM

Quote:

Originally Posted by warlord0 (Post 2374518)
We installed 3.3.0 and lost a shed load of features.

No /team or any other / command - no preview of commands. Had to uninstall it and roll back to 3.2.3

According to the changlog above /team is there. Did you enable it???

Alfa1 10-21-2012 11:56 AM

Same here. commands do not work in this version. Its enabled. I assume this is because we use vb3.

Ranger187 10-21-2012 02:25 PM

Quote:

Originally Posted by Alfa1 (Post 2374751)
Same here. commands do not work in this version. Its enabled. I assume this is because we use vb3.

I don't think the VB version matters. I'm still on 3.2.3 so I can't verify this.

It's VBDev's birthday today so I'll probably see him on FB later and ask him.

Crotan 10-22-2012 02:28 AM

Happy birthday VBDev!


All times are GMT. The time now is 02:17 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.09449 seconds
  • Memory Usage 1,766KB
  • 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
  • (6)bbcode_code_printable
  • (7)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (6)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