PDA

View Full Version : [AJAX] vBShout v2.0


Pages : 1 2 3 4 5 [6] 7 8 9 10 11 12 13 14

vbreal
05 Feb 2006, 01:16
thanks alot

john_robot
05 Feb 2006, 08:19
hi, please tell me how to get the Emotions without clicking on the smiles button, ( I wanted it to display without clicking the button)
What code I have to use?

bashy
05 Feb 2006, 09:35
Hi ZT

How can i stop it from creating a horizontal bar and have it word wrap please?
Also, has a way been worked out where its possible to have 2 shoutboxes yet?

sickstrings
05 Feb 2006, 14:01
Im not sure if this has been covered yet but I keep getting a db error email ALL THE TIME and it's killing my INBOX LOL :speechless:

Any ideas??
Im using vb3.5.3 with mysql 5.0.11 and php 5.1
thanks in advance

Database error in vBulletin 3.5.3:

Invalid SQL:

select s.*, u.username, u.usergroupid from shout s
left join user u on (u.userid = s.s_by)
order by s.sid desc limit;

MySQL Error : You have an error in your SQL syntax; check the manual that
corresponds to your MySQL server version for the right syntax to use near '' at
line 3
Error Number : 1064
Date : Saturday, February 4th 2006 @ 02:50:23 PM
Script : http://www.nastyss.com/forums/vbshout.php
Referrer : http://www.nastyss.com/forums/index.php?
IP Address : 67.186.239.155
Username : 91gsx_turbo
Classname : vB_Database
I'm getting this exact same problem. My inbox is getting hammered too. Here's my version of the error
Database error in vBulletin 3.5.2:

Invalid SQL:

select s.*, u.username, u.usergroupid from vb2_shout s
left join vb2_user u on (u.userid = s.s_by)
order by s.sid desc limit;

MySQL Error : You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 3
Error Number : 1064
Date : Sunday, February 5th 2006 @ 06:39:16 AM
- Hide quoted text -
Script : http://boards.mysportsradio.com/vbshout.php
Referrer :
IP Address : 88.106.223.170
Username : Unregistered
Classname : vb_database

tjad
05 Feb 2006, 17:09
I need to see if there's a way to make it so that the shout box doesn't load unless a user wants it to, ie has to click it to open it perhaps. I put it one every page and now the dial-up users are complaining about long load times. I really don't want to un-do that and have it just on the index. TIA

john_robot
05 Feb 2006, 19:59
hi, please tell me how to get the Emotions without clicking on the smiles button, ( I wanted it to display without clicking the button)
What code I have to use?

Dont make me shout here... :devious:

SnappedAgain
05 Feb 2006, 21:49
I'm getting this exact same problem. My inbox is getting hammered too. Here's my version of the error
Database error in vBulletin 3.5.2:

Invalid SQL:

select s.*, u.username, u.usergroupid from vb2_shout s
left join vb2_user u on (u.userid = s.s_by)
order by s.sid desc limit;

MySQL Error : You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 3
Error Number : 1064
Date : Sunday, February 5th 2006 @ 06:39:16 AM
- Hide quoted text -
Script : http://boards.mysportsradio.com/vbshout.php
Referrer :
IP Address : 88.106.223.170
Username : Unregistered
Classname : vb_database


SORRY to hear that your getting the error too. Im just glad Im not the only one though :nervous: We need to get ZT in here to give us some advice on how to fix it. =)

LBSources
05 Feb 2006, 21:51
Hi ZT

How can i stop it from creating a horizontal bar and have it word wrap please?
Also, has a way been worked out where its possible to have 2 shoutboxes yet?
2 shoutboxes? wow that would kill resources bashy ..its already a hog

Lenny

bashy
05 Feb 2006, 21:55
I aint noticed any great loss with it as yet, although its only used for staff only atm..

Thats why i want another 1 for the members
My server load is about 0.85% with this one running

2 shoutboxes? wow that would kill resources bashy ..its already a hog

Lenny

forumsoup.com
06 Feb 2006, 00:17
Adding vShout on all pages... Is that a good idea? How does that work? Does each page have a different chat room or is it all the same?

bashy
06 Feb 2006, 06:18
Hopefully all the same...
There is another hack out that does this but it nealry killed me lol
things went tLts up :(

So i am hoping for an easier way

tjad
06 Feb 2006, 15:56
Hopefully all the same...
There is another hack out that does this but it nealry killed me lol
things went tLts up :(

So i am hoping for an easier way

This one is really easy to install. I've blown things up before and managed to get this one installed in 2 min.

trigon
06 Feb 2006, 23:13
nothing happened after i installed the plug-ins....
and upload the file...

can u tell me whats wrong?

installed without probs, thx for this wonderfull hack.

Big_Ern
07 Feb 2006, 19:41
any idea how to change the Banned usergroups to a Include usergroups?



does anyone have an idea if this will work?

we want to use this in our "members" room only

so we need thit "include" user groups that can use the shout box rather then "exclude" them

Muderman24
08 Feb 2006, 04:31
Is there a way to set certain usergroups to be able to edit and/or delete shouts or certain members?

forumsoup.com
08 Feb 2006, 04:38
I put this on my site, love it, and clicked installed. Thanks!

Xplorer4x4
09 Feb 2006, 07:56
http://xs66.xs.to/pics/06056/Shoutbox.jpg
My members seem to have a problem with the shouts over flowing the bix if using IE or AOL.

Any ideas?

vbreal
09 Feb 2006, 13:22
is there a way to require a certain amount of post before peeps can use the shoutbox. i swear this thing has taken over ha ha

itorrents
10 Feb 2006, 00:54
Don't think I could have a forum without this :) so thank you kindly.

bondjetta
10 Feb 2006, 15:43
Hey Zero...i'm running Dynamic Forum Home Announcements and vBShout is showing up ABOVE those. DFHA requires template edits of Forum Home...but vBShout doesn't :\ How can i edit vBShout so that it'll appear UNDER the DFHA? I'm trying to find where in your XML you're telling the plugin where to load...w/o much luck so far. :)

Can you give me a hint? ;)

Luggruff
11 Feb 2006, 07:24
how do I change the "Shout" "clear" "smilies" "B" "U" "I" to images instead of buttons? or do you have a nice and quick css mod for them? (as it looks you have used!) Gets so ugly with windows regular buttons..

EDIT: Fixed lol.. was implemented in the styles.. of course -_- .buttons

cuphongle
11 Feb 2006, 19:48
how would i hide this from the guests?

Tulsa
11 Feb 2006, 21:11
put this access group (1) in the banned section of the admin control panel vbulletin options/vbshout options then list the banned group as cannot view the shoutbox in the drop down.

melodiq
11 Feb 2006, 23:31
is there a way to add the auto refresh back with this latest version???

Luggruff
12 Feb 2006, 13:46
is there a way to add the auto refresh back with this latest version???

It does "auto refresh".. just like an IM.

interceptor
12 Feb 2006, 15:23
work without problems >>install<<

msimplay
12 Feb 2006, 15:35
Is it possible to replace the smilie button with the smilie popup you get when u click on more smilies in the post reply form

Snake
12 Feb 2006, 15:37
How can I remove smilies on the forums homepage along with the button? I think it slows down the server a lot.

Luggruff
12 Feb 2006, 16:16
How can I remove smilies on the forums homepage along with the button? I think it slows down the server a lot.

easy way: put <!-- --> tags around the button in the template: forumhome_vbshout

Snake
12 Feb 2006, 16:39
And where do I place that exactly?

Luggruff
12 Feb 2006, 16:56
And where do I place that exactly?

adminCP -> styles and templates -> style manager -> edit templates -> forumhome templates -> forumhome_vBshout

Find:

<input type='button' class='button' value='Smilies' onclick='sb_Smilies(this)' />

replace with:

<!-- <input type='button' class='button' value='Smilies' onclick='sb_Smilies(this)' /> -->

now the smilies button is invisible

Snake
12 Feb 2006, 17:46
Wow thank you.

cuphongle
13 Feb 2006, 01:36
Warning: array_reverse(): The argument should be an array in /vbshout.php on line 282

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


that's what i get when puttin in usergroup that cant view the shothbox, help?

cuphongle
13 Feb 2006, 01:38
nm, got it

GCA-Shawn
13 Feb 2006, 15:58
I'm working on a Safari fix. Currently, I have it fixed but need to work out some bugs with the fix. I'll update tomorrow with the fix, probably.

/fixxy fixxy fixxy


EDIT:

Okay, I had some extra time on my hands and I have my board up and running with it fine (http://forums.advancedmn.com/index.php)


Here's how to fix it.

In your Admin panel
Styles & Templates -> Style Manager ->Click the drop down menu next to your style -> Select 'Main CSS" and click Go

At the very bottom, you'll see a box for "Additional CSS Definitions." Paste the following code in there:
/* *****Safari Fix****/
.clearfix:after {
content: ".";
display: block;
height: 0;
clear: both;
visibility: hidden;
}

/* Hides from IE-mac \*/
* html .clearfix {height: 1%;}
/* End hide from IE-mac */

/****** End Safari Fix ****/

Now, go to your Style Manager and find the forumhome_vbshout template. Open it up, and find the line...

<div id="vbshout" style="overflow:auto;height:{$vboptions['shout_box_height']}px;width:100%;">

</div>

Just before that segment, place this...

<div class="clearfix">

and just after that segment, put...

</div>

Should work fine for Safari users now.

SnickersTK
13 Feb 2006, 19:20
ok, this just confuses me, I have version 3.5.3 and installed it yesterday.

Installed this one 2 minutes ago and did exactly as guide told me.

It is not showing up on my site, doesn't matter where I look for it, even if I check source, there is no sign of it being there.

HELP ME!

Ragnarok
14 Feb 2006, 00:42
I downloaded it from the attachment, but apparently it's only version 1.6?

I noticed something wasn't working when I tried to add on the "vBShout on all pages!" plugin and everything broke, and looking around it seems version 1.6 is what I've got

Ohiosweetheart
14 Feb 2006, 04:39
I downloaded it from the attachment, but apparently it's only version 1.6?

I noticed something wasn't working when I tried to add on the "vBShout on all pages!" plugin and everything broke, and looking around it seems version 1.6 is what I've got

I took off the "vb shout on all pages". it's very buggy. Broke my shoutbox and had my entire forum all discombobulated. Once I removed it, everything was fine.

Ohiosweetheart
14 Feb 2006, 04:43
Is there a way to hide the sb from guests... anyone except registered users?

gtsch
14 Feb 2006, 07:20
I'm not so great with this stuff, I'm not sure what I'm doing wrong.

I uploaded the file to my forum's directory, and no matter what I do VB can' find it. Am I just an idiot, or am I missing something here?

TeaTree
14 Feb 2006, 09:17
I love this hack-Easy to install,works brilliantly and no problems! Thanks

Ragnarok
14 Feb 2006, 11:57
Is there a way to hide the sb from guests... anyone except registered users?
That one I can answer. In your vBShout options, set your banned usergroups to include all usergroups you do not wish to use the shoutbox, and set your banned permissions to "Can not view the shoutbox"

Thanks for the info about vBShout on all pages!

mrcrx
14 Feb 2006, 13:40
I am having a problem with banning a user from the shoutbox. I put there name in but they are still able to see the shout box and shout in it. For banned users I have it set so they shouldnt see it at all. any help on this issue?

Luggruff
14 Feb 2006, 14:24
I am having a problem with banning a user from the shoutbox. I put there name in but they are still able to see the shout box and shout in it. For banned users I have it set so they shouldnt see it at all. any help on this issue?

It's because you write his/her userNAME. It says write the user's userID
To get a users id: search his/hers name in the adminCP and you'll see the ID at the top, to the right of the users name.
Like this:
User: Luggruff (id: 1)

mrcrx
14 Feb 2006, 16:10
Thank you very much.

mrcrx
14 Feb 2006, 16:41
Is there a way to prevent old shouts from being stored. Or removing them without people loosing there shoutbox count. I have 80,000 shouts in a very short period of time.

Snake
14 Feb 2006, 17:35
Well you can just use the prune command?

vbreal
15 Feb 2006, 16:13
is there a way to make people post a certain amount of post before they can use the shoutbox every 24 hours

Titania
15 Feb 2006, 16:59
Awesome ZT :D Ten thumbs up...works great :D

mrcrx
15 Feb 2006, 18:07
Well you can just use the prune command?

the last time I did that it got rid of everyones shout count. people really got upset.

S@NL - BlackBik
15 Feb 2006, 19:29
At the moment you can't prune without losing the shout counts.....
The counts are made in the shout databasetable. If you empty that, the shouts are gone and the result will be 0 shouts for everybody.

Big_Ern
15 Feb 2006, 20:09
How do I change he name of the button to read something differnent the shout

tipoboy
15 Feb 2006, 21:00
ZT,

:) The shoutbox is great, but I want to make it a seperate page rather than using forums for it :) (Hope you dont mind me posting here)

