vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=194)
-   -   Chat Modifications - MGC Chatbox (with AJAX) (https://vborg.vbsupport.ru/showthread.php?t=148472)

gothicuser 07-28-2007 07:13 AM

I have tried both doing an upgrade, and uninstalling then re-installing to the newer v1.4, but nothing I do seems to get the vBAdvanced module to work.
I have followed your destructions to the letter, re-read them, got a third-party to read them, but alas, still no module appears.

This morning I did a 'virginal' install of vBulletin on one of my office dev machines ('nix box) no mods/hacks at all, went through the install procedure precisely to the letter, the chat box works perfectly, but still no vBA module :( :(

alseef 07-28-2007 07:37 AM

First of all I would like to thank you , and thanks also to mr. alessai for the translation.

but still I cant read the Arabic in the chatbox, as you say before this is from the provider.

Is there any other solutions ??

What also Provider has to do to solve this problem?

Thanks

Tulsa 07-28-2007 07:51 AM

This mod has progressed wonderfully! :)

The only thing I think this mod needs now is to store the users selection of font and color so they don't have to set it every time.

VBDev 07-28-2007 09:19 AM

Quote:

Originally Posted by gothicuser (Post 1303700)
I have tried both doing an upgrade, and uninstalling then re-installing to the newer v1.4, but nothing I do seems to get the vBAdvanced module to work.
I have followed your destructions to the letter, re-read them, got a third-party to read them, but alas, still no module appears.

This morning I did a 'virginal' install of vBulletin on one of my office dev machines ('nix box) no mods/hacks at all, went through the install procedure precisely to the letter, the chat box works perfectly, but still no vBA module :( :(

On monday evening, I'll check that out on a clean vbulletin install.

But it was working wonderfully on my local forum it's strange.

What you could try to do is find in the vba files in the include directory the print_portal_output function (I don't have my notebook so can't tell which one) and then at the start of that file find add : global $mgc_chatbox;

There is an option in vba which can also allow variable globalizing so you might as well at mgc_chatbox in that field instead of doing the file editing.

Tell me if that solve the thing !

Quote:

Originally Posted by alseef (Post 1303707)
First of all I would like to thank you , and thanks also to mr. alessai for the translation.

but still I cant read the Arabic in the chatbox, as you say before this is from the provider.

Is there any other solutions ??

What also Provider has to do to solve this problem?

Thanks

This is a problem of encoding, i had the same problem with accent on an old forum but I really don't know which provider parameter it's due to :(

My skills lack on that part.

Quote:

Originally Posted by Tulsa (Post 1303719)
This mod has progressed wonderfully! :)

The only thing I think this mod needs now is to store the users selection of font and color so they don't have to set it every time.

But it already does as users can do that through their acp. I won't make it through the selection in the chatbox.

HDT 07-28-2007 12:08 PM

Read all thread on page 38 but i want still ask.

How to show user who use the chatbox on current time?So we dont need to ask "Anyone in?' or "John Doe are you on chatbox?"

VBDev 07-28-2007 12:11 PM

Quote:

Originally Posted by HDT (Post 1303826)
Read all thread on page 38 but i want still ask.

How to show user who use the chatbox on current time?So we dont need to ask "Anyone in?' or "John Doe are you on chatbox?"

Actually, there is a who's online channel which is accessible through a button in the chatbox (on the left).

However, it doesn't work very well actually coz I have problems with session and ajax calls.

To see the channel's button, you have to allow your users to see who's online in the chatbox (usergroup permissions).

Tulsa 07-28-2007 12:16 PM

lol - I totally missed that VBDev! Sweet!

HDT 07-28-2007 01:58 PM

Thanks VBDev,hope you can made this features more great.

ButtCrackAttack 07-28-2007 02:15 PM

Quote:

Originally Posted by VBDev (Post 1303686)
You haven't upload the bitfield product :)

The files in the "p" folder? I'm confused, where should they be uploaded?

Mastar 07-28-2007 02:19 PM

Good to go... the Display on defined pages above the navbar setting was it.

gothicuser 07-28-2007 02:48 PM

Quote:

What you could try to do is find in the vba files in the include directory the print_portal_output function (I don't have my notebook so can't tell which one) and then at the start of that file find add : global $mgc_chatbox;

There is an option in vba which can also allow variable globalizing so you might as well at mgc_chatbox in that field instead of doing the file editing.

Tell me if that solve the thing !
Just arrived home, will try this in the morning..... kids need too much attention right now :(

VBDev 07-28-2007 03:03 PM

Quote:

Originally Posted by HDT (Post 1303877)
Thanks VBDev,hope you can made this features more great.

I am planning to find a fix for that :)

Quote:

Originally Posted by gothicuser (Post 1303917)
Just arrived home, will try this in the morning..... kids need too much attention right now :(

He he that's ok you should learn your kids coding for vbulletin :D ! Take your time this is no big deal, this should fix it but not sure.

Anyone has managed using it on vba with my howto ?

Little question gothicuser, did you update the product and all the files with the corrected one (actual 1.4 available for download).

ButtCrackAttack 07-28-2007 04:52 PM

Hey guys I think i've uploaded everything, but I keep getting this when I set the permissions in the admin cp...

MySQL Error : Unknown column 'mgccustomusergroupperms' in 'field list'

Did I upload something in the wrong place?

Nimrod. 07-28-2007 06:06 PM

Yeah, I kind of get the same thing. Everything in my AdminCP looks great, but when i try to go to my site, it says that I have an error on my global.php file on line #34.

gothicuser 07-28-2007 07:52 PM

Quote:

Originally Posted by VBDev (Post 1303928)
Little question gothicuser, did you update the product and all the files with the corrected one (actual 1.4 available for download).

Yes I did but made no difference I'm afraid.
As i said, will play again in the morning :)

Sofia 07-28-2007 09:23 PM

Why there is few folders with letters in the Zip , Mr Clement ? I think you must classify folders by languages or by products/php/readmefile. No ? Good Night, my darling !

stangger5 07-28-2007 10:01 PM

I finally got it working with vBadvanced..

Display on defined pages in a variable: YES

I added adv_index in the Display and position (Other pages list) box..

Create a new vBadvanced template based module with the following parameters :
Title : MGC Chatbox
Template to include : mgc_chatbox
Styles : the style on which you want the module to be shown

This depends on what version of VBA and the way you want to display it..

Template content :
Code:

$mgc_chatbox
you could use wrapper template option: YES or NO..

Use this in older VBA:

Code:

$mgc_chatbox
or

Code:

<tr>
<td class="$bgclass">
$mgc_chatbox
</td>
</tr>


In the edit modules page, add the chatbox module to the homepage on the center wherever you want it to be positioned.


Heres a Demo...

:D

inciarco 07-29-2007 12:54 AM

Hello VBDev!! ;)

I share with you a little Bug in the ShatBox, that I located 5 minutes Ago:

When Selected as "YES" the Option "Display on defined pages above the navbar" (This option lets you activate the mechanism which allows the displaying of the chatbox on defined pages of the forum under the navbar (except from the forumhome, forumdisplay and showthread pages which have their own option)), in the ChatBox Page (http://inciarco.com/foros/mgc_chatbo...o=view_chatbox) the Chatbox Duplicates it self, one for the ChatBox in that Page and other for the Added ChatBox activated by this Option.

You Can see it in the Following Link:
http://inciarco.com/foros/mgc_chatbo...o=view_chatbox

(When that Option is Set to "NO" the ChatBox Page works with just One ChatBox and Not the Two that you'll see if you visit the Link).

(One of the ChatBoxes Loads the Contens and the other Just show the "Loading" Text).

The Code shall Identify the ChatBox Page and not Include another ChatBox Above it.

I hope this helps for your Next Version of this Great Hack!! :up:

My Best Regards To You!! ;)

:)

ButtCrackAttack 07-29-2007 03:34 AM

Awesome mod dude 5 thumbs up !!!!

gothicuser 07-29-2007 06:05 AM

Forget this one, I must have had a blonde moment :(
I totally uninstalled the original installation of MGC then re-installed, following your instructions but adding 'vba_index' as strangger5 suggested and all works perfectly now.
Thankyou once more for a brilliant mod :D

unitedpunjab 07-29-2007 06:15 AM

There is a little problem. I have enabled PM feature on my shoutbox and i have enabled the PM feature for every usergroup. But when i ever a Registered user send PM to some other group member it appears in shoutbox in PM channel. But when ever a member from some other group rather than registered member group send message to that group the PM channel doesn't displayed anywhere.

e.g Letz i m admin and i sent mssg to a member dream. In pm channel it shows that mssgz has been sent to dream. But dream is unable to see it anywhere. But when dream send mssg to admin it appears in PM channel.

Did i missed something anywhere ... ??

VBDev 07-29-2007 07:29 AM

Quote:

Originally Posted by ButtCrackAttack (Post 1304025)
Hey guys I think i've uploaded everything, but I keep getting this when I set the permissions in the admin cp...

MySQL Error : Unknown column 'mgccustomusergroupperms' in 'field list'

Did I upload something in the wrong place?

This is error must be because you didn't import the two products.

I think you've uploaded only the mgc_chatbox product not the bitfield one, this could be the only possible reason :)

Quote:

Originally Posted by Nimrod. (Post 1304071)
Yeah, I kind of get the same thing. Everything in my AdminCP looks great, but when i try to go to my site, it says that I have an error on my global.php file on line #34.

Error in global.php ? This is strange and have never been experienced with the chatbox. Which version of vbulletin do you have ?

Quote:

Originally Posted by gothicuser (Post 1304148)
Yes I did but made no difference I'm afraid.
As i said, will play again in the morning :)

That's ok :)

Quote:

Originally Posted by stangger5 (Post 1304230)
I finally got it working with vBadvanced..

First I put $mgc_chatbox; in the cmp_index.php file
right above
Code:

print_portal_output($home);
Display on defined pages in a variable: YES

I added adv_index in the Display and position (Other pages list) box..

Create a new vBadvanced template based module with the following parameters :
Title : MGC Chatbox
Template to include : mgc_chatbox
Styles : the style on which you want the module to be shown

This depends on what version of VBA and the way you want to display it..

Template content :
Code:

$mgc_chatbox
you could use wrapper template option: YES or NO..

Use this in older VBA:

Code:

$mgc_chatbox
or

Code:

<tr>
<td class="$bgclass">
$mgc_chatbox
</td>
</tr>

In the edit modules page, add the chatbox module to the homepage on the center wherever you want it to be positioned.


Heres a Demo...

:D

There is something strange with your first line ? how adding $mgc_chatbox; would do something ??

Are you sure of that first part ?

VBDev 07-29-2007 07:33 AM

Quote:

Originally Posted by inciarco (Post 1304301)
Hello VBDev!! ;)

