https://www.icyphoenix.com/viewtopic.php?f=36&t=5894&p=39993#p39993 ----------------------------------- Lopalong Fri 29 May, 2009 15:16 Re: Sudoku Images For Dark Styles ----------------------------------- [img]http://www.icyphoenix.com/files/images/3531/ani_dont_tell.gif[/img] Hehehehe! Thought you might like a BIGGER one. :mricy: [b]Edit:[/b] Limun, do you want to test this with vB_black? It should fix the img_fade thing, and just add your changed images .png etc here -> [code linenumbers=false]// Start vB_black specific images $images['menu_sep'] = $current_template_buttons . 'menu_sep.png'; $images['nav_menu_sep'] = $current_template_buttons . 'menu_sep.png'; // END vB_black specific images[/code] [b]vB_black.cfg[/b] [spoiler][code linenumbers=false]
'; $images['page_end'] = '
'; } $images['tbl_b_l'] = ''; $images['tbl_b_c'] = ''; $images['tbl_b_r'] = ''; $images['tbl_f_l'] = ''; $images['tbl_f_c'] = ''; $images['tbl_f_r'] = ''; $images['tbl_h_l'] = '
'; $images['tbl_h_c'] = ''; $images['tbl_h_r'] = '
'; $images['tbl_f_l'] = '
 '; $images['tbl_f_c'] = ''; $images['tbl_f_r'] = '
