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)

Ranger187 02-25-2010 06:04 PM

Quote:

Originally Posted by yoyoman (Post 1991208)
Any comments, Ranger?

If you mean the amount of characters one can type, look 2 posts prior. This was already answered.

gmerin 02-27-2010 01:32 AM

Quote:

Originally Posted by kronnos (Post 1986190)
How do you disable ajax and what are the negative side effects of disabling it?

Thanks

in the admincp -> vb options -> General Settings -> Disable Ajax

i'm feeling wordy tonight ; you don't need to read the rest to test disabling some ajax functions.

various features are written using ajax code and js libraries. it allows portions of the page to be updated with data from tables in the database asynchronously (a synchronous database access happens in sync with the refresh of the entire page: as each line of code in the page is interpreted and acted on, database access occurs as the specific line in the code makes the request. asynchronous access occurs without requiring a refresh of the entire page and just for that particular item you are working on at that moment) or out of the normal execution sequence of the code and database access in that page.

An example of an ajax function is when you search for all posts by a board user. you type the beginning of the user name and a drop down window appears with all the entries in the user table that match the characters you've entered to that point. the process makes an asynchronous query to the user table in the database for all the entries where name is like the letters you've entered, without requiring that all the lines in that page before it be interpreted and acted upon first.

various functions are written in ajax to make the overall operation of the board smoother and to require less full page refreshes. the display of the smilies (when you click "More") in the text entry section of the chatbox is an ajax function. when you disable ajax you disable these features and the additional database queries they make.

many users simultaneously accessing ajax features will generate a lot of additional queries, thus loading up the database activity. if your board is the only one accessing the database you probably won't notice the effects of the additional activity. if you share a database instance on an service provider's database server and the system is normally busy the additional activity can impact the database performance and lag your board.

i believe that ajax seems to encourage developers writing code independently and without sufficient concern for the general state of the system. prior to ajax, developers really didn't have to be concerned with concurrent processes because in interpreted procedural code (like php v4) there really isn't concurrent processing. things happen in sequence as dictated by the program organization. in object coding, and especially in ajax processes happen asynchronously but developers often do not check to see what else is going on before they issue their requests. they just assume the system will deal with it, and in the perfect world the OS is supposed to just deal with it, but the world isn't perfect and the hardware always lags behind the OS and programming demands (something that i encounter at work as well: developers are rarely DBAs therefore rarely understand either how the database actually services their code requests or the impact of their code on the database performance).

for example, if i run the Live Topic mod and one or two other ajax coded mods my external, hosted board lags. remove or disable Live Topics and the lag vanishes. too many concurrent database access calls force a sacrifice of performance. things happen slower than we would like. re-writing the code more efficiently is one way to address this except developers are usually busy and under time constraints. another way is to throw hardware at it, except board owners are usually working on shoestring budgets. disabling the problematic code, in this case the ajax functions, is another way and it has no additional costs or resource scheduling issues, but you lose functionality.

you have to pay for it someplace, so you make a choice.

The_Rayman 03-01-2010 11:59 AM

Will there be a port to VB4?

Thanks!

Ranger187 03-02-2010 12:22 AM

That has been answered about 20 times by me. ;)

Ranger187 03-02-2010 03:40 AM

Now is the time to chime in for this.....

FEATURE REQUEST FOR VBULLETIN 4.0 VERSION OF THE CHAT.
(Repost from the Vbulletin.org site)

vBAdvanced with forum in separate dir compatibility
Create a small version of the template for vba side column use
Built-in vBSeo compatibility
Report chat function
BF IBProarcade plugin : New tournament created notification / Tournament has started notification
Possibility to have chatbox in a popup
Possibility to view guests ip and ban them from the chatbox
NOTIFICATION: new registration
NOTIFICATION: thank you hack from Abe1
Different sound for notifications and chats
Channel selection through dropdown menu
NOTIFICATION : User albums updates
Cronjob or some function to automatically export the chats to a local directory
Put the main chat page in the vb4 CMS. This will allow vb's widgets to be added on the main chat page.
vb4 CMS widgets.

Jeweetog 03-02-2010 08:47 AM

Quote:

Originally Posted by Ranger187 (Post 1994987)
Now is the time to chime in for this.....

FEATURE REQUEST FOR VBULLETIN 4.0 VERSION OF THE CHAT.
(Repost from the Vbulletin.org site)


vBAdvanced with forum in separate dir compatibility
Create a small version of the template for vba side column use
Built-in vBSeo compatibility
Report chat function
BF IBProarcade plugin : New tournament created notification / Tournament has started notification
Possibility to have chatbox in a popup
Possibility to view guests ip and ban them from the chatbox
NOTIFICATION: new registration
NOTIFICATION: thank you hack from Abe1
Different sound for notifications and chats
Channel selection through dropdown menu
NOTIFICATION : User albums updates
Cronjob or some function to automatically export the chats to a local directory
Put the main chat page in the vb4 CMS. This will allow vb's widgets to be added on the main chat page.
vb4 CMS widgets.


+ A max char a user can type/send to the chatbox (i'm surprised its not present!).

solidlink 03-02-2010 12:44 PM

I got a question....... my Thread Title overlaps with MGC chatbox...... how do I fix it?

http://www.whysg.com/forums/showthread.php?t=31177

Joan23 03-02-2010 03:34 PM

Great work, thanks a lot !
Joan

Jeweetog 03-02-2010 07:57 PM

Quote:

Originally Posted by solidlink (Post 1995229)
I got a question....... my Thread Title overlaps with MGC chatbox...... how do I fix it?

http://www.whysg.com/forums/showthread.php?t=31177


Add a <br/> after the thread title.

Or above the ajax chatbox. Should be somewhere in your templates. Search for MGC_EVO

vgevolution 03-03-2010 08:38 PM

Quote:

Originally Posted by Ranger187 (Post 1994987)
Now is the time to chime in for this.....

FEATURE REQUEST FOR VBULLETIN 4.0 VERSION OF THE CHAT.
(Repost from the Vbulletin.org site)


vBAdvanced with forum in separate dir compatibility
Create a small version of the template for vba side column use
Built-in vBSeo compatibility
Report chat function
BF IBProarcade plugin : New tournament created notification / Tournament has started notification
Possibility to have chatbox in a popup
Possibility to view guests ip and ban them from the chatbox
NOTIFICATION: new registration
NOTIFICATION: thank you hack from Abe1
Different sound for notifications and chats
Channel selection through dropdown menu
NOTIFICATION : User albums updates
Cronjob or some function to automatically export the chats to a local directory
Put the main chat page in the vb4 CMS. This will allow vb's widgets to be added on the main chat page.
vb4 CMS widgets.

I'd love the ability to make use of the Favorite Smilie hack to replace the default smilies. I actually use that hack combined with the Smilie Categories hack to organize all our smilies cleanly.


All times are GMT. The time now is 01:10 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.06675 seconds
  • Memory Usage 1,759KB
  • 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
  • (5)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