View Single Post
  #1  
Old 28th January 2010, 10:49
joeroberts's Avatar
joeroberts joeroberts is offline
BT.Manager Owner
 
Join Date: Jan 2008
United States
Posts: 2,113
Default Tutorial On creating a theme For phpMyBitTorrent
First and foremost you well need a good working nolige of PHP!

The theme for PMBT is the complete layout of your site so you well want to
Be very careful when doing it.
The far easiest way is to take copy the content of a theme that is laid out the way you already want yours but you want deffrent Images and colors.

phpMyBitTorrent theme's are laid out fairly easy you have 19 separate function

OpenTable()
CloseTable()
OpenTable2()
CloseTable2()
OpenNewsTable()
CloseNewsTable()
OpenMessTable()
CloseMessTable()
OpenSuccTable()
CloseSuccTable()
OpenErrTable()
CloseErrTable()
newuserpage()
themeheader()
themefooter()
overlib_init()
help()


Optional are

themechange()
languagechange()


We well take Vista theme as our example theme

The two Most changed are themeheader and themefooter these to are seen on ever page

Click image for larger version

Name:	themeheader.png
Views:	160
Size:	115.0 KB
ID:	2059

themeheader is the top of your web site down the left side and you left collom if you want one.

Click image for larger version

Name:	themefooter.png
Views:	49
Size:	61.0 KB
ID:	2060

themefooter is the bottom of your web site the right side and your right colom if you want one

Your second most changes is OpenTable and CloseTable these 2 are seen on every page

OpenTable is the top and left side of your blocks

Name:  OpenTable.png
Views: 700
Size:  2.8 KB

CloseTable are the bottom and right side of your blocks

Name:  CloseTable.png
Views: 703
Size:  1.6 KB

then you have your special tables

OpenTable2 CloseTable2

Click image for larger version

Name:	table2.png
Views:	28
Size:	4.6 KB
ID:	2066

OpenSuccTable CloseSuccTable

Click image for larger version

Name:	successtable.png
Views:	20
Size:	4.2 KB
ID:	2065

OpenMessTable CloseMessTable

Click image for larger version

Name:	messagetable.png
Views:	16
Size:	4.7 KB
ID:	2064

OpenErrTable CloseErrTable

Click image for larger version

Name:	errortable.png
Views:	13
Size:	6.0 KB
ID:	2063

overlib_init is your java scripts
Help is your popup bubble(help tips)
__________________
Do not ask me to help you work on your site that is not phpMyBitTorrent
Do not ask me to make a mod for any other source
Do not Ask me to setup your site.
I will no longer help you setup your site, there is a setup script if you have trouble with it post in the forum here or in BT.Manager™ forum
My Current Demo is here http://demo.btmanager.org/
Reply With Quote
The Following 3 Users Say Thank You to joeroberts For This Useful Post:
DAKz (30th September 2011), Phogo (28th January 2010), pwnage (3rd February 2010)