Phpbb3 Portal For Milky_Way »  Show posts from    to     

Icy Phoenix


phpBB 3 MODS And Styles (Not Compatible With phpBB 3.1) - Phpbb3 Portal For Milky_Way



jpavly [ Sun 15 Jun, 2008 20:01 ]
Post subject: Phpbb3 Portal For Milky_Way
As promised, now that I'm done here is the work I've done for the portal with Milky_Way.
The following should also work in other Icy Phoenix styles.

Portal: www.phpbb3portal.com

First of all, install the portal as instructed from the original site and use the subSilver2 files for the Milky Way style.

It should work as is, but if you want to tweak it a little bit like mine here's what you should do:

Backup!
Make a backup of you Milky Way folder !

Point 1
For the News Section, I wanted every article's title to have the forum's header backround.
Open /styles/milky_way/theme/stylesheet.css
Locate: .cat
It should be like this, but your colors might be different:
Code: [Hide] [Select]
.cat {
color: #FF5500;
background-color: #F8F8F8;
background-image: url('./images/bg_th.gif');
border: solid 1px #FFFFFF;
border-right-color: #DDDDDD;
border-bottom-color: #DDDDDD;
height: 26px;
margin: 0;
padding: 0;
text-indent: 4px;
}

Now, copy the whole code and paste it underneath and rename .cat to .catnews. Make any changes you want, like the image and the border width. Then you should have this:
Code: [Hide] [Select]
.catnews {
color: #FF5500;
background-color: #F8F8F8;
background-image: url('./images/tbl_h_c.gif');
background-position: bottom left;
border: solid 0px #FFFFFF;
border-right-color: #DDDDDD;
border-bottom-color: #DDDDDD;
height: 26px;
margin: 0;
padding: 0;
text-indent: 4px;


Point 2
For the title bar of the Boxes, they'll look far better if you do the following:
OPEN /styles/milky_way/theme/stylesheet.css
FIND .tablebg
It should look like the following, color might be different:
Code: [Hide] [Select]
.tablebg {
background-color: #FFFFFF;
border: solid 1px #AAAAAA;
}

Copy it undreneath and rename .tablebg to .tablebgportal like this:
Code: [Hide] [Select]
.tablebgportal {
background-color: #FFFFFF;
border: solid 1px #AAAAAA;
}


Once again, find .tablebg th
Should look like this:
Code: [Hide] [Select]
.tablebg th{
color: #FF5500;
background: #FFFFFF url('./images/bg_th.gif') top left repeat-x;
font-size: 1.1em;
font-weight: bold;
height: 26px;
padding: 0 5px;
border: solid 1px #FFFFFF;
border-right-color: #BBBBBB;
border-bottom-color: #BBBBBB;
white-space: nowrap;
}


Copy it underneath, rename it to .tablebgportal th and change the border settings to:
Code: [Hide] [Select]
.tablebgportal th{
color: #FF5500;
background: #FFFFFF url('./images/bg_th.gif') top left repeat-x;
font-size: 1.1em;
font-weight: bold;
height: 26px;
padding: 0 5px;[b]
border-right: solid 0px #FFFFFF;
border-top: solid 0px #FFFFFF;
border-bottom: solid 1px #BBBBBB;
border-left: solid 0px #FFFFFF;[/b]
white-space: nowrap;
}


This way you have some new classes in order not to change anything else in the forum style.

Point 3
Enabling the changes in the portal's Boxes:
Go to styles/milky_way/template/portal/block/ and open any block you use. I'll use news.html and clock.html for my example.
In the first row you'll find:
Code: [Hide] [Select]
<table class="tablebg" cellspacing="1" width="100%">

Replace it with:
Code: [Hide] [Select]
<table class="tablebgportal" cellspacing="0" width="100%">


Then for the other image backround
find
Code: [Hide] [Select]
<td class="cat">

and replace it with
Code: [Hide] [Select]
<td class="catnews">


Make the 1st change to all boxes (tablebgportal) and you'll be just fine

Remember to clear your forum cache.

If you need anything else, post it and I'll try to help! I hope I'm not missing anything, this is my 1st guide..


Mighty Gorgon [ Tue 24 Jun, 2008 12:34 ]
Post subject: Re: Phpbb3 Portal For Milky_Way
Thank you very much for sharing... Il stickify this.


Limun [ Thu 03 Jul, 2008 15:50 ]
Post subject: Re: Phpbb3 Portal For Milky_Way
thanks a lot man...

u can also add this :

portal3

OPEN overall_header.html
FIND
Code: [Hide] [Select]
<a href="{U_INDEX}">{L_FORUM}</a>&nbsp;&nbsp;<img src="{T_THEME_PATH}/images/menu_sep.png" alt="" />&nbsp;

ADD BEFORE
Code: [Hide] [Select]
<a href="{U_PORTAL}">Portal</a>&nbsp;&nbsp;<img src="{T_THEME_PATH}/images/menu_sep.png" alt="" />&nbsp;


so its look like:

Spoiler: [ Show ]


jpavly [ Thu 03 Jul, 2008 16:04 ]
Post subject: Re: Phpbb3 Portal For Milky_Way
Nice idea, I used this so I can use the Logo as a link to the portal


The Pimped Papaya [ Wed 24 Sep, 2008 06:56 ]
Post subject: Re: Phpbb3 Portal For Milky_Way
How do you even install phpBB3portal with Milky Way or Black Pearl, I have trouble finding lines in breadcrumbs and other files. Do you just add whatever it says anyway


jpavly [ Wed 24 Sep, 2008 09:12 ]
Post subject: Re: Phpbb3 Portal For Milky_Way
As I remember, you just install the portal as is, according to the instructions. Please follow them carefully.
All you have to do is use the subSilver2 folders into Milky_Way and then tweak it as in the first post.
Could you be more specific about your problem?


The Pimped Papaya [ Fri 26 Sep, 2008 05:56 ]
Post subject: Re: Phpbb3 Portal For Milky_Way
Dont worry, just fixed it somehow.


MisterLaO [ Tue 18 Nov, 2008 03:59 ]
Post subject: Re: Phpbb3 Portal For Milky_Way
how do i know the forum ID?? where can i find that info? i want to select the forums that will be placed at the portal..


Chaotic [ Tue 18 Nov, 2008 06:59 ]
Post subject: Re: Phpbb3 Portal For Milky_Way
Hover your mouse over the selected forum and look in your browser's status bar at the bottom. The link would look something like: http://www.yoursite.com/viewforum.php?f=21, if you don't have URL Rewrite on. If you do have URL Rewrite on in your ACP, the link will look similar and just pay attention to the f=21 numbers at the end of the link. That number is the forum ID.


MisterLaO [ Tue 18 Nov, 2008 07:44 ]
Post subject: Re: Phpbb3 Portal For Milky_Way
so if a category has an forum ID as f=1, all the forums inside that category wont be displayed in the portal's recent posts?

im talking about the portal's feature to choose which forums not to scan for recent posts.. or was that featured posts?.


Chaotic [ Tue 18 Nov, 2008 08:52 ]
Post subject: Re: Phpbb3 Portal For Milky_Way
Oh, I thought you were generally talking about how to find forum ID's. I don't use phpBB3 as Icy Phoenix has all, if not more, features than standard phpBB3.

Sorry I don't know more information about this phpBB3 portal system.

I'm a failure.


Limun [ Tue 18 Nov, 2008 11:22 ]
Post subject: Re: Phpbb3 Portal For Milky_Way
MisterLaO wrote: [View Post]
so if a category has an forum ID as f=1, all the forums inside that category wont be displayed in the portal's recent posts?

im talking about the portal's feature to choose which forums not to scan for recent posts.. or was that featured posts?.

you are talking about news on portal..because recent topic feature does NOT have option for select or exclude forums

and about news...you can :
add forums which you want to be show in portal (forum topics from selected forum)
exclude forums which you want to be NOT show in portal

18_11


MisterLaO [ Tue 18 Nov, 2008 16:53 ]
Post subject: Re: Phpbb3 Portal For Milky_Way
Limun wrote: [View Post]
MisterLaO wrote: [View Post]
so if a category has an forum ID as f=1, all the forums inside that category wont be displayed in the portal's recent posts?

im talking about the portal's feature to choose which forums not to scan for recent posts.. or was that featured posts?.

you are talking about news on portal..because recent topic feature does NOT have option for select or exclude forums

and about news...you can :
add forums which you want to be show in portal (forum topics from selected forum)
exclude forums which you want to be NOT show in portal

18_11



yes exactly.. how can i know the forum ID of each forum i have? so i can select the forum in which the portal will show in its news..

also need some help here: Click here


Limun [ Tue 18 Nov, 2008 21:33 ]
Post subject: Re: Phpbb3 Portal For Milky_Way
MisterLaO wrote: [View Post]
Limun wrote: [View Post]
MisterLaO wrote: [View Post]
so if a category has an forum ID as f=1, all the forums inside that category wont be displayed in the portal's recent posts?

im talking about the portal's feature to choose which forums not to scan for recent posts.. or was that featured posts?.

you are talking about news on portal..because recent topic feature does NOT have option for select or exclude forums

and about news...you can :
add forums which you want to be show in portal (forum topics from selected forum)
exclude forums which you want to be NOT show in portal

18_11



yes exactly.. how can i know the forum ID of each forum i have? so i can select the forum in which the portal will show in its news..

also need some help here: Click here


click on forum you want to know id
when is open (u see topics of clicked forum) look in adress bar

see pic
f2

and about second thing...i saw it ..and i trying to create it ,but as i m not so expert i will need some time


MisterLaO [ Wed 19 Nov, 2008 15:01 ]
Post subject: Re: Phpbb3 Portal For Milky_Way
Limun wrote: [View Post]
MisterLaO wrote: [View Post]
Limun wrote: [View Post]
[quote user="MisterLaO" post="33881"]so if a category has an forum ID as f=1, all the forums inside that category wont be displayed in the portal's recent posts?

im talking about the portal's feature to choose which forums not to scan for recent posts.. or was that featured posts?.[/quote]
you are talking about news on portal..because recent topic feature does NOT have option for select or exclude forums

and about news...you can :
add forums which you want to be show in portal (forum topics from selected forum)
exclude forums which you want to be NOT show in portal

18_11



yes exactly.. how can i know the forum ID of each forum i have? so i can select the forum in which the portal will show in its news..

also need some help here: Click here


click on forum you want to know id
when is open (u see topics of clicked forum) look in adress bar

see pic
f2

and about second thing...i saw it ..and i trying to create it ,but as i m not so expert i will need some time


so from your screenshot, the forum number that should be placed if i want to exclude that forum to the portal news is 2?

just want to make sure before i re-install the portal..


Limun [ Wed 19 Nov, 2008 16:03 ]
Post subject: Re: Phpbb3 Portal For Milky_Way
in my case (my selected forum ) is 2 ., if i select another forum it will show some other number


misterleks [ Mon 20 Dec, 2010 17:09 ]
Post subject: Re: Phpbb3 Portal For Milky_Way
I have this portal (http://www.board3.de/). For it correction same?

P.S. Forgive for my English:)


Joshua203 [ Mon 20 Dec, 2010 17:47 ]
Post subject: Re: Phpbb3 Portal For Milky_Way
i think it would work but i just looked it over verry fast, you need to check if classes used are the same names (i think they are)


misterleks [ Mon 20 Dec, 2010 18:25 ]
Post subject: Re: Phpbb3 Portal For Milky_Way
Yes, such style is!
Has replaced, it has turned out here so!
1
But blocks have not changed, remains as was. And it is conceived?
Here my site: 100events.net

P.S. How to make the rounded off angles ?


Joshua203 [ Mon 20 Dec, 2010 19:17 ]
Post subject: Re: Phpbb3 Portal For Milky_Way
please check if you have done all edits (especially the ones to every portal block used)

then purdge the board cache and maybe even clean your browser

for rounded corners you need to check a table that has rounded corners see the difference in the header ... copy and modify that to what you want it to say and edit it in every single block used (i mean the part of code above "table" and "th" wich is missing in portal blocks)

it would look something like this if i look at your loginbox source code
Code: [Hide] [Select]
<div><div class="tbl-h-l"><div class="tbl-h-r"><div class="tbl-h-c"><div class="tbl-title">Вход</div></div></div></div>


misterleks [ Mon 20 Dec, 2010 19:56 ]
Post subject: Re: Phpbb3 Portal For Milky_Way
Has tried round angles on one block, it is looked awfully)))) better, I shall forget about them)))
What changes style '.tablebg th '? I have not noticed any variations...
Has made variations only on style '.cat '!