I share with you a little Bug in the ShatBox, that I located 5 minutes Ago:

When Selected as "YES" the Option "Display on defined pages above the navbar" (This option lets you activate the mechanism which allows the displaying of the chatbox on defined pages of the forum under the navbar (except from the forumhome, forumdisplay and showthread pages which have their own option)), in the ChatBox Page (http://inciarco.com/foros/mgc_chatbo...o=view_chatbox) the Chatbox Duplicates it self, one for the ChatBox in that Page and other for the Added ChatBox activated by this Option.

You Can see it in the Following Link:
http://inciarco.com/foros/mgc_chatbo...o=view_chatbox

(When that Option is Set to "NO" the ChatBox Page works with just One ChatBox and Not the Two that you'll see if you visit the Link).

(One of the ChatBoxes Loads the Contens and the other Just show the "Loading" Text).

The Code shall Identify the ChatBox Page and not Include another ChatBox Above it.

I hope this helps for your Next Version of this Great Hack!! :up:

My Best Regards To You!! ;)

:)

He he lol

Yes I have forgotten to put the condition with chatbox script :D

I did it for forumhome, forumdisplay and showthread so that it doesn't show doubled but not for the chatbox file itself lol

Thanks for the report

VBDev 07-29-2007 07:36 AM

Quote:

Originally Posted by gothicuser (Post 1304406)
Forget this one, I must have had a blonde moment :(
I totally uninstalled the original installation of MGC then re-installed, following your instructions but adding 'vba_index' as strangger5 suggested and all works perfectly now.
Thankyou once more for a brilliant mod :D

You mean adv_index ? I am a little lost on the way you and strangger5 achieved it :D

Quote:

Originally Posted by unitedpunjab (Post 1304409)
There is a little problem. I have enabled PM feature on my shoutbox and i have enabled the PM feature for every usergroup. But when i ever a Registered user send PM to some other group member it appears in shoutbox in PM channel. But when ever a member from some other group rather than registered member group send message to that group the PM channel doesn't displayed anywhere.

e.g Letz i m admin and i sent mssg to a member dream. In pm channel it shows that mssgz has been sent to dream. But dream is unable to see it anywhere. But when dream send mssg to admin it appears in PM channel.

Did i missed something anywhere ... ??

Hum, if you have enabled it for both then dream user should be able to see it in the pm channel.

I think I'll have to check that out :D But I will do it tomorrow when my headache will be passed (too much alcohol yesterday :D)

Tulsa 07-29-2007 07:51 AM

In the usercp section where you can choose what font and color, it was working fine yesterday. I upgraded to 3.6.8, now it's gone. I reimported the product files without success in getting this back.

Is there a template edit to the usercp you're doing that I can just edit myself to get this working again?

gothicuser 07-29-2007 08:37 AM

Quote:

Originally Posted by VBDev (Post 1304437)
You mean adv_index ? I am a little lost on the way you and strangger5 achieved it :D

Sorry, yes, that was the only difference from your instructions and appears to have done the trick.
Am experimenting further today as hard-coding the paths is really a non starter :rolleyes: got to find a suitable alternative.

VBDev 07-29-2007 08:51 AM

Quote:

Originally Posted by Tulsa (Post 1304447)
In the usercp section where you can choose what font and color, it was working fine yesterday. I upgraded to 3.6.8, now it's gone. I reimported the product files without success in getting this back.

Is there a template edit to the usercp you're doing that I can just edit myself to get this working again?

I think the upgrade might have removed the modifyoptions template modification which you had modified (following my readme instructions).

You should do it again :)

