View Full Version : [AJAX] vBShout v2.0
Pages :
1
2
3
4
5
[
6]
7
8
9
10
11
12
13
14
vbreal
02-05-2006, 12:16 AM
thanks alot
john_robot
02-05-2006, 07:19 AM
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
02-05-2006, 08:35 AM
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
02-05-2006, 01:01 PM
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
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
02-05-2006, 06:59 PM
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
02-05-2006, 08:49 PM
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
02-05-2006, 08:51 PM
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
02-05-2006, 08:55 PM
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
02-05-2006, 11:17 PM
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
02-06-2006, 05:18 AM
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
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
02-06-2006, 10:13 PM
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
02-07-2006, 06:41 PM
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
02-08-2006, 03:31 AM
Is there a way to set certain usergroups to be able to edit and/or delete shouts or certain members?
forumsoup.com
02-08-2006, 03:38 AM
I put this on my site, love it, and clicked installed. Thanks!
Xplorer4x4
02-09-2006, 06:56 AM
<a href="http://xs66.xs.to/pics/06056/Shoutbox.jpg" target="_blank">http://xs66.xs.to/pics/06056/Shoutbox.jpg</a>
My members seem to have a problem with the shouts over flowing the bix if using IE or AOL.
Any ideas?
vbreal
02-09-2006, 12:22 PM
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
02-09-2006, 11:54 PM
Don't think I could have a forum without this :) so thank you kindly.
bondjetta
02-10-2006, 02:43 PM
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
02-11-2006, 06:24 AM
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
02-11-2006, 06:48 PM
how would i hide this from the guests?
Tulsa
02-11-2006, 08:11 PM
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
02-11-2006, 10:31 PM
is there a way to add the auto refresh back with this latest version???
Luggruff
02-12-2006, 12:46 PM
is there a way to add the auto refresh back with this latest version???
It does "auto refresh".. just like an IM.
interceptor
02-12-2006, 02:23 PM
work without problems >>install<<
msimplay
02-12-2006, 02:35 PM
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
02-12-2006, 02:37 PM
How can I remove smilies on the forums homepage along with the button? I think it slows down the server a lot.
Luggruff
02-12-2006, 03:16 PM
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
02-12-2006, 03:39 PM
And where do I place that exactly?
Luggruff
02-12-2006, 03:56 PM
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
02-12-2006, 04:46 PM
Wow thank you.
cuphongle
02-13-2006, 12:36 AM
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
02-13-2006, 12:38 AM
nm, got it
GCA-Shawn
02-13-2006, 02:58 PM
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
02-13-2006, 06:20 PM
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
02-13-2006, 11:42 PM
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
02-14-2006, 03:39 AM
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
02-14-2006, 03:43 AM
Is there a way to hide the sb from guests... anyone except registered users?
gtsch
02-14-2006, 06:20 AM
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
02-14-2006, 08:17 AM
I love this hack-Easy to install,works brilliantly and no problems! Thanks
Ragnarok
02-14-2006, 10:57 AM
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
02-14-2006, 12:40 PM
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
02-14-2006, 01:24 PM
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
02-14-2006, 03:10 PM
Thank you very much.
mrcrx
02-14-2006, 03:41 PM
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
02-14-2006, 04:35 PM
Well you can just use the prune command?
vbreal
02-15-2006, 03:13 PM
is there a way to make people post a certain amount of post before they can use the shoutbox every 24 hours
Titania
02-15-2006, 03:59 PM
Awesome ZT :D Ten thumbs up...works great :D
mrcrx
02-15-2006, 05:07 PM
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
02-15-2006, 06:29 PM
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
02-15-2006, 07:09 PM
How do I change he name of the button to read something differnent the shout
tipoboy
02-15-2006, 08:00 PM
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://vborg.vbsupport.ru/ ';
}
}
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://vborg.vbsupport.ru/ ';
}
}
}
}
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
02-15-2006, 08:44 PM
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
02-15-2006, 08:47 PM
This is some awesome hack :D Gr8 work m8!
S@NL - BlackBik
02-15-2006, 08:50 PM
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
02-15-2006, 10:55 PM
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
02-16-2006, 12:49 AM
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
02-16-2006, 07:53 AM
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
02-16-2006, 09:43 AM
[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://vborg.vbsupport.ru/ ';
}
}
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://vborg.vbsupport.ru/ ';
}
}
}
}
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
02-16-2006, 12:33 PM
I only have forumhome_vbshout and I can't find // Start Page Output in that one ...
Megareus Rex
02-16-2006, 07:10 PM
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
02-16-2006, 08:06 PM
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
02-16-2006, 08:28 PM
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
02-16-2006, 08:29 PM
anyone know if there is anything available like this
Nope, i haven't seen that arround yet.
S@NL - BlackBik
02-16-2006, 08:31 PM
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
02-16-2006, 08:41 PM
Edit: Allready answered (:
Muderman24
02-16-2006, 09:03 PM
Is there a way to set certain usergroups to be able to edit and/or delete shouts or certain members?
Luggruff
02-16-2006, 09:26 PM
[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
02-16-2006, 11:16 PM
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
02-17-2006, 12:01 AM
[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
02-17-2006, 03:32 AM
It's not in the template, but it's in the vbshout.php file on your server ;)
Ooops .... :o
Ohiosweetheart
02-17-2006, 03:37 AM
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
02-17-2006, 08:30 AM
[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,men ubar=no,toolbar=no,scrollbars=yes,resizable=yes,wi dth=600,height=500'); return false;">Shoutbox</a>
does the same
(well maybe not the link aim but it's fairly the same.)
Za4a Tuner
02-17-2006, 09:07 PM
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
02-18-2006, 02:55 AM
Nope, i haven't seen that arround yet.
whew,
thanks
---MAD---
02-18-2006, 12:28 PM
does this work with vbulletin 3.5.3?
S@NL - BlackBik
02-18-2006, 12:51 PM
Yes.
Stone Cold 3:16
02-18-2006, 12:53 PM
Yeah
vB Version: 3.5.0 RC2
For me, i just use any hack for vb 3.5.0
---MAD---
02-18-2006, 03:14 PM
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
02-18-2006, 03:41 PM
can we get a update here?
---MAD---
02-18-2006, 03:59 PM
can we get a update here?
installed - working perfectly!
---MAD---
02-18-2006, 04:31 PM
installed - working perfectly!
can we have a list of all the admin controls guys?
GoTTi
02-18-2006, 05:32 PM
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
02-18-2006, 07:32 PM
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
02-18-2006, 09:05 PM
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
02-18-2006, 09:14 PM
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
02-18-2006, 10:41 PM
I installed it. Awesome mod. How do I remove the Color and Font Face scroll boxes?
Weapon-x
02-19-2006, 01:03 AM
How do I make the shoutbox appear at the bottom?
Luggruff
02-19-2006, 07:45 AM
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
02-19-2006, 02:10 PM
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
02-19-2006, 04:28 PM
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
02-19-2006, 06:06 PM
Does anyone know any vbshout codes such as /me ?
Thanks:D
furst
02-20-2006, 01:52 AM
Is it possible to display the same shoutbox on two different sites?
username12
02-20-2006, 02:37 AM
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
02-20-2006, 08:30 AM
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
02-20-2006, 11:24 AM
Thank you for this great hack!
But one problem: Opera 9 Beta Users cant scroll in the Shoutbox :surprised:
VBUsers
02-20-2006, 05:11 PM
disregard. great hack! thanks for the help
Holidazed
02-21-2006, 12:49 PM
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
02-21-2006, 04:33 PM
post withdrawn !
bashy
02-21-2006, 04:39 PM
Hi
Type /prune in the actual shoutbox no reason to go into the admincp
S@NL - BlackBik
02-21-2006, 05:41 PM
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 (https://vborg.vbsupport.ru/showpost.php?p=884291&postcount=1210) to solve that problem. It works ;)
Holidazed
02-21-2006, 06:34 PM
Look at this post (https://vborg.vbsupport.ru/showpost.php?p=884291&postcount=1210) to solve that problem. It works ;)
Thank you. That resolved it.
DeathMONGER
02-21-2006, 08:48 PM
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
02-21-2006, 08:53 PM
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
02-22-2006, 08:27 PM
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
02-22-2006, 09:25 PM
How do you make the vbshout box on a totally different page?
CommunityZ
02-22-2006, 10:46 PM
Is it possible to set the shoutbox didn't appear to guest/visitor and how?
cOuNtErFiET
02-22-2006, 11:29 PM
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
02-23-2006, 01:03 AM
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
02-23-2006, 01:56 AM
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
02-23-2006, 11:14 AM
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
02-23-2006, 11:25 AM
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
02-23-2006, 02:34 PM
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
02-24-2006, 06:49 AM
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
02-24-2006, 06:59 AM
i like it
mrcrx
02-24-2006, 04:20 PM
my shout box has been freezing alot. are there any updates for this?
bashy
02-24-2006, 04:26 PM
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
02-24-2006, 07:41 PM
Hello,
Is there anyway I can enable censorship for the vBShout mod?
Thanks,
Justin.
majorj0nny
02-24-2006, 09:16 PM
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
02-26-2006, 09:02 PM
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
02-26-2006, 11:57 PM
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
02-27-2006, 08:46 PM
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.
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
02-28-2006, 06:19 AM
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
02-28-2006, 09:36 AM
Can someone help me to delete Shout Archive.
i want to prune all the shouts till date
pleasee help me out
thanx
bashy
02-28-2006, 05:29 PM
type /prune
All will be deleted!!!!!
bashy
02-28-2006, 05:32 PM
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
02-28-2006, 06:10 PM
Hi peeps
How do i stop Moderators from deleteing shouts please.
I only want admin and Supermods to be able to do that?
futuregizmo
03-01-2006, 01:43 PM
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
03-01-2006, 05:43 PM
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
03-01-2006, 05:57 PM
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
03-02-2006, 12:34 PM
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
03-02-2006, 01:09 PM
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
03-02-2006, 07:00 PM
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
03-02-2006, 07:20 PM
how do you mass prune shouts?
S@NL - BlackBik
03-02-2006, 07:52 PM
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 (https://vborg.vbsupport.ru/showthread.php?p=885260&highlight=cron#post885260)
S@NL - BlackBik
03-02-2006, 07:55 PM
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 (https://vborg.vbsupport.ru/showthread.php?p=884334&highlight=edit+shout#post884334) for an answer.
TIP, try the "search this thread" function ;)
Exposed_Bone
03-02-2006, 09:25 PM
Known error. Check this post (https://vborg.vbsupport.ru/showthread.php?p=884334&highlight=edit+shout#post884334) for an answer.
TIP, try the "search this thread" function ;)
Thanks for the link :)
Kokus
03-05-2006, 05:07 PM
Hi ...
First excuse my english please ;-)
On this screen (official screenshot from the hack on side 1) you can see the edit functions : https://vborg.vbsupport.ru/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
03-05-2006, 08:36 PM
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
03-06-2006, 09:00 AM
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
03-06-2006, 01:38 PM
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
03-07-2006, 07:57 PM
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
03-08-2006, 12:15 AM
<a href="http://www.vbulletin.com/forum/showthread.php?t=178024" target="_blank">http://www.vbulletin.com/forum/showthread.php?t=178024</a>
LEAD_WEIGHT
03-08-2006, 12:22 AM
Try clearing out shout comments and see if that works.
Kokus
03-08-2006, 09:01 AM
Hi ...
First excuse my english please ;-)
On this screen (official screenshot from the hack on side 1) you can see the edit functions : https://vborg.vbsupport.ru/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
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
03-09-2006, 11:35 PM
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
03-10-2006, 07:55 AM
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
03-10-2006, 01:57 PM
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
03-10-2006, 02:10 PM
How can you stop html being posted on the shoutbox?
GuaRRand
03-14-2006, 06:48 AM
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
03-14-2006, 11:09 AM
Hmm,,
after install i have NO entry in my admincp for this shoutbox.
Any Idea ?
Za4a Tuner
03-14-2006, 08:37 PM
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
03-16-2006, 02:55 PM
hey,
for my users vbshout saying loading but not loading?
sunny001
03-16-2006, 09:55 PM
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
03-17-2006, 01:18 AM
Please, how can i purge all the old shouts?
The box stored 261 pages :(
Thanks
crazymeezer
03-17-2006, 02:39 AM
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
03-17-2006, 10:55 AM
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
03-17-2006, 03:41 PM
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
03-17-2006, 03:54 PM
is there a way to not allow certain users to post smilies??
Telegon80
03-18-2006, 02:42 AM
crap i installed this and now my PM buttons are gone! Ahhhh!!!!!!!
Za4a Tuner
03-18-2006, 10:28 PM
Banned Users get this warning:
Warning: Invalid argument supplied for foreach() in /vbshout.php (Zeile 288)
Why?
Anyone else with the same prob?
gtsch
03-19-2006, 12:26 AM
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
03-19-2006, 04:28 PM
i'm guessin this doesn't work for vb 3.0.7?
D.Ilyin
03-20-2006, 05:50 AM
i'm guessin this doesn't work for vb 3.0.7?
this version only for 3.5.x
Tracer Gun Kata
03-20-2006, 09:16 AM
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
03-21-2006, 02:28 AM
how come hyperlinks dont work in my shoutbox?
obmob
03-21-2006, 12:34 PM
Yeah, i'm also getting
Warning: Invalid argument supplied for foreach() in /vbshout.php on line 288
D.Ilyin
03-21-2006, 02:12 PM
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
03-21-2006, 05:00 PM
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
03-21-2006, 05:04 PM
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
03-22-2006, 02:40 PM
anyone know where to change the background color of the shoutbox??
ruminet
03-22-2006, 06:13 PM
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
03-22-2006, 08:20 PM
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
03-22-2006, 10:18 PM
anyone know where to change the background color of the shoutbox??
I would LOVE to be able to do this as well... anyone?
hotwheels
03-23-2006, 01:08 AM
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
03-23-2006, 01:58 AM
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
03-23-2006, 02:19 AM
ok I went into the db and removed it like you said, thanks
hotwheels
03-23-2006, 03:27 AM
no problem man........
Ohiosweetheart
03-23-2006, 09:00 PM
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
03-23-2006, 11:51 PM
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
03-24-2006, 12:57 AM
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
03-24-2006, 05:08 PM
Is there a trick to turning on the time stamp?
melodyt
03-24-2006, 05:38 PM
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
03-24-2006, 08:32 PM
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
03-24-2006, 08:38 PM
Oh I just figured it out. Thanks
hotwheels
03-24-2006, 10:27 PM
no problem, glad to help
apfparadise
03-26-2006, 05:01 PM
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
03-26-2006, 06:25 PM
So if the time stamp is NOT on automatically - is there a place where I can change a setting?
hotwheels
03-26-2006, 06:34 PM
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
03-26-2006, 06:44 PM
Also is there any way to get the Shout Format Display options to show above the line where you type your shout?
Trana
03-26-2006, 07:23 PM
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
03-27-2006, 07:42 PM
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
i want to open shoutbox 01.00am to 06:00 auto it self, is it possible if yes how?
thank you
Heldenverband
03-28-2006, 06:23 AM
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
03-28-2006, 12:49 PM
Regarding the timestamp -
Everything has been reuploaded and no change :(
hotwheels
03-28-2006, 01:13 PM
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?
How can you display the poster' s avatar in the shoutbox?
vbreal
03-28-2006, 06:15 PM
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
03-28-2006, 07:45 PM
Uploaded php into forum directory and imported product. I can see the box but no shouts are going through, it just says Loading...
snoopgst
03-28-2006, 08:58 PM
does this work with 3.5.3?
It works on 3.5.4, so it should work on 3.5.3, too.
snoopgst
03-28-2006, 09:57 PM
ok I just installed this but I don't see it anywhere on my forums. How do I enable it for each usergroup?
hotwheels
03-28-2006, 11:02 PM
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
03-28-2006, 11:40 PM
I don't see permissions for usergroups (ex allow certain usergroups to post) for the shoutbox under vbulletin options.
Neziah
03-29-2006, 12:26 AM
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
03-29-2006, 01:23 PM
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
03-29-2006, 04:11 PM
Just wanted to say, class shoutbox..not to be underestimated :)
full marks ZT :)
www.carpy.co.uk
tracylee
03-29-2006, 06:59 PM
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
03-30-2006, 01:49 AM
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
03-30-2006, 03:31 AM
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
03-31-2006, 02:00 AM
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
03-31-2006, 12:18 PM
How can i get anonymous users to be able to shout?
matt
You could make it have a better look though....
Damien2005
04-02-2006, 06:53 PM
Hello..
How can i show the pagenav in to the shoutbox.. So people can change the page in the shoutbox..
ozmazdaclub
04-03-2006, 02:27 AM
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.
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-04-2006, 08:40 AM
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-04-2006, 11:04 AM
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-04-2006, 05:38 PM
/prune or click on title on shoutbox....
bashy
04-05-2006, 05:49 PM
Hi peeps....
Anyway speed up the refresh please? as mine is a bit delayed, perhaps anything upto about 30 seconds :(
rareclownfish
04-06-2006, 12:28 AM
Is this shout box working on 3.5.4?
rareclownfish
04-06-2006, 12:40 AM
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....
https://vborg.vbsupport.ru/attachment.php?attachmentid=35883&d=1129506260
Thanks
rareclownfish
04-06-2006, 02:47 AM
Anyone?
geezmo
04-06-2006, 08:40 AM
^ Here you go: https://vborg.vbsupport.ru/showpost.php?p=925253&postcount=1407
:)
geezmo
04-06-2006, 08:44 AM
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
04-06-2006, 11:01 AM
^ Here you go: https://vborg.vbsupport.ru/showpost.php?p=925253&postcount=1407
:)
Thanks, what about the other part of the question?
Kyderoy
04-06-2006, 10:29 PM
Is there a way to limit the number of characters a person can post in the shout box?
Reece^B
04-07-2006, 08:54 AM
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
04-07-2006, 11:37 AM
Any coders out there?
hotwheels
04-07-2006, 12:32 PM
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
04-07-2006, 12:42 PM
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
04-07-2006, 01:03 PM
Can u mass delete all the old shouts? would like to have the option every now and then.
Reece^B
04-07-2006, 01:43 PM
are you also using cmps?
Yes, but it was fine before I upgraded.
Baudman
04-07-2006, 09:46 PM
My members will love this. Thanks. :):banana:
Fifthe1ement
04-07-2006, 10:03 PM
Yeah, how can we mass delete the database of shouts?
hotwheels
04-08-2006, 12:22 AM
for now, you will probably just have to click on "shoutbox" and delete the post's from in there.......1 at a time.
Fifthe1ement
04-08-2006, 04:51 AM
Wow, if thats the case I'm going to take it down now as it can grow as my forum is huge...
New Commands
- /prune (Clears the shoutbox completely)
- /prune [username] (Clears all shouts posted by specified user)
Don' t these commands delete the database?
exegete
04-08-2006, 12:31 PM
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|l ink|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
04-08-2006, 08:13 PM
anyone got any ideas for me?
The index is now named shoutbox lol when a user is viewing it.
hotwheels
04-09-2006, 02:30 AM
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
04-09-2006, 10:22 AM
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
04-09-2006, 11:21 AM
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
04-09-2006, 11:37 AM
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
04-09-2006, 02:16 PM
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
04-09-2006, 09:18 PM
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
04-10-2006, 09:51 AM
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
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.