Simple Machines Community Forum

Archived Boards and Threads... => Archived Boards => Mambo Bridge Support => Topic started by: chadness on January 12, 2006, 02:50:20 PM

Title: AiM theme updated for RC2
Post by: chadness on January 12, 2006, 02:50:20 PM
Anyone want to test this out?  I've only been able to do minimal testing so far.  I included everything in the two major threads about theme changes for RC2, so I suspect it should work, but....

http://www.technoadvice.com/component/remository/Download/SMF/Themes/AiM-Custom-SMF-theme-for-SMF-1.1-RC2/
Title: Re: AiM theme updated for RC2
Post by: H on January 12, 2006, 03:25:46 PM
Haven't got a development site to test it out on but it looks like one of the best themes I have seen for SMF!

Well Done
Title: Re: AiM theme updated for RC2
Post by: chadness on January 13, 2006, 05:24:11 PM
I updated this again - fixed a type in style.css, and added the inline editing icon.

Here is the code you need to add to your Joomla/Mambo template in place of the normal code:

    <?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?rc2p"></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'";
// ]]></script>
<title>'
$context['page_title'], '</title>';

// The ?rc2 part of this link is just here to make sure browsers don't cache it wrongly.
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" />';

/* Internet Explorer 4/5 and Opera 6 just don't do font sizes properly. (they are big...)
Thus, in Internet Explorer 4, 5, and Opera 6 this will show fonts one size smaller than usual.
Note that this is affected by whether IE 6 is in standards compliance mode.. if not, it will also be big.
Standards compliance mode happens when you use xhtml... */
if ($context['browser']['needs_size_fix'])
echo '
<link rel="stylesheet" type="text/css" href="'
$settings['default_theme_url'], '/fonts-compat.css" />';

// Show all the relative links, such as help, search, contents, and the like.
echo '
<link rel="help" href="'
$scripturl'?action=help" target="_blank" />
<link rel="search" href="' 
$scripturl '?action=search" />
<link rel="contents" href="'
$scripturl'" />';

// If RSS feeds are enabled, advertise the presence of one.
if (!empty($modSettings['xmlnews_enable']))
echo '
<link rel="alternate" type="application/rss+xml" title="'
$context['forum_name'], ' - RSS" href="'$scripturl'?type=rss;action=.xml" />';

// If we're viewing a topic, these should be the previous and next topics, respectively.
if (!empty($context['current_topic']))
echo '
<link rel="prev" href="'
$scripturl'?topic='$context['current_topic'], '.0;prev_next=prev" />
<link rel="next" href="'
$scripturl'?topic='$context['current_topic'], '.0;prev_next=next" />';

// 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 '
<link rel="index" href="' 
$scripturl '?board=' $context['current_board'] . '.0" />';

// We'll have to use the cookie to remember the header...
if ($context['user']['is_guest'])
$options['collapse_header'] = !empty($_COOKIE['upshrink']);

// Output any remaining HTML headers. (from mods, maybe?)
echo $context['html_headers'];

    
?>

Title: Re: AiM theme updated for RC2
Post by: Vic66 on March 19, 2006, 08:58:11 AM
Hi

Could you tell me where I need to put that chunk of code into the Joomla template please ?

Thanks
Title: Re: AiM theme updated for RC2
Post by: Kindred on March 19, 2006, 09:16:36 AM
above the </head> tag.... IN PLACE of the code that you added per the bridge readme file
Title: Re: AiM theme updated for RC2
Post by: Vic66 on March 19, 2006, 09:38:31 AM
Thanks, found it

Unfortunately I'm getting the error message....

Sorry, the copyright must be in the template.
Please notify this forum's administrator that this site is using an ILLEGAL copy of SMF!

At the bottom of the forum, and my administration panel has no visible options in it
Title: Re: AiM theme updated for RC2
Post by: zullinux on March 22, 2006, 09:48:16 AM
Hi all,

I'm using AkoblueMidland-smf templates for joomla and Aim templates for smf. I'm using RC2 3.20 bridge.
My problem is when i want to register and get my password using "forgot my password?" link, its redirect me to page that using default templates? How to modify this? Thanks.
Title: Re: AiM theme updated for RC2
Post by: chadness on March 23, 2006, 01:31:50 PM
Quote from: Vic66 on March 19, 2006, 09:38:31 AM
Thanks, found it

