Pagina 1 din 1

problema cu template-ul Morpheus eXtreme SteelBlue !!!

Scris: 21-Feb-2005, 17:37:50
de smileybos
am o problema cu template-ul Morpheus eXtreme SteelBlue !!!
deci, dupa ce l-am instalat imi apare deasupra categoriilor un cod

Cod: Selectaţi tot

_tpldata['catrow.']) ) ? sizeof($this->_tpldata['catrow.']) : 0; for($catrow_i = 0; $catrow_i < $catrow_count; $catrow_i++) { $catrow_item = &$this->_tpldata['catrow.'][$catrow_i]; // check for new messages $new_msg = false; $forumrow_count = ( isset($catrow_item['forumrow.']) ) ? sizeof($catrow_item['forumrow.']) : 0; for ($forumrow_i = 0; $forumrow_i < $forumrow_count; $forumrow_i++) { $forumrow_item = &$catrow_item['forumrow.'][$forumrow_i]; $new_item = strpos($forumrow_item['FORUM_FOLDER_IMG'], '_new') > 0 ? true : false; if($new_item) { $new_msg = true; $forumrow_item['XS_NEW'] = '-new'; $forumrow_item['LAST_POST'] = str_replace('icon_latest_reply.gif','icon_newest_reply.gif', $forumrow_item['LAST_POST']); } if(strlen($forumrow_item['L_MODERATOR']) && $forumrow_item['L_MODERATOR'] !== ' ') { $forumrow_item['L_MODERATOR'] .= ':'; } } // add xs switch $catrow_item['TPL_HDR1'] = $new_msg ? $this->vars['TPL_HDR1_ORANGE'] : $this->vars['TPL_HDR1_BLUE']; $catrow_item['TPL_HDR2'] = $new_msg ? $this->vars['TPL_HDR2_NEW'] : $this->vars['TPL_HDR2']; $catrow_item['TPL_FTR'] = $new_msg ? $this->vars['TPL_FTR_NEW'] : $this->vars['TPL_FTR']; } ?> Test category 1
la fel imi apare cand vreau sa vad subiectele:

Cod: Selectaţi tot

_tpldata['topicrow.']) ) ? sizeof($this->_tpldata['topicrow.']) : 0; $new_posts = false; // check own posts global $userdata, $db; $topic_ids = array(); $user_topics = array(); if ($userdata['user_id'] != ANONYMOUS) { for ($topicrow_i = 0; $topicrow_i < $topicrow_count; $topicrow_i++) { $topicrow_item = &$this->_tpldata['topicrow.'][$topicrow_i]; $topic_ids[] = $topicrow_item['TOPIC_ID']; } if (!empty($topic_ids)) { // check the posts $s_topic_ids = implode(', ', $topic_ids); $sql = "SELECT DISTINCT topic_id FROM " . POSTS_TABLE . " WHERE topic_id IN ($s_topic_ids) AND poster_id = " . $userdata['user_id']; if ( ($result = $db->sql_query($sql)) ) { while ($row = $db->sql_fetchrow($result)) { $user_topics[$row['topic_id']] = true; } } } } // check for new posts and change folder for own posts for ($topicrow_i = 0; $topicrow_i < $topicrow_count; $topicrow_i++) { $topicrow_item = &$this->_tpldata['topicrow.'][$topicrow_i]; if(strpos($topicrow_item['TOPIC_FOLDER_IMG'], '_new') > 0) { $topicrow_item['XS_NEW'] = '-new'; $new_posts = true; } else { $topicrow_item['XS_NEW'] = ''; } $user_replied = isset($user_topics[$topicrow_item['TOPIC_ID']]); if($user_replied) { $topicrow_item['TOPIC_FOLDER_IMG'] = str_replace('.gif', '_own.gif', $topicrow_item['TOPIC_FOLDER_IMG']); } } // set table header/footer $this->vars['TPL_HDR1_POSTS'] = $new_posts ? $this->vars['TPL_HDR1_ORANGE'] : $this->vars['TPL_HDR1_BLUE']; $this->vars['TPL_HDR2_POSTS'] = $new_posts ? $this->vars['TPL_HDR2_NEW'] : $this->vars['TPL_HDR2']; $this->vars['TPL_FTR_POSTS'] = $new_posts ? $this->vars['TPL_FTR_NEW'] : $this->vars['TPL_FTR']; ?> Test Forum 1
iar cand vreau sa vad mesajul scrie (nu-mi arata mesajul) :

Cod: Selectaţi tot

style_config['quick_reply'] && $userdata['session_logged_in'] ? true : false; if($can_reply) { $is_auth_type = 'auth_reply'; if(!$is_auth[$is_auth_type]) { $can_reply = false; } elseif ( ($forum_topic_data['forum_status'] == FORUM_LOCKED || $forum_topic_data['topic_status'] == TOPIC_LOCKED) && !$is_auth['auth_mod'] ) { $can_reply = false; } } if($can_reply) { $this->assign_block_vars('xs_quick_reply', array()); } } $postrow_count = ( isset($this->_tpldata['postrow.']) ) ? sizeof($this->_tpldata['postrow.']) : 0; for ($postrow_i = 0; $postrow_i < $postrow_count; $postrow_i++) { $postrow_item = &$this->_tpldata['postrow.'][$postrow_i]; // set profile link and search button if(!empty($postrow_item['PROFILE']) && strpos($postrow_item['POSTER_NAME'], '<') === false) { $postrow_item['SEARCH_IMG2'] = str_replace('%s', htmlspecialchars($postrow_item['POSTER_NAME']), $postrow_item['SEARCH_IMG']); if($this->vars['TPL_CFG_TOPICVIEW'] !== 'hide') { $search = array($lang['Read_profile'], ' 0 ? true : false; $postrow_item['TPL_HDR1'] = $new_post ? $this->vars['TPL_HDR1_NEW'] : $this->vars['TPL_HDR1_POST']; $postrow_item['TPL_HDR2'] = $new_post ? $this->vars['TPL_HDR2_NEW'] : $this->vars['TPL_HDR2']; $postrow_item['TPL_FTR'] = $new_post ? $this->vars['TPL_FTR_NEW'] : $this->vars['TPL_FTR']; // set backgrounds $num = ($postrow_i % 2) + 1; $postrow_item['TPL_CLASS_POST'] = 'post' . $num; $postrow_item['TPL_CLASS_PROFILE'] = 'post-left' . $num; } ?>
deasupra forumului scrie intr-un chenar gri :
This phpBB style requires eXtreme Styles mod 2.1.0 or newer version and will not work properly without it.

You can get latest eXtreme Styles mod at phpBBStyles.com
mentionez ca: am incercat cu 2.0.6 , 2.0.10 , 2.0.11 si nu merge...
am forumul pe localhost (nu e pe server)...
scuze pt. postul atat de lung!
AM NEVOIE DE AJUTOR PLS!!!
MULTUMESC ANTICIPAT!!

Scris: 21-Feb-2005, 21:55:05
de BuGsY
Ca stilul tău să funcţioneze trebuie să ai instalată MODificarea eXtreme Styles mod 2.1.0

Scris: 22-Feb-2005, 05:28:23
de bogdan
subiect mutat din Probleme legate de instalare sau actualizare in Discuţii despre stiluri, teme, avataruri şi butoane

Scris: 22-Feb-2005, 13:59:14
de smileybos
multumesc BuGsY!