so, I just take the action part and put it into vbshout.php?do=chat

Standalone chat: (just add before

// ---------------------------------------------------
// Start Page Output
// ---------------------------------------------------



// ---------------------------------------------------
// AJAX Standalone Chat
// ---------------------------------------------------

if ($_GET['do'] == 'chat')
{
$navbits = array("vbshout.php?" . $vbulletin->session->vars['sessionurl'] . "do=chat" => 'Chat');
$navbits[""] = 'Shoutbox - Chat Area';

$Used = 0;
$UsedArr = array();
$smilies = $db->query_read("
SELECT smilieid, smilietext, smiliepath, smilie.title,
imagecategory.title AS category
FROM " . TABLE_PREFIX . "smilie AS smilie
LEFT JOIN " . TABLE_PREFIX . "imagecategory AS imagecategory USING(imagecategoryid)
ORDER BY imagecategory.displayorder, smilie.displayorder
");
$Smilie_Build = '';
$Total_Smilies = $db->num_rows($smilies);

if ($Total_Smilies > 0)
{
while ($emo = $db->fetch_array($smilies))
{
if ($vbulletin->options['shout_smilies_show'] > 0)
{
$Smilie_Cache[] = $emo;
}
else
{
$Smilie_Build .= '<a href="#" onclick="return sb_Smilie(\''.$emo['smilietext'].'\')">https://www.vbulletin.org/forum/ ';
}
}

if ($vbulletin->options['shout_smilies_show'] > $Total_Smilies)
{
$vbulletin->options['shout_smilies_show'] = $Total_Smilies;
}

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'].'\')">https://www.vbulletin.org/forum/ ';
}
}
}
}
else
{
$Smilie_Build = 'No Emoticons Available';
}

$Options_DropDown = array(); // Items included will be parsed to create drop down menus
$DropDowns = array(); // Completed constructed drop down menus

$Options_DropDown['font_selector'] = array('Default', 'Arial', 'Arial Black', 'Arial Narrow', 'Book Antiqua', 'Century Gothic', 'Comic Sans MS', 'Courier New', 'Fixedsys', 'Franklin Gothic Medium', 'Garamond', 'Georgia', 'Impact', 'Lucida Console', 'Lucida Sans Unicode', 'Microsoft Sans Serif', 'Palatino Linotype', 'System', 'Tahoma', 'Times New Roman', 'Trebuchet MS', 'Verdana');
$Options_DropDown['color_selector'] = array();
$Options_DropDown['color_selector'][] = 'Default';

$hex = array();
$hex[] = '0';
$hex[] = '3';
$hex[] = '6';
$hex[] = '9';
$hex[] = 'C';
$hex[] = 'F';

for ($a = 0; $a < 6; $a++)
{
for ($b = 0; $b < 6; $b++)
{
for ($c = 0; $c < 6; $c++)
{
$Options_DropDown['color_selector'][] = '#' . $hex[$a].$hex[$a].$hex[$b].$hex[$b].$hex[$c].$hex[$c];
}
}
}

if (is_array($Options_DropDown))
{
foreach ($Options_DropDown as $Menu => $Options)
{
$DropDowns[$Menu] = '';
if (is_array($Options))
{
foreach ($Options as $Selection)
{
if (preg_match("#^\#([a-z0-9]+)$#i", $Selection))
{
$Extra = ' style="color:'.$Selection.';"';
}
else
{
$Extra = '';
}

if ($Selection == 'Default')
{
$Text = (($Menu == 'color_selector') ? 'Color' : 'Font Face') . ' [Default]';
}
else
{
$Text = $Selection;
}

$DropDowns[$Menu] .= '<option value="'.$Selection.'"'.$Extra.'>'.$Text.'' . "\n";
}
}
}
}

if ($vbulletin->options['shout_banned_perms'] == 2 && isBanned($vbulletin->userinfo))
{
print_no_permission();
}
else
{
eval('$Shoutbox = "' . fetch_template('forumhome_vbshout') . '";');
}

$pagenav = construct_page_nav($page, $perpage, $TS_D, 'vbshout.php?' . $vbulletin->session->vars['sessionurl'] . 'do=chat', ''
. (!empty($vbulletin->GPC['perpage']) ? "&pp=$perpage" : "")
);
$HTML = $Shoutbox;
}
// ---------------------------------------------------
// AJAX Standalone Chat
// ---------------------------------------------------



You may also want to add

'chat' => array('GENERIC_SHELL',
'forumhome_vbshout',
),

to the action templates if you use it

i would like to have the shoutbox in a page of it's own. i have added the code above to my vbshout.php template the thing is, i can get the shoutbox in its own window (http://scottishwheelnut.co.uk/forum/vbshout.php?do=chat? which is great but its still on my forum home(http://http://scottishwheelnut.co.uk). is there a way i can remove or hide it from the forum home without disrupting it from the window.

any help here would be gratefully appreciated

S@NL - BlackBik
15 Feb 2006, 21:44
How do I change he name of the button to read something differnent the shout

Just change the phrase "vbshout_shout" to a term that's at your liking :)

Crusher77
15 Feb 2006, 21:47
This is some awesome hack :D Gr8 work m8!

S@NL - BlackBik
15 Feb 2006, 21:50
is there a way i can remove or hide it from the forum home without disrupting it from the window.

any help here would be gratefully appreciated
I think there is. It's a bit blunt, but it might work.

Maybe just disableing the plugin "vBShout [Template Alteration]" will do the trick.
If not, try this:

Open the plugin "vBShout [Template Alteration]". At the bottom, you'll find the conditions that place the shoutbox at your forumhome. Just change the condition there.

Example: if you have the shoutbox under your navbar change:
$Position = '$navbar';
to
$Position = 'yadayada';

That way the script cannot find the text after which it has to place the shoutbox and the shoutbox will not be visible.
I didn't test it, but i'm pretty sure that will work ;)

tipoboy
15 Feb 2006, 23:55
I think there is. It's a bit blunt, but it might work.

Maybe just disableing the plugin "vBShout [Template Alteration]" will do the trick.
If not, try this:

Open the plugin "vBShout [Template Alteration]". At the bottom, you'll find the conditions that place the shoutbox at your forumhome. Just change the condition there.

Example: if you have the shoutbox under your navbar change:
$Position = '$navbar';
to
$Position = 'yadayada';

That way the script cannot find the text after which it has to place the shoutbox and the shoutbox will not be visible.
I didn't test it, but i'm pretty sure that will work ;)

cheers mate exactly what i was looking for

thanks again

username12
16 Feb 2006, 01:49
Ok... here ya go...



Hope this helps

Thanks BlackRabbit. Took me 50 pages to find what I was looking for. Hopefully this will turn this thing into less of a chatroom for me.

Edit: doesn't seem to work for me, though. I'm gonna try the refresh button instead.

leeman
16 Feb 2006, 08:53
Sorry to be repeating my self Zero....
But do you have any plans on trying to make it possible to use the shoutbox as a popup ... So you can have it beside your browser and still be able to chat and post.

tipoboy
16 Feb 2006, 10:43
[quote=leeman] sorryb to be repeting myself zero.....

i did this only last night with my forum, go to the php template for vbshout and find the following:

// ---------------------------------------------------
// Start Page Output
// ---------------------------------------------------


after that add this:

PHP Code:
// ---------------------------------------------------
// AJAX Standalone Chat
// ---------------------------------------------------

