vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   [AJAX] vBShout v2.0 (https://vborg.vbsupport.ru/showthread.php?t=93097)

Shazz 11-16-2007 09:02 PM

What are all your settings that you have set for the shoutbox?
Trying changing some options in vBOptions
Such as limiting how many smilies etc.

Chachacha 11-16-2007 09:20 PM

Quote:

Originally Posted by Shazz (Post 1383992)
What are all your settings that you have set for the shoutbox?
Trying changing some options in vBOptions
Such as limiting how many smilies etc.

Hmm. Good suggestion. I changed the smilies limit to zero (this shows ALL of them)... and now they aren't duplicated. Thanks.

Shazz 11-16-2007 09:21 PM

Quote:

Originally Posted by Chachacha (Post 1384006)
Hmm. Good suggestion. I changed the smilies limit to zero (this shows ALL of them)... and now they aren't duplicated. Thanks.

No problem, glad that fixed the problem :)

007 11-17-2007 05:58 AM

Would also be nice if there was a way to DISABLE links from being posted. Basically if a link is detected the entire "shout" just doesn't get submitted or something, if the option was set to do so.

Shazz 11-17-2007 06:11 AM

Quote:

Originally Posted by 007 (Post 1384206)
Would also be nice if there was a way to DISABLE links from being posted. Basically if a link is detected the entire "shout" just doesn't get submitted or something, if the option was set to do so.

Its been done, Ive done it before on accident. Couldn't do it again if I tried lol
But just letting everyone know its not too hard to do.

Stussi 11-18-2007 09:30 AM

Since an update to 3.6.8 the Shoutbox doesn't work with IE6.....

"Error on this Page"... down in the browser...

Any suggestions? :)

class101 11-18-2007 09:36 AM

Quote:

Originally Posted by Stussi (Post 1384837)
Since an update to 3.6.8 the Shoutbox doesn't work with IE6.....

"Error on this Page"... down in the browser...

Any suggestions? :)

https://vborg.vbsupport.ru/showthread.php?t=148472

mc0676 11-19-2007 01:01 PM

HE !!!
I've installed the mod in my board
http://www.vwgolfcommunity.com/vbulletin
But some time i receive a mail with this error:

Database error in vBulletin :

mysql_connect() [<a href='function.mysql-connect'>function.mysql-connect</a>]: Can't connect to MySQL server on 'mysql.register.it' (4)
/vbulletin/includes/class_core.php on line 274

MySQL Error :
Error Number :
Date : Monday, November 19th 2007 @ 03:56:59 PM
Script : http://www.vwgolfcommunity.com/vbull...&dateline=2007
Referrer : http://www.vwgolfcommunity.com/vbull...read.php?t=242
IP Address : 151.47.72.132
Username :
Classname : vB_Database

Wich is the problem ?

dubsyxxx 11-26-2007 10:22 PM

Is it possible to have 2 shoutboxes one for members and one for staff communication?

Shazz 11-26-2007 10:29 PM

Quote:

Originally Posted by dubsyxxx (Post 1389941)
Is it possible to have 2 shoutboxes one for members and one for staff communication?

Haven't seen it for this mod yet.

RockMTP 11-27-2007 05:23 PM

This was a nice easy hack to install and upgrade...Thanks

The only question is that the new version doesn't remember settings when users change font & colour like the old version did. Is there something I can do to change this?

Thanks

Trickster303 11-29-2007 05:20 AM

Remove shouts after X days old

Have been looking around and have found prune shoutbox, but I don't want to remove them all, just those after X days old. Can anyone point me to the hack that will allow me to do this.
Appreciated!

jalmz 12-03-2007 07:11 AM

thanks for the mod..

im using 3.6.8 patch 2 with no errors

TS_CUZ 12-10-2007 07:34 PM

how do i make it display on both skins??

johnrizz 12-13-2007 08:17 PM

My request is is it possible to change the backgrown color of my shoutbox without changing my board backgrown?
john....

Webmasta 12-13-2007 08:44 PM

Quote:

Originally Posted by redlabour (Post 1106214)

That fix doesn't work either.

Chachacha 12-16-2007 01:02 AM

I've seen people shout anonymously (with some kind of tag). Anybody know how its done?

Shazz 12-16-2007 01:43 AM

Quote:

Originally Posted by Chachacha (Post 1401866)
I've seen people shout anonymously (with some kind of tag). Anybody know how its done?

