News:

Join the Facebook Fan Page.

Main Menu

Theme error

Started by Dean313, December 18, 2010, 11:37:17 AM

Previous topic - Next topic

Dean313

I am trying to install this Crown Modification but it doesn't have it on SimplePortal, and the little male next to the name, and then the crown.

Can anyone modify this theme for me so it works on RC4 and so it works on SimplePortal and removes the little male?

Apologies, I think this is the wrong board. lol.

Illori

please use the support topic for the mod you installed.

Dean313

Would I post it on the Crown modification or SimplePortal?

Illori

you could try both, i dont know the code of either to tell you more.

Dean313

Err.

Now my forums are just ...

function template_body_below() { global $context, $settings, $options, $scripturl, $txt, $modSettings; echo ' '; // Show the "Powered by" and "Valid" logos, as well as the copyright. Remember, the copyright must be somewhere! echo '
X-Mas design by DzinerStudio'; // Show the load time? if ($context['show_load_time']) echo '
', $txt['page_created'], $context['load_time'], $txt['seconds_with'], $context['load_queries'], $txt['queries'], ''; echo '
'; } // Initialize the template... mainly little settings. function template_init() { global $context, $settings, $options, $txt; /* Use images from default theme when using templates from the default theme? if this is 'always', images from the default theme will be used. if this is 'defaults', images from the default theme will only be used with default templates. if this is 'never' or isn't set at all, images from the default theme will not be used. */ $settings['use_default_images'] = 'never'; /* What document type definition is being used? (for font size and other issues.) 'xhtml' for an XHTML 1.0 document type definition. 'html' for an HTML 4.01 document type definition. */ $settings['doctype'] = 'xhtml'; /* The version this template/theme is for. This should probably be the version of SMF it was created for. */ $settings['theme_version'] = '2.0 RC4'; /* Set a setting that tells the theme that it can render the tabs. */ $settings['use_tabs'] = true; /* Use plain buttons - as opposed to text buttons? */ $settings['use_buttons'] = true; /* Show sticky and lock status separate from topic icons? */ $settings['separate_sticky_lock'] = true; /* Does this theme use the strict doctype? */ $settings['strict_doctype'] = false; /* Does this theme use post previews on the message index? */ $settings['message_index_preview'] = false; /* Set the following variable to true if this theme requires the optional theme strings file to be loaded. */ $settings['require_theme_strings'] = true; } // The main sub template above the content. function template_html_above() { global $context, $settings, $options, $scripturl, $txt, $modSettings; // Show right to left and the character set for ease of translating. echo ' '; // The ?rc3 part of this link is just here to make sure browsers don't cache it wrongly. echo ' '; // Some browsers need an extra stylesheet due to bugs/compatibility issues. foreach (array('ie7', 'ie6', 'webkit') as $cssfix) if ($context['browser']['is_' . $cssfix]) echo ' '; // RTL languages require an additional stylesheet. if ($context['right_to_left']) echo ' '; // Here comes the JavaScript bits! echo ' '; echo ' ', !empty($context['meta_keywords']) ? ' ' : '', ' '; // Please don't index these Mr Robot. if (!empty($context['robot_no_index'])) echo ' '; // Present a canonical url for search engines to prevent duplicate content in their indices. if (!empty($context['canonical_url'])) echo ' '; // Show all the relative links, such as help, search, contents, and the like. echo ' '; // If RSS feeds are enabled, advertise the presence of one. if (!empty($modSettings['xmlnews_enable']) && (!empty($modSettings['allow_guestAccess']) || $context['user']['is_logged'])) echo ' '; // If we're viewing a topic, these should be the previous and next topics, respectively. if (!empty($context['current_topic'])) echo ' '; // If we're in a board, or a topic for that matter, the index will be the board's index. if (!empty($context['current_board'])) echo ' '; // Output any remaining HTML headers. (from mods, maybe?) echo $context['html_headers']; echo ' '; } function template_body_above() { global $context, $settings, $options, $scripturl, $txt, $modSettings; echo '
' , $context['current_time'], '
'; if($context['user']['is_logged']) { echo $txt['hello_member_ndt'], ' ' , $context['user']['name'] , '
'; // Only tell them about their messages if they can read their messages! if ($context['allow_pm']) echo '  [', $context['user']['messages'], '/', $context['user']['unread_messages'] , ' ', $txt['pm'], ']'; // Is the forum in maintenance mode? if ($context['in_maintenance'] && $context['user']['is_admin']) echo '[', $txt['maintenance'], ']'; // Are there any members waiting for approval? if (!empty($context['unapproved_members'])) echo '[', $context['unapproved_members'] , ' ', $txt['memb_approval'], ']'; echo ' ', $txt['unread'], ' | ', $txt['replies'], ''; } // Otherwise they're a guest - this time ask them to either register or login - lazy bums... else { echo '
 

'; } echo '
',template_menu(),'
'; // Show the navigation tree. theme_linktree(); } function template_body_below() { global $context, $settings, $options, $scripturl, $txt, $modSettings; echo '
'; // Show the "Powered by" and "Valid" logos, as well as the copyright. Remember, the copyright must be somewhere! echo '
', theme_copyright(), ' X-Mas design by DzinerStudio'; // Show the load time? if ($context['show_load_time']) echo '
', $txt['page_created'], $context['load_time'], $txt['seconds_with'], $context['load_queries'], $txt['queries'], ''; echo '
'; } function template_html_below() { global $context, $settings, $options, $scripturl, $txt, $modSettings; echo ' '; } // Show a linktree. This is that thing that shows "My Community | General Category | General Discussion".. function theme_linktree($force_show = false) { global $context, $settings, $options, $shown_linktree; // If linktree is empty, just return - also allow an override. if (empty($context['linktree']) || (!empty($context['dont_default_linktree']) && !$force_show)) return; echo '
'; // Each tree item has a URL and name. Some may have extra_before and extra_after. foreach ($context['linktree'] as $link_num => $tree) { echo ' '; // Show something before the link? if (isset($tree['extra_before'])) echo $tree['extra_before']; // Show the link, including a URL if it should have one. echo $settings['linktree_link'] && isset($tree['url']) ? ' ' . $tree['name'] . '' : '' . $tree['name'] . ''; // Show something after the link...? if (isset($tree['extra_after'])) echo $tree['extra_after']; // Don't show a separator for the last one. if ($link_num != count($context['linktree']) - 1) echo ' »'; echo ' '; } echo '
'; $shown_linktree = true; } // Show the menu up top. Something like [home] [help] [profile] [logout]... function template_menu() { global $context, $settings, $options, $scripturl, $txt; echo '
'; foreach ($context['menu_buttons'] as $act => $button) echo '
', $button['title'], '
'; echo '
'; } // Generate a strip of buttons. function template_button_strip($button_strip, $direction = 'top', $strip_options = array()) { global $settings, $context, $txt, $scripturl; if (!is_array($strip_options)) $strip_options = array(); // Create the buttons... $buttons = array(); foreach ($button_strip as $key => $value) { if (!isset($value['test']) || !empty($context[$value['test']])) $buttons[] = '
' . $txt[$value['text']] . '
'; } // No buttons? No button strip either. if (empty($buttons)) return; // Make the last one, as easy as possible. $buttons[count($buttons) - 1] = str_replace('', '', $buttons[count($buttons) - 1]); echo ' '; } ?>Unable to load the 'main_above' template