if ($_GET['do'] == 'chat')
{
$navbits = array("vbshout.php?" . $vbulletin->session->vars['sessionurl'] . "do=chat" => 'Chat');
$navbits[""] = 'Shoutbox - Chat Area';

$Used = 0;
$UsedArr = array();
$smilies = $db->query_read("
SELECT smilieid, smilietext, smiliepath, smilie.title,
imagecategory.title AS category
FROM " . TABLE_PREFIX . "smilie AS smilie
LEFT JOIN " . TABLE_PREFIX . "imagecategory AS imagecategory USING(imagecategoryid)
ORDER BY imagecategory.displayorder, smilie.displayorder
");
$Smilie_Build = '';
$Total_Smilies = $db->num_rows($smilies);

if ($Total_Smilies > 0)
{
while ($emo = $db->fetch_array($smilies))
{
if ($vbulletin->options['shout_smilies_show'] > 0)
{
$Smilie_Cache[] = $emo;
}
else
{
$Smilie_Build .= '<a href="#" onclick="return sb_Smilie(\''.$emo['smilietext'].'\')">https://www.vbulletin.org/forum/ ';
}
}

if ($vbulletin->options['shout_smilies_show'] > $Total_Smilies)
{
$vbulletin->options['shout_smilies_show'] = $Total_Smilies;
}

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'].'\')">https://www.vbulletin.org/forum/ ';
}
}
}
}
else
{
$Smilie_Build = 'No Emoticons Available';
}

$Options_DropDown = array(); // Items included will be parsed to create drop down menus
$DropDowns = array(); // Completed constructed drop down menus

$Options_DropDown['font_selector'] = array('Default', 'Arial', 'Arial Black', 'Arial Narrow', 'Book Antiqua', 'Century Gothic', 'Comic Sans MS', 'Courier New', 'Fixedsys', 'Franklin Gothic Medium', 'Garamond', 'Georgia', 'Impact', 'Lucida Console', 'Lucida Sans Unicode', 'Microsoft Sans Serif', 'Palatino Linotype', 'System', 'Tahoma', 'Times New Roman', 'Trebuchet MS', 'Verdana');
$Options_DropDown['color_selector'] = array();
$Options_DropDown['color_selector'][] = 'Default';

$hex = array();
$hex[] = '0';
$hex[] = '3';
$hex[] = '6';
$hex[] = '9';
$hex[] = 'C';
$hex[] = 'F';

for ($a = 0; $a < 6; $a++)
{
for ($b = 0; $b < 6; $b++)
{
for ($c = 0; $c < 6; $c++)
{
$Options_DropDown['color_selector'][] = '#' . $hex[$a].$hex[$a].$hex[$b].$hex[$b].$hex[$c].$hex[$c];
}
}
}

if (is_array($Options_DropDown))
{
foreach ($Options_DropDown as $Menu => $Options)
{
$DropDowns[$Menu] = '';
if (is_array($Options))
{
foreach ($Options as $Selection)
{
if (preg_match("#^\#([a-z0-9]+)$#i", $Selection))
{
$Extra = ' style="color:'.$Selection.';"';
}
else
{
$Extra = '';
}

if ($Selection == 'Default')
{
$Text = (($Menu == 'color_selector') ? 'Color' : 'Font Face') . ' [Default]';
}
else
{
$Text = $Selection;
}

$DropDowns[$Menu] .= '<option value="'.$Selection.'"'.$Extra.'>'.$Text.'' . "\n";
}
}
}
}

if ($vbulletin->options['shout_banned_perms'] == 2 && isBanned($vbulletin->userinfo))
{
print_no_permission();
}
else
{
eval('$Shoutbox = "' . fetch_template('forumhome_vbshout') . '";');
}

$pagenav = construct_page_nav($page, $perpage, $TS_D, 'vbshout.php?' . $vbulletin->session->vars['sessionurl'] . 'do=chat', ''
. (!empty($vbulletin->GPC['perpage']) ? "&pp=$perpage" : "")
);
$HTML = $Shoutbox;
}
// ---------------------------------------------------
// AJAX Standalone Chat
// ---------------------------------------------------

then disable your plugin using your admincp=>plugin system=>manage products

then add this link to your nav bar "http://yoursitename.com/forum/vbshout.php?do=chat" target="new"

this will make the shoutbox pop up on a seperate page

hope this works and thanks again to mtha + S@NL - BlackBik for helping me do this

sorry if this post is a bit vague i'm quite new here myself and havent really helped a lot of people

leeman
16 Feb 2006, 13:33
I only have forumhome_vbshout and I can't find // Start Page Output in that one ...

Megareus Rex
16 Feb 2006, 20:10
Two questions:

1: Is there a way to reduce the size of the shout display text? The current text (at normal size) is bigger than I'd like.

2: An amateur html question, but...how can ?I left justify the title part of the shoutbox? Every other category-type header on the main page is left justed, so I'd like the shoutbox to be as well.

Thanks in advance for any help.

vbreal
16 Feb 2006, 21:06
is there a way to make people post a certain amount of post before they can use the shoutbox every 24 hours

anyone know if there is anything available like this

S@NL - BlackBik
16 Feb 2006, 21:28
1: Is there a way to reduce the size of the shout display text? The current text (at normal size) is bigger than I'd like.
Yes, replace the "forumhome_vbshout_shout" template with this code:

<tr>
<td width="1%" style="white-space:nowrap" align="left" valign="top" class="smallfont">
[{$Shout['time']}]
<if condition="!$Shout[s_me]">
<if condition="$Shout[s_by]">
<a href='member.php?{$session['sessionurl_q']}u={$Shout['s_by']}'>
</if>{$Shout['username']}<if condition="$Shout[s_by]"></a></if>:
</if>
</td>
<td width="100%" align="left" class="smallfont">
<if condition="!$Shout[s_me]">
{$Shout['s_shout']}
<else />
<span class='highlight'>
*{$Shout['username']} {$Shout['s_shout']}*
</span>
</if>
</td>
</tr>
(I added class="smallfont" to the td tags)

2: An amateur html question, but...how can ?I left justify the title part of the shoutbox? Every other category-type header on the main page is left justed, so I'd like the shoutbox to be as well.
Yep, that's also possible:
Open the template "forumhome_vbshout" and find this code:
<td class="tcat" align="center">
<a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('forumhome_vbshout')"><img id="collapseimg_forumhome_vbshout" src="$stylevar[imgdir_button]/collapse_tcat$vbcollapse[collapseimg_vbshout].gif" alt="" border="0" /></a>

and replace it by:
<td class="tcat" align="left">
<a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('forumhome_vbshout')"><img id="collapseimg_forumhome_vbshout" src="$stylevar[imgdir_button]/collapse_tcat$vbcollapse[collapseimg_vbshout].gif" alt="" border="0" /></a>


Thanks in advance for any help.
You're welcome :)

S@NL - BlackBik
16 Feb 2006, 21:29
anyone know if there is anything available like this

Nope, i haven't seen that arround yet.

S@NL - BlackBik
16 Feb 2006, 21:31
I only have forumhome_vbshout and I can't find // Start Page Output in that one ...

It's not in the template, but it's in the vbshout.php file on your server ;)

Luggruff
16 Feb 2006, 21:41
Edit: Allready answered (:

Muderman24
16 Feb 2006, 22:03
Is there a way to set certain usergroups to be able to edit and/or delete shouts or certain members?

Luggruff
16 Feb 2006, 22:26
[quote=leeman] sorryb to be repeting myself zero.....

i did this only last night with my forum, go to the php template for vbshout and find the following:

// ---------------------------------------------------
// Start Page Output
// ---------------------------------------------------


after that add this:

PHP Code:
// ---------------------------------------------------
// AJAX Standalone Chat
// ---------------------------------------------------

if ($_GET['do'] == 'chat')
{
$navbits = array("vbshout.php?" . $vbulletin->session->vars['sessionurl'] . "do=chat" => 'Chat');
$navbits[""] = 'Shoutbox - Chat Area';

$Used = 0;
$UsedArr = array();
$smilies = $db->query_read("
SELECT smilieid, smilietext, smiliepath, smilie.title,
imagecategory.title AS category
FROM " . TABLE_PREFIX . "smilie AS smilie
LEFT JOIN " . TABLE_PREFIX . "imagecategory AS imagecategory USING(imagecategoryid)
ORDER BY imagecategory.displayorder, smilie.displayorder
");
$Smilie_Build = '';
$Total_Smilies = $db->num_rows($smilies);

if ($Total_Smilies > 0)
{
while ($emo = $db->fetch_array($smilies))
{
if ($vbulletin->options['shout_smilies_show'] > 0)
{
$Smilie_Cache[] = $emo;
}
else
{
$Smilie_Build .= '<a href="#" onclick="return sb_Smilie(\''.$emo['smilietext'].'\')">%27.$emo%5B%27smiliepath%27%5D.%27 ';
}
}

if ($vbulletin->options['shout_smilies_show'] > $Total_Smilies)
{
$vbulletin->options['shout_smilies_show'] = $Total_Smilies;
}

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'].'\')">%27.$GetEmo%5B%27smiliepath%27%5D.%27 ';
}
}
}
}
else
{
$Smilie_Build = 'No Emoticons Available';
}

$Options_DropDown = array(); // Items included will be parsed to create drop down menus
$DropDowns = array(); // Completed constructed drop down menus

$Options_DropDown['font_selector'] = array('Default', 'Arial', 'Arial Black', 'Arial Narrow', 'Book Antiqua', 'Century Gothic', 'Comic Sans MS', 'Courier New', 'Fixedsys', 'Franklin Gothic Medium', 'Garamond', 'Georgia', 'Impact', 'Lucida Console', 'Lucida Sans Unicode', 'Microsoft Sans Serif', 'Palatino Linotype', 'System', 'Tahoma', 'Times New Roman', 'Trebuchet MS', 'Verdana');
$Options_DropDown['color_selector'] = array();
$Options_DropDown['color_selector'][] = 'Default';

$hex = array();
$hex[] = '0';
$hex[] = '3';
$hex[] = '6';
$hex[] = '9';
$hex[] = 'C';
$hex[] = 'F';

for ($a = 0; $a < 6; $a++)
{
for ($b = 0; $b < 6; $b++)
{
for ($c = 0; $c < 6; $c++)
{
$Options_DropDown['color_selector'][] = '#' . $hex[$a].$hex[$a].$hex[$b].$hex[$b].$hex[$c].$hex[$c];
}
}
}

