vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.8 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=235)
-   -   Chat Modifications - Dion Dev Shoutbox v2.1 (AJAX) (https://vborg.vbsupport.ru/showthread.php?t=213225)

silvermerc 05-10-2009 01:25 PM

Looks rather nice!

m0rgulvale 05-10-2009 09:34 PM

hey dion,thx for great mod


im using the old version but about to ugprade, but im getting these errors every now and then:

Database error in vBulletin 3.8.2:

Invalid SQL:
SELECT COUNT(DISTINCT(userid)) AS count FROM session WHERE session.userid>0 AND session.lastactivity>1241945068;

MySQL Error : Out of memory (Needed 1048548 bytes)
Error Number : 5
Request Date : Sunday, May 10th 2009 @ 07:51:08 PM
Error Date : Sunday, May 10th 2009 @ 07:51:14 PM
Script : http://laserpointerforums.com/laser_.../shoutshow.php
Referrer : http://laserpointerforums.com/laser_...m/shoutdiv.php
IP Address : xxxxx
Username : Unregistered
Classname : vB_Database
MySQL Version :


Database error in vBulletin 3.8.2:

Invalid SQL:
SELECT COUNT(DISTINCT(userid)) AS count FROM session WHERE session.userid>0 AND session.lastactivity>1241945065;

MySQL Error : Out of memory (Needed 1048548 bytes)
Error Number : 5
Request Date : Sunday, May 10th 2009 @ 07:51:05 PM
Error Date : Sunday, May 10th 2009 @ 07:51:14 PM
Script : http://laserpointerforums.com/laser_.../shoutshow.php
Referrer : http://laserpointerforums.com/laser_...m/shoutdiv.php
IP Address :
Username : a
Classname : xxxxx
MySQL Version :


Database error in vBulletin :

Invalid SQL:

SELECT *
FROM datastore
WHERE title IN ('','options','bitfields','attachmentcache','forum cache','usergroupcache','stylecache','languagecach e','products','pluginlist','cron','profilefield',' loadcache','noticecache');

MySQL Error : MySQL client ran out of memory
Error Number : 2008
Request Date : Sunday, May 10th 2009 @ 07:51:10 PM
Error Date : Sunday, May 10th 2009 @ 07:51:10 PM
Script : http://laserpointerforums.com/laser_.../shoutshow.php
Referrer : http://laserpointerforums.com/laser_...m/shoutdiv.php
IP Address : xxxxx
Username :
Classname : vB_Database
MySQL Version :






should i be worried? what is causing this? my VPS has 1 gig of ram

does new version fix this if it was a bug?

DionDev 05-11-2009 12:46 AM

Upgrade to the new version.

Sdahe 05-11-2009 06:20 AM

Dion, I would like to add this shoutbox in one of my vBadvanced CMPS modules so I can have it in my portal page... can you tell me the steps to do this?

Thanks

DionDev 05-11-2009 02:27 PM

Quote:

Originally Posted by PhotoBoricua (Post 1808432)
Dion, I would like to add this shoutbox in one of my vBadvanced CMPS modules so I can have it in my portal page... can you tell me the steps to do this?

Thanks

Install it as normal, and insert the template.txt code into your VBA CMPS portal template.

PaleRiders 05-12-2009 05:41 PM

I like it.

Cyberkef 05-12-2009 07:47 PM

Doesn't really work here...

You use mysql_fetch_assoc($sql) instead of $db->fetch_array($sql) methods, so on some configurations all your queryreaders are fubar. Looks like using MySQLi does the trick.

I found:
line 21 in shoutshow.php
line 8, 9, 18 in shoutinsert.php
line 34, 75 in shoutarchive.php
....

I hope changing all the methods will make it work.

DionDev 05-13-2009 06:22 AM

Quote:

Originally Posted by Cyberkef (Post 1809587)
Doesn't really work here...

You use mysql_fetch_assoc($sql) instead of $db->fetch_array($sql) methods, so on some configurations all your queryreaders are fubar. Looks like using MySQLi does the trick.

I found:
line 21 in shoutshow.php
line 8, 9, 18 in shoutinsert.php
line 34, 75 in shoutarchive.php
....

I hope changing all the methods will make it work.

Yes I will be changing that for the next version. I've also used mysql_result in a couple of places, that will be changed as well.

|Jordan| 05-14-2009 07:07 AM

How do i change the color of the default shouts? (shouts that dont have a color selected), it defaults to black and its hard to read black and a dark background.

Hall of Famer 05-14-2009 04:40 PM

I want the shoutbox to be used by staff members only. Can I make it impossible for ordinary registered users to post in the shoutbox?


All times are GMT. The time now is 04:44 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.01161 seconds
  • Memory Usage 1,741KB
  • 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
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)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