Joshua203 [ Mon 20 Dec, 2010 20:30 ]
Post subject: Re: Phpbb3 Portal For Milky_Way
misterleks wrote: [View Post]
Has tried round angles on one block, it is looked awfully)))) better, I shall forget about them)))

lol i can imagine in 2 minutes it looks awful hehehe it should look pretty
spend some time on it and you 'll love it

misterleks wrote: [View Post]
What changes style '.tablebg th '? I have not noticed any variations...

tablebgportal changes the borders


misterleks [ Tue 21 Dec, 2010 06:34 ]
Post subject: Re: Phpbb3 Portal For Milky_Way
Joshua203 wrote: [View Post]

lol i can imagine in 2 minutes it looks awful hehehe it should look pretty
spend some time on it and you 'll love it


I used Photoshop
2
I needed a one-minute
And I did not like


P.S.

Joshua203 wrote: [View Post]

for rounded corners you need to check a table that has rounded corners see the difference in the header ... copy and modify that to what you want it to say and edit it in every single block used (i mean the part of code above "table" and "th" wich is missing in portal blocks)

it would look something like this if i look at your loginbox source code
Code: [Hide] [Select]
<div><div class="tbl-h-l"><div class="tbl-h-r"><div class="tbl-h-c"><div class="tbl-title">Вход</div></div></div></div>


