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)

cheards 01-27-2006 12:22 PM

This is a GREAT shout addition , I've one question - how do I stop unregistered or banned e.t.c people from seeing previous Shouts ? .... I've placed these groups in the banned section but unregistered people can still see shouts

Cheers for any help ; :squareeyed:

Ohiosweetheart 01-27-2006 12:57 PM

Quote:

Originally Posted by Ohiosweetheart
Ok I did that... and now it shows me viewing who's online... but everyone else is viewing the shoutbox even tho I took the "sb on every page" hack off and I know the others are posting their little hearts out. *sigh*

I hope I don't have to uninstall this hack...

NM I fixed it myself... the who's online feature was set to refresh every 30 seconds. I turned the refresh off completely... and it's working fine now.

yayy me

S@NL - BlackBik 01-27-2006 01:40 PM

Quote:

Originally Posted by cheards
This is a GREAT shout addition , I've one question - how do I stop unregistered or banned e.t.c people from seeing previous Shouts ? .... I've placed these groups in the banned section but unregistered people can still see shouts


Cheers for any help ; :squareeyed:

You have a setting in your admincp where you can exclude groups from using the shoutbox.
admincp -> vbulletin options -> vbulletin options -> scroll down to vbshout options

DeMiNe0 01-27-2006 03:53 PM

Is there a flood protection? People on my board are flooding the shoutbox like crazy.

GamerJunk.net 01-27-2006 06:42 PM

How can I make this work in a side panel similiar to vbadvanced style shouting when it's on the right side? I tried the vbadvanced hack on the forumhome and it didn't work.

How would I format it to be in a skyscraper type format on the forum home?

mbader71 01-28-2006 03:15 AM

Is it possible to give a beep sound or some kind of a notification sound when another user have posted in the shoutbox?

Rickie3 01-28-2006 03:50 AM

Quote:

Originally Posted by mbader71
Is it possible to give a beep sound or some kind of a notification sound when another user have posted in the shoutbox?

i have a lot of users on my forum that use the shout,i recon a beep sound for each shout would drive you crazy after a short time :cross-eyed:

Solace-City 01-28-2006 05:12 AM

I just fixed an error I was getting that some others were getting too...

If you get this error: Warning: Invalid argument supplied for foreach() in /vbshout.php on line 288

then do the following (it worked for me anyway)

Find in vbshout.php:
Code:

if ($vbulletin->options['shout_messages_order'])

                {
                        $Output = array_reverse($Output);
                }

Below, add:
Code:

if (isBanned($vbulletin->userinfo) && $vbulletin->options['shout_banned_perms'] > 0)

        {
echo '<b>Sorry, you are currently banned from the shoutbox</b>';
exit(); }

I am under no circumstances saying this code modification will work in your forum environment, nor saying it is the magical fix.

mbader71 01-28-2006 06:39 AM

Quote:

Originally Posted by Rickie3
i have a lot of users on my forum that use the shout,i recon a beep sound for each shout would drive you crazy after a short time :cross-eyed:

well, that is what my users have suggested.

then what if it is a user option that he can set true or false in his UserCP or as a checkbox next to the shoutbox.

S@NL - BlackBik 01-28-2006 08:03 AM

I don't exactly know if it is posted allready, but I fixed the little bug that prevented users to edit or delete their own shouts.

In vbshout.php find:
Code:

if ($Shout['sid'] != $vbulletin->userinfo['userid'] && !can_moderate())
and replace it by
Code:

if ($Shout['s_by'] != $vbulletin->userinfo['userid'] && !can_moderate())
This line is found twice in the code. Once for editing and once for deleting a shout.


All times are GMT. The time now is 07:41 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.03122 seconds
  • Memory Usage 1,745KB
  • 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
  • (4)bbcode_code_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