vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB Chat (https://vborg.vbsupport.ru/forumdisplay.php?f=107)
-   -   Show more lines? (https://vborg.vbsupport.ru/showthread.php?t=80471)

Vierie 04-24-2005 03:31 PM

Show more lines?
 
Is there a way to show more text in the box? If people are writing a lot, somebody, who's not reading for a moment, can't read all the messages.

greenhybrid 04-25-2005 07:36 PM

On line 328, find this line of vBChat.php:
PHP Code:

$Get_Chat_MSG $DB->query("select u.*,m.* from ".TABLE_PREFIX."vbchat_store m left join ".TABLE_PREFIX."user u on (u.userid = m.s_postby) where m.s_forroom = '{$bbuserinfo['vbchat_pref_in_room']}' order by m.s_postime desc limit 0,15"); 

Change the 15 at the end to the number of posts you'd like.

Kaishi 04-26-2005 02:15 AM

is there a way to let ppl scroll up the chat? in case they missed something

greenhybrid 04-27-2005 02:17 AM

Only for the amount of lines you allow in the code above. Unless you modify the script.

Hyrel 05-23-2005 05:53 AM

Has anyone made the modification?

greenhybrid 05-23-2005 04:30 PM

Yes, I have. It's barely even a mod because it doesn't change how the script works. Only the number of lines to fetch.

Hyrel 05-26-2005 01:32 AM

When I changed the 15 to a new number nothing happened?


All times are GMT. The time now is 05:51 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.00961 seconds
  • Memory Usage 1,717KB
  • 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
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (7)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete