Page 1 of 1

Themes

PostPosted: Tue Jan 30, 2007 2:08 pm
Author: Helter
For the longest time, users of IMPortal have been left to fend for themselves as far as themes go. This is fine for many themes, as they do not require much modification to work flawlessly with IMPortal. However, there are many themes that have image tables and css images that surround the index (forum) and other pages. These templates often look incomplete when the images are not added to the portal blocks.
For this reason, I have ported a few themes to display correctly with IMPortal. I have added a link to them in the "eXtras" block on the left side of the site.
Or you can simply click [url=http]HERE[/url]

[url=http]DEMO[/url]

I added a few modifications to them
1. They all are modified to add an IMPortal news section to the acp, to keep you aware of news and development.
2. They all are modified to pull the banner from the forum root/images/logo folder, so you only need one logo for all your themes

I added an install file to each. Please read it first

Re: Themes

PostPosted: Wed Jan 31, 2007 4:07 am
Author: found it
Nice one Helter as soon as I have finished porting my themes I will do the importal files for as many as I can....

:mrgreen:

Re: Themes

PostPosted: Wed Jan 31, 2007 5:26 pm
Author: Helter
awsome...Ill add them to the demo site when your done <img>

Re: Themes

PostPosted: Sat Feb 03, 2007 1:12 pm
Author: MWE_001
Good Job Helter. Im using IM Portal for the MPS mod at a site and have implememented, Integra 2 theme. Its work in progress, but works real nice so far, BUT the little arrows at the bottom in the qbar, point down and when clicking them it stay down and not back to the top. And No matter what I try, it will not pull a banner at all. I played with code and got it to put very small images and 2 links in but other that that, JUST like the demo site. No Banner. <img>

Re: Themes

PostPosted: Sat Feb 03, 2007 1:43 pm
Author: Helter
Ii is acually the logo, but I see it in the demo site. Did you add the "logo" folder to your root/images folder? If it is not named banner.png, you will need to edit the logo name in your overall_header

Re: Themes

PostPosted: Sat Feb 03, 2007 2:44 pm
Author: MWE_001
I see the logo in all of the demos BUT Integra2. I did infact name it banner.png on my site as well, and I cant see it at all. I even installed Xtreme styles as well to delete the template cache and nothing. Still the same.

I was thinking I had a overall_header code issue. Then I decided to have a pek at the demo site and its the same there. I did a quick install of noteboard and PowerMetal and the banner shows up every time.

Since this is NOT a live site, I am willing to give you a link to it via PM so you can see what Im talking about. If Not its no big deal. <img> I would here but dont want the board flooded while Im working on it.

Re: Themes

PostPosted: Sat Feb 03, 2007 3:09 pm
Author: Helter
I see the prob. Your using IE and the logo height and width are not being set

find

width="{LOGO_WIDTH}" height="{LOGO_HEIGHT}"

and replace with

width="500" height="100"

but edit to your image size

Re: Themes

PostPosted: Sat Feb 03, 2007 4:09 pm
Author: MWE_001
DOH!!!!!! :oops: Sry man.

Re: Themes

PostPosted: Sat Feb 03, 2007 4:34 pm
Author: Helter
it was just my oversite
width="{LOGO_WIDTH}" height="{LOGO_HEIGHT}" are not defined in phpBB. They are part of the banner mod. Since FF doesnt require the size to be specified, it displayed it anyway. The correct way for phpbb, in either browser is
width="500" height="100"

Re: Themes

PostPosted: Sat Feb 03, 2007 6:05 pm
Author: MWE_001
Ok I understand now. :D

Any clue how I can get the up arrow at the bottom of the page to work? as of now it is the Down arrow and I f you click it , you stay at the bottom of the page. I was going to take a stab at it, but i really dont want to break the code then come and cry here about it. <img>

As of now, Im marking the banner as solved... Thx

Re: Themes

PostPosted: Sat Feb 03, 2007 10:01 pm
Author: Helter
ill add this to the dl

Re: Themes

PostPosted: Tue Jun 26, 2007 1:06 pm
Author: Coder
Great job on the themes, really nice work!

I did encounter a bug in one of them though - specifically Apollo. When displaying the forum (PHPBB 2.0.22) inside the IM Portal and using the Apollo theme (any color, but in this case purple) there is a piece of PHP code in the file index_body.tpl which is not being processed as PHP and is output as text into the web page. Beginning at line 37 in the file:
Code: Select all
<php>_tpldata['catrow.']) ) ?  sizeof($this->_tpldata['catrow.']) : 0;for($catrow_i = 0; $catrow_i <catrow_count>_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> 0 ? true : false;         if($new_item)         {             $new_msg = true;             $forumrow_item['XS_NEW'] = '_new';         }     }     // add xs switch     $catrow_item['XS_NEW'] = $new_msg ? '_new' : '';}?>
The initial header is skipped, but the remainder is output as
Code: Select all
_tpldata['catrow.']) ) ? sizeof($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> 0 ? true : false; if($new_item) { $new_msg = true; $forumrow_item['XS_NEW'] = '_new'; } } // add xs switch $catrow_item['XS_NEW'] = $new_msg ? '_new' : ''; } ?>
Straight into the middle of the page. In this case, directly above the top bar of the forum and below the "last visit" text.

I've disabled the Apollo theme for now - I'm still scrambling to get the site up and running, but I thought it best to let you know!

Also, the Integra2 theme has a lot of templates that the other themes don't have - if the site happens to be configured using the Integra2 theme, which mine is, any user switching to another theme has problems viewing pages for which there are no templates. I copied the missing templates from the Integra2 theme to the others for now.

edit: File location for the file containing this code is roottemplatesapollo. The same php code is also found in one other file: roottemplatesCleanxsxs_index.tpl - hope that helps!

Re: Themes

PostPosted: Sun Jan 20, 2008 5:12 pm
Author: MWE_001
Hey Helterskelter, whats the chance of the Dark themes for IM Portal? I totally dig the Dark Blue theme but is unavailable for IM Portal. Integra2 is sharp, but time to upgrade my website. :(

Ohh and the link to the IM Portal Thenes is down too. It is still looking for integrmod.com