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)

bashy 05-31-2007 09:34 AM

Ok installed again, looks like it aded 2 queries...not a problem...

When the smilies are clicked ti be inserted into the text it takes you to the top of the screen, is there a fix please?
Also members cannot see the chatbox, permissions have been set for both of them
Only admin and seniors and mods are able to see the box, surely theres sommat amiss somewhere?

VBDev 05-31-2007 10:07 AM

Quote:

Originally Posted by bashy (Post 1258236)
Ok installed again, looks like it aded 2 queries...not a problem...

When the smilies are clicked ti be inserted into the text it takes you to the top of the screen, is there a fix please?
Also Mods nor members cannot see the chatbox, permissions have been set for both of them
Only admin and seniors are able to see the box, surely theres sommat amiss somewhere?

Hum 2 queries ? That's strange coz there is only a query to retrieve the shouts, I'll check that out I'll start developping the new version.

For the smilies problem, there may be a fix but I didn't tested it yet, so maybe you could try:
  1. Open the includes/function_mgc_cb.php file
  2. Find the getChatboxSmileys function
  3. In the line
    PHP Code:

    $chatbox_smileys .= '<a href="#" onclick="return ajout_smilie(\'' $textsmilie '\');" alt="' $smilie['title'] . '"><img src="' $smilie['smiliepath'] . '" border="0" /></a> '

  4. Replace # by #top
I think it's because I didn't put a real link in it (keep my up to date on that part :))

For the mod and members, this is primary usergroup or additionnal ?

In case of additionnal usergroup, only the permissions in the primary usergroup works.

Anyway did you set both can use permission and number of post to use chatbox to correct values ?

bashy 05-31-2007 10:39 AM

Smilies are perfect now thanks.....
Ah ok i have just set all secondary permissions and now it shows, so it looks like you have to set permissions for every group (primary and secondary) you have else some members might not see it

Thanks again, looks to be sorted now...

VBDev 05-31-2007 11:36 AM

This is the problem with permissions, generally, the primary groups permissions are taken into account unfortunately.

I'll see if this is really normal or an error from my coding !

For all : TODO list added in the main post :)

NeutralizeR 05-31-2007 12:55 PM

-The queries are still being executed for who doesn't have permission to view/use chatbox

-The query is still being executed for forumdisplay no matter if chatbox is disabled or enabled for forumdisplay

I've more than 2000 online users and these extra queries are a major issue for me. I can wrap the plugins with some php to prevent the query execution for the usergroups who don't have permission to view the chatbox but this must be built in.

Note: Ignore my post at the other website.

pewp 05-31-2007 12:59 PM

Quote:

Originally Posted by VBDev (Post 1257739)
Nop actually there are not but I will do it :)

Anyway you could be a little more polite ;) I would ;)


i was not trying to be impolite, i was just using the vbshout comparison as a reference so it could illustrate what i was talking about, and i forgot my please and thank yous.

it's a nice mod, i'm just putting in request from my users.

Mastar 05-31-2007 01:07 PM

I Opera the chat text runs down into the forum.... like overflows :)

pewp 05-31-2007 01:19 PM

ok i have yet another question for you. is there away to put custom BBcode buttons in the BBcode option?

VBDev 05-31-2007 01:55 PM

Quote:

Originally Posted by NeutralizeR (Post 1258327)
-The queries are still being executed for who doesn't have permission to view/use chatbox

-The query is still being executed for forumdisplay no matter if chatbox is disabled or enabled for forumdisplay

I've more than 2000 online users and these extra queries are a major issue for me. I can wrap the plugins with some php to prevent the query execution for the usergroups who don't have permission to view the chatbox but this must be built in.

Note: Ignore my post at the other website.

Hum, really strange, I'll check that in the next version. I plan to start development tomorrow.

Quote:

Originally Posted by Mastar (Post 1258333)
I Opera the chat text runs down into the forum.... like overflows :)

What do you mean exactly? Your post if really not understandable.

Quote:

Originally Posted by pewp (Post 1258343)
ok i have yet another question for you. is there away to put custom BBcode buttons in the BBcode option?

Including custom buttons is not in the scope of this chatbox as it would become to "fat".
Anyway I could tell you how to add custom bbcode so that they are parsed when they are present in the shouts

pewp 05-31-2007 02:04 PM

that would be fantastic if you could!


All times are GMT. The time now is 09:15 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.02369 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
  • (1)bbcode_php_printable
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (3)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