Back to vBulletin 3.5 Add-ons

Exempt Administrators from Shouting Prevention
Mod Version: 1.00, by Kirk Y

This modification is in the archives.
vB Version: 3.5.4 Rating: (0 vote - 0 average) Installs: 3
Released: 15 Jun 2006 Last Update: Never Downloads: 7
Not Supported Code Changes  

Exempt Administrators from SHOUTING Prevention

What does this do?
If you've enabled shouting prevention on your forum's but for whatever reason needed to post a message in all caps or atleast more caps than what you've outlined in the AdminCP as "shouting" -- then this hack is for you.

Details:
Just 1 quick Code Modificiation -- also I should add, that while I didn't look too deeply to see if this were possible with a plugin, I'll keep looking and if I find a way to 'pluginize' this hack, I'll do so.

Instructions:


1. Download the TXT File outlining the file edit -- or if you're too lazy to download, just read below.
PLEASE! BACKUP YOUR FUNCTIONS_NEWPOST.PHP FILE -- I AM NOT RESPONSIBLE FOR ANY "UH-OHs" THAT YOU MIGHT MAKE WHILE DOING THIS HACK.
Now, with that said, on to the instructions!
--------------------------------------------------------------------


Step 1: Find in includes/functions_newpost.php around line 640.
PHP Code:
// ###################### Start stopshouting #######################
function fetch_no_shouting_text($text)
{
// stops $text being all UPPER CASE
global $vbulletin;
return 
iif($vbulletin->options['stopshouting'] AND vbstrlen($text) >= $vbulletin->options['stopshouting'] AND $text == strtoupper($text), ucwords(vbstrtolower($text)), $text);

Step 2: Replace this with:
PHP Code:
// ###################### Start stopshouting #######################
function fetch_no_shouting_text($text)
{
// stops $text being all UPPER CASE
global $vbulletin;
return 
iif($vbulletin->options['stopshouting'] AND !is_member_of($vbulletin->userinfo6) AND vbstrlen($text) >= $vbulletin->options['stopshouting'] AND $text == strtoupper($text), ucwords(vbstrtolower($text)), $text);

Step 3: Upload your new file and shout to your heart's desire.

Download

This modification is archived and cannot be downloaded.

Similar Mods

Exempt all administrators, supermoderators, and moderators from server load messages vBulletin 2.x Full Releases
Moderators and Administrators are exempt from censorship vBulletin 2.x Full Releases

vblts.ru supports vBulletin®, 2022-2025