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)

Leila 08-13-2006 05:35 AM

Could someone tell me why the shout board control panel would not show up but everything else is working?

mrmike 08-13-2006 07:00 PM

Hi, first of all, thanx for a great hack!

Since I installed shoutbox and my members are in index.php (startpage) the wol (who's online) is updating activity continuously even if they not do anything. Now I've installed a total time spent on board hack and the inactivity time is set for 45min before members autologout but in this case the onlinetime just go on and on as long they stay on (startpage)...

Does anyone know a solution?

btw, sorry for my bad english

/Mike

webspider 08-13-2006 07:24 PM

Shout 2.1 does work with vb 3.6.0 but there is a problem with Internet Explorer users the shout always says Loading... and when you try to post a shout IE opens a blank page.

rareclownfish 08-13-2006 10:03 PM

Hello bud, is there away to add an admin section where you can delete all the shouts at once?

webspider 08-13-2006 10:21 PM

/prune "enter" in the shout field

Thug 08-15-2006 09:32 PM

https://vborg.vbsupport.ru/showthread.php?p=1053081


Vbshout - I dont want peeps to edit/prune the shoutbox
Hi what do i do so i can change who can edit the shoutbox


eg when they click on 'shoutbox' at the top it takes them too

http://www.mysite.com/vbshout.php?do=archive


How do i change it so nobody (or only selected users) can click on edit or delete shouts on there

i have got some admin/supermods that are pruning and also randomly deleting shouts

louis_chypher 08-16-2006 01:30 AM

Quote:

Originally Posted by Thug
https://vborg.vbsupport.ru/showthread.php?p=1053081


Vbshout - I dont want peeps to edit/prune the shoutbox
Hi what do i do so i can change who can edit the shoutbox


eg when they click on 'shoutbox' at the top it takes them too

http://www.mysite.com/vbshout.php?do=archive


How do i change it so nobody (or only selected users) can click on edit or delete shouts on there

i have got some admin/supermods that are pruning and also randomly deleting shouts


trying to search this thread on "admin" would lead you to this post https://vborg.vbsupport.ru/showthrea...min#post961363 or perhaps not.

Thug 08-16-2006 08:13 AM

Quote:

Originally Posted by louis_chypher
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:


Thanks..

if say someone wanted to edit it so more than one person had acess

they could put this instead..



if ($vbulletin->userinfo['userid'] != 1)
if ($vbulletin->userinfo['userid'] != 2)
if ($vbulletin->userinfo['userid'] != 5)
{ print_no_permission();
exit();
}


giving acess to users 1,2 and 5

:D

Thug 08-16-2006 05:25 PM

How would i make it so that if a user has 30 posts or less it shows a essage on the shoutbox saying

Sorry but you need 30 posts or more to view the shoutbox

Thug

GoNz00 08-16-2006 05:27 PM

just hide the shoubox and use usergroup promotions to make it appear at 30 :)

ZGeek 08-17-2006 03:47 AM

Howdy all, I planing to use the shout box on the front page of my site.. currently in development at http://dev.zgeek.com (if you can't see it, its been built into the monitor on the top right)

I usually have around 100 to 150 people on the site, around 60 -70 who are logged in. I've also shortened the max characters people can post in a message to around 30.

I'm worried about this slowing the site. I have my own dedicated server and a large amount of bandwidth so traffic isn't a worry. But is this going to kill my server processing the shouts?

Replicators 08-17-2006 03:52 AM

I'd recommend you guys go to vbhackers.com, they have a update of this that is much better as it is much less strain on the server.

ZGeek 08-17-2006 04:37 AM

Thanks mate. I did so and updated to the latest version. Cheers.

Renmiri 08-17-2006 04:02 PM

Quote:

Originally Posted by Replicators
I'd recommend you guys go to vbhackers.com, they have a update of this that is much better as it is much less strain on the server.

Another solution for the excessive load on the server is to use an "outsourced" shoutbox: Sayit hosts free shoutboxes for you. I have just started using it at one of my forums (non vb) and it has been working very well

Luke Brown256 08-18-2006 07:35 AM

hey just a question but will this mod work on 3.6?

Antyrael 08-18-2006 08:27 AM

I tried to alter my vbShout so that it would show a button/link next to every shout, that would delete the shout when I click it, but I am unsuccesful so far.
My understanding of AJAX is non-existent so I really have no idea how to to this.

Is there anyone who can help me achieve this? I hate going into the archive to delete certain shouts everytime. (it's a slow process for me)

Also, when I try /prune username, it doesn't prune anything, I can't figure out why.

transitbus 08-22-2006 03:12 AM

Edit:

I love finding out how to do things myself ;)

Keyser520 08-23-2006 11:59 AM

Does this work on 3.6 ?

Zero... are you going to make a vbchat for 3.6 ?

Ragnarok 08-23-2006 02:04 PM

Quote:

Originally Posted by Keyser520
Does this work on 3.6 ?

I've had no problems with it since upgrading to 3.6, give it a try ;)

cyberguyz 08-23-2006 08:58 PM

It works fine on my 3.6 site

Shazz 08-23-2006 09:01 PM

No errors , Clean on 3.6 :)

Digitalus 08-24-2006 03:11 PM

Quote:

Originally Posted by Stoebi
Hi,

I've a problem if I change the number of random smilies to show on the shoutbox.

With the default settings (0) I've no problems, but if i change the value i get smilies twice if I hit the smiley button. In my example I've changed 0 to 8 and it will show 2 or 3 same smilies from 8.


