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)

vilhiem 05-25-2010 03:04 AM

Looks like a great mod!

Is there any way (or perhaps this is included) to have a new message initiate a FlashWindow function to highlight the taskbar if a new chat is posted ...?

Thanks!

VBDev 05-25-2010 04:20 AM

Quote:

Originally Posted by Saphyrus (Post 2042647)
hi

how can I change the background color of the input-text-field in vB4?

greets

You have to add css code for the input field.

Study the template to see which id you should use and then edit mgc_cb_evo.css template.

Quote:

Originally Posted by gamerscms (Post 2042788)
Hi,

i seem to be getting a blank white page once i installed this, any ideas as to why?

Regards

On all your forum ? Have you received any db error email ?

Quote:

Originally Posted by w00ttastic (Post 2042845)
We have [YOUTUBE] tags on our forums, and a couple users have a bad habit of putting autoplay videos in the chatbox, which annoys everyone. Neither the replacement variable manager nor the forum censorship options work in this chatbox, and I can't find any option for censorship or disabling the [YOUTUBE] tags in the Admin CP. How would I go about fixing this?

That youtube tag is a bbcode ? If yes then it shouldn't work in the chatbox as it's not in the tags list.

Unless this tag is added in another way than being in the tag list array which wouldn't be such a clean way.

Quote:

Originally Posted by Alfa1 (Post 2042910)
Which variable should I use?

{vb:raw mgc_cb_evo_var}

Quote:

Originally Posted by vilhiem (Post 2042987)
Looks like a great mod!

Is there any way (or perhaps this is included) to have a new message initiate a FlashWindow function to highlight the taskbar if a new chat is posted ...?

Thanks!

Well the FlashWindow function seems to be from microsoft MSDN which is not available from javascript.

angeljs 05-25-2010 05:23 AM

Quote:

Originally Posted by Jeweetog (Post 2042833)
If i'm correct, you've got a mail from your database with the error message in it.

Somewhere in the config.php file you have their your database info, like database address, password, what mail to use in case errors occur.

Paste that error message. Make sure the passw and sensitive info are not included in your paste.

Here is the error I received in the emails:

Code:

Database error in vBulletin 4.0.2:

Invalid SQL:

SELECT  administrator.*,
userfield.*, usertextfield.*, user.*, UNIX_TIMESTAMP(passworddate) AS passworddate, user.languageid AS saved_languageid,
IF(displaygroupid=0, user.usergroupid, displaygroupid) AS displaygroupid,
language.phrasegroup_global AS phrasegroup_global,
language.phrasegroup_cphome AS phrasegroup_cphome,
language.phrasegroup_cpglobal AS phrasegroup_cpglobal,
language.options AS lang_options,
language.languagecode AS lang_code,
language.charset AS lang_charset,
language.locale AS lang_locale,
language.imagesoverride AS lang_imagesoverride,
language.dateoverride AS lang_dateoverride,
language.timeoverride AS lang_timeoverride,
language.registereddateoverride AS lang_registereddateoverride,
language.calformat1override AS lang_calformat1override,
language.calformat2override AS lang_calformat2override,
language.logdateoverride AS lang_logdateoverride,
language.decimalsep AS lang_decimalsep,
language.thousandsep AS lang_thousandsep
,mgcugp.mgc_cb_evo_default_color,mgcugp.mgc_cb_evo_chanid
FROM user AS user
LEFT JOIN userfield AS userfield ON (user.userid = userfield.userid)
LEFT JOIN usertextfield AS usertextfield ON (usertextfield.userid = user.userid) LEFT JOIN administrator AS administrator ON (administrator.userid = user.userid) LEFT JOIN language AS language ON (language.languageid = IF(user.languageid = 0, 1, user.languageid))
LEFT JOIN usergroup AS mgcugp ON (user.usergroupid=mgcugp.usergroupid)
WHERE user.userid = 2;

MySQL Error  : Unknown column 'mgcugp.mgc_cb_evo_default_color' in 'field list'
Error Number  : 1054
Request Date  : Tuesday, May 25th 2010 @ 07:18:01 AM
Error Date    : Tuesday, May 25th 2010 @ 07:18:01 AM
Script        : http://simfansuk.com/forums/admincp/index.php?loc=plugin.php%3Fdo%3Dproduct
Referrer      : http://simfansuk.com/forums/admincp/plugin.php?do=productenable&productid=mgc_cb_evo&s=
IP Address    : 90.200.25.157
Username      :
Classname    : vB_Database
MySQL Version :

Really appreciate you taking the time with this :)

tafreeh 05-25-2010 05:27 AM

It may sound stupid.. but how do you banned someone other than use commands ?

and how do u use those commands anyways.. Sorry ppl I never use IRC before...

Thanks

Halfhidden 05-25-2010 08:41 AM

@ VBDev.
I've closed down the test account you asked me to set up. I can see you are very busy with database errors and such like.. so I'll try and figure it out myself.
Thanks anyway.

Bano Host 05-25-2010 09:02 AM

I like it but it hard to install ,

why not all files need to upload in one directory to make it easy to removed?

and , we hope the install only to upload files and product so langauge

not to edit any template

please fix this and important one to let all files in one directory :)

thanks any way

Saphyrus 05-25-2010 09:20 AM

Quote:

Originally Posted by VBDev (Post 2043002)
You have to add css code for the input field.

Study the template to see which id you should use and then edit mgc_cb_evo.css template.

