Thread: Chat Modifications - MGC Chatbox (with AJAX)
View Single Post
  #1921  
Old 11-30-2007, 04:24 AM
VBDev's Avatar
VBDev VBDev is offline
 
Join Date: Jan 2004
Location: France
Posts: 2,570
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by powerbook View Post
Hi,

Finally got some time to try and enable the posting rule. I got it to work and like you pointed out actually quite simple but the only thing I don't know or understand how to do is to enable a message in the shoutbox area (when disabled) telling the member why it is disabled "You can only use the shoutbox bla bla bla".

Should I add a phrase for that and call it from a new template?

Many Thanks
With what I pointed out, the chatbox won't show, am I right ?

Then I think you should have to create new mgc_chatbox template with only the table header and the phrase as content, calling it mgc_chatbox_lack_posts for example.

You'll have to edit:
  • both the 3 hooks regarding the display on the forumhome, forumdisplay and showthread
  • the mgc_chatbox.php file for the full mode display
  • the condition you have added by putting a else to manage the display in case of show on all pages under the navbar or in a variable
In order to display the mgc_chatbox_lack_posts template instead of the mgc_chatbox template when the user has not done enough posts.

Do you think you can handle that?

Quote:
Originally Posted by Semobid View Post
I upgraded to the newest version and I am still having problems. It is continuously loading, and the chatbox's width is exceeding the width of my forum. Any ideas?

I made a username that you can use to login to see what it is doing.

The forum is located at
PHP Code:
www.semobid.com/VB 
username:tester1
password: password
I have had a look, that's strange there are no javascript errors.

Do you have reverted all the templates of the chatbox before/after the upgrade in case you modified something ?

All uploaded files are the one ?

By the way, you have done the modification in the navbar template wrong as I have been able to infer from your link

Quote:
Originally Posted by RCWorld View Post
My chatbox appears on page well, but is locked up and continues to read "Loading..."
I have seen some have been helped with this problem, but I did not see the fix has been posted.

Also the archive link, link buttons and chatbox navbar dropdown links (see att.):

view_archive&page=1, view_chatbox & showaide

Must not point to the correct page, as they open to a "cannot find" page.

I have been through all of my server side files multiple times, checked and rechecked templates, reloaded Js files, and reinstalled products - all to no avail.

vB v3.6.8
Chatbox v1.5

HELP!!
With the new version, this should have been fixed when displayed on the forum.

Can you bring me a link of your forum or sending me by pm if you want to keep it private please so that I could perhaps point out what is wrong with your configuration ?
Reply With Quote
 
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.02061 seconds
  • Memory Usage 1,784KB
  • Queries Executed 11 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD_SHOWPOST
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_php
  • (3)bbcode_quote
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_box
  • (1)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit_info
  • (1)postbit
  • (1)postbit_onlinestatus
  • (1)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • reputationlevel
  • showthread
Included Files:
  • ./showpost.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showpost_start
  • bbcode_fetch_tags
  • bbcode_create
  • postbit_factory
  • showpost_post
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • showpost_complete