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)

Ohiosweetheart 04-26-2006 03:05 AM

Quote:

Originally Posted by Brad
If you are one of the people having issues with the last fix I posted, try using the attached file instead. Let me know if this one works or not.

you're wonderful Brad, thank you so much!

Ohiosweetheart 04-26-2006 03:11 AM

Quote:

Originally Posted by Spin Doctor
i have been asking the same question for days......

there is no setting that I know of to control which staff members can edit the sb. Any staff member that can see the edit options by clicking on the word Shoutbox at the top of the sb can edit. As far as editing ALL shouts.. only the ones that you give the /prune command to can delete all sb posts at one time

Is this what you were asking?

B3y0nd 04-26-2006 03:12 AM

*Clicks install*

A nice upgrade for my forums. Thanx ZT!! Btw RE4 iz teh best game Ev3r!!:rambo:

tqvn2004 04-26-2006 08:04 AM

Quote:

Originally Posted by Billspaintball
Its a 5 minute edit to the vbshout.xml file, then reinport it.

I've done it to my install.

If I can get permission from ZT I will post it here.

Can you share it with us?

And another useful modification for this hack would be "/prune [options]" command. My board have 100 pages of shouts, and I wanted to prune the old shouts. But the only option I can do is to prune all of them. I wish I could prune messages from number x to number y or from date x to date y. :rambo:

Spin Doctor 04-26-2006 11:13 AM

Quote:

Originally Posted by Ohiosweetheart
there is no setting that I know of to control which staff members can edit the sb. Any staff member that can see the edit options by clicking on the word Shoutbox at the top of the sb can edit. As far as editing ALL shouts.. only the ones that you give the /prune command to can delete all sb posts at one time

Is this what you were asking?


the problem is i give mod spots to people who mod they own section for their hip hop groups, however they are not on my staff....i need a function to determine who can edit the shoutbox, possible update on the shoutbox?

Snort_2005 04-26-2006 03:44 PM

Quote:

Originally Posted by Brad
If you are one of the people having issues with the last fix I posted, try using the attached file instead. Let me know if this one works or not.

Thanks a lot Brad. Working just fine now. ^_^

Snort_2005 04-26-2006 03:45 PM

Quote:

Originally Posted by Brad
If you are one of the people having issues with the last fix I posted, try using the attached file instead. Let me know if this one works or not.

Thanks a lot Brad. Working just fine now. ^_^