PHP Code:

    if ($vbulletin->options['shout_smilies_show'] > 0)
    {
        while (
$Used $vbulletin->options['shout_smilies_show'])
        {
            
$GetEmo $Total_Smilies;
            
$GetEmo rand(0$GetEmo);

            if (!
in_array($GetEmo$UsedArr) && $Smilie_Cache[$GetEmo])
            {
                
$Used++;
                
$GetEmo $Smilie_Cache[$GetEmo];
                
$Smilie_Build .= '<a href="#" onclick="return sb_Smilie(\''.$GetEmo['smilietext'].'\')"><img src="'.$GetEmo['smiliepath'].'" alt="'.$GetEmo['title'].'" border="0" /></a> ';
            }
        }
    } 

I think the problem is the random line -> $GetEmo = rand(0, $GetEmo);


Is there somebody which can help to improve this, please?


Regards, Stoebi


Edit:
Solved. Many thx to Boothby from vbhacks-germany.com


Hi @all

I have the same problem..
So how can we solve the problem?

greetz

Masiello 08-24-2006 09:00 PM

Anybody Know if that vbshout installation waste the XHTML and CSS validation for the original vB installation that use the default template in vBulletin 3.6.0 Gold?

hotwheels 08-26-2006 04:21 AM

works on the official release of 3.6

Total666 08-26-2006 05:12 AM

Has anyone figured out how to get the auto-prune to work with 3.6 ??? The auto-prune worked great with 3.54 .. Ideas ?? Total

hotwheels 08-26-2006 06:32 AM

Did anyone ever figure out why this is happening? I just reinstalled this mod on my site, was able to post 2 time's, then everything disappeared accept for the wording i posted......

Masiello 08-26-2006 06:47 PM

Big problem with characters like <> " ' , eccc

I think this is another Bug, when for example I ban e specific user Group that is Unregistered/ Not Loged Users, these users see anyway a vbshout window and see this message
"Warning: Invalid argument supplied for foreach() in /vbshout.php on line 293"

Forget, I'm using vB 3.6.0

Rickie3 08-26-2006 10:59 PM

hope someone can help me here,some members are abusing the BB code in the shoutbox,I want to allow smilies still,but how can i disable the BB codes in the shoutbox please!!!

Keyser S?ze 08-27-2006 08:48 AM

this is prolly known but i just thought id say, that when u quote something it messes up, for example

"backup"

turns into this

&quot;backup&quot;

YoungComposers 08-27-2006 05:18 PM

For the people above who are experiencing the " -> &quot; bug, try commenting out line 120 which reads:

Code:

$text = htmlspecialchars_uni(trim($text));
I think this will still result in all characters like < being cleaned etc., but it misses out ", which should be OK in most circumstances.

Anyway, I need help with something. I'm trying to add badword filter functionality to the shoutbox with the following code placed above line 343:

Code:

    $badwords = array('badword1' => 'replacement1', 'badword2' => 'replacement2', 'badword3' => 'replacement3');
    $vbulletin->GPC['shout'] = str_ireplace(array_keys($badwords), array_values($badwords), $vbulletin->GPC['shout']);

Obviously I've replaced the actual badwords to avoid antagonizing staff around here... Anyway, this code should work fine, but when it's added in, the shoutbox just plain refuses to insert it into the database. It's the same no matter what you set $vbulletin->GPC['shout'] to. Even if you add some code to set it to "hello" just before it's inserted, it doesn't get inserted. Any help?

Digitalus 08-28-2006 10:41 AM

Quote:

Originally Posted by Digitalus
Hi @all

I have the same problem..
So how can we solve the problem?

greetz


Hello!!!!!!!!

Anyone?????

GoNz00 08-28-2006 11:01 AM

its been answered at least 3 times that i have seen. try using the search thread button in furure !!!

anyway. https://vborg.vbsupport.ru/showpost....postcount=1624

Digitalus 08-28-2006 05:55 PM

LOL.. this does not fix the smilie problem

GoNz00 08-28-2006 09:18 PM

sorry that was aimed at https://vborg.vbsupport.ru/showpost....postcount=2151 Keyser

Shazz 08-28-2006 09:34 PM

Quote:

Originally Posted by Digitalus
LOL.. this does not fix the smilie problem

Is your smile problem when you upgraded it?

osso12 08-29-2006 01:28 AM

I know this is asking a lot..but is there a way to take the shoutbox one step further and add windows sounds ect. when someone uses the shout box and sends a shout to alert others someone is shouting?
And a way for users to toggle it on or off possibly? :laugh:

hotwheels 08-29-2006 04:02 AM

I actually had to go back to the original vb2.0.........all the newer one's just don't seem to function correctly....

Viol8or 08-29-2006 02:03 PM

Is there a possibility to set a maximum on characters in one sentence? They can spam books now :)

Digitalus 08-29-2006 03:48 PM

Quote:

Originally Posted by Shazz
Is your smile problem when you upgraded it?

Hi

No.. but its fixed now, found a update for it on a other forum :D

da420 08-29-2006 05:42 PM

Quote:

Originally Posted by Digitalus
Hi

No.. but its fixed now, found a update for it on a other forum :D

Downloaded the 2.1 vBShout version?

I find that one works awesome. 10X better than 2.0, and about 1/5+++ server intensive. :)


All times are GMT. The time now is 04:07 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.04377 seconds
  • Memory Usage 1,840KB
  • 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
  • (1)bbcode_php_printable
  • (9)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (3)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