Dean313

Quote from: cicka on December 18, 2010, 02:11:42 PM
Can you try the suggestion posted here?

http://www.simplemachines.org/community/index.php?topic=413648.msg2883919#msg2883919

I already cleared up my blank pages issue with my host.

I don't see any other suggestions you had.

cicka

Quote from: Dean313 on December 18, 2010, 02:14:43 PM
Quote from: cicka on December 18, 2010, 02:11:42 PM
Can you try the suggestion posted here?

http://www.simplemachines.org/community/index.php?topic=413648.msg2883919#msg2883919

I already cleared up my blank pages issue with my host.

I don't see any other suggestions you had.

The suggestion I linked you to will clean all your forum files and therefore it will fix all the mod problem you have.

Also may I suggest that you change the title of the thread because now with Hi that you posted it looks like a an introductory thread and not a support thread :)

Dean313

Quote from: cicka on December 18, 2010, 02:17:51 PM
Quote from: Dean313 on December 18, 2010, 02:14:43 PM
Quote from: cicka on December 18, 2010, 02:11:42 PM
Can you try the suggestion posted here?

http://www.simplemachines.org/community/index.php?topic=413648.msg2883919#msg2883919

I already cleared up my blank pages issue with my host.

I don't see any other suggestions you had.

The suggestion I linked you to will clean all your forum files and therefore it will fix all the mod problem you have.

