Navigator
Style Changer

Green = Released
Orange = Beta Theme
Gray = Pre-beta Theme
Red = New Pre-beta Team
Current Style

prosilver
© phpBB Group

You must be logged in to use the Styles Changer



We are a free and open
community, all are welcome.

Click here to Register
Cloud Searches

Online Users

In total there are 5 users online :: 2 registered, 0 hidden and 3 guests

Most users ever online was 43 on Tue Jul 06, 2010 4:59 am

Registered users: Google [Bot], Yahoo [Bot] based on users active over the past 5 minutes

Last Online
In order to view the online list you have to be registered and logged in.



We are a free and open
community, all are welcome.

Click here to Register

Recent Topics
Request to port stre...
by: mitch
Fri Sep 03, 2010 6:25 pm
Request to port xabb...
by: mitch
Fri Sep 03, 2010 6:24 pm
Request to port Prof...
by: mitch
Thu Aug 26, 2010 4:42 pm
proFormell for phpbb...
by: mitch
Thu Aug 26, 2010 4:30 pm
Ok, I must be a bit ...
by: mitch
Sun Aug 22, 2010 9:01 pm
Blocks
by: mitch
Fri Aug 20, 2010 4:51 pm
SE_Pro Thanks for th...
by: mitch
Wed Aug 18, 2010 6:49 pm
Fae-forest
by: mitch
Wed Aug 18, 2010 12:51 am
Header Problem
by: CaNNon
Tue Aug 17, 2010 9:12 pm
CoDFaction for phpbb...
by: Verrater
Wed Aug 11, 2010 6:56 pm
Title help
by: mitch
Mon Aug 09, 2010 4:32 pm
header bg images bre...
by: bredin
Mon Aug 02, 2010 9:16 am
block column positio...
by: bredin
Mon Aug 02, 2010 6:31 am
3 Aliens Orders New ...
by: mitch
Tue Jul 27, 2010 8:26 am
Liquid Black
by: mitch
Mon Jul 26, 2010 2:34 pm
Need Help With Insta...
by: mitch
Thu Jul 22, 2010 12:21 am
Golf Theme
by: mattnyy
Tue Jul 20, 2010 1:02 pm
Problem with footer ...
by: mitch
Mon Jul 19, 2010 12:16 pm
Style changer. Quest...
by: mitch
Sat Jul 17, 2010 3:21 am
Black Pearl RSS feed
by: mitch
Sat Jul 17, 2010 3:20 am
Help Needed
by: mitch
Sun Jul 11, 2010 12:18 am
Error! The ndx's val...
by: mitch
Thu Jul 08, 2010 6:11 pm
3 Aliens Web Hosting...
by: mitch
Mon Jul 05, 2010 7:00 pm
slagg for phpbb 3.07...
by: mitch
Mon Jul 05, 2010 6:25 pm
Login Form Problem
by: mitch
Fri Jul 02, 2010 6:16 pm
Bot Tracker

Google [Bot]
Mon. Sep. 06 2010, 23:10
Yahoo [Bot]
Mon. Sep. 06 2010, 23:09
Baidu [Spider]
Mon. Sep. 06 2010, 22:59
MSN [Bot]
Mon. Sep. 06 2010, 22:45
Exabot [Bot]
Mon. Sep. 06 2010, 22:42
Ask Jeeves [Bot]
Mon. Sep. 06 2010, 19:06
Majestic-12 [Bot]
Mon. Sep. 06 2010, 00:03
Gigabot [Bot]
Sat. Sep. 04 2010, 22:03
MSNbot Media
Fri. Sep. 03 2010, 11:38
W3C [Validator]
Tue. Aug. 17 2010, 09:52

Search

Categories
Not processed for this page
Books

Porting styles a quick how to

Support forum for released Stargate Styles

Porting styles a quick how to

PostAuthor: mitch » Wed Jan 13, 2010 3:28 pm