if (is_array($Options_DropDown))
{
foreach ($Options_DropDown as $Menu => $Options)
{
$DropDowns[$Menu] = '';
if (is_array($Options))
{
foreach ($Options as $Selection)
{
if (preg_match("#^\#([a-z0-9]+)$#i", $Selection))
{
$Extra = ' style="color:'.$Selection.';"';
}
else
{
$Extra = '';
}

if ($Selection == 'Default')
{
$Text = (($Menu == 'color_selector') ? 'Color' : 'Font Face') . ' [Default]';
}
else
{
$Text = $Selection;
}

$DropDowns[$Menu] .= '<option value="'.$Selection.'"'.$Extra.'>'.$Text.'' . "\n";
}
}
}
}

if ($vbulletin->options['shout_banned_perms'] == 2 && isBanned($vbulletin->userinfo))
{
print_no_permission();
}
else
{
eval('$Shoutbox = "' . fetch_template('forumhome_vbshout') . '";');
}

$pagenav = construct_page_nav($page, $perpage, $TS_D, 'vbshout.php?' . $vbulletin->session->vars['sessionurl'] . 'do=chat', ''
. (!empty($vbulletin->GPC['perpage']) ? "&pp=$perpage" : "")
);
$HTML = $Shoutbox;
}
// ---------------------------------------------------
// AJAX Standalone Chat
// ---------------------------------------------------

then disable your plugin using your admincp=>plugin system=>manage products

then add this link to your nav bar "http://yoursitename.com/forum/vbshout.php?do=chat" target="new"

this will make the shoutbox pop up on a seperate page

hope this works and thanks again to mtha + S@NL - BlackBik for helping me do this

sorry if this post is a bit vague i'm quite new here myself and havent really helped a lot of people

Neat !
But how would I get only the shoutbox, and not the entire enviroment?
Don't want all that in a popup :p

Megareus Rex
17 Feb 2006, 00:16
Yes, replace the "forumhome_vbshout_shout" template with this code:

<tr>
<td width="1%" style="white-space:nowrap" align="left" valign="top" class="smallfont">
[{$Shout['time']}]
<if condition="!$Shout[s_me]">
<if condition="$Shout[s_by]">
<a href='member.php?{$session['sessionurl_q']}u={$Shout['s_by']}'>
</if>{$Shout['username']}<if condition="$Shout[s_by]"></a></if>:
</if>
</td>
<td width="100%" align="left" class="smallfont">
<if condition="!$Shout[s_me]">
{$Shout['s_shout']}
<else />
<span class='highlight'>
*{$Shout['username']} {$Shout['s_shout']}*
</span>
</if>
</td>
</tr>
(I added class="smallfont" to the td tags)


Yep, that's also possible:
Open the template "forumhome_vbshout" and find this code:
<td class="tcat" align="center">
<a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('forumhome_vbshout')"><img id="collapseimg_forumhome_vbshout" src="$stylevar[imgdir_button]/collapse_tcat$vbcollapse[collapseimg_vbshout].gif" alt="" border="0" /></a>

and replace it by:
<td class="tcat" align="left">
<a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('forumhome_vbshout')"><img id="collapseimg_forumhome_vbshout" src="$stylevar[imgdir_button]/collapse_tcat$vbcollapse[collapseimg_vbshout].gif" alt="" border="0" /></a>



You're welcome :)

Thanks! I really appreciate the help :)

tipoboy
17 Feb 2006, 01:01
[QUOTE=tipoboy]

Neat !
But how would I get only the shoutbox, and not the entire enviroment?
Don't want all that in a popup :p

not too sure to be honest, as i said before i mearly used mtha's hack and S@NL - BlackBik helped me with a problem i had if you find out let me know as i might be interested too

leeman
17 Feb 2006, 04:32
It's not in the template, but it's in the vbshout.php file on your server ;)


Ooops .... :o

Ohiosweetheart
17 Feb 2006, 04:37
That one I can answer. In your vBShout options, set your banned usergroups to include all usergroups you do not wish to use the shoutbox, and set your banned permissions to "Can not view the shoutbox"

Thanks for the info about vBShout on all pages!

thank you sweetie!

Luggruff
17 Feb 2006, 09:30
[QUOTE=Luggruff]

not too sure to be honest, as i said before i mearly used mtha's hack and S@NL - BlackBik helped me with a problem i had if you find out let me know as i might be interested too

well, the thing is, it's no different from JUST diabling the plugin, and JUST add a link with a content like this:

<a href="#" onclick="window.open('http://www.yourdomain.com/vbshout.php?do=chat','buddylist','statusbar=no,menubar=no,toolbar=no,scrollbars= yes,resizable=yes,width=600,height=500'); return false;">Shoutbox</a>

does the same
(well maybe not the link aim but it's fairly the same.)

Za4a Tuner
17 Feb 2006, 22:07
Hello @ all,
i've found a "bug" @ the Shoutbox.

If an Admin does Edit a Shout -> everything is OK!

If an User wants to edit his shout (.../vbshout.php?do=archive),
he can do the changes ->
but the changes are not shown in the Showbox.
If the User returns to the Archiv,
it seems like no changes have been done!

Does anyone have an idea how to fix this?

vbreal
18 Feb 2006, 03:55
Nope, i haven't seen that arround yet.


whew,

thanks

---MAD---
18 Feb 2006, 13:28
does this work with vbulletin 3.5.3?

S@NL - BlackBik
18 Feb 2006, 13:51
Yes.

Stone Cold 3:16
18 Feb 2006, 13:53
Yeah

vB Version: 3.5.0 RC2

For me, i just use any hack for vb 3.5.0

---MAD---
18 Feb 2006, 16:14
Yeah

vB Version: 3.5.0 RC2

For me, i just use any hack for vb 3.5.0

ok cool ill install it now :)

GoTTi
18 Feb 2006, 16:41
can we get a update here?

---MAD---
18 Feb 2006, 16:59
can we get a update here?

installed - working perfectly!

---MAD---
18 Feb 2006, 17:31
installed - working perfectly!

can we have a list of all the admin controls guys?

GoTTi
18 Feb 2006, 18:32
when i ban a usergroup from viewing the shoutboc, they are getting this error:

Fatal error: Call to undefined function: isbanned() in /home/SITE/public_html/forum/global.php(349) : eval()'d code on line 112

lucky64
18 Feb 2006, 20:32
Awesome hack, just installed, worked perfectly, including the 'who's shouting' hack addon.

Any chance of being able to control what vbcode can be used?

I don't want html, or img for example, but do want smilies..

How about a way to adjust the shoutbox size, from the users end?

username12
18 Feb 2006, 22:05
Any way to make it so mods can't edit people's shouts? I actually don't even know how they're doing it, but I'd like to restrict it to admins only (or nobody).

lucky64
18 Feb 2006, 22:14
If you want to have shoutbox on all forumdisplay pages:

1) Change the hook location for 'vBShout [Template Alteration]' to: forumdisplay_complete

2) Edit the plugin code for 'vBShout [Template Alteration]'

Find: '$vbulletin->templatecache['FORUMHOME'] = str_replace($Position, $Position . ' $Shoutbox', $vbulletin->templatecache['FORUMHOME']);'

Replace it with:

$vbulletin->templatecache['FORUMDISPLAY'] = str_replace('$navbar', '$navbar' . ' $Shoutbox', $vbulletin->templatecache['FORUMDISPLAY']);

This is a quick and dirty hack. The shoutbox will only show up under navbar!

3) If you want the shoutbox to show up only in certain forums:

a. add
if ($forumid ==13)
{

In the beginning of the above plugin. 13 is the forum ID you want the shoutbox to show.

b. add
}

in the end of the code.

Any way to get it so it displays at the bottom as opposed ot the top? I wanted to get the shoutbox on the forum home, and in one of my subforums at the bottom.

Weapon-x
18 Feb 2006, 23:41
I installed it. Awesome mod. How do I remove the Color and Font Face scroll boxes?

Weapon-x
19 Feb 2006, 02:03
How do I make the shoutbox appear at the bottom?

Luggruff
19 Feb 2006, 08:45
I installed it. Awesome mod. How do I remove the Color and Font Face scroll boxes?

yoursite.com/admcp -> styles and templates -> template manager -> edit templates (at the top in the drop down) -> forumhome templates -> forumhome_vbShout

find:
<select name='font_color' onchange='sb_PropChange(this, "color")'>
{$DropDowns['color_selector']}
</select>
<select name='font_selector' onchange='sb_PropChange(this, "fontFamily")'>
{$DropDowns['font_selector']}
</select>

and add this before:

<if condition="in_array($bbuserinfo['usergroupid'], array(numbers of usergroupID's seperated by comma))">

..if you want to restrict the options to a sertain number of usergropus or

<if condition="in_array($bbuserinfo['userid'], array(numbers of userID's seperated by comma))">

..if you want to restrict the options to a sertain number of users

Don't forget to add </if> after the color and font code !

How do I make the shoutbox appear at the bottom?

yoursite.com/admcp -> vBulletin Settings -> vBshout Options -> vBShout Position

Weapon-x
19 Feb 2006, 15:10
yoursite.com/admcp -> styles and templates -> template manager -> edit templates (at the top in the drop down) -> forumhome templates -> forumhome_vbShout

find:
<select name='font_color' onchange='sb_PropChange(this, "color")'>
{$DropDowns['color_selector']}
</select>
<select name='font_selector' onchange='sb_PropChange(this, "fontFamily")'>
{$DropDowns['font_selector']}
</select>

and add this before:

<if condition="in_array($bbuserinfo['usergroupid'], array(numbers of usergroupID's seperated by comma))">

..if you want to restrict the options to a sertain number of usergropus or

<if condition="in_array($bbuserinfo['userid'], array(numbers of userID's seperated by comma))">

..if you want to restrict the options to a sertain number of users

Don't forget to add </if> after the color and font code !



yoursite.com/admcp -> vBulletin Settings -> vBshout Options -> vBShout Position


Thank You

Hangout
19 Feb 2006, 17:28
I'v just installed this but where abouts do i go to change the options like in the screenshots? cos when i installed it all it said was Loading...... and thats it nothing else

TeaTree
19 Feb 2006, 19:06
Does anyone know any vbshout codes such as /me ?

Thanks:D

furst
20 Feb 2006, 02:52
Is it possible to display the same shoutbox on two different sites?

username12
20 Feb 2006, 03:37
I was concerned about this originally, but my forum activity has actually increased since I installed it. Despite a few thousand shouts a day, people are discussing the features and going to check them out. Some people are slowing down in posting, but it seems to be helping overall so far. Server loads haven't been impacted at all.

eNforce
20 Feb 2006, 09:30
I'm trying to set this up with eBux/eStore so members can buy a secondary usergroup to view the shoutbox.

I enter every single usergroup into the banned area except for a custom usergroup setup to be able to view the shoutbox, well even if a user is in this custom group their primary usergroup overides the custom so the the shoutbox is still not viewable.

Is there a way around this?

SHD Born2Fight
20 Feb 2006, 12:24
Thank you for this great hack!

But one problem: Opera 9 Beta Users cant scroll in the Shoutbox :surprised:

VBUsers
20 Feb 2006, 18:11
disregard. great hack! thanks for the help

Holidazed
21 Feb 2006, 13:49
When not logged in on my site, I get the following error on my shoutbox:
-------------------------------------
Warning: Invalid argument supplied for foreach() in /vbshout.php on line 288
-------------------------------------
See for yourself at http://www.hidingplace.com/vbb350/

Ideas?

Luggruff
21 Feb 2006, 17:33
post withdrawn !

bashy
21 Feb 2006, 17:39
Hi

Type /prune in the actual shoutbox no reason to go into the admincp

S@NL - BlackBik
21 Feb 2006, 18:41
When not logged in on my site, I get the following error on my shoutbox:
-------------------------------------
Warning: Invalid argument supplied for foreach() in /vbshout.php on line 288
-------------------------------------
See for yourself at http://www.hidingplace.com/vbb350/

Ideas?