[high]* Shazz "/me"[/high]

Chachacha 12-16-2007 01:52 AM

Quote:

Originally Posted by Shazz (Post 1401882)
[high]* Shazz "/me"[/high]

Hmm. I typed that and replaced your name with mine and it didn't work.

Shazz 12-16-2007 02:02 AM

Quote:

Originally Posted by Chachacha (Post 1401888)
Hmm. I typed that and replaced your name with mine and it didn't work.

No, try "/me"

Chachacha 12-16-2007 02:03 AM

Quote:

Originally Posted by Shazz (Post 1401890)
No, try "/me"

Got it. Thanks.

Shazz 12-16-2007 02:04 AM

Quote:

Originally Posted by Chachacha (Post 1401891)
Didn't work.:o

If you type in "/me"
without the "
It should awork

Chachacha 12-16-2007 02:06 AM

Quote:

Originally Posted by Shazz (Post 1401894)
If you type in "/me"
without the "
It should awork

Yup that was the problem. Thanks again!

TS_CUZ 12-16-2007 09:24 PM

whenever i try to make a > or > it gives me &gt;

how can i fix this?

Shazz 12-16-2007 09:29 PM

Quote:

Originally Posted by TS_CUZ (Post 1402389)
whenever i try to make a > or > it gives me &gt;

how can i fix this?

Search the thread and you shall find.
Theres tons of fixes for it :)

TS_CUZ 12-16-2007 10:06 PM

Quote:

Originally Posted by Shazz (Post 1402394)
Search the thread and you shall find.
Theres tons of fixes for it :)

could you link me? kidna hard to go thru 200 pages :down:

Shazz 12-16-2007 11:00 PM

Quote:

Originally Posted by TS_CUZ (Post 1402416)
could you link me? kidna hard to go thru 200 pages :down:

https://vborg.vbsupport.ru/search.ph...threadid=93097

TS_CUZ 12-16-2007 11:19 PM

Quote:

Originally Posted by Shazz (Post 1402437)

it wont let me search for '&gt;', dont you think i would have already tried that?

Shazz 12-16-2007 11:42 PM

Quote:

Originally Posted by TS_CUZ (Post 1402442)
it wont let me search for '&gt;', dont you think i would have already tried that?

I guess you didn't look very hard, anyways

Find the following in vbshout.php
Code:

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

Change to:
Code:

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


TS_CUZ 12-18-2007 04:56 PM

Quote:

Originally Posted by Shazz (Post 1402458)
I guess you didn't look very hard, anyways

Find the following in vbshout.php
Code:

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

Change to:
Code:

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


it doesnt work.

Dunno012007 12-18-2007 05:44 PM

is thier a way to keep a log on the shoutbox

TrioxX 12-19-2007 11:32 AM

Hi,

when does it work for V.3.7.X?

elitemerlin 12-21-2007 09:09 PM

I am having the same problem when using " in the shoutbox, is there any fix for this besides using the vbhacks version 2.1 build of the shoutbox (yes i tried replacing the lines in VBShout.PHP referring the the htmlspecialchars trim line)

nicker 12-24-2007 01:07 AM

just trawled through 100 pages of this thread, loads of repeat questions and questions that are answered before but I've now had enough of it!
The answer for the &quote& question may be here, perhaps <clicks uninstalled>
Too many peeps asking questions that are already answered or posting "great/awesome hack!

nicker 12-24-2007 01:14 AM

Replace/edit all of vbshout.php with this for the &quote problem.
Quote:

<?php
/*================================================= =====================*\
|| ################################################## ################## ||
|| # vBShout v2 Created By Zero Tolerance [http://gzevolution.net] ||
|| ################################################## ################## ||
\*================================================ ======================*/

// ---------------------------------------------------
// Start Set PHP Environment
// ---------------------------------------------------

error_reporting(E_ALL & ~E_NOTICE);

// ---------------------------------------------------
// End Set PHP Environment
// ---------------------------------------------------

// ---------------------------------------------------
// Start Define Important Constants
// ---------------------------------------------------

define('NO_REGISTER_GLOBALS', 1);
define('THIS_SCRIPT', 'vbshout');

// ---------------------------------------------------
// End Define Important Constants
// ---------------------------------------------------

// ---------------------------------------------------
// Start Cache Of Any Needed Templates/Phrase's
// ---------------------------------------------------