what should i add in mgc_cb_evo.css ? :(

VBDev 05-25-2010 11:41 AM

Quote:

Originally Posted by angeljs (Post 2043025)
Here is the error I received in the emails:

Code:

Database error in vBulletin 4.0.2:

Invalid SQL:

SELECT  administrator.*,
userfield.*, usertextfield.*, user.*, UNIX_TIMESTAMP(passworddate) AS passworddate, user.languageid AS saved_languageid,
IF(displaygroupid=0, user.usergroupid, displaygroupid) AS displaygroupid,
language.phrasegroup_global AS phrasegroup_global,
language.phrasegroup_cphome AS phrasegroup_cphome,
language.phrasegroup_cpglobal AS phrasegroup_cpglobal,
language.options AS lang_options,
language.languagecode AS lang_code,
language.charset AS lang_charset,
language.locale AS lang_locale,
language.imagesoverride AS lang_imagesoverride,
language.dateoverride AS lang_dateoverride,
language.timeoverride AS lang_timeoverride,
language.registereddateoverride AS lang_registereddateoverride,
language.calformat1override AS lang_calformat1override,
language.calformat2override AS lang_calformat2override,
language.logdateoverride AS lang_logdateoverride,
language.decimalsep AS lang_decimalsep,
language.thousandsep AS lang_thousandsep
,mgcugp.mgc_cb_evo_default_color,mgcugp.mgc_cb_evo_chanid
FROM user AS user
LEFT JOIN userfield AS userfield ON (user.userid = userfield.userid)
LEFT JOIN usertextfield AS usertextfield ON (usertextfield.userid = user.userid) LEFT JOIN administrator AS administrator ON (administrator.userid = user.userid) LEFT JOIN language AS language ON (language.languageid = IF(user.languageid = 0, 1, user.languageid))
LEFT JOIN usergroup AS mgcugp ON (user.usergroupid=mgcugp.usergroupid)
WHERE user.userid = 2;

MySQL Error  : Unknown column 'mgcugp.mgc_cb_evo_default_color' in 'field list'
Error Number  : 1054
Request Date  : Tuesday, May 25th 2010 @ 07:18:01 AM
Error Date    : Tuesday, May 25th 2010 @ 07:18:01 AM
Script        : http://simfansuk.com/forums/admincp/index.php?loc=plugin.php%3Fdo%3Dproduct
Referrer      : http://simfansuk.com/forums/admincp/plugin.php?do=productenable&productid=mgc_cb_evo&s=
IP Address    : 90.200.25.157
Username      :
Classname    : vB_Database
MySQL Version :

Really appreciate you taking the time with this :)

Seems like the usergroup table wasn't modified to add the mgc_cb_evo_default_color field.
Did you get any error when installing the chatbox ?

I would recommand you to uninstall the product and import it again.

Quote:

Originally Posted by tafreeh (Post 2043026)
It may sound stupid.. but how do you banned someone other than use commands ?

and how do u use those commands anyways.. Sorry ppl I never use IRC before...

Thanks

You have the possibility to ban someone from a link in the menu near the chats or use the /ban command.

Its syntax is explained in the chatbox help (? icon in the chatbox).

Quote:

Originally Posted by Halfhidden (Post 2043062)
@ VBDev.
I've closed down the test account you asked me to set up. I can see you are very busy with database errors and such like.. so I'll try and figure it out myself.
Thanks anyway.

Well you only activated it during 24H, so don't expect me to be that fast.
I do vB as hobby and I have a life ;)

Quote:

Originally Posted by Bano Host (Post 2043069)
I like it but it hard to install ,

why not all files need to upload in one directory to make it easy to removed?

and , we hope the install only to upload files and product so langauge

not to edit any template

please fix this and important one to let all files in one directory :)

thanks any way

There is multiples locations for files upload because some are using the vB standards :
  • cpnav and permissions xml files goes in includes/xml so that vB automatically recognize it
  • Data manager class goes in includes because this is where vB searches them when you instantiate one
  • Admin files goes in admincp directory for structure keeping
  • Cron php file could indeed be moved to another directory, I'll perhaps consider that
  • Perhaps mgc_cb_evo.php and mgc_cb_evo_ajax.php could also be moved to mgc_cb_evo directory, I'll consider that

Regarding the language, this is for personnal reasons, I am french so I decided to make it default in french and to provide an english language file. I am sure that can be understood :)

Quote:

Originally Posted by Saphyrus (Post 2043074)
what should i add in mgc_cb_evo.css ? :(

Well you should add something like :
Code:

#mgc_cb_evo_input {
  background-color : #123456;
}

Not sure if this is a '#' or a '.', I am not a master in CSS and don't have a code beyond my eyes but that should be something like that.

Halfhidden 05-25-2010 12:00 PM

@VBDev Originally Posted by Halfhidden View Post

Quote:

@ VBDev.
I've closed down the test account you asked me to set up. I can see you are very busy with database errors and such like.. so I'll try and figure it out myself.
Thanks anyway.

Well you only activated it during 24H, so don't expect me to be that fast.
I do vB as hobby and I have a life
I wasn't criticising you. As I said in my post I can see that you are busy and I will have a go at doing this myself. Clearly my problem is only cosmetic and that you have priorities with database errors....

Saphyrus 05-25-2010 12:21 PM

Quote:

Originally Posted by VBDev (Post 2043107)
Well you should add something like :
Code:

#mgc_cb_evo_input {
  background-color : #123456;
}

Not sure if this is a '#' or a '.', I am not a master in CSS and don't have a code beyond my eyes but that should be something like that.


The name of it is: mgc_cb_evo_input ???? Is that true???


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