Look at this post (http://www.vbulletin.org/forum/showpost.php?p=884291&postcount=1210) to solve that problem. It works ;)

Holidazed
21 Feb 2006, 19:34
Look at this post (http://www.vbulletin.org/forum/showpost.php?p=884291&postcount=1210) to solve that problem. It works ;)

Thank you. That resolved it.

DeathMONGER
21 Feb 2006, 21:48
two ideas for it:

an in-thread abilty to 'advertise post'. it would be a little button in a thread taht, when clicked, auto enters a message into the shoutbox saying like "/me suggests checking out thread <Thread Title>{/url], by [url="author's profile"]<Author> (thread location)


there also needs to be a way to disable the million IRC chat things such as <blink> and /me and everything else from the public. its so obnoxious. tymuch

Rickie3
21 Feb 2006, 21:53
i have a question i have the shoutbox on the main forum index page,what i was wondering i have hidden private forums and a few of my members have requested a private shout box under that private forum is this possiable to do?so i what i'm asking can i have a public shoutbox for all members as well as a private shoutbox for hidden forums

CoreIssue
22 Feb 2006, 21:27
This may have been asked a bunch, but there are just too many posts to dig through.

We have a lot of smilies. Is there any way to have a more smilies function rather than rotating through them randomly?

Thanks!

Weapon-x
22 Feb 2006, 22:25
How do you make the vbshout box on a totally different page?

CommunityZ
22 Feb 2006, 23:46
Is it possible to set the shoutbox didn't appear to guest/visitor and how?

cOuNtErFiET
23 Feb 2006, 00:29
yea in the options put in the usergroups that you want banned from it? i did that on my site and i think that worked they can't see it

lucky64
23 Feb 2006, 02:03
Shortly after installing this, I noticed the birthdays from the forum home dissapeared...

I tried disabling the plugin, but it's still not coming back.

My users told me that they were still there after the shoutbox was installed, but dissapeared a day or so after..

Drewish
23 Feb 2006, 02:56
Some kids were playing with the shoutbox on my forum. One of them gave one of those message boxes that never go away no matter how many times you press "ok." Another one redirected the whole site to lemonparty.org via. javascript. A final person was able to modify the entire main page to the contents of lemonparty.org. This is very insulting, and although I've pruned those users, and banned them from the forum/shoutbox, It would be nice to prevent something like that from happening again....

DWard
23 Feb 2006, 12:14
I am not sure if it is just me, but unless I disable the shoutbox, I get the error below appear at the top of users profile pages etc...

Warning: array_merge() [function.array-merge (http://www.surgeguild.com/forums/function.array-merge)]: Argument #1 is not an array in /includes/functions.php(1067) : eval()'d code on line 5

DWard
23 Feb 2006, 12:25
I am not sure if it is just me, but unless I disable the shoutbox, I get the error below appear at the top of users profile pages etc...

Warning: array_merge() [function.array-merge (http://www.surgeguild.com/forums/function.array-merge)]: Argument #1 is not an array in /includes/functions.php(1067) : eval()'d code on line 5

Appears to be related to the 'vbshout on all pages' mod.

GCA-Shawn
23 Feb 2006, 15:34
Some kids were playing with the shoutbox on my forum. One of them gave one of those message boxes that never go away no matter how many times you press "ok." Another one redirected the whole site to lemonparty.org via. javascript. A final person was able to modify the entire main page to the contents of lemonparty.org. This is very insulting, and although I've pruned those users, and banned them from the forum/shoutbox, It would be nice to prevent something like that from happening again....


You need to find your vbshout.php file that you uploaded during installation. Once you do, find this line:

if ($_POST['do'] == 'shout')
{
$vbulletin->input->clean_array_gpc('p', array(

The next line should be changed to:

'shout' => TYPE_NOHTML,

Currently, 'shout' is set to something other than TYPE_NOHTML. I don't remember what, exactly, cuz its been awhile since I changed it :ermm:

futuregizmo
24 Feb 2006, 07:49
can't view the smilies in the posts. i can see the smilie box, and if i click the smilie, the text format appears in the text box but after clicking, "Shout" the text itself is posted and not the actual smiley. anyone knows how to solve this?

Taylor123
24 Feb 2006, 07:59
i like it

mrcrx
24 Feb 2006, 17:20
my shout box has been freezing alot. are there any updates for this?

bashy
24 Feb 2006, 17:26
my shout box has been freezing alot. are there any updates for this?

I thought it was just me...mine also freezes, with IE and FF
Although not as bad with FF

Justin761985
24 Feb 2006, 20:41
Hello,

Is there anyway I can enable censorship for the vBShout mod?

Thanks,
Justin.

majorj0nny
24 Feb 2006, 22:16
Sorry to "bother" you with my "small insignificant host".

I was sharing this information for those who are concern about this script performance. And also to heard from those who already use it to see if they have problems.

It's great if it's work for you.

well - thanks for the info RaZor ... while Ive had VBshout working on our site for some time, and our host has never complained - we have had problems of our bandwidth usage shooting through the roof !

Ive tried things like pruning the shoutbox offen (ie - not letting it get over a certain number), limiting viewing to a few usergroups, disableing it in my forum views and only showing it on my homepage, turning off any fancy smilies, fonts, etc... and even trying to reduce the size of the vbshout.php file... Ive taken to looking for a 'simpler' shoutbox thats not so server killing.

Im not saying I dont love this shoutbox - Its perfect for my needs!

Im not trying to figure out just what is causing the heavy bandwidth usage - if it JUST the sites constant re-loading /clients reloading of vbshout.php ? or does disabling smilies really make a difference ?

futuregizmo
26 Feb 2006, 22:02
I'm getting this DB error. How to solve this?

Database error in vBulletin :

mysql_connect(): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)
/home/httpd/vhosts/xxxxx.com/httpdocs/forum/includes/class_core.php on line 279

MySQL Error :
Error Number :
Date : Sunday, February 26th 2006 @ 10:52:44 PM
Script : http://www.xxxxx.com/forum/vbshout.php

ragintajin
27 Feb 2006, 00:57
A couple requests:

1) Allow the admin to choose the order of the shouts in Archive View (ascending or descending). It'd be much easier to read from a visitor's perspective.

2) Have the user's own shouts be highlighted in a different color, like a soft yellow, to allow easy scanning of the conversation since their last shout.

ThePimp
27 Feb 2006, 21:46
Has anyone found a fix for this?

It's really annoying. Images / smilies work in Firefox, but in IE, they show for a second, then disappear. This didn't used to happen in the old version of the vbShout, and as much as I want to uninstall this and put the old one back up, the old version didn't have an archive.

GRRR! :mad:

Anyone??? This happens on both of my forums, on 2 seperate servers.

AWS
28 Feb 2006, 04:10
Anyone??? This happens on both of my forums, on 2 seperate servers.

This has to be a browser issue. Smilies and images work fine with IE on my forum.

ThePimp
28 Feb 2006, 07:19
This has to be a browser issue. Smilies and images work fine with IE on my forum.

The old version of this script worked fine for me also. But vbShout 2.0 doesn't for some reason. Works in Firefox, but not IE.

Nitewalker
28 Feb 2006, 10:36
Can someone help me to delete Shout Archive.

i want to prune all the shouts till date

pleasee help me out

thanx

bashy
28 Feb 2006, 18:29
type /prune
All will be deleted!!!!!

bashy
28 Feb 2006, 18:32
Hi peeps

Does anyone have any ideas what i need to edit to be able to paste multiple lines into
the text box...atm if ya copy and paste multiple lines into it, it only pastes the 1st line
Any help would be appreciated :)

bashy
28 Feb 2006, 19:10
Hi peeps

How do i stop Moderators from deleteing shouts please.
I only want admin and Supermods to be able to do that?

futuregizmo
01 Mar 2006, 14:43
Help with my 2 problems?

can't view smilies in the posts. i can see the smilie box, and if i click the smilie, the text format appears in the text box but after clicking, "Shout" the text itself is posted and not the actual smiley. anyone knows how to solve this?

Database error in vBulletin :

mysql_connect(): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)
/home/httpd/vhosts/xxxxx.com/httpdocs/forum/includes/class_core.php on line 279

MySQL Error :
Error Number :
Date : Sunday, February 26th 2006 @ 10:52:44 PM
Script : http://www.xxxxx.com/forum/vbshout.php

CoreIssue
01 Mar 2006, 18:43
Hi peeps

How do i stop Moderators from deleteing shouts please.
I only want admin and Supermods to be able to do that?

I think that would require some script rewriting. Seems a hardcoded permission now.

bashy
01 Mar 2006, 18:57
Damn...that is a mighty big shame :(

Ok m8 no worries :)

I think that would require some script rewriting. Seems a hardcoded permission now.

mrcrx
02 Mar 2006, 13:34
I went threw all 90+ pages the other day and found a code change so people couldnt post pictures in the shoutbox, but I lost it, anyone know where I can find it? it took hours to go threw all those pages. thanks.

mrcrx
02 Mar 2006, 14:09
You need to find your vbshout.php file that you uploaded during installation. Once you do, find this line:

if ($_POST['do'] == 'shout')
{
$vbulletin->input->clean_array_gpc('p', array(

The next line should be changed to:

'shout' => TYPE_NOHTML,

Currently, 'shout' is set to something other than TYPE_NOHTML. I don't remember what, exactly, cuz its been awhile since I changed it :ermm:


Found it! incase anyone needs it. and what I replaced was Type_STR

Exposed_Bone
02 Mar 2006, 20:00
When a user tries to edit a message, the message is not edited. Only the user can see the change he made. Any ideas?

yinyang
02 Mar 2006, 20:20
how do you mass prune shouts?

S@NL - BlackBik
02 Mar 2006, 20:52
how do you mass prune shouts?

Read the first post of this thread for the prune commands available in the shoutbox.

If you want to "autoprune" than read this post (http://www.vbulletin.org/forum/showthread.php?p=885260&highlight=cron#post885260)

S@NL - BlackBik
02 Mar 2006, 20:55
When a user tries to edit a message, the message is not edited. Only the user can see the change he made. Any ideas?

Known error. Check this post (http://www.vbulletin.org/forum/showthread.php?p=884334&highlight=edit+shout#post884334) for an answer.

TIP, try the "search this thread" function ;)

Exposed_Bone
02 Mar 2006, 22:25
Known error. Check this post (http://www.vbulletin.org/forum/showthread.php?p=884334&highlight=edit+shout#post884334) for an answer.

TIP, try the "search this thread" function ;)
Thanks for the link :)

Kokus
05 Mar 2006, 18:07
Hi ...

First excuse my english please ;-)

On this screen (official screenshot from the hack on side 1) you can see the edit functions : http://www.vbulletin.org/forum/attachment.php?attachmentid=32673

On the other screen (from my forum) you can see, that the edit options are not shown. Why not ? Can somebody help me ?

Greetings ... Kokus

Rickie3
05 Mar 2006, 21:36
I made a autoprune function for vBshout.
Just download the attached file and put in the /includes/cron directory.
Then make a new scheduled task (see attached jpg).
I run it every night at 3 o clock but offcourse your free to run it more often than that.

What is does: It will delete all shouts that are older than 24 hours.
This way you will allways have an archive that's holds no shouts that are older than two days.
You can alter the deletion time in the php by altering the "(TIMENOW - (60 * 60 * 24)" statement.

Enjoy :)

Replaced the php with the right one
i'm about to upload this just a question,i have a small forum,can i set prune to say every 2 hours???? so in here set like this "(TIMENOW - (60 * 60 * 2)" is this the correct way please

S@NL - BlackBik
06 Mar 2006, 10:00
No, that will only delete all shouts that are older than 2 hours.

If you want to let the prunecron run every two hours, you'll have to edit the properties of the cron.

catocom2
06 Mar 2006, 14:38
I've had this installed for quite some time now. My host has had some load
problems, but I'm not sure if it's related to this.
I've read though all 93 pages again, and see some (security/and other) fixes
which I'm going to code in today.

I have noticed some weird files. They look like cache files or something.
I think they are related to the vbshout, but not sure.
Is anybody else getting this?: (see attached)

tswaibel
07 Mar 2006, 20:57
Two questions for everyone :).

Does anyone know how to:

A: Edit the title above the shoutbox window that says "Shoutbox" to something else

B: Make the timestamp on the left smaller in size

jesus likes pie
08 Mar 2006, 01:15
http://www.vbulletin.com/forum/showthread.php?t=178024

LEAD_WEIGHT
08 Mar 2006, 01:22
Try clearing out shout comments and see if that works.

Kokus
08 Mar 2006, 10:01
Hi ...

First excuse my english please ;-)

On this screen (official screenshot from the hack on side 1) you can see the edit functions : http://www.vbulletin.org/forum/attachment.php?attachmentid=32673

On the other screen (from my forum) you can see, that the edit options are not shown. Why not ? Can somebody help me ?

Greetings ... Kokus



Can someone help me with my problem ?

Kokus

djrm
09 Mar 2006, 10:02
I've had this installed for quite some time now. My host has had some load
problems

Same here. I had to move providers to run this script and now they are saying i have to remove it!!!! Im on a shared server and its breaking their t's and c's by going over 10% of resources.

Top Process %CPU 12.6 httpd [www.********.co.uk] [/forum/vbshout.php]

Am i going to have to move onto a server or is this script going to be modified?

Has anyone had any success editing or modifing vbshout after warnings from thier host?

Replicators
10 Mar 2006, 00:35
There should be a option to lower the refresh rate, All hacks which use AJAX should have the option to turn down refresh rate. VBpager has the option and this should too.

DWard
10 Mar 2006, 08:55
Is there a way of converting this mod so that it refreshes every 10 seconds instead of a stupid server load refresh at the moment?

Harley77
10 Mar 2006, 14:57
I recently had to remove this by the prompting of my host. I would be just as happy with a non-ajax shoutbox. If I knew how, I would rip all auto-refresh stuff from this thing and go strictly to an update on page load or button click.

Tracer Gun Kata
10 Mar 2006, 15:10
How can you stop html being posted on the shoutbox?

GuaRRand
14 Mar 2006, 07:48
K,... HEEELP!!

I installed it, but it won't show up.
http://www.glcoti.com/index.php

I wonder how i could have gotten this wrong... its just uploading the product and the vbshout.php right?

Any reason why it wont show up?
(i checked in admin panel, it's set to active and should be showign below the navbar)

:(

Heldenverband
14 Mar 2006, 12:09
Hmm,,

after install i have NO entry in my admincp for this shoutbox.

Any Idea ?

Za4a Tuner
14 Mar 2006, 21:37
A: Edit the title above the shoutbox window that says "Shoutbox" to something else
Look in the template => forumhome_vbshout
for:
<a href='vbshout.php?{$session['sessionurl_q']}do=archive'>Shoutbox</a>

and replace it by:
<a href='vbshout.php?{$session['sessionurl_q']}do=archive'>What ever you want to appear</a>

after install i have NO entry in my admincp for this shoutbox. Maybe you've been at the false place ->
look @ the Settings of vB

raagaswaram
16 Mar 2006, 15:55
hey,
for my users vbshout saying loading but not loading?

sunny001
16 Mar 2006, 22:55
Hi,

I've added vBShout to my vB 3.5.4 and it's working great.

The only thing is that it isn't using the style of the forum.
I'm using Aria style on the forum and the shoutbox looks like standard style.

Any idea how to change vBShout using aria style?

Thanks,
Sven

Coach_Guru
17 Mar 2006, 02:18
Please, how can i purge all the old shouts?

The box stored 261 pages :(


Thanks

crazymeezer
17 Mar 2006, 03:39
Please, how can i purge all the old shouts?

The box stored 261 pages :(
Thanks

Type /prune into your shoutbox, and it will clear all messages.

I have an issues with smilies not displaying when I turn smilies off in signatures. Anyone had this problem or know a fix?

Thanks

D.Ilyin
17 Mar 2006, 11:55
Also, can anyone answer my questions about disabling both HTML and VB Codes. HTML is disabled when you enable VB Codes, but when you diable VB Codes, HTML is enabled. I need both disabled to disallow members from posting images and large text, etc. it's very important so if anyone could help me out I will be very appriciative.
Did somebody find out how-to disable HTML and BBCode in vBShout?
Or it's imposable?

Coach_Guru
17 Mar 2006, 16:41
Type /prune into your shoutbox, and it will clear all messages.

I have an issues with smilies not displaying when I turn smilies off in signatures. Anyone had this problem or know a fix?

Thanks

Many many thanks crazy ;)

blacklancer
17 Mar 2006, 16:54
is there a way to not allow certain users to post smilies??

Telegon80
18 Mar 2006, 03:42
crap i installed this and now my PM buttons are gone! Ahhhh!!!!!!!

Za4a Tuner
18 Mar 2006, 23:28
Banned Users get this warning:
Warning: Invalid argument supplied for foreach() in /vbshout.php (Zeile 288)

Why?
Anyone else with the same prob?

gtsch
19 Mar 2006, 01:26
I am having a problem, when some tries to shout they are directed from /index.php to a blank screen /vbshout.php?

The shout is still registered but no one can see the shouts except through the archive.

T_Montana
19 Mar 2006, 17:28
i'm guessin this doesn't work for vb 3.0.7?

D.Ilyin
20 Mar 2006, 06:50
i'm guessin this doesn't work for vb 3.0.7?
this version only for 3.5.x

Tracer Gun Kata
20 Mar 2006, 10:16
Did somebody find out how-to disable HTML and BBCode in vBShout?
Or it's imposable?

Second this.. been wiating for an answer on this as well.

Telegon80
21 Mar 2006, 03:28
how come hyperlinks dont work in my shoutbox?

obmob
21 Mar 2006, 13:34
Yeah, i'm also getting
Warning: Invalid argument supplied for foreach() in /vbshout.php on line 288

D.Ilyin
21 Mar 2006, 15:12
Second this.. been wiating for an answer on this as well.
Well..... Maybe ZT say something?
Just as fact - WE COULD or WE COULD NOT disable HTML and BBCodes?

d8tabyte
21 Mar 2006, 18:00
I've found this to be a huge resource hog and has been the cause of many overloads of my SQL database. An update to change the refresh rate would be awesome.

Praxin
21 Mar 2006, 18:04
As a RPG user , I'll pass on the info that ZT has only had extremely sporadic net access the last couple of months - he has been hardly seen on the GZE forums either. I imagine he will check in as soon as it is humanly possible for him to do so.

blacklancer
22 Mar 2006, 15:40
anyone know where to change the background color of the shoutbox??

ruminet
22 Mar 2006, 19:13
Howdy gang;

Was there an answer to "B" here?
The date stamp is out of control large...

Two questions for everyone :).

Does anyone know how to:

A: Edit the title above the shoutbox window that says "Shoutbox" to something else

B: Make the timestamp on the left smaller in size

Mikecp421
22 Mar 2006, 21:20
how can I remove this shoutbox to reinstall it, I have a blank spot in my VB options that is the properties of this shoutbox and I dont have it listed in the plugin section anymore, this is the error I get when I try to reinstall it and allow it to overwrite;

Database error in vBulletin 3.5.3:

Invalid SQL:
CREATE TABLE `shout` (
`sid` int(15) NOT NULL auto_increment,
`s_by` int(15) NOT NULL default '0',
`s_time` int(15) NOT NULL default '0',
`s_shout` text NOT NULL,
`s_data` text NOT NULL,
`s_me` tinyint(2) NOT NULL default '0',
PRIMARY KEY (`sid`)
) TYPE=MyISAM;;

MySQL Error : Table 'shout' already exists
Error Number : 1050
Date : Wednesday, March 22nd 2006 @ 02:18:04 PM
Script : http://www.meogee.com/admincp/plugin.php
Referrer : http://www.meogee.com/admincp/plugin.php?do=productadd
IP Address : EDIT
Username : Mikecp421
Classname : vb_database

Ohiosweetheart
22 Mar 2006, 23:18
anyone know where to change the background color of the shoutbox??

I would LOVE to be able to do this as well... anyone?

hotwheels
23 Mar 2006, 02:08
how can I remove this shoutbox to reinstall it, I have a blank spot in my VB options that is the properties of this shoutbox and I dont have it listed in the plugin section anymore, this is the error I get when I try to reinstall it and allow it to overwrite;

Database error in vBulletin 3.5.3:

Invalid SQL:
CREATE TABLE `shout` (
`sid` int(15) NOT NULL auto_increment,
`s_by` int(15) NOT NULL default '0',
`s_time` int(15) NOT NULL default '0',
`s_shout` text NOT NULL,
`s_data` text NOT NULL,
`s_me` tinyint(2) NOT NULL default '0',
PRIMARY KEY (`sid`)
) TYPE=MyISAM;;

MySQL Error : Table 'shout' already exists
Error Number : 1050
Date : Wednesday, March 22nd 2006 @ 02:18:04 PM
Script : http://www.meogee.com/admincp/plugin.php
Referrer : http://www.meogee.com/admincp/plugin.php?do=productadd
IP Address : EDIT
Username : Mikecp421
Classname : vb_database
mike, you are going to have to go into your mymsq on your server and delete that.........I just had to do the same thing for vbradio. Or you can try running this query real quick $Query = "drop table `".TABLE_PREFIX."shout`";

$vbulletin->db->query($Query);



For those that want to rename the shoutbox, and this isn't my program so i am sorry if this makes the owner of the software man, i don't intend that......... Go to your admincp, then to your template's, click on Forum home template, then scroll down to forumhome_vbshout, locate <a href='vbshout.php?{$session['sessionurl_q']}do=archive'>Shoutbox</a>
Where it says Shoutbox, put your new name in there.......


If i can make a suggestion to those wanting to change the background color's, just add more style's to your site.........this way if a user choose's something like red2black, the back ground will be black.......I currently have 11 styles on my site for user's to choose from.......

Mikecp421
23 Mar 2006, 02:58
mike, you are going to have to go into your mymsq on your server and delete that.........I just had to do the same thing for vbradio. Or you can try running this query real quick



For those that want to rename the shoutbox, and this isn't my program so i am sorry if this makes the owner of the software man, i don't intend that......... Go to your admincp, then to your template's, click on Forum home template, then scroll down to forumhome_vbshout, locate Where it says Shoutbox, put your new name in there.......


If i can make a suggestion to those wanting to change the background color's, just add more style's to your site.........this way if a user choose's something like red2black, the back ground will be black.......I currently have 11 styles on my site for user's to choose from.......

An error occurred while attempting to execute your query. The following information was returned.
error number: 1064
error desc: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '$Query = "drop table `".TABLE_PREFIX."shout`";

$vbulletin->db->query($Query)' at line 1

Mikecp421
23 Mar 2006, 03:19
ok I went into the db and removed it like you said, thanks

hotwheels
23 Mar 2006, 04:27
no problem man........

Ohiosweetheart
23 Mar 2006, 22:00
If i can make a suggestion to those wanting to change the background color's, just add more style's to your site.........this way if a user choose's something like red2black, the back ground will be black.......I currently have 11 styles on my site for user's to choose from.......

thank you, but I want a stock off-white background on the sb in all of my styles (I have 5 styles)

hotwheels
24 Mar 2006, 00:51
thank you, but I want a stock off-white background on the sb in all of my styles (I have 5 styles)
I will look at the software and see what i can come up with for you......right now i am working grave's so give me a couple days...

hotwheels
24 Mar 2006, 01:57
thank you, but I want a stock off-white background on the sb in all of my styles (I have 5 styles)
One quick option you can look at doing is going into your template/styles, click go, scroll down to "First Alternating Collor, and change the #e1e4f2 to #ffffff and then click save css.............that will give you a white back ground there......

kofoid
24 Mar 2006, 18:08
Is there a trick to turning on the time stamp?

melodyt
24 Mar 2006, 18:38
I have a question. I am fairly new to vB so I apologize ahead of time for asking a stupid question. I did try to do a search but didn't come up with anything regarding my problem. I hope that somebody here can help me.

I have the shoutbox working on the default skin. I just added another skin and the shoutbox is not showing up. Where do I go to get it to show up? I'm sure it's something really easy but I just can't figure it out.

Thanks a BUNCH to whoever can help me with this.

hotwheels
24 Mar 2006, 21:32
I have a question. I am fairly new to vB so I apologize ahead of time for asking a stupid question. I did try to do a search but didn't come up with anything regarding my problem. I hope that somebody here can help me.

I have the shoutbox working on the default skin. I just added another skin and the shoutbox is not showing up. Where do I go to get it to show up? I'm sure it's something really easy but I just can't figure it out.

Thanks a BUNCH to whoever can help me with this.
You need to make sure that you set your additional style as a child.....when you go to your admincp and click on style/templates, be sure that your original style has a check mark next to it and the new style you uploaded has a check mark in the box next to it........

Is there a trick to turning on the time stamp?It should be on automatically......

melodyt
24 Mar 2006, 21:38
Oh I just figured it out. Thanks

hotwheels
24 Mar 2006, 23:27
no problem, glad to help

apfparadise
26 Mar 2006, 18:01
Hey I could not look through 56 pages, got overwhelmed after about 25 :) but I have a question.

Is there a way to put that on a separate page, if I am using VBadvanced CMPS and can create templated pages. Wouldn't that turn it into a simple Chat program? I would love that. A place where everyone can just chat, but would not interfere with the forumhome layout.

kofoid
26 Mar 2006, 19:25
So if the time stamp is NOT on automatically - is there a place where I can change a setting?

hotwheels
26 Mar 2006, 19:34
I believe the timestamp should be on automatically...........Is your main forums time working? They should work together......

You may want to reupload the shout.php in your forums root..

kofoid
26 Mar 2006, 19:44
Also is there any way to get the Shout Format Display options to show above the line where you type your shout?

Trana
26 Mar 2006, 20:23
Hey I could not look through 56 pages, got overwhelmed after about 25 :) but I have a question.

Is there a way to put that on a separate page, if I am using VBadvanced CMPS and can create templated pages. Wouldn't that turn it into a simple Chat program? I would love that. A place where everyone can just chat, but would not interfere with the forumhome layout.

Do a search for "vbshout cmps" there is a thread about how to do exactly that.

Lee Wisener
27 Mar 2006, 20:42
Need to be careful with this script, I needed the assistance of Vbulletin staff to establish my site was hacked and only by disabling this mod did it go away, they managed to inject code into the database via the shoutbox

crzy
27 Mar 2006, 23:11
i want to open shoutbox 01.00am to 06:00 auto it self, is it possible if yes how?
thank you

Heldenverband
28 Mar 2006, 07:23
Sorry again,

ich have installed now the VBShout on a NEW VBForum. After install i can use the shoutbox but i have NO part of them in my AdminCP.

Where is the problem ?

kofoid
28 Mar 2006, 13:49
Regarding the timestamp -
Everything has been reuploaded and no change :(

hotwheels
28 Mar 2006, 14:13
i want to open shoutbox 01.00am to 06:00 auto it self, is it possible if yes how?
thank youThis isn't possible at this time......

ich have installed now the VBShout on a NEW VBForum. After install i can use the shoutbox but i have NO part of them in my AdminCP.go to your admincp, vbulletin options and look for VBShout Options......

Regarding the timestamp -
Everything has been reuploaded and no changeI went to your site and couldn't find your shoutbox........do you have a link to it, so i can have a look see?

jerx
28 Mar 2006, 19:02
How can you display the poster' s avatar in the shoutbox?

vbreal
28 Mar 2006, 19:15
i need to make a style that doesn't have this on it. it slows down the load time when i get on with my treo.

Freak0204
28 Mar 2006, 20:45
Uploaded php into forum directory and imported product. I can see the box but no shouts are going through, it just says Loading...

snoopgst
28 Mar 2006, 21:58
does this work with 3.5.3?

jerx
28 Mar 2006, 22:06
It works on 3.5.4, so it should work on 3.5.3, too.

snoopgst
28 Mar 2006, 22:57
ok I just installed this but I don't see it anywhere on my forums. How do I enable it for each usergroup?

hotwheels
29 Mar 2006, 00:02
How can you display the poster' s avatar in the shoutbox?I wouldn't recommend trying to get that option. The program is server intensive the way it is.......just my .02

i need to make a style that doesn't have this on it. it slows down the load time when i get on with my treo.sad to report, but it is server intensive...........it is worth it though, in my opinion.

Uploaded php into forum directory and imported product. I can see the box but no shouts are going through, it just says Loading...do you have it set to show the shouts? I have mine set to 20........

does this work with 3.5.3?yes.........i have it on 3.5.4

ok I just installed this but I don't see it anywhere on my forums. How do I enable it for each usergroup?go into your admincp, then vbulletin options and locate vbshout........that is where all of your settings are at......

snoopgst
29 Mar 2006, 00:40
I don't see permissions for usergroups (ex allow certain usergroups to post) for the shoutbox under vbulletin options.

Neziah
29 Mar 2006, 01:26
Uploaded php into forum directory and imported product. I can see the box but no shouts are going through, it just says Loading...

I am having the same issue, and I do have it set to show posts, qty 20. Any other ideas?
:D

hotwheels
29 Mar 2006, 14:23
I don't see permissions for usergroups (ex allow certain usergroups to post) for the shoutbox under vbulletin options.Not sure what you are hoping to do here, but if you need, you can set a ban on certain usergroups that you don't want posting in the shout box......You can do it by banning an entire group, with the group id. Or you can do it, on a person by person basis........up to you.

I am having the same issue, and I do have it set to show posts, qty 20. Any other ideas?
Is it better yet?

PondPikey
29 Mar 2006, 17:11
Just wanted to say, class shoutbox..not to be underestimated :)

full marks ZT :)

www.carpy.co.uk

tracylee
29 Mar 2006, 19:59
We're loving it on our site. I saw it on another site and remembered discussion about it. It's amazing how many users are just thrilled to finally see it!

vbreal
30 Mar 2006, 02:49
i need to make a style that doesn't have this on it. it slows down the load time when i get on with my treo.

any one got any ideas

geezmo
30 Mar 2006, 04:31
we can't see the smilies in the shoutbox. smilies are activated in admincp and we can see the smilie list in the shoutbox but when you click the smilie, the post only shows the text format not the actual smiley. how to solve this?

blacklancer
31 Mar 2006, 03:00
the shoutbox is working great, but i have one user who gets the following error and gets booted out...

Warning: array_reverse() [function.array-reverse]: The argument should be an array in \vbshout.php on line 282


he's a normal user like everyone else and he's the only one with the problem. any advice????

intrigue
31 Mar 2006, 13:18
How can i get anonymous users to be able to shout?
matt

Ziki
02 Apr 2006, 17:26
You could make it have a better look though....

Damien2005
02 Apr 2006, 19:53
Hello..

How can i show the pagenav in to the shoutbox.. So people can change the page in the shoutbox..

ozmazdaclub
03 Apr 2006, 03:27
I recently had to remove this by the prompting of my host. I would be just as happy with a non-ajax shoutbox. If I knew how, I would rip all auto-refresh stuff from this thing and go strictly to an update on page load or button click.

There was a post in this thread with how to do this. Do a search of the thread.

EdQ
03 Apr 2006, 20:49
Anyway to set this so users can only use it once a day?

Most are using like a real-time chat box.

I would like to use it more like a shout-out.

ozmazdaclub
04 Apr 2006, 09:40
is there a way to log all shouts made to a text file as i would like a log of what is said incase something illegal etc is said?

davelacey
04 Apr 2006, 12:04
I've installed it. Very nice work zero tolerance :)

One little query though. Where do the users and admin edit or delete a members shout?

Tyegurl
04 Apr 2006, 18:38
/prune or click on title on shoutbox....

bashy
05 Apr 2006, 18:49
Hi peeps....

Anyway speed up the refresh please? as mine is a bit delayed, perhaps anything upto about 30 seconds :(

rareclownfish
06 Apr 2006, 01:28
Is this shout box working on 3.5.4?

rareclownfish
06 Apr 2006, 01:40
I just installed it it seem to be working fine.
How can I change the name on it when it show's up in my forum?
Say I don't want the name SHOUT BOX as the tile, say I want to call it chat room or somthing.
I would like this to show up on the Left Column how do I mod this to make it happen?
Somthing like this....
http://www.vbulletin.org/forum/attachment.php?attachmentid=35883&d=1129506260

Thanks

rareclownfish
06 Apr 2006, 03:47
Anyone?

geezmo
06 Apr 2006, 09:40
^ Here you go: http://www.vbulletin.org/forum/showpost.php?p=925253&postcount=1407

:)

geezmo
06 Apr 2006, 09:44
how about my problem?

we can't see the smilies in the shoutbox. smilies are activated in admincp and we can see the smilie list in the shoutbox but when you click the smilie, the post only shows the text format not the actual smiley. how to solve this?

rareclownfish
06 Apr 2006, 12:01
^ Here you go: http://www.vbulletin.org/forum/showpost.php?p=925253&postcount=1407

:)

Thanks, what about the other part of the question?

Kyderoy
06 Apr 2006, 23:29
Is there a way to limit the number of characters a person can post in the shout box?

Reece^B
07 Apr 2006, 09:54
I need some help:
If my users are viewing the index it says they're viewing the shotbox when they are not. Why is this?

rareclownfish
07 Apr 2006, 12:37
Any coders out there?

hotwheels
07 Apr 2006, 13:32
QUOTE]Any coders out there?[/QUOTE]The second part of your question is done by vbadvanced..........although it was having some problem's, i believe it is functioning right. Here (Here)