Quick and dirty method
Tools needed
1. Winmerge
2. Editor for text files - Example Edit 3+, notepad Plus, A programming type editor
You must make sure the setting in your editor has UTF-8 encoding and file formal = UNIX
3. Firefox
Firefox addons -
Fire bug
Colorzilla -used to find the color code on a web page


There are two ways

First is the long way.
Copy the contents of the root/styles/prosilver or Subsilver2 from the install files to the style you want to port
If it asks do you want to overwrite some files answer NO.
Open up the style edit XML file that gives the edits to prosilver or subsilver2. What ever type of style you want to port.
Follow the edits for that style on the style you want to port.
Load your stargate portal forum (hopefully Locally - (its easier that way)use wamp or xamp for a local server but that's another how-to.)
Go to ACP and install the style you just ported. Clear cache on the general page tab and refresh your style under the styles tab.
Load the style you will notice that on the portal page it doesn't look like the forum page (index)
Right click on the portal page(hopefully you are using Firefox and the firebug add on) If not, this will not work.
Pick inspect element.
On the firebug menu Bar second Icon on the left click on it
firebugtoolbar.PNG
firebugtoolbar.PNG (6.71 KiB) Viewed 269 times

and highlight the block. then click after the red bar is around it.
Block.PNG
Block.PNG (20.36 KiB) Viewed 269 times

look for the css tag for the part of the block that is not correct.(left fire-bug Pane)
On the right pane you can input a color code and it will change on the fly. also notice the css tag that you changed the color
At this point open up portal.css in your editor and find the css tag and change the color tag that you did in fire bug.
Most of the time its block_header, .block_bg, .block_body, .block_data, .box. On custom styles you might have to add a image file or change the name because it differs from the base style because the author decided on a new name.
You can pretty much find any css tag by inspecting and playing in the html pane(left) and changing the code in css pane(right in Fire-bug
when you reload the page the setting goes back to normal you need to edit the portal.css with you editor to change it for good.

The Short Way.

Copy the contents of the root/styles/prosilver or Subsilver2 from the install files to the style you want to port
If it asks do you want to overwrite some files answer NO.
Start Winmerge
Open up prosilver or subsilver in one side and your style you want to port in the other side.
compare the files.
When you come to a stargate file edit right click on it and merge it to the style you want to port.
do this for all the files.
Load your stargate portal forum (hopefully Locally - (its easier that way)use wamp or xamp for a local server but that's another how-to.)
Go to ACP and install the style you just ported. Clear cache on the general page tab and refresh your style under the styles tab.
Load the style you will notice that on the portal page it doesn't look like the forum page (index)
Right click on the portal page(hopefully you are using Firefox and the firebug add on) If not, this will not work.
Pick inspect element.
On the firebug menu Bar second Icon on the left click on it
firebugtoolbar.PNG
firebugtoolbar.PNG (6.71 KiB) Viewed 269 times

and highlight the block. then click after the red bar is around it.
Block.PNG
Block.PNG (20.36 KiB) Viewed 269 times

look for the css tag for the part of the block that is not correct.(left fire-bug Pane)
On the right pane you can input a color code and it will change on the fly. also notice the css tag that you changed the color
At this point open up portal.css in your editor and find the css tag and change the color tag that you did in fire bug.
Most of the time its block_header, .block_bg, .block_body, .block_data, .box. On custom styles you might have to add a image file or change the name because it differs from the base style because the author decided on a new name.
You can pretty much find any css tag by inspecting and playing in the html pane(left) and changing the code in css pane(right in Fire-bug
when you reload the page the setting goes back to normal you need to edit the portal.css with you editor to change it for good.
Mitch
http://www.phpbbmodinstalls.com/ Mods, phpBB3, stargate portal Install service.
Image

10% off full year enter promotion code stargate
http://www.thejokeforum.com/ Roll Over Laughing :-ROLF:
Please Donate to keep this site running and ads away
Note: Please No support via PM
User avatar
mitch
Site Admin
Site Admin
 
Posts: 457
Joined: Mon Nov 03, 2008 11:03 pm

Return to Style Support

Who is online

Registered users: Google [Bot], Yahoo [Bot]

cron