Quote:

Originally Posted by gothicuser (Post 1304460)
Sorry, yes, that was the only difference from your instructions and appears to have done the trick.
Am experimenting further today as hard-coding the paths is really a non starter :rolleyes: got to find a suitable alternative.

But I thought I did tell to add adv_index, that's strange.

Which path did you hardcode ?

Megatr0n 07-29-2007 09:07 AM

Can this mod be switched on/off whenever?

VBDev 07-29-2007 09:25 AM

Quote:

Originally Posted by Megatr0n (Post 1304469)
Can this mod be switched on/off whenever?

There is an option to activate or not the chatbox in the acp :)

stangger5 07-29-2007 09:55 AM

Quote:

Originally Posted by VBDev (Post 1304434)

There is something strange with your first line ? how adding $mgc_chatbox; would do something ??

Are you sure of that first part ?

Never mind editing the cmp_index.php file...

It was adding adv_index in the Display and position (Other pages list) box..

Your Readme.! html file said to add arcade ...

Quote:

Integration to vBadvanced CMPS
This integration works only if you activate the display on defined pages in a variable.

Here is how to make it work:

Go in the admincp, in the "Display and position" chatbox option page.
Activate the "Display on defined pages of the forum in a variable" option.
Then in the pages list, add : arcade and then validate.
Create a new vBadvanced template based module with the following parameters :
1. Title : MGC Chatbox
2. Template to include : mgc_chatbox
3. Styles : the style on which you want the module to be shown
4. Template content : $mgc_chatbox
Select no for the wrapper template option
Then validate
5. In the edit modules page, add the chatbox module to the homepage on the center wherever you want it to be positionned.
6. Enjoy :)

inciarco 07-29-2007 11:51 AM

Hello VBDev!! :up:

Is it possible to Habilitate the Hack to be Displayed in the PhotoPlog Lite Window?? At this Time the ChatBox Don't Display in the PhotoPlog Gallery!! It only shows the Loading Text and the ChatBox Collapsed!! (http://inciarco.com/foros/photoplog/index.php) ;)

Is it also possible to Display the ChatBox in the Error and Warning Messages of the Forum?? (http://inciarco.com/foros/member.php?u=17) It only shows the Collapsed ChatBox with the Loading Text!! ;)

My Best Regards VBDev!! :up:

:)

VBDev 07-29-2007 12:37 PM

Quote:

Originally Posted by stangger5 (Post 1304487)
Never mind editing the cmp_index.php file...

It was adding adv_index in the Display and position (Other pages list) box..

Your Readme.! html file said to add arcade ...

He he then it's a stupid copy-paste error :D