$phrasegroups = array();

$specialtemplates = array();

$actiontemplates = array(
'archive' => array(
'GENERIC_SHELL',
'forumhome_vbshout_archive_shout',
'forumhome_vbshout_archive',
'forumhome_vbshout_archive_topshouter',
),
);


$globaltemplates = array(
'forumhome_vbshout_shout',
);

// ---------------------------------------------------
// End Cache Of Any Needed Templates/Phrase's
// ---------------------------------------------------



// ---------------------------------------------------
// Start Require Globalized Settings
// ---------------------------------------------------

require_once('./global.php');
require_once(DIR . '/includes/functions_user.php');
require_once(DIR . '/includes/functions_newpost.php');
require_once(DIR . '/includes/class_bbcode.php');


$DB = $db; // What? Its easier to write ^_^;
$vbulletin->vbshout_parse =& new vB_BbCodeParser($vbulletin, fetch_tag_list());

$perpage = $vbulletin->input->clean_gpc('r', 'perpage', TYPE_UINT);
$page = $vbulletin->input->clean_gpc('r', 'pagenumber', TYPE_UINT);

// ---------------------------------------------------
// End Require Globalized Settings
// ---------------------------------------------------

// ---------------------------------------------------
// Start Incorrect Page Navigation Set
// ---------------------------------------------------

// Navigation
$navbits = array();
$navbits[""] = "";

// ---------------------------------------------------
// End Incorrect Page Navigation Set
// ---------------------------------------------------

// ---------------------------------------------------
// Start Does The Page Have An Action Specified?
// ---------------------------------------------------

if ((!$_GET['do'] || $_GET['do'] == '') && !$_POST['do'])
{
$_GET['do'] = 'latest';
}

// ---------------------------------------------------
// End Does The Page Have An Action Specified?
// ---------------------------------------------------


function buildTime($time = TIMENOW)
{
global $vbulletin;

$Time = vbdate($vbulletin->options['dateformat'], $time, $vbulletin->options['yestoday']);
$Time .= ' ';
$Time .= vbdate($vbulletin->options['timeformat'], $time, $vbulletin->options['yestoday']);

return $Time;
}

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

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

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

function isBanned($user)
{
return (isBanned_Check($user['userid'], 'shout_banned_users') || isBanned_Check($user['usergroupid'], 'shout_banned_usergroups'));
}

function isBanned_Check($bash, $against)
{
global $vbulletin;
return in_array($bash, iif($vbulletin->options[$against], explode(',', $vbulletin->options[$against]), array()));
}

function canCommand()
{
global $vbulletin;

return $vbulletin->options['shout_can_commnd'] && can_moderate();
}

function execCommand($Command)
{
global $meShout;

if (preg_match_all("#^/pruneshout(.*)$#", $Command, $Matches, PREG_SET_ORDER) && canCommand())
{
return execCommand_pruneshout($Matches);
}
else if (preg_match_all("#^/prune(.*)$#", $Command, $Matches, PREG_SET_ORDER) && canCommand())
{
return execCommand_prune($Matches);
}
else if (preg_match_all("#^/me(.*)$#", $Command, $Matches, PREG_SET_ORDER))
{
$meShout = 1;
return trim($Matches[0][1]);
}

return $Command;
}

function execCommand_pruneshout($Data)
{
global $vbulletin;

$Data = trim($Data[0][1]);

if (!empty($Data))
{
$vbulletin->db->query('delete from '.TABLE_PREFIX.'shout where s_me in(0,1) and s_shout = \''.addslashes($Data).'\' or s_shout = \''.addslashes(fetch_word_wrapped_string($Data)).' \'');
}

return true;
}

function execCommand_prune($Data)
{
global $vbulletin;

$Data = trim($Data[0][1]);

if (empty($Data))
{
$vbulletin->db->query('delete from '.TABLE_PREFIX.'shout');
}
else
{
if ($u = $vbulletin->db->query_first('select userid from '.TABLE_PREFIX.'user where username = \''.addslashes(htmlspecialchars_uni($Data)).'\''))
{
$vbulletin->db->query('delete from '.TABLE_PREFIX.'shout where s_by = \''.intval($u['userid']).'\'');
}
}

return true;
}

// ---------------------------------------------------
// Grab Latest X Shouts
// ---------------------------------------------------

