Phpbb3 Portal For Milky_Way


Goto page 1, 2  Next

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: [Download] [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: [Download] [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: [Download] [Hide] [Select]
.tablebg {
background-color: #FFFFFF;
border: solid 1px #AAAAAA;
}

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


Once again, find .tablebg th
Should look like this:
Code: [Download] [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: [Download] [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: [Download] [Hide] [Select]
<table class="tablebg" cellspacing="1" width="100%">

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


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

and replace it with
Code: [Download] [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..

Last edited by jpavly on Wed 18 Mar, 2009 23:31; edited 1 time in total
Profile PM  
Subject: Re: Phpbb3 Portal For Milky_Way
Thank you very much for sharing... Il stickify this. :wink:

Subject: Re: Phpbb3 Portal For Milky_Way
thanks a lot man... :)

u can also add this :

portal3

OPEN overall_header.html
FIND
Code: [Download] [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: [Download] [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 ]

Subject: Re: Phpbb3 Portal For Milky_Way
Nice idea, I used this so I can use the Logo as a link to the portal :)

Profile PM  
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

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?

Profile PM  
Subject: Re: Phpbb3 Portal For Milky_Way
Dont worry, just fixed it somehow.

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.. :|

Profile PM  
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.

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?.

Profile PM  
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. :cry:

I'm a failure. :LOL:

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

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

Profile PM  
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

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.. :?

Profile PM  
Goto page 1, 2  Next

Page 1 of 2


  
You cannot post new topics
You cannot reply to topics
You cannot edit your posts
You cannot delete your posts
You cannot vote in polls
You cannot attach files
You can download files
You cannot post calendar events

   

This is a "Lo-Fi" version of our main content. To view the full version with more information, formatting and images, please click here.

Powered by Icy Phoenix based on phpBB
Generation Time: 0.106s (PHP: 24% SQL: 76%)
SQL queries: 15 - Debug Off - GZIP Enabled