Quote:

Originally Posted by inciarco (Post 1304539)
Hello VBDev!! :up:

Is it possible to Habilitate the Hack to be Displayed in the PhotoPlog Lite Window?? At this Time the ChatBox Don't Display in the PhotoPlog Gallery!! It only shows the Loading Text and the ChatBox Collapsed!! (http://inciarco.com/foros/photoplog/index.php) ;)

Is it also possible to Display the ChatBox in the Error and Warning Messages of the Forum?? (http://inciarco.com/foros/member.php?u=17) It only shows the Collapsed ChatBox with the Loading Text!! ;)

My Best Regards VBDev!! :up:

:)

I don't have photoplog installed and I suppose it's a bit hard to install (so don't really have the time).

To find how to correct that showing problem in photoplog, could you search in the photoplog files how the display is constructed ? I think that this problem comes from the fact that the photoplog display is done through a function so the mgc_chatbox variable needs to be globalized in that function (global $mgc_chatbox;).

I'll see later in the week if I had time to dig into that but cant' promise that I will.

For the error and warning messages I think it's the same problem but I will provide a fix (it will need file edit).

Krieg 07-29-2007 01:03 PM

hi, i wanted to install this mod and followed every step (i uploaded every single files from v1.1 to 1.4)
i imported the products and did the templates modifications.

but the chatbox does not show (i switch it on in the admincp) and i am helpless.

the source of my forumhome page looks like this for instance :
Code:

<td class="vbmenu_control"><a href="calendar.php">Calendrier</a></td>
                       
<!-- modif chatbox -->
                       
<!-- modif chatbox -->       
                       
                               
<td class="vbmenu_control"><a href="search.php?do=getnew" accesskey="2">Derniers messages</a></td>

in the templates i added the small commentary lines so that i find the mods afterwards. i must do something wrong but cannot find what

PS: je suis francais et si ya besoin de l'url ya pas de soucis, je pourrais la donner ;)

maidos 07-29-2007 05:21 PM

theres a issue, i have set a usergroup to be able to use mp/pm command on the admincp.. the member can view the brushes icon however what theycant see is the pm channel icon at all

Nimrod. 07-29-2007 05:38 PM

Quote:

Originally Posted by VBDev
Error in global.php ? This is strange and have never been experienced with the chatbox. Which version of vbulletin do you have ?

3.6.7 PL1

Yeah, I couldnt figure out why it was messing with the global.php file.

blueraider 07-29-2007 08:43 PM

how do i fixed the date. it keeps saying 7/13/07

AdmiralGeek 07-29-2007 08:50 PM

one of my users has a prob with the shout box, THE ONLY ONE, it constantly is laoding (has the text loading in the shout box area) i checked his cookies, and java script and all is fine.

any ideas?

Mastar 07-29-2007 09:04 PM

Is it possible to have an option for an sound alert when a new message has been entered?

inciarco 07-30-2007 01:22 AM

Hello VBDev!! ;)

I almost forgot to share witn you another little Bug I detected on the Chatbox, and is that When I press the Collapse Icon (https://vborg.vbsupport.ru/) the ChatBox Displays itself in a Bigger Height, and Not Collapse itself at all but the Opposite it goes Bigger!! ;) (This also happens on the ChatBox Page (http://inciarco.com/foros/mgc_chatbo...o=view_chatbox)).

You can see this at:
http://inciarco.com/foros/

Do you know why this could be happening?? :confused: I Can Collapse every other Table in my Forum except the ChatBox!! :( (you can see that in the previous Link and in Sections like the Gallery (Galer?a) and others).

I hope this Helps for your next Release!! :p

My Best Regards For You!! :up:

:)

lucky51 07-30-2007 02:58 AM

Quote:

Originally Posted by inciarco (Post 1304993)
Hello VBDev!! ;)

I almost forgot to share witn you another little Bug I detected on the Chatbox, and is that When I press the Collapse Icon (https://vborg.vbsupport.ru/) the ChatBox Displays itself in a Bigger Height, and Not Collapse itself at all but the Opposite it goes Bigger!!

That's not a bug , please update your setting > MGC Chatbox : Shouts display >Number of displayed shouts in collapsed mode > set it to whatever number of messages you want to be shown in collapsed mode . 0 for none.


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