if ($_GET['do'] == 'latest')
{
$Output = array();
$Shouts = $DB->query('
select s.*, u.username, u.usergroupid from '.TABLE_PREFIX.'shout s
left join '.TABLE_PREFIX.'user u on (u.userid = s.s_by)
order by s.sid desc limit ' . $vbulletin->options['shout_display']);

while ($Shout = $DB->fetch_array($Shouts))
{
$Shout['time'] = buildTime($Shout['s_time']);
$Shout['s_shout'] = bbcodeparser($Shout['s_shout']);
$Shout['style'] = '';
$Shout['data'] = unserialize($Shout['s_data']);
$Shout['username'] = fetch_musername($Shout, 'usergroupid');

if ($Shout['data']['color'])
{
$Shout['style'] .= 'color:'.$Shout['data']['color'].';';
}

if ($Shout['data']['font'])
{
$Shout['style'] .= 'font-family:'.$Shout['data']['font'].';';
}

if ($Shout['data']['bold'])
{
$Shout['style'] .= 'font-weight:'.$Shout['data']['bold'].';';
}

if ($Shout['data']['underline'])
{
$Shout['style'] .= 'text-decoration:'.$Shout['data']['underline'].';';
}

if ($Shout['data']['italic'])
{
$Shout['style'] .= 'font-style:'.$Shout['data']['italic'].';';
}

if ($Shout['style'])
{
$Shout['s_shout'] = '<font style="'.$Shout['style'].'">'.$Shout['s_shout'].'</font>';
}

eval('$Output[] .= "' . fetch_template('forumhome_vbshout_shout') . '";');
}

if (isBanned($vbulletin->userinfo) && $vbulletin->options['shout_banned_perms'] > 0)
{
$Output = '';
$Shout = array(
'time' => buildTime(),
'username' => 'System Reponse',
's_shout' => 'You are currently banned from the shoutbox',
);

eval('$Output .= "' . fetch_template('forumhome_vbshout_shout') . '";');
}

if (empty($Output))
{
$Output = '';
$Shout = array(
'time' => buildTime(),
'username' => 'System Reponse',
's_shout' => 'No Current Shouts',
);

eval('$Output .= "' . fetch_template('forumhome_vbshout_shout') . '";');
}
else
{
if ($vbulletin->options['shout_messages_order'])
{
$Output = array_reverse($Output);
}

$Shouts = $Output;
$Output = '';

foreach ($Shouts as $Shout)
{
$Output .= $Shout;
}
}

unset($Shouts, $Shout);

echo $Output;
exit;
}

// ---------------------------------------------------
// End Latest X Shouts
// ---------------------------------------------------

// ---------------------------------------------------
// Shout
// ---------------------------------------------------

if ($_POST['do'] == 'shout')
{
$vbulletin->input->clean_array_gpc('p', array(
'shout' => TYPE_STR,
'color' => TYPE_NOHTML,
'fontFamily' => TYPE_NOHTML,
'fontWeight' => TYPE_NOHTML,
'fontStyle' => TYPE_NOHTML,
'textDecoration' => TYPE_NOHTML,
));

$meShout = 0;

if (!empty($vbulletin->GPC['shout']) && $vbulletin->userinfo['userid'] > 0 && !isBanned($vbulletin->userinfo))
{

$ShoutData = addslashes(serialize(array(
'color' => addslashes(convert_urlencoded_unicode($vbulletin->GPC['color'])),
'font' => addslashes(convert_urlencoded_unicode($vbulletin->GPC['fontFamily'])),
'bold' => addslashes(convert_urlencoded_unicode($vbulletin->GPC['fontWeight'])),
'italic' => addslashes(convert_urlencoded_unicode($vbulletin->GPC['fontStyle'])),
'underline' => addslashes(convert_urlencoded_unicode($vbulletin->GPC['textDecoration'])),
)));

$vbulletin->GPC['shout'] = convert_urlencoded_unicode($vbulletin->GPC['shout']);

if (($vbulletin->GPC['shout'] = execCommand($vbulletin->GPC['shout'])) !== true)
{
$DB->query("
insert into ".TABLE_PREFIX."shout
(s_time, s_by, s_shout, s_data, s_me)
values
(".TIMENOW.", {$vbulletin->userinfo['userid']}, '".addslashes($vbulletin->GPC['shout'])."', '{$ShoutData}', $meShout)
");
}
}

exit;
}

// ---------------------------------------------------
// End Shout
// ---------------------------------------------------

// ---------------------------------------------------
// Display Shout Archive
// ---------------------------------------------------

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

$TopTen = '';

$TS = $DB->query_first("select count(*) as `ts` from " . TABLE_PREFIX . "shout");
$TS_D = $TS['ts'];
$TS = vb_number_format($TS['ts']);

$T4 = $DB->query_first("select count(*) as `T4` from " . TABLE_PREFIX . "shout where s_time > " . (TIMENOW - (60 * 60 * 24)));
$T4 = vb_number_format($T4['T4']);

$TY = $DB->query_first("select count(*) as `TY` from " . TABLE_PREFIX . "shout where s_by = '{$vbulletin->userinfo['userid']}'");
$TY = vb_number_format($TY['TY']);

$TT = $DB->query('
select s.*, count(s.sid) as `TS`, u.username, u.usergroupid from '.TABLE_PREFIX.'shout s
left join '.TABLE_PREFIX.'user u on (u.userid = s.s_by)
group by s.s_by having TS > 0
order by TS desc limit 10');

while ($TTS = $DB->fetch_array($TT))
{
$TTS['username'] = fetch_musername($TTS, 'usergroupid');
eval('$TopTen .= "' . fetch_template('forumhome_vbshout_archive_topshout er') . '";');
}

sanitize_pageresults($TS_D, $page, $perpage, 40, 10);

$limitlower = ($page - 1) * $perpage + 1;
if ($limitlower <= 0)
{
$limitlower = 1;
}

$Output = array();
$Shouts = $DB->query('
select s.*, u.username, u.usergroupid from '.TABLE_PREFIX.'shout s
left join '.TABLE_PREFIX.'user u on (u.userid = s.s_by)
order by s.sid desc limit ' . ($limitlower - 1) . ',' . $perpage);

while ($Shout = $DB->fetch_array($Shouts))
{
$Shout['msg_safe'] = $Shout['s_shout'];
$Shout['time'] = buildTime($Shout['s_time']);
$Shout['s_shout'] = bbcodeparser($Shout['s_shout']);
$Shout['style'] = '';
$Shout['data'] = unserialize($Shout['s_data']);
$Shout['username'] = fetch_musername($Shout, 'usergroupid');

if ($Shout['data']['color'])
{
$Shout['style'] .= 'color:'.$Shout['data']['color'].';';
}

if ($Shout['data']['font'])
{
$Shout['style'] .= 'font-family:'.$Shout['data']['font'].';';
}

if ($Shout['data']['bold'])
{
$Shout['style'] .= 'font-weight:'.$Shout['data']['bold'].';';
}

if ($Shout['data']['underline'])
{
$Shout['style'] .= 'text-decoration:'.$Shout['data']['underline'].';';
}

if ($Shout['data']['italic'])
{
$Shout['style'] .= 'font-style:'.$Shout['data']['italic'].';';
}

if ($Shout['style'])
{
$Shout['s_shout'] = '<font style="'.$Shout['style'].'">'.$Shout['s_shout'].'</font>';
}

eval('$Output[] .= "' . fetch_template('forumhome_vbshout_archive_shout') . '";');
}

if (isBanned($vbulletin->userinfo) && $vbulletin->options['shout_banned_perms'] > 0)
{
$Output = '';
$Shout = array(
'time' => buildTime(),
'username' => 'System Reponse',
's_shout' => 'You are currently banned from the shoutbox',
);

eval('$Output .= "' . fetch_template('forumhome_vbshout_archive_shout') . '";');
}

if (empty($Output))
{
$Output = '';
$Shout = array(
'time' => buildTime(),
'username' => 'System Reponse',
's_shout' => 'No Current Shouts',
);

eval('$Output .= "' . fetch_template('forumhome_vbshout_archive_shout') . '";');
}
else
{
$Shouts = $Output;
$Output = '';

foreach ($Shouts as $Shout)
{
$Output .= $Shout;
}
}

unset($Shouts, $Shout);

$pagenav = construct_page_nav($page, $perpage, $TS_D, 'vbshout.php?' . $vbulletin->session->vars['sessionurl'] . 'do=archive', ''
. (!empty($vbulletin->GPC['perpage']) ? "&amp;pp=$perpage" : "")
);

eval('$HTML = "' . fetch_template('forumhome_vbshout_archive') . '";');
}

// ---------------------------------------------------
// Display Shout Archive
// ---------------------------------------------------

// ---------------------------------------------------
// AJAX Edit Shout
// ---------------------------------------------------

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

if (!$Shout = $DB->query_first("select * from " . TABLE_PREFIX . "shout where sid = '{$vbulletin->GPC['id']}'"))
{
echo $vbulletin->GPC['shout'];
exit;
}

if ($Shout['sid'] != $vbulletin->userinfo['userid'] && !can_moderate())
{
echo $vbulletin->GPC['shout'];
exit;
}

$vbulletin->GPC['shout'] = convert_urlencoded_unicode($vbulletin->GPC['shout']);

$DB->query("update " . TABLE_PREFIX . "shout set s_shout = '".addslashes($vbulletin->GPC['shout'])."' where sid = $Shout[sid]");

$Shout = $DB->query_first("select * from " . TABLE_PREFIX . "shout where sid = '{$vbulletin->GPC['id']}'");

$Shout['s_shout'] = bbcodeparser($Shout['s_shout']);
$Shout['style'] = '';
$Shout['data'] = unserialize($Shout['s_data']);

if ($Shout['data']['color'])
{
$Shout['style'] .= 'color:'.$Shout['data']['color'].';';
}

if ($Shout['data']['font'])
{
$Shout['style'] .= 'font-family:'.$Shout['data']['font'].';';
}

if ($Shout['data']['bold'])
{
$Shout['style'] .= 'font-weight:'.$Shout['data']['bold'].';';
}

if ($Shout['data']['underline'])
{
$Shout['style'] .= 'text-decoration:'.$Shout['data']['underline'].';';
}

if ($Shout['data']['italic'])
{
$Shout['style'] .= 'font-style:'.$Shout['data']['italic'].';';
}

if ($Shout['style'])
{
$Shout['s_shout'] = '<font style="'.$Shout['style'].'">'.$Shout['s_shout'].'</font>';
}

echo $Shout['s_shout'];
exit;
}

// ---------------------------------------------------
// AJAX Edit Shout
// ---------------------------------------------------

// ---------------------------------------------------
// AJAX Delete Shout
// ---------------------------------------------------

if ($_POST['do'] == 'deleteshout')
{
$vbulletin->input->clean_array_gpc('p', array(
'id' => TYPE_UNIT,
));

if (!$Shout = $DB->query_first("select * from " . TABLE_PREFIX . "shout where sid = '{$vbulletin->GPC['id']}'"))
{
echo 'false';
exit;
}

if ($Shout['sid'] != $vbulletin->userinfo['userid'] && !can_moderate())
{
echo 'false';
exit;
}

$vbulletin->GPC['shout'] = convert_urlencoded_unicode($vbulletin->GPC['shout']);

$DB->query("delete from " . TABLE_PREFIX . "shout where sid = $Shout[sid]");

echo 'true';
exit;
}

// ---------------------------------------------------
// AJAX Delete Shout
// ---------------------------------------------------

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


$navbits = construct_navbits($navbits);
eval('$navbar = "' . fetch_template('navbar') . '";');
eval('print_output("' . fetch_template('GENERIC_SHELL') . '");');


// ---------------------------------------------------
// End Page Output
// ---------------------------------------------------
?>

Shazz 12-24-2007 04:01 AM

nicker, use the [html] code here on vB.org
You just strecthed out the thread

nicker 12-24-2007 11:01 AM

Quote:

Originally Posted by Shazz (Post 1408096)
nicker, use the [html] code here on vB.org
You just strecthed out the thread

Sorry, I don't know the html code.
I copied and pasted from a working one.
Maybe one of the mods would be kind enough to edit it for me.

:confused:

nguoidathu 12-24-2007 11:53 AM

Nice work. Thanks for your fix

denman75 12-26-2007 02:03 PM

nothing to lie here lol
its a great mod and it works great on vBulletin® v3.6.8 Patch Level 2
big thumbs up

Tikibird 12-27-2007 07:22 AM

I am getting close to maxxing out my bandwidth for this month. How do I temporarily turn off the Shoutbox without losing the archives? I don't want to uninstall and reinstall.

After 1 Jan, I can turn it back on. I can't find an on/off switch in the VB Options control panel. I disabled the smilies at least.


All times are GMT. The time now is 07:46 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.03572 seconds
  • Memory Usage 1,910KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (4)bbcode_code_printable
  • (20)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete