vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   [AJAX] vBShout v2.0 (https://vborg.vbsupport.ru/showthread.php?t=93097)

Mecho 01-10-2007 05:42 PM

hi ..

from 2 or 3 days before i got many many db error in shoutbox . i got these error ( via email )

Quote:

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');

MySQL Error : Can't find file:
'./mechodow_mechodlthebestmanmecho/datastore.frm' (errno: 13)
any idea ?
Thanks

Raptor 01-10-2007 08:08 PM

Quote:

Originally Posted by rookiyong (Post 1106177)
Try this, if I am not wrong :)

Find the following in vbshout.php
Code:

if ($striphtml)
        {
                $text = htmlspecialchars_uni(trim($text));
        }

Change to:
Code:

if ($striphtml)
        {
                $text = htmlspecialchars_uni($text);
        }



this works great - bad code is still there in the v3_fixed vbshout.php

coderphp 01-10-2007 11:27 PM

thanx! installed

Shazz 01-11-2007 02:17 AM

Quote:

Originally Posted by Raptor (Post 1155728)
this works great - bad code is still there in the v3_fixed vbshout.php

Works great?
Bad code?

brvheart 01-11-2007 12:52 PM

how can I make it so that only admins can edit the shoutbox entries?

Shazz 01-11-2007 12:54 PM

Quote:

Originally Posted by brvheart (Post 1156202)
how can I make it so that only admins can edit the shoutbox entries?

Its somewhere in the actual plugin or .php file
Its set in usergroup ID

brvheart 01-11-2007 01:07 PM

any direction on where to start looking? There are a few plugin in there but I did not find it :(

brvheart 01-11-2007 01:09 PM

found this in the .php file...but dont know what to do with it just yet lol

Ok, I think that it is def in the .php file...but I have no idea how to change it so that just admins can edit...can anyone help out?

If Zero ever resurfaces might be able to get a option added to the cp menu for usergroups allowed to edit/delete.

Shazz 01-11-2007 01:17 PM

Quote:

Originally Posted by brvheart (Post 1156212)
found this in the .php file...but dont know what to do with it just yet lol

Ok, I think that it is def in the .php file...but I have no idea how to change it so that just admins can edit...can anyone help out?

If Zero ever resurfaces might be able to get a option added to the cp menu for usergroups allowed to edit/delete.

Nah, there won't be any update to the shoutbox =\

aky 01-11-2007 06:12 PM

sometimes this works and sometimes this doesnt... what happens is the space where u type is sometimes there and at times its not... anyone know how to fix this? Happens in both IE and FF

thanks


All times are GMT. The time now is 05:26 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.04134 seconds
  • Memory Usage 1,744KB
  • 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_code_printable
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (5)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