'; $images['tbl_h_l_house'] = $images['tbl_h_l']; $images['tbl_h_l_alt'] = $images['tbl_h_l']; $images['tbl_h_r_alt'] = $images['tbl_h_r']; $images['tbl_h_l_small_b'] = $images['tbl_h_l']; $images['tbl_h_r_small_b'] = $images['tbl_h_r']; $images['tbl_h_l_small_y'] = $images['tbl_h_l']; $images['tbl_h_r_small_y'] = $images['tbl_h_r']; if ($color == 'vbblack') { $copyright_link = 'Design by Limun '; } include(IP_ROOT_PATH . 'templates/default/default.cfg'); // Start vB_black specific images $images['menu_sep'] = $current_template_buttons . 'menu_sep.png'; $images['nav_menu_sep'] = $current_template_buttons . 'menu_sep.png'; // END vB_black specific images // SUDOKU - BEGIN if (defined('IN_SUDOKU')) { $images['sudoku_x'] = $current_template_images . 'sudoku/sudoku_blank.gif'; $images['sudoku_1'] = $current_template_images . 'sudoku/1_given.png'; $images['sudoku_2'] = $current_template_images . 'sudoku/2_given.png'; $images['sudoku_3'] = $current_template_images . 'sudoku/3_given.png'; $images['sudoku_4'] = $current_template_images . 'sudoku/4_given.png'; $images['sudoku_5'] = $current_template_images . 'sudoku/5_given.png'; $images['sudoku_6'] = $current_template_images . 'sudoku/6_given.png'; $images['sudoku_7'] = $current_template_images . 'sudoku/7_given.png'; $images['sudoku_8'] = $current_template_images . 'sudoku/8_given.png'; $images['sudoku_9'] = $current_template_images . 'sudoku/9_given.png'; $images['sudoku_11'] = $current_template_images . 'sudoku/11_given.png'; $images['sudoku_12'] = $current_template_images . 'sudoku/12_given.png'; $images['sudoku_13'] = $current_template_images . 'sudoku/13_given.png'; $images['sudoku_14'] = $current_template_images . 'sudoku/14_given.png'; $images['sudoku_15'] = $current_template_images . 'sudoku/15_given.png'; $images['sudoku_16'] = $current_template_images . 'sudoku/16_given.png'; $images['sudoku_17'] = $current_template_images . 'sudoku/17_given.png'; $images['sudoku_18'] = $current_template_images . 'sudoku/18_given.png'; $images['sudoku_19'] = $current_template_images . 'sudoku/19_given.png'; $images['sudoku_21'] = $current_template_images . 'sudoku/1_ran.png'; $images['sudoku_22'] = $current_template_images . 'sudoku/2_ran.png'; $images['sudoku_23'] = $current_template_images . 'sudoku/3_ran.png'; $images['sudoku_24'] = $current_template_images . 'sudoku/4_ran.png'; $images['sudoku_25'] = $current_template_images . 'sudoku/5_ran.png'; $images['sudoku_26'] = $current_template_images . 'sudoku/6_ran.png'; $images['sudoku_27'] = $current_template_images . 'sudoku/7_ran.png'; $images['sudoku_28'] = $current_template_images . 'sudoku/8_ran.png'; $images['sudoku_29'] = $current_template_images . 'sudoku/9_ran.png'; } // SUDOKU - END // adding custom template variables $template->assign_vars(array( 'FULL_SITE_PATH' => $full_server_url, 'THIS_STYLE_NAME' => $row['style_name'], 'THIS_TEMPLATE_NAME' => $row['template_name'], 'T_TPL_PATH' => $current_template_path . '/', 'T_COMMON_TPL_PATH' => 'templates/common/', 'T_TEMPLATE_PATH' => $template_dir, 'T_IMAGESET_PATH' => $imageset_dir, 'T_IMAGESET_LANG_PATH' => $imageset_dir . 'lang_' . $tpl_lang, 'CURRENT_LANG' => $board_config['default_lang'], 'CURRENT_TPL_LANG' => $tpl_lang, 'IS_XMAS' => $is_xmas, 'S_XMAS_GFX' => (($board_config['xmas_gfx'] == true) ? true : false), 'S_XMAS_FX' => (($board_config['xmas_fx'] == true) ? true : false), 'TPL_COLOR' => $color, 'CSS_COLOR' => $css_color, 'SHOW_HIDE_PADDING' => $show_hide_padding, 'S_LOGGED_IN' => ($userdata['session_logged_in'] ? 1 : 0), 'S_ADMIN' => (($userdata['user_level'] == ADMIN) ? 1 : 0), 'S_MOD' => (($userdata['user_level'] == MOD) ? 1 : 0), 'S_ADMIN_MOD' => ((($userdata['user_level'] == ADMIN) || ($userdata['user_level'] == MOD)) ? 1 : 0), 'S_BOT' => (($userdata['bot_id'] !== false) ? 1 : 0), 'C_PM' => (($userdata['session_logged_in'] && $userdata['user_new_privmsg']) ? (' (' . $userdata['user_new_privmsg'] . ')') : ''), 'S_SID' => $userdata['session_id'], // Mighty Gorgon - Rounded Corners and Global HTML Vars - BEGIN 'EXTRA_CSS_JS' => $extra_css_js, 'PAGE_BEGIN' => $images['page_begin'], 'PAGE_END' => $images['page_end'], 'COPYRIGHT_LINK' => $copyright_link, 'IMG_THL' => $images['tbl_h_l'], 'IMG_THC' => $images['tbl_h_c'], 'IMG_THR' => $images['tbl_h_r'], 'IMG_TBL' => $images['tbl_b_l'], 'IMG_TBC' => $images['tbl_b_c'], 'IMG_TBR' => $images['tbl_b_r'], 'IMG_TFL' => $images['tbl_f_l'], 'IMG_TFC' => $images['tbl_f_c'], 'IMG_TFR' => $images['tbl_f_r'], 'IMG_THL_HOUSE' => $images['tbl_h_l_house'], 'IMG_THL_ALT' => $images['tbl_h_l_alt'], 'IMG_THR_ALT' => $images['tbl_h_r_alt'], // Mighty Gorgon - Rounded Corners and Global HTML Vars - END 'SITELOGO' => $images['sitelogo'], 'SPACER' => $images['spacer'], 'GRAPH_IMAGE' => $images['voting_graphic_body'], 'LEFT_GRAPH_IMAGE' => $images['voting_graphic_left'], 'RIGHT_GRAPH_IMAGE' => $images['voting_graphic_right'], 'R_GRAPH_IMAGE' => $images['voting_graphic_red_body'], 'R_LEFT_GRAPH_IMAGE' => $images['voting_graphic_red_left'], 'R_RIGHT_GRAPH_IMAGE' => $images['voting_graphic_red_right'], 'G_GRAPH_IMAGE' => $images['voting_graphic_green_body'], 'G_LEFT_GRAPH_IMAGE' => $images['voting_graphic_green_left'], 'G_RIGHT_GRAPH_IMAGE' => $images['voting_graphic_green_right'], 'B_GRAPH_IMAGE' => $images['voting_graphic_blue_body'], 'B_LEFT_GRAPH_IMAGE' => $images['voting_graphic_blue_left'], 'B_RIGHT_GRAPH_IMAGE' => $images['voting_graphic_blue_right'], 'IMG_ARROW_UP' => 'up', 'IMG_ARROW_RIGHT' => 'right', 'IMG_ARROW_DOWN' => 'down', 'IMG_ARROW_LEFT' => 'left', 'IMG_MENU_SEP' => $images['menu_sep'], 'IMG_POST_PREV' => $images['icon_post_prev'], 'IMG_POST_NEXT' => $images['icon_post_next'], 'IMG_MAXIMISE' => $images['maximise'], 'IMG_MINIMISE' => $images['minimise'], 'IMG_NAV_MENU_SEP' => '', 'IMG_NAV_MENU_APPLICATION' => $images['nav_menu_application'], 'IMG_NAV_MENU_NEWSPAPER' => $images['nav_menu_newspaper'], 'IMG_NAV_MENU_INFORMATION' => $images['nav_menu_information'], 'IMG_NAV_MENU_GROUP' => $images['nav_menu_group'], 'IMG_NAV_MENU_PALETTE' => $images['nav_menu_palette'], 'IMG_NAV_MENU_WORLD' => $images['nav_menu_world'], 'IMG_NAV_MENU_RANDOM_QUOTE' => $images['nav_menu_random_quote'], 'IMG_NAV_MENU_SPONSOR' => $images['nav_menu_sponsor'], 'IMG_NAV_MENU_FEED' => $images['nav_menu_feed'], 'IMG_NAV_MENU_RSS_FEED' => $images['nav_menu_rss_feed'], 'IMG_NAV_MENU_GAMES' => $images['nav_menu_games'], 'IMG_NAV_MENU_GAMES_ALT' => $images['nav_menu_games_alt'], 'IMG_NAV_MENU_PM' => $images['nav_menu_pm'], 'IMG_NAV_MENU_STAR' => $images['nav_menu_star'], 'IMG_NAV_MENU_USERS' => $images['nav_menu_users'], 'IMG_NAV_MENU_WSETTINGS' => $images['nav_menu_wsettings'], 'RSS_NEWS_HELP' => '' . $lang['Rss_news_help'] . '', 'IMG_CALENDAR' => $images['icon_calendar'], 'IMG_VF_ANN' => $images['vf_topic_ann'], 'IMG_VF_CAL' => $images['vf_topic_cal'], 'IMG_VF_GA' => $images['vf_topic_ga'], 'IMG_VF_IMP' => $images['vf_topic_imp'], 'IMG_VF_NEWS' => $images['vf_topic_news'], 'IMG_VF_NOR' => $images['vf_topic_nor'], 'IMG_VF_POLL' => $images['vf_topic_poll'], ) ); ?>[/code][/spoiler]