And the first part of your question, Here (Here)

hotwheels
07 Apr 2006, 13:42
If my users are viewing the index it says they're viewing the shotbox when they are not. Why is this?are you also using cmps?

Davidspl
07 Apr 2006, 14:03
Can u mass delete all the old shouts? would like to have the option every now and then.

Reece^B
07 Apr 2006, 14:43
are you also using cmps?
Yes, but it was fine before I upgraded.

Baudman
07 Apr 2006, 22:46
My members will love this. Thanks. :):banana:

Fifthe1ement
07 Apr 2006, 23:03
Yeah, how can we mass delete the database of shouts?

hotwheels
08 Apr 2006, 01:22
for now, you will probably just have to click on "shoutbox" and delete the post's from in there.......1 at a time.

Fifthe1ement
08 Apr 2006, 05:51
Wow, if thats the case I'm going to take it down now as it can grow as my forum is huge...

jerx
08 Apr 2006, 10:15
New Commands

- /prune (Clears the shoutbox completely)
- /prune [username] (Clears all shouts posted by specified user)

Don' t these commands delete the database?

exegete
08 Apr 2006, 13:31
Any chance of being able to control what vbcode can be used?

I don't want html, or img for example, but do want smilies..
Don't know whether this has been answered already, but I achieved it with the following...

