Ver Mensaje Individual
  #5 (permalink)  
Antiguo 03/02/2013, 16:49
iorio
 
Fecha de Ingreso: diciembre-2010
Mensajes: 237
Antigüedad: 13 años, 11 meses
Puntos: 2
Respuesta: vbulletin / Como editar algunos colores.

Si lo se, es la imagen de fondo que pesa tanto, la estaba dejando para lo ultimo por que no tenia ganas de editarla con photoshop, pero es lo unico que pesa en la pagina.

De notice no hablaba.. ese tiene fondo color crema y puedo editarlo desde las variables sin problemas, yo hablo solo de colores blancos mira esta imagen:

http://img55.xooimage.com/views/b/9/...1-3ba13d8.png/

Igual en css.php revise y no se encuentra eso.

css.php:
Código CSS:
Ver original
  1. <?php
  2. /*======================================================================*\
  3.  
  4.  
  5. // ####################### SET PHP ENVIRONMENT ###########################
  6. error_reporting(E_ALL & ~E_NOTICE);
  7.  
  8. // #################### DEFINE IMPORTANT CONSTANTS #######################
  9. define('THIS_SCRIPT', 'css');
  10. define('CSRF_PROTECTION', true);
  11. define('NOPMPOPUP', 1);
  12. define('NOCOOKIES', 1);
  13. define('NONOTICES', 1);
  14. define('NOHEADER', 1);
  15. define('NOSHUTDOWNFUNC', 1);
  16. define('LOCATION_BYPASS', 1);
  17.  
  18. define('NOCHECKSTATE', 1);
  19. define('SKIP_SESSIONCREATE', 1);
  20.  
  21. // Immediately send back the 304 Not Modified header if this css is cached, don't load global.php
  22. if ((!empty($_SERVER['HTTP_IF_MODIFIED_SINCE']) OR !empty($_SERVER['HTTP_IF_NONE_MATCH'])))
  23. {
  24.     $sapi_name = php_sapi_name();
  25.     if ($sapi_name == 'cgi' OR $sapi_name == 'cgi-fcgi')
  26.     {
  27.         header('Status: 304 Not Modified');
  28.     }
  29.     else
  30.     {
  31.         header('HTTP/1.1 304 Not Modified');
  32.     }
  33.     // remove the content-type and X-Powered headers to emulate a 304 Not Modified response as close as possible
  34.     header('Content-Type:');
  35.     header('X-Powered-By:');
  36.     exit;
  37. }
  38.  
  39. // ################### PRE-CACHE TEMPLATES AND DATA ######################
  40. // get special phrase groups
  41. $phrasegroups = array();
  42.  
  43. // get special data templates from the datastore
  44. $specialtemplates = array();
  45.  
  46. // pre-cache templates used by all actions  - build
  47. preg_match_all('#([a-z0-9_\-]+\.css)#i', $_REQUEST['sheet'], $matches);
  48. if ($matches[1])
  49. {
  50.     foreach ($matches[1] AS $cssfile)
  51.     {
  52.         $globaltemplates[] = $cssfile;
  53.     }
  54. }
  55. else
  56. {
  57.     $globaltemplates = array();
  58. }
  59.  
  60. // pre-cache templates used by specific actions
  61. $actiontemplates = array();
  62.  
  63. // ######################### REQUIRE BACK-END ############################
  64. require_once('./global.php');
  65.  
  66. // #######################################################################
  67. // ######################## START MAIN SCRIPT ############################
  68. // #######################################################################
  69.  
  70. header('Content-Type: text/css');
  71.  
  72. // Legacy Hook 'css_start' Removed //
  73.  
  74. if (empty($matches[1]))
  75. {
  76.     echo "/* Unable to find css sheet */";
  77. }
  78. else
  79. {
  80.     //      Note that the css publishing mechanism relies on the fact that
  81.     //      there isn't any user specific data passed to the css templates.
  82.  
  83.     //We have violated this for userprofile.css, because after all that's its
  84.     // reason for existing.
  85.     $templates = '';
  86.     $count = 0;
  87.     foreach ($matches[1] AS $template)
  88.     {
  89.         if ($count > 0)
  90.         {
  91.             $templates .= "\r\n\r\n";
  92.         }
  93.  
  94.         $templater = vB_Template::create($template);
  95.         //for user profile customization
  96.         if ($template == 'css_profile.css' AND isset($_REQUEST['userid']) AND intval($_REQUEST['userid']))
  97.         {
  98.             $userId =  (isset($_REQUEST['showusercss']) AND intval($_REQUEST['showusercss']) == 1) ? intval($_REQUEST['userid']) : false;
  99.             $templater->register('userid', $userId);
  100.         }
  101.         $template = $templater->render(true, false, true);
  102.         if ($count > 0)
  103.         {
  104.             $template = preg_replace("#@charset .*#i", "", $template);
  105.         }
  106.         $templates .= $template;
  107.         $count++;
  108.     }
  109.  
  110.     // TODO - Remove this
  111.     //temporary -- allows me to fix the stylevars without destroying everybody else's work.
  112.     // commented-out by chris: 01/14/2010
  113.     //$templates = str_replace('pxpx', 'px', $templates);
  114.  
  115.     header('Cache-control: max-age=31536000, private');
  116.     header('Expires: ' . gmdate("D, d M Y H:i:s", TIMENOW + 31536000) . ' GMT');
  117.     header('Last-Modified: ' . gmdate('D, d M Y H:i:s', $style['dateline']) . ' GMT');
  118.  
  119.     echo $templates;
  120. }
  121.  
  122. /*======================================================================*\
  123. || ####################################################################
  124. || # Downloaded: 19:41, Sat Jan 26th 2013
  125. || ####################################################################
  126. \*======================================================================*/

Última edición por iorio; 03/02/2013 a las 21:26