Looks like this:
5

Open main_menu.html folder block
Find:
Code: [Hide] [Select]
{$LR_BLOCK_H_L}

Replace:
Code: [Hide] [Select]
<div><div class="tbl-h-l"><div class="tbl-h-r"><div class="tbl-h-c"><div class="tbl-title">

Find:
Code: [Hide] [Select]
{$LR_BLOCK_H_R}

Replace:
Code: [Hide] [Select]
</div></div></div></div>


This is done in all the blocks you use.


Joshua203 [ Tue 21 Dec, 2010 12:39 ]
Post subject: Re: Phpbb3 Portal For Milky_Way
yes for your portal that would be it but keep in mind that those div's should never be empty, i mean a blanc header should at least have an &nbsp; as content


misterleks [ Tue 21 Dec, 2010 15:51 ]
Post subject: Re: Phpbb3 Portal For Milky_Way
Joshua203, Thanks, I'll keep in mind.
According to its portal is an even easier way.
Open _block_config.html
Find:
Code: [Hide] [Select]
<!-- DEFINE $LR_BLOCK_H_L = '<table class="tablebg" cellspacing="1" width="100%"><tr><th><span style="float: left">' -->

Replaced by:
Code: [Hide] [Select]
<!-- DEFINE $LR_BLOCK_H_L = '<div><div class="tbl-h-l"><div class="tbl-h-r"><div class="tbl-h-po"><div class="tbl-title">' -->

Find:
Code: [Hide] [Select]
<!-- DEFINE $LR_BLOCK_H_R = '</span></th></tr></table>' -->

Replaced by:
Code: [Hide] [Select]
<!-- DEFINE $LR_BLOCK_H_R = '</div></div></div></div>' -->

All units will be swapped.

Example on my site. Only altered the font, the lines extend beyond the block.


Joshua203 [ Tue 21 Dec, 2010 16:58 ]
Post subject: Re: Phpbb3 Portal For Milky_Way
Quote:
Example on my site. Only altered the font, the lines extend beyond the block.

That's because it changes the class

your minical is exeeding the limit btw




Powered by Icy Phoenix