News:

Want to get involved in developing SMF, then why not lend a hand on our github!

Main Menu

Theme: Planetfall RC2/RC3

Started by arco, May 11, 2006, 07:25:36 AM

Previous topic - Next topic

arco

Theme Planetfall RC2/RC3

For Joomla!/SMF integration. Based on Rhuk_Planetfall theme.



First of all, thanks to xenovanis for the original work on this theme.
- Original Planetfall thread: Theme Planetfall

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.
- Button thread: Simple black mini buttons

Preview [nofollow]
Download RC2 [nofollow]
Download RC3 [nofollow]

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'" />';
?>

SlammedDime

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...
SlammedDime
Former Lead Customizer
BitBucket Projects
GeekStorage.com Hosting
                      My Mods
SimpleSEF
Ajax Quick Reply
Sitemap
more...
                     

arco

You're right. How can that be fixed?

arco

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.

SlammedDime

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.
SlammedDime
Former Lead Customizer
BitBucket Projects
GeekStorage.com Hosting
                      My Mods
SimpleSEF
Ajax Quick Reply
Sitemap
more...
                     

arco

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.

arco


SlammedDime

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)
SlammedDime
Former Lead Customizer
BitBucket Projects
GeekStorage.com Hosting
                      My Mods
SimpleSEF
Ajax Quick Reply
Sitemap
more...
                     

arco

#8
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

SlammedDime

#9
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.
SlammedDime
Former Lead Customizer
BitBucket Projects
GeekStorage.com Hosting
                      My Mods
SimpleSEF
Ajax Quick Reply
Sitemap
more...
                     

arco

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.

IbrahimA

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.
My forum:
http://avhsmath.us.to [nofollow]

arco

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/ [nofollow]

Tylius

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!

Advertisement: