Activity Stream
48,167 MEMBERS
62008 ONLINE
besthostingforums On YouTube Subscribe to our Newsletter besthostingforums On Twitter besthostingforums On Facebook besthostingforums On facebook groups

Results 1 to 8 of 8
  1.     
    #1
    Banned
    Website's:
    SixUpload.com WHangout.com

    Default [Code]Tag showing black color

    Hi mates,
    in my new forum. When i try post using [code] tags, it shows black color in its area. Check this:
    http://www.w4warez.com/showthread.ph...ount&p=6#post6

    How to make this black color white?
    saini Reviewed by saini on . [Code]Tag showing black color Hi mates, in my new forum. When i try post using tags, it shows black color in its area. Check this: http://www.w4warez.com/showthread.php?6-Filesonic-premium-account&p=6#post6 How to make this black color white? Rating: 5

  2.   Sponsored Links

  3.     
    #2
    Banned
    Website's:
    SixUpload.com WHangout.com
    check this how its showing code:


    plz help me to make the color inside code white from black....

  4.     
    #3
    Member
    Website's:
    wscripts.net damnlolscript.com lulzjet.com
    check your css files, you use css.php and i can't see on which file is the code.
    Search for .bbcode_container pre.bbcode_code

  5.     
    #4
    Member
    Website's:
    HD-Streaming.org
    Just go to your CSS file and change find line 17 it should be like this:
    Code: 
    .bbcode_container div.bbcode_code, .bbcode_container pre.bbcode_code{//some code//}
    change the background color value to #fff.
    That's all

  6.     
    #5
    Banned
    Website's:
    SixUpload.com WHangout.com
    Thanks mates,

    css file has following code:
    Code: 
    <?php
    /*======================================================================*\
    || #################################################################### ||
    || # vBulletin 4.1.5 Patch Level 1 - Licence Number VBF7NLOGNG
    || # ---------------------------------------------------------------- # ||
    || # Copyright ฉ2000-2011 vBulletin Solutions Inc. All Rights Reserved. ||
    || # This file may not be redistributed in whole or significant part. # ||
    || # ---------------- VBULLETIN IS NOT FREE SOFTWARE ---------------- # ||
    || # http://www.vbulletin.com | http://www.vbulletin.com/license.html # ||
    || #################################################################### ||
    \*======================================================================*/
    
    // ####################### SET PHP ENVIRONMENT ###########################
    error_reporting(E_ALL & ~E_NOTICE);
    
    // #################### DEFINE IMPORTANT CONSTANTS #######################
    define('THIS_SCRIPT', 'css');
    define('CSRF_PROTECTION', true);
    define('NOPMPOPUP', 1);
    define('NOCOOKIES', 1);
    define('NONOTICES', 1);
    define('NOHEADER', 1);
    define('NOSHUTDOWNFUNC', 1);
    define('LOCATION_BYPASS', 1);
    
    define('NOCHECKSTATE', 1);
    define('SKIP_SESSIONCREATE', 1);
    
    // Immediately send back the 304 Not Modified header if this css is cached, don't load global.php
    if ((!empty($_SERVER['HTTP_IF_MODIFIED_SINCE']) OR !empty($_SERVER['HTTP_IF_NONE_MATCH'])))
    {
        $sapi_name = php_sapi_name();
        if ($sapi_name == 'cgi' OR $sapi_name == 'cgi-fcgi')
        {
            header('Status: 304 Not Modified');
        }
        else
        {
            header($_SERVER['SERVER_PROTOCOL'] . ' 304 Not Modified');
        }
        // remove the content-type and X-Powered headers to emulate a 304 Not Modified response as close as possible
        header('Content-Type:');
        header('X-Powered-By:');
        exit;
    }
    
    // ################### PRE-CACHE TEMPLATES AND DATA ######################
    // get special phrase groups
    $phrasegroups = array();
    
    // get special data templates from the datastore
    $specialtemplates = array();
    
    // pre-cache templates used by all actions  - build
    preg_match_all('#([a-z0-9_\-]+\.css)#i', $_REQUEST['sheet'], $matches);
    if ($matches[1])
    {
        foreach ($matches[1] AS $cssfile)
        {
            $globaltemplates[] = $cssfile;
        }
    }
    else
    {
        $globaltemplates = array();
    }
    
    // pre-cache templates used by specific actions
    $actiontemplates = array();
    
    // ######################### REQUIRE BACK-END ############################
    require_once('./global.php');
    
    // #######################################################################
    // ######################## START MAIN SCRIPT ############################
    // #######################################################################
    
    header('Content-Type: text/css');
    
    ($hook = vBulletinHook::fetch_hook('css_start')) ? eval($hook) : false;
    
    if (empty($matches[1]))
    {
        echo "/* Unable to find css sheet */";
    }
    else
    {
        //        Note that the css publishing mechanism relies on the fact that
        //        there isn't any user specific data passed to the css templates.
    
        //We have violated this for userprofile.css, because after all that's its
        // reason for existing.
        $templates = '';
        $count = 0;
        foreach ($matches[1] AS $template)
        {
            if ($count > 0)
            {
                $templates .= "\r\n\r\n";
            }
    
            $templater = vB_Template::create($template);
            //for user profile customization
            if ($template == 'userprofile.css' AND isset($_REQUEST['userid']) AND intval($_REQUEST['userid']))
            {
                require_once(DIR . '/includes/class_bootstrap_framework.php');
                vB_Bootstrap_Framework::init();
                //class db_Assertor needs to be initialized.
                $userinfo = fetch_userinfo($_REQUEST['userid']);
                $permissions = cache_permissions($userinfo, false);
                vB_dB_Assertor::init(vB::$vbulletin->db, vB::$vbulletin->userinfo);
                require_once './vb/profilecustomize.php';
                            
                if ($vbulletin->options['socnet'] & $vbulletin->bf_misc_socnet['enable_profile_styling'])
                {
                    vB_ProfileCustomize::setPermissions($permissions['usercsspermissions']);
                    vB_ProfileCustomize::setStylevars($vbulletin->stylevars);
                    $theme = vB_ProfileCustomize::getUserTheme($_REQUEST['userid']);
                }
                else
                {
                    $theme = vB_ProfileCustomize::getSiteDefaultTheme();
                }
    
                foreach ($theme as $varname => $setting)
                {
                    if ($varname == 'font_family' AND $setting == 'default')
                    {
                        $templater->register($varname, vB::$vbulletin->stylevars['font']['family']);
                    }
                    else if (preg_match('#<\s*script.*>#i', $value) > 0 )
                    {
                        continue;
                    }
                    else
                    {
                        if (preg_match("#_(color|border)$#", $varname))
                        {
                            //color values are validated heavily on input and tend to
                            //get destroyed by when escaped.
                        }
                        else
                        {
                            //IE6 will accept "javascript:" and "vbscript:" urls.  Unfortunately it will do so even if the 
                            //url strings are encoded.  We remove whitespace from the string to avoid attempts
                            //to break up the word javascript in ways the css parser might still recognize.
                            $temp_setting = preg_replace("#\s#", "", $setting);
                            if(stripos($temp_setting, 'javascript') !== false OR stripos($temp_setting, 'vbscript') !== false)
                            {
                                $setting = '';
                            }
                            else
                            {
                                $setting = css_escape_string($setting);
                            }
                        }
    
    
                        $templater->register($varname, $setting);
                    }
                }
            }
            $template = $templater->render(true);
            if ($count > 0)
            {
                $template = preg_replace("#@charset .*#i", "", $template);
            }
            $templates .= $template;
            $count++;
    
    
        }
    
        // TODO - Remove this
        //temporary -- allows me to fix the stylevars without destroying everybody else's work.
        // commented-out by chris: 01/14/2010
        //$templates = str_replace('pxpx', 'px', $templates);
    
        header('Cache-control: max-age=31536000');
        header('Expires: ' . gmdate("D, d M Y H:i:s", TIMENOW + 31536000) . ' GMT');
        header('Last-Modified: ' . gmdate('D, d M Y H:i:s', $style['dateline']) . ' GMT');
    
        echo $templates;
    }
    
    /*======================================================================*\
    || ####################################################################
    || # Downloaded: 07:38, Sat May 29th 2010
    || # CVS: $RCSfile$ - $Revision: 30573 $
    || ####################################################################
    \*======================================================================*/
    where to change...?

  7.     
    #6
    Banned
    Website's:
    SixUpload.com WHangout.com
    Will some one help me please...

  8.     
    #7
    Respected Member
    Website's:
    DL4Everything.com Soft2050.in
    Login to Admin CP --> Styles & Templates > Search in Templates
    Search for bbcode_container pre.bbcode_code

    Or actually simply open the file bbcode.css of the curent template. That would do the work

    That file would contain this code:
    Code: 
    .bbcode_container pre.bbcode_code {
        margin:0;
        padding:6px;
        border:1px inset;
        text-align:left;
        overflow:scroll;
        direction:ltr;
        background:#202020  repeat-x;
        /*height:;*/
        font-size:12px;
    }
    Replace to:
    Code: 
    .bbcode_container pre.bbcode_code {
        margin:0;
        padding:6px;
        border:1px inset;
        text-align:left;
        overflow:scroll;
        direction:ltr;
        background:#fff  repeat-x;
        /*height:;*/
        font-size:12px;
    }
    Or change background to whatever you like

    It would be something like this then:

  9.     
    #8
    Banned
    Website's:
    SixUpload.com WHangout.com
    thanks soft.....

    kos have olved this problem now...thanks kos bro

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Embedded code not showing in homepage
    By conrey in forum Wordpress
    Replies: 8
    Last Post: 5th Oct 2011, 05:51 AM
  2. need color code
    By MrPeanut420 in forum Graphics Area
    Replies: 7
    Last Post: 1st Feb 2011, 11:48 AM
  3. [Selling] Professional Hosting Template - {Color : Blue and Black} - Designed by Skords
    By Skords in forum Completed Transactions
    Replies: 1
    Last Post: 24th Nov 2010, 06:15 AM
  4. Showing alexa using HTML code
    By pankaj in forum Webmaster Discussion
    Replies: 14
    Last Post: 17th May 2010, 09:47 PM
  5. Custom WCDDL Style BiO White&Black or Black&Red [PAID]
    By Skunked in forum Webmaster Resources
    Replies: 0
    Last Post: 29th Jan 2010, 12:52 AM

Tags for this Thread

BE SOCIAL