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


All times are GMT. The time now is 02:45 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.03036 seconds
  • Memory Usage 1,747KB
  • 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
  • (3)bbcode_code_printable
  • (4)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