Also may I suggest that you change the title of the thread because now with Hi that you posted it looks like a an introductory thread and not a support thread :)

Ah, I re-read it. So you're saying that I should just overwrite the index.template.php from the XMas theme of DzinerStudio? That was what I edited to make the Ad Manager footer go away.

cicka

Quote from: Dean313 on December 18, 2010, 02:19:41 PM
Quote from: cicka on December 18, 2010, 02:17:51 PM
Quote from: Dean313 on December 18, 2010, 02:14:43 PM
Quote from: cicka on December 18, 2010, 02:11:42 PM
Can you try the suggestion posted here?

http://www.simplemachines.org/community/index.php?topic=413648.msg2883919#msg2883919

I already cleared up my blank pages issue with my host.

I don't see any other suggestions you had.

The suggestion I linked you to will clean all your forum files and therefore it will fix all the mod problem you have.

Also may I suggest that you change the title of the thread because now with Hi that you posted it looks like a an introductory thread and not a support thread :)

Ah, I re-read it. So you're saying that I should just overwrite the index.template.php from the XMas theme of DzinerStudio? That was what I edited to make the Ad Manager footer go away.

In that case yes, but if you have done other manual changes to that file make a note of them first before you replace it.

Dean313

Quote from: cicka on December 18, 2010, 02:21:36 PM
Quote from: Dean313 on December 18, 2010, 02:19:41 PM
Quote from: cicka on December 18, 2010, 02:17:51 PM
Quote from: Dean313 on December 18, 2010, 02:14:43 PM
Quote from: cicka on December 18, 2010, 02:11:42 PM
Can you try the suggestion posted here?

http://www.simplemachines.org/community/index.php?topic=413648.msg2883919#msg2883919

I already cleared up my blank pages issue with my host.

I don't see any other suggestions you had.

The suggestion I linked you to will clean all your forum files and therefore it will fix all the mod problem you have.

Also may I suggest that you change the title of the thread because now with Hi that you posted it looks like a an introductory thread and not a support thread :)

Ah, I re-read it. So you're saying that I should just overwrite the index.template.php from the XMas theme of DzinerStudio? That was what I edited to make the Ad Manager footer go away.

In that case yes, but if you have done other manual changes to that file make a note of them first before you replace it.

Nope, I haven't.

Thanks for your help, cicka. :D


cicka

Quote from: Dean313 on December 18, 2010, 02:22:12 PM
Quote from: cicka on December 18, 2010, 02:21:36 PM
Quote from: Dean313 on December 18, 2010, 02:19:41 PM
Quote from: cicka on December 18, 2010, 02:17:51 PM
Quote from: Dean313 on December 18, 2010, 02:14:43 PM
Quote from: cicka on December 18, 2010, 02:11:42 PM
Can you try the suggestion posted here?

http://www.simplemachines.org/community/index.php?topic=413648.msg2883919#msg2883919

I already cleared up my blank pages issue with my host.

I don't see any other suggestions you had.

The suggestion I linked you to will clean all your forum files and therefore it will fix all the mod problem you have.

Also may I suggest that you change the title of the thread because now with Hi that you posted it looks like a an introductory thread and not a support thread :)

Ah, I re-read it. So you're saying that I should just overwrite the index.template.php from the XMas theme of DzinerStudio? That was what I edited to make the Ad Manager footer go away.

In that case yes, but if you have done other manual changes to that file make a note of them first before you replace it.

Nope, I haven't.

Thanks for your help, cicka. :D



You are welcome :)

Advertisement: