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)

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 :)


All times are GMT. The time now is 01:46 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.03696 seconds
  • Memory Usage 1,768KB
  • 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
  • (13)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