Theme Planetfall RC2/RC3
For Joomla!/SMF integration. Based on Rhuk_Planetfall theme.
First of all, thanks to xenovanis (http://www.simplemachines.org/community/index.php?action=profile;u=6985) for the original work on this theme.
- Original Planetfall thread: Theme Planetfall (http://www.simplemachines.org/community/index.php?topic=26690.0)
I've simply made some changes to it so that it's more up-to-date with SMF 1.1RC2/RC3.
Also fixed some small layout issues here and there.
It also uses the simple black mini buttons by Andrea (http://www.simplemachines.org/community/index.php?action=profile;u=10).
- Button thread: Simple black mini buttons (http://www.simplemachines.org/community/index.php?topic=6981.0)
Preview (http://fusionracing.dreamhosters.com/)
Download RC2 (http://fusionracing.dreamhosters.com/component/option,com_docman/task,doc_details/gid,33/Itemid,44/)
Download RC3 (http://fusionracing.dreamhosters.com/component/option,com_docman/task,doc_details/gid,48/Itemid,44/)
29.08.06
Updated for RC3
16.08.06
Removing the excess headers when running wrapped.
Users of the Joomlahacks bridge:
You need to add the following code before the </head> tag in your Mambo/Joomla template.
Orstio bridge users don't need to change anything.
If doing theses changes for RC3, changes all instances of rc2 to rc3.
<?php
global $sc, $context, $settings;
if (!defined('SMF')){
require ("administrator/components/com_smf/config.smf.php");
require ($smf_path."/SSI.php");
}
$sc = &$context['session_id'];
$_SESSION['USER_AGENT'] = $_SERVER['HTTP_USER_AGENT'];
mysql_select_db($mosConfig_db);
echo '
<script language="JavaScript" type="text/javascript" src="', $settings['default_theme_url'], '/script.js?rc2"></script>
<script language="JavaScript" type="text/javascript"><!-- // --><![CDATA[
var smf_theme_url = "', $settings['theme_url'], '";
var smf_images_url = "', $settings['images_url'], '";
var smf_scripturl = "', $scripturl, '";
var smf_session_id = "', $context['session_id'], '";
// ]]></script>';
echo '
<link rel="stylesheet" type="text/css" href="', $settings['theme_url'], '/style.css?rc2" />
<link rel="stylesheet" type="text/css" href="', $settings['default_theme_url'], '/print.css?rc2" media="print" />
<link rel="help" href="', $scripturl, '?action=help" target="_blank" />
<link rel="search" href="' . $scripturl . '?action=search" />
<link rel="contents" href="', $scripturl, '" />';
?>
A large, IMO, problem with this is that you are printing out all of the information in the <head> tags after joomla has already loaded, as well as DocType, and then after the forum has printed, it throws in the 'proper' </body> and </html> tags that the theme has...
You're right. How can that be fixed?
Never mind, I think I've fixed it. Inline editing even started to work now. :)
Updated main post. Let me know if things don't work.
If the latest version of the bridge is being used, well at least the one I have (Joomla 1.0.10 and SMF 1.1RC2), it isn't necessary to put those items in the Joomla template, as Orstio already has them there.
Okay. I'm using the Joomlahacks bridge, and others who use that bridge will have to add the code to the Joomla template. Users of Orstio's bridge can disregard that step.
Updated for RC3...
What exactly has been changed? I used the previous version with RC3 and everything is fine (I had to edit some things to make it XHTML compliant, but otherwise its fine)
Mostly changes for the UTF8 support and adding the AJAX loading indicator.
More specifically, changes from RC2 to RC3 is outlined here:
http://www.simplemachines.org/community/index.php?topic=104247.0
Whats this 'CustomProfile.php' stuff that I do not have anywhere on any system, nor was it in the previous 'version' of this template?
Also a call to displayfieldpostspictures()...
I assume this is left over from some sort of mod you have on your system? Testing it on a virgin install of the software is a pretty good idea, and its probably a good idea to validate the html as well.
Hmm, dunno how that sneaked in there. :-\ I have removed it and uploaded a new package.
Validating I know nothing about, I just picked up the work from a previous version.
This will be the last time I will be making available modifications to this theme so it it's up to par with new SMF versions. From here on I will only do it for my own use. Hope some of you had some valuable use of my work.
Wow, this theme with cool_raji is the only good smf/joomla combination theme I've seen. The only problem is, I had to get cool_raji off a german site because I couldn't find an english version. Is there one, or do I have to translate some stuff manually? It's kind of obvious what Suche is (search I guess) and there's always google translator, but I don't want to waste my time if there is an English version. Very nice theme, and I like your site.
Thanks. The search stuff is the only thing that needs to be translated. I'm using that space for the logo, so I have removed it from the index file. If you want it, my modified template is here:
http://fusionracing.dreamhosters.com/component/option,com_docman/task,doc_details/Itemid,44/gid,62/
I've been unable to find a download for this anywhere that's still active, does anyone happen to have a copy laying around?
Thanks in advance!