EDIT: Oops.. sorry about the triple post.. vbulletin.org was acting up for me. :(

Snort_2005 04-26-2006 03:45 PM

Quote:

Originally Posted by Brad
If you are one of the people having issues with the last fix I posted, try using the attached file instead. Let me know if this one works or not.

Thanks a lot Brad. Working just fine now. ^_^

EDIT: Oops.. sorry about the triple post.. vbulletin.org was acting up for me. :(

Snort_2005 04-26-2006 03:45 PM

Quote:

Originally Posted by Brad
If you are one of the people having issues with the last fix I posted, try using the attached file instead. Let me know if this one works or not.

Thanks a lot Brad. Working just fine now. ^_^

Zweeper 04-26-2006 05:09 PM

please, someone can code a word wrap function??

Snake 04-26-2006 05:59 PM

Yay thanks for the update!

shadow smith 04-26-2006 07:45 PM

Littleman, my installation said "Loading" too. I didn't have the vbshout.php in the forum directory. Copy that file there and it should start working [assuming permissions are correct].

B3y0nd 04-27-2006 01:21 AM

Maybe this question has been answered before, but I couldn't find it in this thread. I'm runnin' 3.5.4 and special charactors like quotation marks and greater than/less than symbols show up as HTML code in the shout box unless I turn the vBcode and smiley option off in the ACP.

Sooo, now my users can't use smileys because of this glitch. Any fix for this??

theodonnells 04-27-2006 05:48 AM

I was still having problems with quotations etc, until i removed the who's shouting addon.Problem was fixed right away..

KBV 04-27-2006 07:40 AM

I don't have that addon, and I'm having the same problem.

louis_chypher 04-27-2006 11:50 AM

Quote:

Originally Posted by Spin Doctor
i have been asking the same question for days......

A possible quick solution to limit access to the archive and archive functions by user group :

There is a template called forumhome_vbshout that has as part of its contents a line with the following info: <a href='vbshout.php?{$session['sessionurl_q']}do=archive'>Shoutbox</a>

Perhaps one could possibly change that line so that it reads:

<if condition="can_moderate()">
<a href='vbshout.php?{$session['sessionurl_q']}do=archive'>Shoutbox</a>
<else />
Shoutbox
</if>

While that will not prevent a user from manually typing in the name of the link. It will prevent those without the knowledge of the links parameters from going further.

If one is a bit more interested in digging deeper one could, possibly, open the vbshout.php file and find:

if ($_GET['do'] == 'archive')
{

located around line 356/357

Then one could, possibly, insert below the line with the "{" and above the line "$navbits = array("vbshout.php?" . $vbulletin->session->vars['sessionurl'] . "do=archive" => 'Archive');"

something like:

//use for an individual access
//if ($vbulletin->userinfo['userid'] != X)
//use for usergroup access
if (!(in_array($vbulletin->userinfo['usergroupid'], array(6,7))))
{ print_no_permission();
exit();
}

Where 5=super moderators, 6=admin, 7=moderators, and (optional) X1= what ever other usergroup one wants to include (if one was not to use X1 then do remember to remove the "," as well).

Then it should be highly possible that one would, possibly, be able to highly limit the access to the Shoutbox, a most wonderful product!, archive functions.

Of course one would be on their in doing such things.:surprised:

Zweeper 04-27-2006 12:44 PM

i still need a wordwrap function because i have the shoutbox in the left frame of vbadvanced. long words crashing the tables.

jimbocook 04-27-2006 08:06 PM

I've just noticed after installing vbShout (although it may have been happening before) that, when I log in from the forum home (where the shout is) I get the Thank You and am redirected back to the forum home but it doesn't recognize that I'm logged in until I go to a second page. Any ideas?

frandy 04-27-2006 08:50 PM

Quote:

Originally Posted by B3y0nd
Maybe this question has been answered before, but I couldn't find it in this thread. I'm runnin' 3.5.4 and special charactors like quotation marks and greater than/less than symbols show up as HTML code in the shout box unless I turn the vBcode and smiley option off in the ACP.

Sooo, now my users can't use smileys because of this glitch. Any fix for this??

Yeh same situation, I aint got any other plugins for it. And the quotes and any other special characters dont work. Is there any fix or work around??

arob42 04-27-2006 11:51 PM

Whenever I enter a message with a quote in it and go to edit it, the message is truncated after the quote. Are others seeing this problem and is there a solution? Thanks!

Snake 04-28-2006 12:58 PM

Awesome, I'll upgrade my shoutbox right away. Good job on the update!

Hornstar 04-28-2006 09:08 PM

If I type "" i get &quot;&quot;

I have just downloaded and installed the latest. or do i need to apply the patch that he put in this thread.

feRos 04-28-2006 09:10 PM

Is there a way to display the shoutbox collapsed by default?

Queball_Beast 04-29-2006 12:58 AM

Hello, i`m trying to prevent the guest from seeing the shoutbox, But when I ban the guest id from viewing the shoutbox. I get an error message.
Quote:

Warning: Invalid argument supplied foreach()/vbshout.php on line 293
can anyone help me with this?

I entered the correct id for the guest which is "1" but it is not working.
thanks:banana:

Zweeper 04-29-2006 02:14 AM

can you code a word wrap for too long words in the shoutbox when i have it on the left panel of my forum plz? it's a greate update for all peopele that have the shoutbox in a sidepanel from the vbadvanced portal.

Sn!per101 04-29-2006 05:53 AM

Ok, I am getting frustrated with this "viewing the shoutbox" issue. I have read all the posts about it but it's still not doing what I ask for. CMPS is installed so index.php is the CMPS page and forum.php is my forum index page. I have another plugin that does custom WOL locations and forum.php is set to it.

This problem never happend until I moved to a new host which seems to be on a different version of apache. This is a bug in the program and need to be fixed. I look at the WOL page very often to see where people are on the site and having this bug is very annoying. So instead of telling me to read the previous posts about this issue does anyone know of any other solutions? I shouldn't even have to do anything because it should just work like it did before.

Davidspl 04-29-2006 09:54 PM

Quote:

Originally Posted by Davidspl
Thanks for the shoutbox, my members love it.

Wondering if you could help with 1 little thing, how can i make a gap, between the bottom of my forums and the shoutbox... like in this picture...

http://www.splforum.com/vbshout.jpg

You can see the shoutbox on the splforum.com, if you dont know what i mean, between all the forums there is a small white gap, except the shoutbox, it is right on the mark forums read part.

Thanks in advance for any help. :laugh:

I know this may not be a direct shoutbox support thing, but does anyone have any idea how to fix this?

I also get that word error after symbols in the shoutbox too, most notably the & symbol, when typed in shows as &amp; in the shoutbox message, no add ons.

Iain M 04-29-2006 10:11 PM

Quote:

Originally Posted by Davidspl
I know this may not be a direct shoutbox support thing, but does anyone have any idea how to fix this?

I also get that word error after symbols in the shoutbox too, most notably the & symbol, when typed in shows as &amp; in the shoutbox message, no add ons.

to fix the 'no gap' problem edit the forumhome_vbshout template and add <br /> at the top,

to fix the symbols problem, installing the latest version should fix that,


CP1

Sir_Yaro 04-29-2006 11:01 PM

Quote:

Originally Posted by kofoid
Regarding the timestamp -
Everything has been reuploaded and no change :(

To get date & time in shoutbox You have to add one line in forumhome_vbshout_shout template.
under
Code:

<if condition="!$Shout[s_me]">
<if condition="$Shout[s_by]">

add:
Code:

[{$Shout['time']}]
This line some how is missing... :)

Damien2005 04-29-2006 11:08 PM

How can i set the $pagenav in to the shoutbox ?

Someone here who can help me out..

lierduh 04-30-2006 07:39 AM

Quote:

Originally Posted by Brad
If you are one of the people having issues with the last fix I posted, try using the attached file instead. Let me know if this one works or not.

PHP Code:

function bbcodeparser($text ''$striphtml true)
{
    global 
$vbulletin;

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

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


Have not checked the rest of the script you attached, but what is the purpose of the last bit?

Code:

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

I thought the latest version is supposed to filter out html tags to avoid java script inject. Your code seems on the surface to bypass the fix?

lierduh 04-30-2006 10:18 AM

A better way to handle html inject will be:

PHP Code:

function bbcodeparser($text ''$striphtml true)
{
        global 
$vbulletin;

        if (
$vbulletin->options['shout_bbcode'])
        {
                if (
$striphtml)
                {
                        
$vbulletin->options['allowhtml'] = false;
                }

                return 
$vbulletin->vbshout_parse->parse(convert_url_to_bbcode($text), 'nonforum');
        }
        else
        {   
                if (
$striphtml)
                {
                        
$text htmlspecialchars_uni($text); 
                }
                return 
$text;
        }



$vbulletin->options['allowhtml']

Defaults to off when bbcode is used. That is why everyone is getting the &gt; etc. using the latest version.

Basically if one uses bbcode in the shouter. That is no need to worry about html inject because bbcode parser will handle special html tags by default.

Zelda-King 04-30-2006 10:20 AM

There appears to be a bug with speech marks. " is replaced with &quot;

Tested on vB 3.5.4
Using the vBShout fixed v3 zip.

Hemanth 04-30-2006 11:11 AM

Hi,

How many shouts will be stored in database?

I'm using it over a few months. Is all the shouts so far'll be in the DB or it'll be cleared?

Zelda-King 04-30-2006 12:56 PM

They're all saved until you prune them.

Zweeper 04-30-2006 01:50 PM

Can please help me somebody with a function that cut long words??
look @ attachment

furst 04-30-2006 06:43 PM

Any way to get the ignore list to work with this?

lucky64 04-30-2006 08:49 PM

Still hoping on figuring out why it doesn't show the last shout when reloading the page :( just jumps to the middle.

Quote:

Originally Posted by kafi
I couldn't find this yet here>

I would like to show VBShout only with specific forum.

1. please can u give me conditional and where to place it?
2. this would be good to have in admin area for flexible use.
3. or is there a way to do it otherway already?

Thank you!

Was anone successful in getting it to appear in a specific forum either?

TwTom 04-30-2006 09:10 PM

I'm just getting 'loading' at the bottom of the board's main page. :-(

http://www.twolvescentral.com

Sn!per101 05-01-2006 05:13 AM

As an update to my other post about the WOL showing everyone on the forum index as "viewing the shoutbox" I believe it is not because of a newer apache but because of PHP 5 that I now have on my new hosting. My old hosting had PHP 3. So if you could please make this extention PHP 5 comptable to fix that bug I would appreciate it. Thank you.


All times are GMT. The time now is 11:01 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.03402 seconds
  • Memory Usage 1,854KB
  • 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
  • (3)bbcode_code_printable
  • (2)bbcode_php_printable
  • (16)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)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