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)

divided_by_fear 12-30-2005 07:32 PM

Quote:

Originally Posted by md_doc
anyway as it could lead to some very bad security issues like users embeding another iframe and getting your sessions values which would then allow them act as you and administer the forums as they want which would be bad.


could you please point out where this is ? i would like to fix that i have no need for html on mine anyway... please let me know where to add this in im not sure what u mean when you posted just add in htmlentities($text) where you see $text can u give a example please

Snake 12-31-2005 01:24 PM

Quote:

Originally Posted by aranthorn
ZT has given up on this hack?

Nah he's just busy with some other projects.

md_doc 12-31-2005 02:52 PM

Quote:

Originally Posted by divided_by_fear
could you please point out where this is ? i would like to fix that i have no need for html on mine anyway... please let me know where to add this in im not sure what u mean when you posted just add in htmlentities($text) where you see $text can u give a example please


Replace lines 114 - 126 (function bbcodeparser in vbshout.php)

PHP Code:

 function bbcodeparser($text '')
 {
     global 
$vbulletin;
 
     if (
$vbulletin->options['shout_bbcode'])
     {
         return 
$vbulletin->vbshout_parse->parse(convert_url_to_bbcode($text), 'nonforum');
     }
     else
     {
         return 
$text;
     }
 } 

with

PHP Code:

 function bbcodeparser($text '')
 {
     global 
$vbulletin;
 
     if (
$vbulletin->options['shout_bbcode'])
     {
         return 
$vbulletin->vbshout_parse->parse(convert_url_to_bbcode(htmlentities($text)), 'nonforum');
     }
     else
     {
         return 
htmlentities($text);
     }
 } 

What this does is it stops the html from being rendered.

I am not sure how vB normally handles it but this is a quick fix at least.

TTG 12-31-2005 03:14 PM

Quote:

Originally Posted by Karsh
I just need commands lmao :(

Did you read the hack information at the top of every page .. all commands are listed :rolleyes:

Alphasims 01-01-2006 12:10 AM

Are there a way to translate shoutbox tekst?

Tekst i want in Norwegian:
-Total Shouts:
-Shouts In Past 24 Hours:

so on.........

i tried Languages & Phrases manager, i cant find it. thanks for a great ShoutBox :)

Ohiosweetheart 01-02-2006 01:43 PM

I installed this... wow... it couldn't have been any easier!

question tho: is there a way to edit this so that we can access ALL of our smilies, not just the ones showing in the top pane? AND is there a way to increase the height (NOT width) of the SB so that more than 4 shouts are viewable at a time?

mbader71 01-03-2006 03:52 AM

This is really great

very easy to install

very easy to use

very useful

thanks alot man

Just one quick question

How do I open the shoutbox admin control?

Snake 01-03-2006 11:47 AM

Admin CP - vB Options - Shoutbox Settings :)

Ohiosweetheart 01-03-2006 11:25 PM

thank you!

Mobilestan 01-04-2006 06:53 AM

help me !!!
i have vb 3.5.2 and
my vbshout dont work for Guest

get this error :

Warning: Invalid argument supplied for foreach() in /vbshout.php on line 288

how i can solve this problem ??

thankss


All times are GMT. The time now is 12:14 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.03380 seconds
  • Memory Usage 1,749KB
  • 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_php_printable
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (6)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