Unfortunately I'm getting the error message....

Sorry, the copyright must be in the template.
Please notify this forum's administrator that this site is using an ILLEGAL copy of SMF!

At the bottom of the forum, and my administration panel has no visible options in it
Exactly which versions of Joomla, SMF, and the theme are you using (please don't respond with "the latest", but give actual version numbers)?
Title: Re: AiM theme updated for RC2
Post by: chadness on March 23, 2006, 01:32:47 PM
Quote from: zullinux on March 22, 2006, 09:48:16 AM
Hi all,

I'm using AkoblueMidland-smf templates for joomla and Aim templates for smf. I'm using RC2 3.20 bridge.
My problem is when i want to register and get my password using "forgot my password?" link, its redirect me to page that using default templates? How to modify this? Thanks.
Can you give me an example of this?  Does it happen if you use other templates/themes?
Title: Re: AiM theme updated for RC2
Post by: zullinux on March 24, 2006, 05:20:26 PM
Hi Chadness,

This is my site www.callerforum.com. Could you try to register or to use 'forgot your password link'.
Actually i try some templates before I bridge smf with joomla. And I don't got this happen before.
Title: Re: AiM theme updated for RC2
Post by: chadness on March 24, 2006, 06:33:23 PM
I think what's happening is that you don't have all pages set in the Joomla template manager.  Make sure you have a check mark next to Default and Assigned in the template manager.  Also, try clicking the "Assign" button and making sure you have all your menu items selected for the AkoblueMidland-smf template.
Title: Re: AiM theme updated for RC2
Post by: zullinux on March 24, 2006, 09:04:36 PM
Problem solved.
Just simple like that?  ;) Oh God  ;D
I think I should study more and more about this things.
Thanks Chadness. Your templates is very cool.
Title: Re: AiM theme updated for RC2
Post by: ramz on April 10, 2006, 12:12:15 AM
With SMF Bridge 1.13 the header stuff is no longer required in Joomla. The bridge installs the header stuff into the mambots/system directory as SMF_header_include.php. I'm guessing your header must add something custom to the default header, but I couldn't see what it is... Any advice?
Title: Re: AiM theme updated for RC2
Post by: ramz on April 10, 2006, 12:23:13 AM
one other minor thing... in the menu bar, some of the rollover images seem to have some odd erased areas to the left or right (varies depending on which link you're rolling over)... I see this in IE6 and Firefox1.5. Just thought you'd like to know...
Title: Re: AiM theme updated for RC2
Post by: chadness on April 10, 2006, 12:09:36 PM
I wonder if the rollover areas are due to somewhere there isn't a transparency?  I'm not sure, that was part of the original theme this was modified from.  It looks fine on my page, strangely enough.

I think the header info 1.1.3 mostly matches up with what I have you insert, so it should work fine, and you shouldn't need to do that step any more.
Title: Re: AiM theme updated for RC2
Post by: ramz on April 10, 2006, 03:18:10 PM
if you're interested, you can see your template in use at. it happens to match my mambo site pretty dang well. Thanks for the good work!

http://www.ramzvents.com/index.php?option=com_smf&Itemid=26
Title: Re: AiM theme updated for RC2
Post by: chadness on April 12, 2006, 10:10:04 AM
Very nice, I like that template, too!
Title: Re: AiM theme updated for RC2
Post by: nutn2lewz on December 26, 2006, 01:00:41 PM
Hi,

I am looking to update this theme to 1.1 Final Release. The file released here is 1.1RC2 and the ramz site mentioned above seems to have it updated to 1.1RC3. Has anyone updated it to 1.1F yet? If not, I will attempt to update it over the next week or so.

My site is http://forums.homepokertourney.com and I am using a straight Midland theme without any bridge. I will probably make the Midland 1.1F file available in both bridged and un-bridged format. I have contacted the original author of the Midland theme - he will not be updating his theme but he did give me permission to update it.

Before I get started ...

Does anyone know if the Midland theme has already been updated to 1.1F?
ramz, did you update this the AIM theme to 1.1RC3 and can I use your updated file?

Thanks, nutn
Title: Re: AiM theme updated for RC2
Post by: chadness on December 26, 2006, 10:26:37 PM
I've updated this but haven't tested it yet.  I'm updating my site to 1.1 final this week and will be able to test it then.