In vbshout.php, find the function "bbcodeparser", and specifically the following code in that function:

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

Replace with:

if ($vbulletin->options['shout_bbcode'])
{
$text = preg_replace('/\[\/?(img|size|quote|html|code|center|spoiler|anchor|link|blockquote)(=[^\]]*)?\]/', '', $text);
return $vbulletin->vbshout_parse->parse(convert_url_to_bbcode($text), 'nonforum');
}

As you can see, I've removed a whole bunch of BB codes - just add or remove the keywords as necessary. Brackets and options etc for the codes should be handled automatically by the regular expression.

Hope it's self-explanatory. :)

Reece^B
08 Apr 2006, 21:13
anyone got any ideas for me?
The index is now named shoutbox lol when a user is viewing it.

hotwheels
09 Apr 2006, 03:30
Yeah, how can we mass delete the database of shouts? Jerx is correct, just type /prune in your shout box and hit the shout button.......It does a quick job of it.....

Yes, but it was fine before I upgraded.If you go to vbadvanced.com and type in vbshout, you can read some of the article's on the cmps upgrade, and it isn't working right. Alot of the people using vbadvanced have removed that part of the hack from their site's and are strictly using vbshout in the forums only......i could be wrong, which i usually am, but i read and read till my eye's hurt and found people just removing the mod.

sinizter
09 Apr 2006, 11:22
one problem,i uploaded the vbulletin.php file to my forum root directory,but where do i put it?...in acp? in archive?....also, how come its loading forever,it hasnt syopped loading.

hassi
09 Apr 2006, 12:21
Hi,

i've installed vbshout yesterday and i feel quite comfortable with it but i have some questions remaining. Maybe someone can answer them.

1) Can i prevent users from linking external graphics in the shoutbox? I remarked they may not only use system smilies but also diverse pics from their onw websites etc.

2) Is it possible to prevent users from editing/deleting their own shouts? I think this question or a similiar one has been raised before.

Sorry for my english, i'm german ;)

Thanks in advance
Hassi

Reece^B
09 Apr 2006, 12:37
If you go to vbadvanced.com and type in vbshout, you can read some of the article's on the cmps upgrade, and it isn't working right. Alot of the people using vbadvanced have removed that part of the hack from their site's and are strictly using vbshout in the forums only......i could be wrong, which i usually am, but i read and read till my eye's hurt and found people just removing the mod.

Yeha, but my shoutbox isnt in the CMPS it's jsut in the forums. Does this still count?

bashy
09 Apr 2006, 15:16
Hi ZT

I have a javascript issue showing up on the FF java console, this is:

Error: [Exception... "Component returned failure code: 0x80040111 (NS_ERROR_NOT_AVAILABLE) [nsIXMLHttpRequest.status]" nsresult: "0x80040111 (NS_ERROR_NOT_AVAILABLE)" location: "JS frame :: http://www.bashys-place.com/forums/index.php? :: showShouts :: line 2584" data: no]
Source File: http://www.bashys-place.com/forums/index.php?
Line: 2584

Please advise?

Exitilus
09 Apr 2006, 22:18
I've tried searching this thread for my answer. But not finding it. So if this has been asked... Sorry.

Basically I have two domains. forums.my-domain.com and gallery.my-domain.com

The Shoutbox works fine in forums but not gallery. I tried changing all instances of vbshout.php to point to the forums.my-domain.com but that doesn't work. What am I missing? :)

hassi
10 Apr 2006, 10:51
How to prevent certain usergroups from editing/deleting shouts:

Because some users were doing nothing else than deleting / editing shouts and some more who were just mod (but no team-member though) of their userforum were editing / deleting shouts of others i tried to figure out how to restrict access to edit / delete function for certain usergroups only. So if someone is interested in it, please feel free to use the following code.

go to your templates -> look for forumhome_vbshout_archive_shout -> find the following line:

<if condition="$bbuserinfo[userid] == $Shout[s_by] OR can_moderate()">

replace it with:

<if condition="in_array($bbuserinfo[usergroupid], array(x, x, x))">

the x's should be replaced by the usergroups who should have access to edit / delete function.

i hope my explanation is understandable (i'm german)

cu
hassi