View Full Version : EDIT: Themes not showing up...
PTGigi
07-18-2009, 09:18 PM
See 3rd post by me for next question. X(
Seapyramid
07-18-2009, 11:09 PM
Question 3.. there is a "blank.php" in your files.. use that to create more. For help on changing HTML & CSS for the themes.. research & learn http://www.w3schools.com/html/default.asp & http://www.w3schools.com/css/default.asp you should learn at least enough of both to ask specific questions.. You need to show the desire to learn & try if you are wanting aid & those tuts help alot :)
Sea
Ashje
07-19-2009, 06:20 AM
*Sigh* I'm hopeless, I have more questions...three to be exact.
Question 1: I have the pictures I want made for the themes but I don't know how to create the theme...
I tried to substitute my "theme" for the default pictures in the default theme but that didn't work completely.
So exactly in simple terms (because I have no idea what I'm doing) how to you make the themes? And is there a way for you to have multiple themes and your users can select which theme they want?
Question 2: Also, is there a way to get into the coding of the site?
For example, If I wanted to change what it said on the Adopt page could I do that?
Question 3: And for the final question...how do you make new pages?
I can create them but they don't appear.
I enter the values shown (no idea what the page url is though) and nothing happens. I'm assuming I'm missing the page url page...
1: I can't really explain how to do this, I normally sub the default. I can make it for you though if you send me the images you want. For an example of my latest theme:
http://pokepets.hostoi.com/index.php
2: Yes. The place where you uploaded all the FTP files. Go into there and you can edit the text. To edit things like the text in adopt.php, go to lang ==> lang.php
3: The page URL is the extension from your site. So if you say the extension is "test", then your URL to actually view the page will be "http://yourwebsite.com/pages.php?page=test"
That is probably why it won't appear.
PTGigi
07-19-2009, 02:28 PM
Thank you, both of you!
@Seapyramid-I'm reading up on those tutorials now.
They're definitely a lot better than the tutorials I found. XD
@Ashje-If I can't get the theme working I'll send you the pictures. I just want to see if I can try it first. :D
Seapyramid
07-19-2009, 05:02 PM
Good Luck & Glad those help:) I still refer to that site often, especially on the PHP & MYSQL as I learn more they help me to do new things. Glad you are finding them useful too! :)
Sea
PTGigi
07-19-2009, 05:41 PM
I'm getting everything except for the themes. It just changes the site to my code... :S
Does it have to be put in the "/templates/default/images" folder? Because I made a separate folder for it so it was easy to keep track of.
EDIT: Also is there a way to delete themes? I have two with the same name and neither of them work. XD
EDIT2: I guess posting the code will help...
I edited the theme from the default since I probably would have screwed it up if I hadn't and I used the same size pictures (except for the background) as the default theme. I also saved the files as the same names as the default theme because originally I was trying to substitute them (which didn't work).
/*
Theme Name: Fav-Purple Theme
Description: My favorite Pokemon in a theme!
Version: 1.0
Author: Pokemontrainergigi/Ginger Ninja
Author URI:
*/
/* Generic Styling */
body {
background:url(images/bg-body.png) repeat-x top center #E8F7F9;
font-family:"Trebuchet MS" Arial, Helvetica, sans-serif;
font-size:62.5%; /* Sets default font size to 10px */
color:#222222;
}
* {
margin:0;
padding:0;
}
img {
border:0;
}
p {
margin-bottom:1.75em;
}
a {
text-decoration:none;
color:#B4C835;
}
a:hover {
text-decoration:none;
color:#6CC7DC;
}
/* Structure */
#wrapper {
margin:0 auto;
width:700px;
background:#ffffff;
font-size:1.20em;
}
#header {
height:140px;
background:url(images/BG-Header.png) no-repeat;
}
#menu {
height:35px;
line-height:35px;
background:url(images/bg-menu.png) repeat-x;
padding:0 10px;
}
#sidebar {
float:right;
width:180px;
background:#efefef;
margin-right:10px;
}
#content {
float:left;
width:500px;
min-height:400px;
}
#footer {
clear:both;
height:100px;
background:url(images/BG-Footer.png) no-repeat;
}
/* Entries */
.entry {
padding:5px 10px;
text-align:justify;
line-height:1.75em;
}
.entry-title {
font-size:1.90em;
font-weight:normal;
letter-spacing:-1px;
}
.date {
font-size:0.9em;
color:#bbb;
cursor:default;
letter-spacing:1px;
}
.comments {
margin-top:-1em;
}
.comments a {
color:#6CC7DC;
background:url(images/icon-comment.png) no-repeat 0px 2px;
padding-left:20px;
padding-right:2px;
}
.comments a:hover {
color:#B4C835;
}
/* Menu */
#menu ul {
list-style-type:none;
}
#menu li {
float:left;
}
#menu li a {
padding:0 15px;
display:block;
color:#ffffff;
margin-right:2px;
}
#menu li a:hover {
background:url(images/bg-menu-hover.png) no-repeat center center;
}
/* Sidebar */
#sidebar ul {
list-style-type:none;
margin-top:10px;
}
#sidebar li {
}
#sidebar li a {
display:block;
height:20px;
line-height:20px;
color:#222222;
padding-left:5px;
border-bottom:1px solid #dddddd;
}
#sidebar li a:hover {
background:#edebed;
color:#6CC4D8;
}
#sidebar-bottom {
height:20px;
background:url(images/bg-sidebar-bottom.gif) no-repeat top center;
}
/* Footer */
#footer-valid {
float:left;
padding-top:55px;
padding-left:20px;
cursor:default;
color:#ffffff;
}
#footer-valid a {
color:#ffffff;
text-decoration:none;
}
#footer-valid a:hover {
color:#ffffff;
text-decoration:underline;
}
/* Heading's */
h1 {
font-size:2.5em;
font-weight:normal;
cursor:default;
position:relative; top:50px; left:30px;
letter-spacing:1px;
color:#aaaaaa;
font-style:italic;
}
/* Feed */
#feed {
height:25px;
width:126px;
background:url(images/bg-feed.gif) no-repeat;
margin:0 auto;
padding-left:26px;
}
a.feed-button {
display:block;
width:100px;
height:25px;
background:url("images/button-feed.png") 0 0 no-repeat;
text-decoration: none;
}
a:hover.feed-button {
background-position:0 -25px;
}
/* Extra's */
#ad-top {
width:480px;
height:72px;
background:url(images/bg-ad-top.png) no-repeat;
padding:5px;
}
I get one of two errors when I do this:
1. Warning: file_get_contents(ftp://...@pokebreederz.com/favpurpletheme/favpurpletheme.html) [function.file-get-contents]: failed to open stream: FTP server reports 550 Can't check for file existence in /home/content/g/i/g/gigihager/html/admin.php on line 2153
I believe this is because I moved the files.
2. /* Theme Name: Fav-Purple Theme Description: My favorite Pokemon in a theme! Version: 1.0 Author: Pokemontrainergigi Author URI: */ /* Generic Styling */ body { background:url(images/bg-body.png) repeat-x top center #E8F7F9; font-family:"Trebuchet MS" Arial, Helvetica, sans-serif; font-size:62.5%; /* Sets default font size to 10px */ color:#222222; } * { margin:0; padding:0; } img { border:0; } p { margin-bottom:1.75em; } a { text-decoration:none; color:#B4C835; } a:hover { text-decoration:none; color:#6CC7DC; } /* Structure */ #wrapper { margin:0 auto; width:700px; background:#ffffff; font-size:1.20em; } #header { height:140px; background:url(images/BG-Header.png) no-repeat; } #menu { height:35px; line-height:35px; background:url(images/bg-menu.png) repeat-x; padding:0 10px; } #sidebar { float:right; width:180px; background:#efefef; margin-right:10px; } #content { float:left; width:500px; min-height:400px; } #footer { clear:both; height:100px; background:url(images/BG-Footer.png) no-repeat; } /* Entries */ .entry { padding:5px 10px; text-align:justify; line-height:1.75em; } .entry-title { font-size:1.90em; font-weight:normal; letter-spacing:-1px; } .date { font-size:0.9em; color:#bbb; cursor:default; letter-spacing:1px; } .comments { margin-top:-1em; } .comments a { color:#6CC7DC; background:url(images/icon-comment.png) no-repeat 0px 2px; padding-left:20px; padding-right:2px; } .comments a:hover { color:#B4C835; } /* Menu */ #menu ul { list-style-type:none; } #menu li { float:left; } #menu li a { padding:0 15px; display:block; color:#ffffff; margin-right:2px; } #menu li a:hover { background:url(images/bg-menu-hover.png) no-repeat center center; } /* Sidebar */ #sidebar ul { list-style-type:none; margin-top:10px; } #sidebar li { } #sidebar li a { display:block; height:20px; line-height:20px; color:#222222; padding-left:5px; border-bottom:1px solid #dddddd; } #sidebar li a:hover { background:#edebed; color:#6CC4D8; } #sidebar-bottom { height:20px; background:url(images/bg-sidebar-bottom.gif) no-repeat top center; } /* Footer */ #footer-valid { float:left; padding-top:55px; padding-left:20px; cursor:default; color:#ffffff; } #footer-valid a { color:#ffffff; text-decoration:none; } #footer-valid a:hover { color:#ffffff; text-decoration:underline; } /* Heading's */ h1 { font-size:2.5em; font-weight:normal; cursor:default; position:relative; top:50px; left:30px; letter-spacing:1px; color:#aaaaaa; font-style:italic; } /* Feed */ #feed { height:25px; width:126px; background:url(images/bg-feed.gif) no-repeat; margin:0 auto; padding-left:26px; } a.feed-button { display:block; width:100px; height:25px; background:url("images/button-feed.png") 0 0 no-repeat; text-decoration: none; } a:hover.feed-button { background-position:0 -25px; } /* Extra's */ #ad-top { width:480px; height:72px; background:url(images/bg-ad-top.png) no-repeat; padding:5px; }
This is what I usually get which is my entire code in one massive paragraph...
vBulletin® v3.8.11, Copyright ©2000-2025, vBulletin Solutions Inc.