RMRK is retiring.
Registration is disabled. The site will remain online, but eventually become a read-only archive. More information.

RMRK.net has nothing to do with Blockchains, Cryptocurrency or NFTs. We have been around since the early 2000s, but there is a new group using the RMRK name that deals with those things. We have nothing to do with them.
NFTs are a scam, and if somebody is trying to persuade you to buy or invest in crypto/blockchain/NFT content, please turn them down and save your money. See this video for more information.
Web Design.

0 Members and 2 Guests are viewing this topic.

pokeball :)OfflineMale
********
Cheese
Rep:
Level 95
?
Ok, well as you know I made that side rpgcraze. well I posted the site at Creation Asylum under website creation section for some feedback on what to fix for next time I make a site. What I got:

Quote
Instead of using images for your title/buttons/headings, you should use CSS as you can have more control over things from within your page rather than relying on external image editing software.

and:

Quote
Plus, try using PHP to include other pages rather than iFrames, which make it sucky :p

well I would have wished for some links to go along with the replys but no dice. so I post here on a question. What exactually do they mean? also does anyone have links to what they are talking about or feedback of their own on web design...pretty much anything to help me out would be great!
Watch out for: HaloOfTheSun

*
( ´ิ(ꈊ) ´ิ) ((≡^⚲͜^≡)) (ી(΄◞ิ౪◟ิ‵)ʃ)
Rep:
Level 102
(っ˘ڡ˘ς) ʕ•̼͛͡•ʕ-̺͛͡•ʔ•̮͛͡•ʔ (*ꆤ.̫ꆤ*)
2014 Avast Ye Merry Pirate!2013 Avast Ye Merry Pirate Award2012 Avast Ye Merry Pirate AwardFor frequently finding and reporting spam and spam bots2011 Avast Ye Merry Pirate2011 Most Unsung Member2010 Avast Ye Merry Pirate Award
Using CSS for common images like a header is the much preferred way.

Going the "old school" way, on each and every page, you'd have it in your HTML,
Code: [Select]
<img src="http://mysite.com/myheader.gif" alt="Site header" />

Then say later on, you wanted to use a different image with a different URL. You'd have to go through every page and edit that snippet of HTML to use the new image. With CSS, it'd be alot easier.

CSS:
Code: [Select]
.header_image {
background: url(http://mysite.com/header_image.jpg)
width: 750px;
height: 300px;
}

Then in your HTML for your site's pages, you could simply display the header by going:

Code: [Select]
<div class="header_image"></div>

To include a .css file in your pages, you'd need this in the <head> section:

Code: [Select]
<link rel="stylesheet" type="text/css" href="http://mysite.com/css.css" />

Using CSS for boxes / general layout is also what that guy is probably talking about also. That current RPG craze site's layout shape is made by the images being stacked together. Resize any of them and the entire layout is broken. With CSS / DIV code you could make a layout that's shaped by the CSS and then has it's images controlled by the CSS. An advantage to that is that ifyou ever want to make a new layout of your site, you'd just have to update images and the css and you could change the entire look.



PHP is great for lots of common content. Say you have a menu that stays the same for each and every page. Instead of writing it into each and every page, you can just write it once and then include it in the pages. Then if you ever wanted to update the layout you could just change that one file. I have to go to bed now ;_; but if you want me to show you examples and stuff, just ask me =o

This site has some great guides and easy to understand tutorials: http://www.tizag.com/
« Last Edit: May 16, 2007, 04:10:33 AM by Silverline »
bringing sexy back

pokeball :)OfflineMale
********
Cheese
Rep:
Level 95
?
what do you use to make a web page silver? I got confused with the way you showed the html site header set up.
Maybe it's because I am using the "easy" way and just using dreamweaver. In DW it sets up the header I used like this:


Using CSS for common images like a header is the much preferred way.
Going the "old school" way, on each and every page, you'd have it in your HTML,
Code: [Select]
<img src="http://mysite.com/myheader.gif" alt="Site header" />


Code: [Select]
</style></head>
<body bgcolor="#FFFFFF">
<!-- ImageReady Slices (rpgcraze.psd) -->
<table id="Table_01" width="900" border="0" cellpadding="0" cellspacing="0">
<tr>
<td colspan="10">
<img src="images/rpgcraze_01.gif" width="900" height="225" alt=""border="0"></td>
</tr>
I do remember you saying (a long time ago) something about how toxic films .net would not get on google (or a web search) because it was made using splicing. I used the same method when I made this site.  :( pretty much made the site in photoshop, cut it up sent it to image ready, saved it, and opened the HTML file in dreamweaver. on my site everything is an image, on sylph they are backround images. (and the buttons are made some other way w/o am image)


Using CSS for boxes / general layout is also what that guy is probably talking about also. That current RPG craze site's layout shape is made by the images being stacked together. Resize any of them and the entire layout is broken. With CSS / DIV code you could make a layout that's shaped by the CSS and then has it's images controlled by the CSS. An advantage to that is that ifyou ever want to make a new layout of your site, you'd just have to update images and the css and you could change the entire look.

I noticed that when went to go fix a button. I enlarged it by 1 px, and bam the whole right side is shifted over.


PHP is great for lots of common content. Say you have a menu that stays the same for each and every page. Instead of writing it into each and every page, you can just write it once and then include it in the pages. Then if you ever wanted to update the layout you could just change that one file. I have to go to bed now ;_; but if you want me to show you examples and stuff, just ask me =o

This site has some great guides and easy to understand tutorials: http://www.tizag.com/

thanks for the link. What I don't get is why would I need to have the same menu on each and every page? I am pretty lost on this part since I can put the menu on the layout and then I normally just have the new pages open in iframes. I noticed at slyph, when I click an option on the drop down menu, the page re-loads. I take it to a whole new page (since it shows in the web url bar). so why did you use that way? I would guess because on each new page the place where text is written is more of less then the last place so an iframe would look ugle. (as I know believe after seeing your site iframes look ugly.)
if you have time examples would be awsome if not I will try my best to learn by using that link.

thanks

(sorry for being so basic xD I really want to learn this type of stuff.)
« Last Edit: May 16, 2007, 01:28:15 PM by Nouman »
Watch out for: HaloOfTheSun

*
Resident Cloud
Rep:
Level 91
silverline's site uses a sort of sandwich template there the header which goes ontop then the content in the middle and then the footer.

only the bit in the middle changes.

i myself use dreamweaver to but in code view (i like the syntax hilighting) but also because i can quickely switch to design view and check out the progress.

as for iframes there generally not used although ive forgotten why ill look it up for you.

examples:

ill get back to you

******
Resource Maker
Rep:
Level 91
Cascading Style Sheets or template can help... Or setting say your hearder area in a frame so it doesn't update etc...

Even using Flash it's fairly simple, if you save your hedrer image as say TEST, then when you want to update it, if you import new image with the same name TEST, it will replace all the old ones...

There are many little tricks when doing WEB design...

Here's one of my site:- www.equita.co.uk

It's made in frames, I done pretty much all of this (Some images got brought in by a photographer, but the rest is all me)...
 


My RMRK Wikki:- http://wiki.rmrk.net/index.php/Landofshadows
Make a Donation for my Resource making:- https://www.paypal.me/landofshadows

*
Resident Cloud
Rep:
Level 91
that looks good landofshadows

pokeball :)OfflineMale
********
Cheese
Rep:
Level 95
?
thanks so far. Ok so to understand this I guess the best was  would be too start a new project out, and then maybe you guys can walk me through or something.

First step I guess, I went and made how I want the site to look in paint:

Spoiler for:
(the left is just a side navy bar for w/e

so next step?
Watch out for: HaloOfTheSun

*
Resident Cloud
Rep:
Level 91
isolate the header image and navigation buttons as well as the bar to the left. save them as seperate images. seeing as your using rounded corners youll need to save each corner aswell

pokeball :)OfflineMale
********
Cheese
Rep:
Level 95
?
ahref, I'm not to sure on what you mean, so I went and I divided the site pieces as I normally would have. If it is wrong tell me so and I can try again.

but, thanks for helping!
Watch out for: HaloOfTheSun

*
Resident Cloud
Rep:
Level 91
you divided the images fine yes :P
are you planning on using php in the site at all?
« Last Edit: May 18, 2007, 07:53:07 PM by ahref »

pokeball :)OfflineMale
********
Cheese
Rep:
Level 95
?
I'm not sure what to do to be correct. Or even what to use and what not to use. I want to do it the "correct professional way".

the reply's I had on a different site for my website I finished said:

Quote
Instead of using images for your title/buttons/headings, you should use CSS as you can have more control over things from within your page rather than relying on external image editing software.

and:

Quote
Plus, try using PHP to include other pages rather than iFrames, which make it sucky :p



Watch out for: HaloOfTheSun

*
Resident Cloud
Rep:
Level 91
ahh i see well it would be a good idea to install php on your computer then so you can have a go at writing a php site

i use http://www.wampserver.com/en/ but there are many others. see silverlines topic on free alternatives.


ive also made a small template for you using CSS with instructions included within the files:)
« Last Edit: May 19, 2007, 01:03:08 PM by ahref »

pokeball :)OfflineMale
********
Cheese
Rep:
Level 95
?
I have adobe dreamweaver cs3.
under new doc's it shows create new: "PHP Document"
if you still want me to get what you use just say so and I will  :)

ok I have attached everything I have this far. I still don't get how to do it but I am trying to understand now.
what I THINK:
- Layout is split into divs.
- Style sheet gives the div it's properties.
- php magically flys in xD

Take a look at the attachment I tried to enlarge the header div size to the image size and then insert the image as a backround image in the css page. no luck.
Watch out for: HaloOfTheSun

*
Resident Cloud
Rep:
Level 91
dreamweaver is a php editor yes but your machine needs to have the psp applications and files to actually interpret the language.


that link i sent will install apache,php and mysql onto your computer them working together will enable you to test php pages aswell as mysql functions within the php(dont worry about mysql for now)
ill take a look at the files

okies

underneath #header place this:
Code: [Select]
background-image:url(images/Mysite_01.gif);
instead of the other background line(it wont repeat because you have the div's size set
« Last Edit: May 19, 2007, 03:48:47 PM by ahref »

*
( ´ิ(ꈊ) ´ิ) ((≡^⚲͜^≡)) (ી(΄◞ิ౪◟ิ‵)ʃ)
Rep:
Level 102
(っ˘ڡ˘ς) ʕ•̼͛͡•ʕ-̺͛͡•ʔ•̮͛͡•ʔ (*ꆤ.̫ꆤ*)
2014 Avast Ye Merry Pirate!2013 Avast Ye Merry Pirate Award2012 Avast Ye Merry Pirate AwardFor frequently finding and reporting spam and spam bots2011 Avast Ye Merry Pirate2011 Most Unsung Member2010 Avast Ye Merry Pirate Award
I use EasyPHP as a local server (just get version 1.8 for now). =o The only other one I tried was XAMPP but that was way overkill; easyPHP is basically just an install and that's it, it works kinda thing.
bringing sexy back

*
Resident Cloud
Rep:
Level 91
yeah dont ask why i use wamp my routers a little girl anyway.( i dont have the password and port 80 is stealth well so are all the others)

pokeball :)OfflineMale
********
Cheese
Rep:
Level 95
?
alright, I am starting to understand it now. Not 100% but starting.
I downloaded and installed the stuff, and left it alone for now.
I went back and replaced the code with yours, and WALAH works. :D
I did the same to the content div and the sidebar. I am now stuck.
I don't know how to do the navy bar, since I had split the images in it. also everything does not line up (but I guess it's because i'm not finished with it yet)
And should I go ahead and make a footer div as well?

(every time I will be attaching my css and html files only from now on so it will make it easier for you.)

EDIT: EasyPHP, should I switch over?
Watch out for: HaloOfTheSun

*
Resident Cloud
Rep:
Level 91
use whichever you find easier. I cant look at your new code now as im at a different pc but ill look tomoz

pokeball :)OfflineMale
********
Cheese
Rep:
Level 95
?
cool. Take a look and tell me what to fix and such as you have been doing.  ;D
Watch out for: HaloOfTheSun

pokeball :)OfflineMale
********
Cheese
Rep:
Level 95
?
cool. Take a look when you can and tell me what to fix and such as you have been doing.  ;D
Watch out for: HaloOfTheSun

*
( ´ิ(ꈊ) ´ิ) ((≡^⚲͜^≡)) (ી(΄◞ิ౪◟ิ‵)ʃ)
Rep:
Level 102
(っ˘ڡ˘ς) ʕ•̼͛͡•ʕ-̺͛͡•ʔ•̮͛͡•ʔ (*ꆤ.̫ꆤ*)
2014 Avast Ye Merry Pirate!2013 Avast Ye Merry Pirate Award2012 Avast Ye Merry Pirate AwardFor frequently finding and reporting spam and spam bots2011 Avast Ye Merry Pirate2011 Most Unsung Member2010 Avast Ye Merry Pirate Award
Lol.

I have nothing else to do, so I'm making a div/css layout based from your image ;8

[edit] http://rmrk.net/staff/silverline/html/nouman/silver.html online =o
« Last Edit: May 19, 2007, 05:22:30 PM by Silverline »
bringing sexy back

*
Resident Cloud
Rep:
Level 91
 I was gonna do that but realised i should work on my own site first :P


pokeball :)OfflineMale
********
Cheese
Rep:
Level 95
?
thanks tons! I will look into the files carefully when i can.

<3
Watch out for: HaloOfTheSun

pokeball :)OfflineMale
********
Cheese
Rep:
Level 95
?
alright, i'm starting to get a pretty good view on how to do the css style sheets for a page. I am look very closely to what silverline did and he did everything very clean and noticeable.

www.havok.esmartdesign.com

 its not final or anything I just wanted to fool around.

now to the PHP part of it?

also I put eveything on one page because when i linked a new page to the css it was still the same LONG ass body height, am I supposed to name each body of each page it's div name?

but yeah we can move on :D
(I will be going over some of my other designs and attempting to make a css style sheet for them.)
« Last Edit: May 23, 2007, 03:20:18 AM by Nouman »
Watch out for: HaloOfTheSun

pokeball :)OfflineMale
********
Cheese
Rep:
Level 95
?
Watch out for: HaloOfTheSun

pokeball :)OfflineMale
********
Cheese
Rep:
Level 95
?
alright, i'm starting to get a pretty good view on how to do the css style sheets for a page. I am look very closely to what silverline did and he did everything very clean and noticeable.

www.havok.esmartdesign.com

 its not final or anything I just wanted to fool around.

now to the PHP part of it?

also I put eveything on one page because when i linked a new page to the css it was still the same LONG ass body height, am I supposed to name each body of each page it's div name?

but yeah we can move on :D
(I will be going over some of my other designs and attempting to make a css style sheet for them.)
Watch out for: HaloOfTheSun

*
Resident Cloud
Rep:
Level 91
if you give a height that looks good when theres little content the div will automatically resize if theres more content than can fit. well at least mine do :p

the php part of it depends on what you need to do with php

pokeball :)OfflineMale
********
Cheese
Rep:
Level 95
?

Quote
Plus, try using PHP to include other pages rather than iFrames, which make it sucky :p

but now I see I don't need to do that correct?
Watch out for: HaloOfTheSun

*
( ´ิ(ꈊ) ´ิ) ((≡^⚲͜^≡)) (ી(΄◞ิ౪◟ิ‵)ʃ)
Rep:
Level 102
(っ˘ڡ˘ς) ʕ•̼͛͡•ʕ-̺͛͡•ʔ•̮͛͡•ʔ (*ꆤ.̫ꆤ*)
2014 Avast Ye Merry Pirate!2013 Avast Ye Merry Pirate Award2012 Avast Ye Merry Pirate AwardFor frequently finding and reporting spam and spam bots2011 Avast Ye Merry Pirate2011 Most Unsung Member2010 Avast Ye Merry Pirate Award
http://2drpg.com/site.zip

Get that and have a look around in it. I used basic php includes for common stuff like the header / footer etc :)
bringing sexy back

pokeball :)OfflineMale
********
Cheese
Rep:
Level 95
?
Thanks for that. When I get home on Monday I'll take my time to look at it.
Watch out for: HaloOfTheSun

pokeball :)OfflineMale
********
Cheese
Rep:
Level 95
?
:(
so I can sorta see what you had done, but when I try I can't execute it correctly.  you have:
Header.php (the main layout)
Footer.php (a bottom div with the name Footer which I assume is where the content is displayed)
Pages.php (all linked to header and footer and open in div footer in footer.php...I think.)

I am trying to do this with a main content box, and I always get stuck. I undid a lot of stuff to where I started and attached it here.
I cant get the index page to open inside in the Content div. (i undid a lot so there is no content.php or anything like that.)

i'm trying to make a rather large site in the near future so when I saw how you had done it in your attachment I went WOW! its simpler looking (after you get it to work) to make a new page and add it.

if you could help me out that would be awesome.

EDIT Never mind, I got everything to work....for now.  :D
« Last Edit: May 28, 2007, 10:39:16 PM by Nouman »
Watch out for: HaloOfTheSun

pokeball :)OfflineMale
********
Cheese
Rep:
Level 95
?
next problem.

I need a drop down menu, actually not so much a drop down since my menu is on the left and not a top menu or bottom.

I have found sooo many on the web, some harder then the others so I decided instead of wasting time to ask you guys what is the best one.

thanks.
Watch out for: HaloOfTheSun

*
Resident Cloud
Rep:
Level 91
the simplest menu is just a bullet pointed list of links eg.

  • link1
  • link2 etc.

then applying css you can make it do all sorts of things. My site uses this here

the site linked will have loads of others like it that may suit you.

*
( ´ิ(ꈊ) ´ิ) ((≡^⚲͜^≡)) (ી(΄◞ิ౪◟ิ‵)ʃ)
Rep:
Level 102
(っ˘ڡ˘ς) ʕ•̼͛͡•ʕ-̺͛͡•ʔ•̮͛͡•ʔ (*ꆤ.̫ꆤ*)
2014 Avast Ye Merry Pirate!2013 Avast Ye Merry Pirate Award2012 Avast Ye Merry Pirate AwardFor frequently finding and reporting spam and spam bots2011 Avast Ye Merry Pirate2011 Most Unsung Member2010 Avast Ye Merry Pirate Award
On my own site, I'm using this 100% CSS dropdown menu. It works perfectly, and it's cross-browser too.

If an unsupporting (really old) browser sees it, it'll just see a nice kind of link tree.
bringing sexy back

********
Rep:
Level 96
2010 Most Attractive Male Member2010 Best Musician
I tried using divs instead of frames, once. It sucked because the website would look good in one browser, and not in another. So I just stuck with frames, rather than single out potential visitors.

:tinysmile::tinysmile:

*
( ´ิ(ꈊ) ´ิ) ((≡^⚲͜^≡)) (ી(΄◞ิ౪◟ิ‵)ʃ)
Rep:
Level 102
(っ˘ڡ˘ς) ʕ•̼͛͡•ʕ-̺͛͡•ʔ•̮͛͡•ʔ (*ꆤ.̫ꆤ*)
2014 Avast Ye Merry Pirate!2013 Avast Ye Merry Pirate Award2012 Avast Ye Merry Pirate AwardFor frequently finding and reporting spam and spam bots2011 Avast Ye Merry Pirate2011 Most Unsung Member2010 Avast Ye Merry Pirate Award
Spoiler for lets see how well SMF colours this:
<!--[if IE 7]><!--></a><!--<![endif]-->
<!--[if 
lte IE 6]><table><tr><td><![endif]-->
<!--[if 
lte IE 6]></td></tr></table></a><![endif]-->
</
li>

<
li><a href="#">Site Related<!--[if IE 7]><!--></a><!--<![endif]-->

<!--[if 
lte IE 6]><table><tr><td><![endif]-->
	
<
ul>
	
<
li><a href="http://slyph.org/blog/" title="Short Story Blog">SlyphBlog</a></li>
	
<
li><a href="http://slyph.org/history/" title="A History Of Short Story">Site History</a></li>

	
<
li><a href="http://slyph.org/artists/" title="Information on the artists at Short Story">Artist Info</a></li>
	
<
li><a href="http://slyph.org/contact/" title="How you can get in touch with us">Contact Information</a></li>
    <
li><a href="http://slyph.org/about/" title="About Short Story">About</a></li>
    <
li><a href="http://slyph.org/legal/" title="Legal Information">Legal Info</a></li>
    <
li><a href="http://slyph.org/privacy/" title="Privacy Statement">Privacy Statement</a></li>
	

	
</
ul>
<!--[if 
lte IE 6]></td></tr></table></a><![endif]-->

</
li>
<
li><a href="http://slyph.org/music/" title="Music Center">Music<!--[if IE 7]><!--></a><!--<![endif]-->
<!--[if 
lte IE 6]><table><tr><td><![endif]-->
	
<
ul>
	
<
li><a href="http://slyph.org/music/collab/" title="Collaborative">Collaborations</a></li>
	
<
li><class="drop" href="http://slyph.org/music/silverline/" title="Silverline&#39;s Music">Silverline<!--[if IE 7]><!--></a><!--<![endif]-->

<!--[if 
lte IE 6]><table><tr><td><![endif]-->
	
	
<
ul>

	
	
	
<
li><a href="http://slyph.org/music/silverline/sx1/" title="Latest Work by Silverline">-S-X-1-</a></li>
	
	
	
<
li><a href="http://slyph.org/music/silverline/misc/" title="Miscellaneous">Misc Peices</a></li>
	
	
	
<
li><a href="http://slyph.org/music/silverline/blastermaster/" title="Blaster Master Symphony">Blaster Master Symphony</a></li>
	
	
	
<
li><a href="http://slyph.org/music/silverline/crescent/" title="Project Crescent Discarded Tracks">Project Crescent</a></li>
	
	
	
<
li><a href="http://slyph.org/music/silverline/rokmid/" title="Rockin&#39; MIDI Collection">Rockin&#39; MIDI Collection</a></li>
	
	
	
<
li><a href="http://slyph.org/music/silverline/silverperfect/" title="Silverperfect">Silverperfect</a></li>

	
	
	
<
li><a href="http://slyph.org/music/silverline/silverperfect2/" title="Silverperfect II">Silverperfect II</a></li>
	
	
	
<
li><a href="http://slyph.org/music/silverline/animalcrossing/" title="Animal Crossing Remixes and Arrangements">Animal Crossing ReWorked</a></li>
	
	
</
ul>
<!--[if 
lte IE 6]></td></tr></table></a><![endif]-->
	
</
li>
	
<
li><class="drop" href="http://slyph.org/music/halo/" title="HaloOfTheSun&#39;s Music">HaloOfTheSun<!--[if IE 7]><!--></a><!--<![endif]-->

<!--[if 
lte IE 6]><table><tr><td><![endif]-->
	
	
<
ul>

	
	
    <!-- <
li><a href="http://slyph.org/music/halo/latest/" title="Latest Work By HaloOfTheSun">Newest Work/Projects</a></li> -->
	
	
	
<
li><a href="http://slyph.org/music/halo/symphony1/" title="Symphony No1 in D Minor">Symphony No1 in D Minor</a></li>
	
	
	
<
li><a href="http://slyph.org/music/halo/ffaos/" title="Final Fantasy And Other Stories">Final Fantasy And Other Stories</a></li>
	
	
	
<
li><a href="http://slyph.org/music/halo/ffaosr/" title="Re-Mastered Final Fantasy And Other Stories">Final Fantasy And Other Stories Re-Mastered</a></li>
	
	
	
<
li><a href="http://slyph.org/music/halo/ffaos2/" title="Final Fantasy And Other Stories II">Final Fantasy And Other Stories II</a></li>
	
	
	
<
li><a href="http://slyph.org/music/halo/ffaos3/" title="Final Fantasy And Other Stories III">Final Fantasy And Other Stories III</a></li>

	
	
	
<
li><a href="http://slyph.org/music/halo/hotsoms/" title="HOTSOMS Soundtrack">HOTSOMS/HOTSOAS</a></li>
	
	
	
<
li><a href="http://slyph.org/music/halo/doom/" title="DooM - The Darkening">DooM The Darkening</a></li>
	
	
	
<
li><a href="http://slyph.org/music/halo/dream/" title="Dreamscapes And Memories">Dreamscapes And Memories</a></li>
	
	
</
ul>
<!--[if 
lte IE 6]></td></tr></table></a><![endif]-->
	
</
li>
	
<
li><class="drop" href="http://slyph.org/music/kylelandry/" title="KylePiano&#39;s/Kyle556&#39;s/Kyle Landry&#39;s Music and Video">KyleLandry/Kyle556<!--[if IE 7]><!--></a><!--<![endif]-->

<!--[if 
lte IE 6]><table><tr><td><![endif]-->
	
	
<
ul>
	
	
	
<
li><a href="http://slyph.org/music/kylelandry/audio/" title="Kylelandry&#39;s Arrangements">Audio Recordings</a></li>
	
	
	
<
li><a href="http://slyph.org/music/kylelandry/video/" title="Kylelandry&#39;s Video Performances">Video Performances</a></li>
	
	
</
ul>
<!--[if 
lte IE 6]></td></tr></table></a><![endif]-->
	
</
li>
	
<
li><class="drop" href="http://slyph.org/music/holk/" title="Holkeye&#39;s Music">Holkeye<!--[if IE 7]><!--></a><!--<![endif]-->

<!--[if 
lte IE 6]><table><tr><td><![endif]-->
	
	
<
ul>
	
	
	
<
li><a href="http://slyph.org/music/holk/" title="Works to appear soon">(Coming soon!)</a></li>
	
	
</
ul>
<!--[if 
lte IE 6]></td></tr></table></a><![endif]-->
	
</
li>
	
</
ul>
<!--[if 
lte IE 6]></td></tr></table></a><![endif]-->
</
li>
<
li><a href="#" title="Other miscellaneous content">Other<!--[if IE 7]><!--></a><!--<![endif]-->

<!--[if 
lte IE 6]><table><tr><td><![endif]-->
	
<
ul>
	
<
li><class="drop" href="http://slyph.org/articles/" title="Articles">Articles<!--[if IE 7]><!--></a><!--<![endif]-->

<!--[if 
lte IE 6]><table><tr><td><![endif]-->
	
	
<
ul>
	
	
	
<
li><a href="http://slyph.org/articles/tabitguide/" title="Guide on using TabIt">TabIt Guide</a></li>
	
	
</
ul>
<!--[if 
lte IE 6]></td></tr></table></a><![endif]-->
	
</
li>

	
<
li><class="drop" href="http://slyph.org/resources/" title="Various Resources">Resources<!--[if IE 7]><!--></a><!--<![endif]-->

<!--[if 
lte IE 6]><table><tr><td><![endif]-->
	
	
<
ul>
	
	
	
<
li><a href="http://slyph.org/resources/samples/" title="Soundfonts & Sample sets">Soundfonts Samples</a></li>
	
	
</
ul>
<!--[if 
lte IE 6]></td></tr></table></a><![endif]-->
	
</
li>
	
</
ul>

<!--[if 
lte IE 6]></td></tr></table></a><![endif]-->
</
li>
<
li><a href="http://slyph.org/links/">Links<!--[if IE 7]><!--></a><!--<![endif]-->
<!--[if 
lte IE 6]><table><tr><td><![endif]-->
	
<
ul>

	
<
li><a href="http://slyph.org/links/exchange/" title="Exchange Links with Short Story">Exchange Links</a></li>
	
<
li><a href="http://slyph.org/links/linkto/" title="Link to our site with banners/buttons">Link To Us</a></li>
	
<
li><a href="http://slyph.org/links/affiliate/" title="Affiliate with Short Story">Become An Affiliate</a></li>

	
</
ul>
<!--[if 
lte IE 6]></td></tr></table></a><![endif]-->

[edit] LOL ok that didn't work so good. But all the "<!--[if lte IE 6]>" and "<!--[if IE 7]><!--></a><!--<![endif]-->" are browser specific bits to make sure it looks / functions right in those browsers. Basically when seen by IE6, the whole menu is built with tables, since IE doesn't respect :hover CSS on anything but anchor elements >:O. Firefox and opera etc just get a normal listed menu that is hidden and shows when hovered.

Really old browser aren't left in the dark either, they just get a normal listed menu all visible from the start which pushes the rest of the site down. (or it should ><).

Also stuff in the CSS such as this:

Spoiler for:
/* a hack so that IE5.5 faulty box model is corrected */
* html .menu a, * html .menu a:visited {
width:150px;
w\idth:139px;
}

IE (IE6 especially) sucks hard with divs and if you're not careful it gets terrible fast and really annoying ;9
« Last Edit: May 30, 2007, 09:16:24 PM by Paul »
bringing sexy back

********
Rep:
Level 96
2010 Most Attractive Male Member2010 Best Musician
I remember using that little //\\//\/\/\/ hack cheat thing, but it still gave me trouble. :(

Oh well, I haven't worked on my webpage in like 2 years anyway LOL

:tinysmile::tinysmile:

pokeball :)OfflineMale
********
Cheese
Rep:
Level 95
?
I don't know if that one will work for the way my navy bar is set up. but anyways I'm stuck so I wont go on to the navy bar until I get out of this hole.

attached image shows my problem. I wanted that div with the main text to be in the center and not to push everything down.
if you can fix it or point out the problem it would be great :D

« Last Edit: June 01, 2007, 11:29:20 PM by Nouman »
Watch out for: HaloOfTheSun

pokeball :)OfflineMale
********
Cheese
Rep:
Level 95
?
Watch out for: HaloOfTheSun

pokeball :)OfflineMale
********
Cheese
Rep:
Level 95
?
alright, I got it too work after hours of fooling around with the code and such.
no questions....for now xD
Watch out for: HaloOfTheSun

pokeball :)OfflineMale
********
Cheese
Rep:
Level 95
?
alright, I want to have a layout like this for a part in a page:

Choose a sub section:
<SPACE, like you were to press ENTER>
TEXT < click the text, the text is the link, but is not underlined with the blue hyperlink line
BLAH BLAH BLAH text under the link
---------------------------------solid line-------------------------
<SPACE, like you were to press ENTER>
TEXT < click the text, the text is the link, but is not underlined with the blue hyperlink line
BLAH BLAH BLAH text under the link
---------------------------------solid line-------------------------

I do this but can't get it to work, and when I apply the <br> the links are removed.

I've tried many attempts this was my last one:

Code: [Select]
<p>Please select a sub destination:</p>
<p><br>
  <a STYLE="text-decoration:none" href="aboutscv.php">About SCV</a></p>
<p> A brief overview of the county of Santa Calrita.</p>
<p><hr><br>
  <a STYLE="text-decoration:none" href="aboutwebsite.php">About this site</a></p>
<p> Detailed info about everything on this site. Explains navigation options, special icons, and much more.</p>
<p><hr></p>

the line doesn't show, and the links aren't links, but spaces are good.

thanks~
Watch out for: HaloOfTheSun

*
( ´ิ(ꈊ) ´ิ) ((≡^⚲͜^≡)) (ી(΄◞ิ౪◟ิ‵)ʃ)
Rep:
Level 102
(っ˘ڡ˘ς) ʕ•̼͛͡•ʕ-̺͛͡•ʔ•̮͛͡•ʔ (*ꆤ.̫ꆤ*)
2014 Avast Ye Merry Pirate!2013 Avast Ye Merry Pirate Award2012 Avast Ye Merry Pirate AwardFor frequently finding and reporting spam and spam bots2011 Avast Ye Merry Pirate2011 Most Unsung Member2010 Avast Ye Merry Pirate Award

Please select a sub destination:


 

About SCV
A brief overview of the county of Santa Calrita.



About this site
Detailed info about everything on this site. Explains navigation options, special icons, and much more.




Code: [Select]
<p>Please select a sub destination:</p>
<br />

<p><a STYLE="text-decoration:none" href="aboutscv.php">About SCV</a><br />
A brief overview of the county of Santa Calrita.</p>

<hr /><br />

<p><a STYLE="text-decoration:none" href="aboutwebsite.php">About this site</a><br />
Detailed info about everything on this site. Explains navigation options, special icons, and much more.</p>
<hr /><br />

You'd be better off maybe making a CSS class:

Code: [Select]
.contentlink {
text-decoration: none;
}

Then having

Code: [Select]
<a href="aboutwebsite.php" class="contentlink">About this site</a>

 :)

[edit] Probably the best way to do it would to be to base if off the parent, so say if your content div had an ID of "content", you could do

Code: [Select]
#content a {
text-decoration: none;
}

Then you could just do normal links like this:

Code: [Select]
<a href="aboutwebsite.php">About this site</a>

And it'd automatically be styled since it's inside the #content div  :)
« Last Edit: June 02, 2007, 04:32:21 PM by Paul »
bringing sexy back

pokeball :)OfflineMale
********
Cheese
Rep:
Level 95
?
this is odd...
if I place your code in instead of the old one:

FF: Links don't work, and no line is shown.
Opera: Links work no line.
IE: Links work and line (well I can't tell 100% since in IE my page is like WTF)

if I place your code under mine, leaving in both codes:

FF: Links to second part of it (your part) work, still no line
Opera: Links still work, no lines
IE, links and lines page still fucked xD

i'm not too sure where I hit this mistake, it's the same code you used in your reply and I can view it perfect but one when I view my own page I can't.

I uploaded the file data again, any help would be great since I can't figure this one out for hours.
« Last Edit: June 02, 2007, 11:13:56 PM by Nouman »
Watch out for: HaloOfTheSun

*
Resident Cloud
Rep:
Level 91
silver set the link to have to decoration:
Code: [Select]
<a STYLE="text-decoration:none" href="aboutscv.php">About SCV</a>

remove the style bit and youll have your line

pokeball :)OfflineMale
********
Cheese
Rep:
Level 95
?
still no dice.
anyways it's about fine for now in FF, but in IE its total shit. I went ant fixed it as much as possible but hit this stupid div that won't allow divs next to it.
I have included a rar with both a FF and IE folder. the IE is the one with the div problem, and the FF is the one with the ff line issue.

another thing, when I get it to work in FF and IE...how do I put it into one site xD (I am guessing the IF
IE code)

anyways this would be greatly appreciated since i'm stuck major on this. I might figure it out on the div (probally not when I think about it) but the line problem in FF and the problem with making it into one site that works in IE and FF.

thanks major for any help!
Watch out for: HaloOfTheSun

*
Rep:
Level 92
The Return of Mandy
Heres where I come in. The CSS provided by Silverline is great easy code. You should begin to see how the design of a layout can become more dynamic through the uses of Cascading Style Sheets (CSS). The great thing about CSS as well is you can switch style sheets and completely redesign a website using the same basic HTML page. Case and point check out [link=http://www.csszengarden.com/]CSS Zen Garden[/link].

As far as the PHP goes a great way to include content within the layout is to insert this code within the content section of your index page.
Code: [Select]
<?php
switch($_GET['page']) { default: include('main.html');
break; case "nextpage": include('whateverthenextpageis.html');
break; case "anotherpage": include('mynextpage.php');
break; case "links": include('document/links.html');
}
?>

When someone clicks the link index.php?page=nextpage the script includes the page "whateverthenextpageis.html" within your document. If a link is mistyped or none is provided the script by default is set to include main.html. You can check this script out in action at www.crankeye.com. I hope this helps.

Where there are no gold stars, demerits, or infractions. <3

pokeball :)OfflineMale
********
Cheese
Rep:
Level 95
?
many thanks for that.  ;D
Watch out for: HaloOfTheSun

*
Resident Cloud
Rep:
Level 91
you can also use <!--[if lte IE 6]>code<![endif]--> to insert bits of html that different browsers use.

pokeball :)OfflineMale
********
Cheese
Rep:
Level 95
?
0 downloads :(

anyways how can I add a search bar to my website? I've been through google and such and there are alot of free ones/expensive ones.
Watch out for: HaloOfTheSun

*
Resident Cloud
Rep:
Level 91
och thats complicated

pokeball :)OfflineMale
********
Cheese
Rep:
Level 95
?
xD yeah I figured.  ;D

anyways. I got (for the most part one problem left in layout) both the IE and FF to look pretty good. problem is I can't get them both to look good at the same time =/
there is a :

Code: [Select]
margin-top: 183px;

for the div content. now in FF it looks great, everything lined up and such:(the gray box is a flash vid don't think it's a mess up xD )
Spoiler for:


...in IE not so great, the "main" div, the one with the text looks like this:
Spoiler for:

now, when I remove:
Code: [Select]
margin-top: 183px;

here is FF: (messed up)
Spoiler for:


Here is IE: (perfect)
Spoiler for:
« Last Edit: June 04, 2007, 10:55:48 PM by Nouman »
Watch out for: HaloOfTheSun

*
Resident Cloud
Rep:
Level 91
oh dear this is the part i hate about web design everything is interpreted differently :( im no good with making websites work in all browsers yet i havent even opened mine in IE yet.

i will have a look though

pokeball :)OfflineMale
********
Cheese
Rep:
Level 95
?
well you would think the easy way since its one problem in the CSS sheet making the difference, to have IE open it's own style sheet, and in this one the margin-top is removed....I tried that, and IE didn't read the one specified for IE, instead reading the normal one.
Watch out for: HaloOfTheSun

pokeball :)OfflineMale
********
Cheese
Rep:
Level 95
?
thanks ahref, but I figured this problem out as well.

neat little hack for hiding the code to IE so no need on another css sheet

http://www.webcredible.co.uk/user-friendly-resources/css/hacks-browser-detection.shtml
Watch out for: HaloOfTheSun

pokeball :)OfflineMale
********
Cheese
Rep:
Level 95
?
alright next task (or a previous one) the search bar.

I figured it would be best to explain this project to you guys so you get a better understanding.
I'm making a site for the county I live in. Full 360 information on the site about the county. This place is the fastest growing in southern cal.

- Offers Every business it's own page on the site to do :
  - List product sections (electronics...)
  - Description of business
  - Picture
  - Contact info including an address linked to Google map's with pre-filled end location.
  - Special deals, like a sale flyer on the site and such.
  - Jobs needed. this is huge because their is already a site doing this in my county called SCV jobs but they freaking charge 300+ a month!!!!!! I would offer all the stuff listed for 50$ a month or less. (if I actually decide to make this site more then a learning project)

site has:
-Tourist Info
-shopping info
- Jobs section
- business ad's (not like OMG THEIR EVERYWHERE, but instead a "spotlight" section)
- maybe online resumes
-hopefully special coupons to attract people to the site and get discounts on stores listed with the site.

so It is a pretty LARGE site with ton's of categories and such. I was looking around and started seeing "content managers" would I need one? or are they not needed?

so I need a Search bar for now.

~ thanks for reading, if you have ideas and such just reply I'm open to anything :D
Watch out for: HaloOfTheSun

*
( ´ิ(ꈊ) ´ิ) ((≡^⚲͜^≡)) (ી(΄◞ิ౪◟ิ‵)ʃ)
Rep:
Level 102
(っ˘ڡ˘ς) ʕ•̼͛͡•ʕ-̺͛͡•ʔ•̮͛͡•ʔ (*ꆤ.̫ꆤ*)
2014 Avast Ye Merry Pirate!2013 Avast Ye Merry Pirate Award2012 Avast Ye Merry Pirate AwardFor frequently finding and reporting spam and spam bots2011 Avast Ye Merry Pirate2011 Most Unsung Member2010 Avast Ye Merry Pirate Award
Content Management System, more often abbreviated to CMS. The current top dog is kinda of a draw between Joomla and Drupal.

They're basically site systems that run entirely online. There's no making pages on your PC and then uploading, you write and (to some extent) design / post stuff directly online.

I used to run Joomla for my own site, though switched to just writing it myself mainly for practise, but also cause it seemed kind of cumbersome for a site as simple-ish as mine.
bringing sexy back

*
Resident Cloud
Rep:
Level 91
there are some great simple CMSs around that are designed for smaller websites i used to use one i suggest you avoide though (phpcomasy- full of security holes[most of which i fixed for the devloper bu t she ignored]). I began to recode mine too after silver starting doings his :P. My old one used mysql aswell which was a real pickle when trying to backup

pokeball :)OfflineMale
********
Cheese
Rep:
Level 95
?
alright been trying to get the problem silverline pointed out, but I keep failing at my attempts. If anyone can take a min (or how ever long it would take someone who knows this stuff) to look and fix what I am doing wrong. I do have a problem specifically as well.

I know that I really need this one to be answered since I will be using the same teqnique for building websites with that sort of layour.
(content on right, navigation on right, header and footer)

the one specific problem is :

only in IE does it not line up. :/



if yuo are wondering what the
Code: [Select]
html>body #leftside

is, it makes that info only for FF, the ones without it are for ie and ff both, but if it has one div with that in front and another w/o it it means the one with it is for FF and the one w/o is for IE.

Thanks to anyone that helps. :D

« Last Edit: June 11, 2007, 04:10:45 PM by Nouman »
Watch out for: HaloOfTheSun

pokeball :)OfflineMale
********
Cheese
Rep:
Level 95
?
well, 0 downloads xD
anyways just posting to say I got it to work :D
....had to re-do all of the code xD but it works :D
Watch out for: HaloOfTheSun

*
( ´ิ(ꈊ) ´ิ) ((≡^⚲͜^≡)) (ી(΄◞ิ౪◟ิ‵)ʃ)
Rep:
Level 102
(っ˘ڡ˘ς) ʕ•̼͛͡•ʕ-̺͛͡•ʔ•̮͛͡•ʔ (*ꆤ.̫ꆤ*)
2014 Avast Ye Merry Pirate!2013 Avast Ye Merry Pirate Award2012 Avast Ye Merry Pirate AwardFor frequently finding and reporting spam and spam bots2011 Avast Ye Merry Pirate2011 Most Unsung Member2010 Avast Ye Merry Pirate Award
Personally I'd take time to learn what you're working with until you're comfortable before making stuff for other people.

Even if that just means you're only making simple stuff for others, at least it will work ok =)
bringing sexy back

pokeball :)OfflineMale
********
Cheese
Rep:
Level 95
?
 :) that's what I'm doing xD
(except that oak hill one I used frames on  ::) )
the one I've been making and asking for help on is a fake site to get me started. I am also working on a fake flower shop site.
Watch out for: HaloOfTheSun

pokeball :)OfflineMale
********
Cheese
Rep:
Level 95
?
 :)
Another question xD

How can I make a comment page.
what I mean is like on crankeye.com you see the news, then see the # of comments left and then you can visit the comment page. I want all of that good stuff, but + a leave comment box. How would I go about doing this.

Thanks.
Watch out for: HaloOfTheSun

*
Resident Cloud
Rep:
Level 91
do you mean a news system or a guestbook. eitherway PHP is once again your best option

pokeball :)OfflineMale
********
Cheese
Rep:
Level 95
?
ok lets say I post a new's bullet.

TITLE
BLAH BLAH
                   comments (2) Date: Blah

so when they click comments it goes to a page with only the one news item with the two comments and at the bottom a input form. with:
Name:
Email:
COmment:
Watch out for: HaloOfTheSun

*
Resident Cloud
Rep:
Level 91
news system :) id recomend http://cutephp.com/ if you dont want to write your own if you do then try a google search for " simple news system php"

:)

pokeball :)OfflineMale
********
Cheese
Rep:
Level 95
?
thanks much :D
i'm going to try and do it myself (since most seem to use msqldatabase, and I have never touched one I should try first.) but if I fail I'll use cutephp :D
Watch out for: HaloOfTheSun

*
( ´ิ(ꈊ) ´ิ) ((≡^⚲͜^≡)) (ી(΄◞ิ౪◟ิ‵)ʃ)
Rep:
Level 102
(っ˘ڡ˘ς) ʕ•̼͛͡•ʕ-̺͛͡•ʔ•̮͛͡•ʔ (*ꆤ.̫ꆤ*)
2014 Avast Ye Merry Pirate!2013 Avast Ye Merry Pirate Award2012 Avast Ye Merry Pirate AwardFor frequently finding and reporting spam and spam bots2011 Avast Ye Merry Pirate2011 Most Unsung Member2010 Avast Ye Merry Pirate Award
On slyph I use this: http://winged.info/

It supports comments, though I disabled them.

For This, it's actually done using special features built into SMF.
bringing sexy back

pokeball :)OfflineMale
********
Cheese
Rep:
Level 95
?
:D
sweet. I'll that one as well.

here's the mock up for Jalksons site w/o any coding to the news section in the center. It's all coded except that, the comment thingy is fake to xD it was just a design for it all.
but now I'll try and add one of these and see which works best.
Watch out for: HaloOfTheSun

*
Rep:
Level 102
2014 Biggest Narcissist Award2014 Biggest Forum Potato2014 Best Non-RM Creator2013 Best IRC Chatterbox2013 Best Game Creator (Non-RM)Participant - GIAW 112012 Most Successful Troll2012 Funniest Member2012 Best Use Of Avatar and Signature space2012 Best IRC ChatterboxSecret Santa 2012 ParticipantProject of the Month winner for November 2009For being a noted contributor to the RMRK Wiki2010 Most Successful Troll2010 Biggest Forum Couch Potato2010 Best IRC Chatterbox
I can't wait to see the comments work.  ;D

*
( ´ิ(ꈊ) ´ิ) ((≡^⚲͜^≡)) (ી(΄◞ิ౪◟ิ‵)ʃ)
Rep:
Level 102
(っ˘ڡ˘ς) ʕ•̼͛͡•ʕ-̺͛͡•ʔ•̮͛͡•ʔ (*ꆤ.̫ꆤ*)
2014 Avast Ye Merry Pirate!2013 Avast Ye Merry Pirate Award2012 Avast Ye Merry Pirate AwardFor frequently finding and reporting spam and spam bots2011 Avast Ye Merry Pirate2011 Most Unsung Member2010 Avast Ye Merry Pirate Award
Oh right, if you're making it for jalkson then the best option would be to use his install of SMF.

Before anything else in the pages (you'll have to use PHP), include the "SSI.php" file from SMF's directory. Then when you want news to appear, just do this:

ssi_boardNews(84, 10);

The first number (84 in that) is the board ID you want to pull news from, and the second (10) is how many posts to pull.

Here's the source code of this thing. A little crowded but you can spot me doing it in there =)
bringing sexy back

pokeball :)OfflineMale
********
Cheese
Rep:
Level 95
?
woah.
I'll attempt that one as well. But i'm going to check with jalkson if he want's it this way, or the normal news post and reply on site way.

again (lost count?) Thanks tons.
Watch out for: HaloOfTheSun

*
Resident Cloud
Rep:
Level 91
i now use a blog for news :) it seems to make more sense well in a strange way 

pokeball :)OfflineMale
********
Cheese
Rep:
Level 95
?
Alright I used one I found on google instead.

Here is the link to progress on the system:

http://www.rmrevolution.trap17.com/home.php

so far the only current problem is i'm trying to display the news item when you click comment, and I don't know how to make it show only the selected news item. But that's not anything I can ask here since I am using a totally different script.
Watch out for: HaloOfTheSun

pokeball :)OfflineMale
********
Cheese
Rep:
Level 95
?
Hey silver is it possible to show only a certain item to the admin's / mod?
I know you gave me the code and it works great to restrict the whole page, but what I mean is showing the whole main page to everyone but:

Home
Downloads
Links
Contact
(Hidden to normal users) Admin (only seen by the same people we had set up last time)

Code: [Select]
if ($context['user']['is_admin'] or $context['user']['id'] == 2) {

I tried using that over a certain area and got errors every time, so I am asking if it's possible or not?

Thanks.
Watch out for: HaloOfTheSun

*
( ´ิ(ꈊ) ´ิ) ((≡^⚲͜^≡)) (ી(΄◞ิ౪◟ิ‵)ʃ)
Rep:
Level 102
(っ˘ڡ˘ς) ʕ•̼͛͡•ʕ-̺͛͡•ʔ•̮͛͡•ʔ (*ꆤ.̫ꆤ*)
2014 Avast Ye Merry Pirate!2013 Avast Ye Merry Pirate Award2012 Avast Ye Merry Pirate AwardFor frequently finding and reporting spam and spam bots2011 Avast Ye Merry Pirate2011 Most Unsung Member2010 Avast Ye Merry Pirate Award
You have to think about the order of your scripts and where stuff gets included.

It's no use checking if somebody is an admin or whatever, if at that point in the script you haven't yet included the SSI file, since the script won't have access to all that info yet. The very first thing you should do is always include the SSI file. With my larger sites (not just a giant one script thing like that crankeye thing) I use a common settings file (that would contain the SSI file also), that's included on every page.

Also going off that code you showed me earlier in IRC, you don't seem too familiar with some of the basic PHP stuff (multiple nested <?php's and ?>, which would stop anything working). Using an editor (I use Notepad++) helps you keep track of stuff like that (what language you're writing in, nice syntax highlighting, what brackets (if any =o) you're in and last of all wether or not you're inside PHP tags.

I think that's about as much as I can say since you didn't paste what the error was =p
« Last Edit: June 23, 2007, 06:19:34 AM by Roph »
bringing sexy back

pokeball :)OfflineMale
********
Cheese
Rep:
Level 95
?
Yeah, I should have included the errors and the code xD.

Alright, I have one question to start off.

Here is my index page:
Code: [Select]
<?php
include("/home/jalkson/public_html/forum/SSI.php");
include("header.php");
include("top.php");
include("news.php");
include("bottom.php");
?>

The page with the navigation is "top.php", now since the included pages are inside the <?php bracket, when I'm adding a line of php on that page do I need to include the php tags? Also since on the index it already includes the SSI file above everything, so that means on "top.php" it's already included?

Also here is what I have been attempting:

Edit: nvm for the attempting part, I got it work :D
Watch out for: HaloOfTheSun

*
( ´ิ(ꈊ) ´ิ) ((≡^⚲͜^≡)) (ી(΄◞ิ౪◟ิ‵)ʃ)
Rep:
Level 102
(っ˘ڡ˘ς) ʕ•̼͛͡•ʕ-̺͛͡•ʔ•̮͛͡•ʔ (*ꆤ.̫ꆤ*)
2014 Avast Ye Merry Pirate!2013 Avast Ye Merry Pirate Award2012 Avast Ye Merry Pirate AwardFor frequently finding and reporting spam and spam bots2011 Avast Ye Merry Pirate2011 Most Unsung Member2010 Avast Ye Merry Pirate Award
Think of including as copying and pasting the contents of the included file into your script.

Though not EXACTLY the same, since your included file's php stuff will need to be in <? / ?> tags which would break it if you directly copied and pasted.

Code: Main [Select]
<?php
echo 'PENIS';
include('file.php');
?>


Code: file.php - no brackets [Select]

echo 'limestone';


Output of that ^ to the browser would be

Quote
PENISecho 'limestone';

but if file.php was:

Code: file.php [Select]

<?php echo 'limestone' ?>


It'd look fine, and the browser would get a nice block of PENISlimestone =o



Good

Code: index.php [Select]

<?php
$text = 'RMRKWiki';

include('stuff.php');
?>


Code: stuff.php [Select]

<?php
echo $text;
?>


Quote
RMRKWiki



Bad

Code: index.php [Select]

<?php
include('stuff.php');

$text = 'RMRKWiki';
?>


Code: stuff.php [Select]

<?php
echo $text;
?>


Quote
Notice: Undefined variable: text in /home/l33thax/public_html/n00b/index.php on line 1
« Last Edit: June 23, 2007, 03:40:45 PM by Roph »
bringing sexy back

pokeball :)OfflineMale
********
Cheese
Rep:
Level 95
?
^_^
thanks for this! i'm going to try and do some of the examples and see it first hand.
Watch out for: HaloOfTheSun

*
( ´ิ(ꈊ) ´ิ) ((≡^⚲͜^≡)) (ી(΄◞ิ౪◟ิ‵)ʃ)
Rep:
Level 102
(っ˘ڡ˘ς) ʕ•̼͛͡•ʕ-̺͛͡•ʔ•̮͛͡•ʔ (*ꆤ.̫ꆤ*)
2014 Avast Ye Merry Pirate!2013 Avast Ye Merry Pirate Award2012 Avast Ye Merry Pirate AwardFor frequently finding and reporting spam and spam bots2011 Avast Ye Merry Pirate2011 Most Unsung Member2010 Avast Ye Merry Pirate Award
Here's how a typical page on my site works; the page for HaloOfTheSun's Symphony No.1:

Quote
<?php
include("../../../includes/settings.php");
Before anything, I get the settings file.

Spoiler for settings.php:
Code: [Select]
<?php //Slyph.org 2nd version settings and functions
//General
$siteroot = "http://127.0.0.1/sites/slyph2/1";
$imgbase = "http://127.0.0.1/sites/slyph2/1/imgs";

$sitename = "Short Story";
$includespath = "c:\program files\easyphp1-8\easyphp1-8\www\sites\slyph2\\1\includes";
$rootpath = "c:\program files\easyphp1-8\easyphp1-8\www\sites\slyph2\1";
//Each atist has their own file root, just to help with growth and spreading downloads if I ever need to ;_;
//These versions are stricly for hign bandwidth downloads
$silverfiles = "http://r.xtarsia.net/slyph/audio/silver";
$halofiles = "http://r.xtarsia.net/slyph/audio/halo";
$kpfiles = "http://r.xtarsia.net/slyph/audio/kp";
$holkfiles = "http://r.xtarsia.net/slyph/audio/holk";
$collabfiles = "http://r.xtarsia.net/slyph/audio/collaborative";
//the "2" versions are secondary, hosted on either my own server or koreru. Faster but less bandwidth. I use these for streaming, since speed is important for that.
$silverfiles2 = "http://d4.slyph.org/audio/silver";
$halofiles2 = "http://d4.slyph.org/audio/halo";
$kpfiles2 = "http://d4.slyph.org/audio/kp";
$holkfiles2 = "http://d4.slyph.org/audio/holk";
$collabfiles2 = "http://d4.slyph.org/audio/collaborative";
//full albums
$fullalbumdl = "http://r.xtarsia.net/slyph/audio/full";

//VIDEOS URL IS IN THE FUNCTION BELOW (twice)

//Functions
function call_movie($file)
{
//LOL DOUBLE QUOTE ESCAPING <3
   echo "<center><div class=\"video\">
<object width=\"640\" height=\"480\"><param name=\"movie\" value=\"http://slyph.org/objects/player.swf?file=http://r.xtarsia.net/slyph/klandry/$file.flv&lightcolor=0xA2B3BB&backcolor=0x6F6758&frontcolor=0xFFFFFF&logo=http://slyph.org/objects/flashlogo.png&showfsbutton=false&link=http://slyph.org/&linktarget=_blank&callback=http://d4.slyph.org/urchin.php\"></param><param name=\"wmode\" value=\"transparent\"></param><embed src=\"http://slyph.org/objects/player.swf?file=http://r.xtarsia.net/slyph/klandry/$file.flv&lightcolor=0xA2B3BB&backcolor=0x6F6758&frontcolor=0xFFFFFF&logo=http://slyph.org/objects/flashlogo.png&showfsbutton=false&link=http://slyph.org/&linktarget=_blank&callback=http://d4.slyph.org/urchin.php\" type=\"application/x-shockwave-flash\" wmode=\"transparent\" width=\"640\" height=\"480\"></embed></object></div>
<div class=\"videoinfo\">
<span class=\"videoinfolink\"><a href=\"http://d4.slyph.org/$file.flv\" target=\"_blank\">Download</a> this video</span>
<span class=\"videoinfohelp\"><a href=\"#\" onclick=\"window.open(&#39;http://slyph.org/flvhelp/&#39;,&#39;FLV Video Files&#39;,&#39;width=320,height=240,left=&#39;+(screen.availWidth/2-320)+&#39;,top=&#39;+(screen.availHeight/2-240)+&#39;&#39;);return false;\">Help playing?</a></span>
</div> </center>
";
}

//update; adjustable height to prevent scrollbar for huge albums and huge player for small albums

function make_flashmp3($file, $height)
{
   echo "<object width=\"220\" height=\"$height\"><param name=\"movie\" value=\"http://d4.slyph.org/mp3player.swf?file=$file&lightcolor=0xA2B3BB&backcolor=0x6F6758&frontcolor=0xFFFFFF\"></param><param name=\"wmode\" value=\"transparent\"></param><embed src=\"http://d4.slyph.org/mp3player.swf?file=$file&lightcolor=0xA2B3BB&backcolor=0x6F6758&frontcolor=0xFFFFFF\" type=\"application/x-shockwave-flash\" wmode=\"transparent\" width=\"220\" height=\"$height\"></embed></object>";
}

//Common stuffs
//HUGE ARRAY IS HUGE - Every valid piano video request value
$pianovids = array("Anime/Bleach_-_Houki_Boshi", "Anime/Bleach_-_Will_Of_The_Heart", "Anime/Chobits_-_Cough_Maui", "Anime/DNAngel_-_Fragments_And_Dreams", "Anime/DNAngel_-_Through_Pain", "Anime/DNAngel_-_True_Light", "Anime/DNAngel_-_True_Light_Remake", "Anime/Elfen_Lied_-_Lilium", "Anime/Fate-Stay_Night_-_Anata_Ga_Ita_Mori", "Anime/Fate-Stay_Night_-_Medley","Anime/Full_Metal_Alchemist_-_Bratja", "Anime/Haibane_Renmei_-_Ailes_Grises", "Anime/Higurashi_No_Naku_Koro_Ni_-_Medley", "Anime/Naruto_-_Sadness_and_Sorrow_-_Orochimarus_Theme", "Anime/Naruto_-_Shippuuden_Outro_Nagareboshi", "Anime/Naruto_-_The_Raising_Fighting_Spirit", "Anime/Naruto_Medley_1", "Anime/Naruto_Medley_2", "Anime/Naruto_Openings_-_R_O_C_K_S_And_Haruka_Kanata", "Anime/Revolutionary_Girl_Utena_-_Sunlit_Garden", "Anime/inu_yasha_-_Fukai_Mori_-_Deep_Forest", "Anime/naruto_-_greif_and_sorrow", "Classical/Beethoven_-_Moonlight_Sonata_1st_Movement", "Classical/Canon", "Classical/Canon2", "Classical/Canon4", "Classical/Chopin_-_Fantasie_Impromptu", "Classical/Chopin_-_Fantasie_Impromptu_Remake", "Classical/Chopin_-_Prelude_Op29_No_22", "Compositions/Ballade_In_A_Major", "Compositions/Evolution", "Compositions/Fantasie_In_C_Minor", "Compositions/Grande_Waltz_In_C_Minor", "Compositions/Lonely", "Compositions/Lonely_Remake", "Compositions/Main_Melody", "Compositions/Midnight_Promenade", "Compositions/Piano_Improvisation", "Compositions/Piano_Improvisation_2", "Compositions/Piano_Improvisation_3", "Compositions/Piano_Improvisation_4", "Compositions/Piano_Improvisation_5", "Compositions/Prelude_In_Db_Major", "Compositions/Red_Skies", "Compositions/Red_Skies_Remake", "Compositions/Shadows_And_Light", "Compositions/Transparent_Reality", "Compositions/Waltz_Of_The_Abandoned", "Compositions/White_Sun", "Final_Fantasy/FFIV_-_Boss_Battle", "Final_Fantasy/FFIX_-_Final_Battle", "Final_Fantasy/FFIX_-_Loss_Of_Me", "Final_Fantasy/FFIX_-_Medley", "Final_Fantasy/FFIX_-_Melodies_Of_Life", "Final_Fantasy/FFIX_-_Melodies_Of_Life_Remake", "Final_Fantasy/FFIX_-_Vamo_Alla_Flamenco", "Final_Fantasy/FFIX_-_Vamo_Alla_Flamenco_Remake", "Final_Fantasy/FFIX_-_Youre_Not_Alone", "Final_Fantasy/FFVIII_-_Balamb_Garden", "Final_Fantasy/FFVIII_-_Blue_Fields", "Final_Fantasy/FFVIII_-_Eyes_On_Me", "Final_Fantasy/FFVIII_-_Eyes_On_Me_Remake", "Final_Fantasy/FFVIII_-_Eyes_On_Me_Remake_2", "Final_Fantasy/FFVIII_-_Fishermans_Horizon", "Final_Fantasy/FFVIII_-_Fishermans_Horizon_Remake", "Final_Fantasy/FFVIII_-_The_Oath", "Final_Fantasy/FFVII_-_Aeris_Theme", "Final_Fantasy/FFVII_-_Cosmo_Canyon", "Final_Fantasy/FFVII_-_Fighting", "Final_Fantasy/FFVII_-_Fighting_Remake", "Final_Fantasy/FFVII_-_Jenova", "Final_Fantasy/FFVII_-_Jenova_Classic", "Final_Fantasy/FFVII_-_Main_Theme", "Final_Fantasy/FFVII_-_Main_Theme_Arrange", "Final_Fantasy/FFVII_-_Main_Theme_Self_Duet", "Final_Fantasy/FFVII_-_Medley", "Final_Fantasy/FFVII_-_Tifas_Theme", "Final_Fantasy/FFVII_-_Tifas_Theme_Arrange", "Final_Fantasy/FFVI_-_Celes_Theme", "Final_Fantasy/FFVI_-_Decisive_Battle", "Final_Fantasy/FFVI_-_Kefkas_Theme", "Final_Fantasy/FFX-2_-_1000_Words", "Final_Fantasy/FFX-2_-_1000_Words_Remake", "Final_Fantasy/FFX-2_-_Creature_Create", "Final_Fantasy/FFX-2_-_Eternity_-_Memory_Of_Light_And_Waves", "Final_Fantasy/FFX-2_-_Eternity_-_Memory_Of_Light_And_Waves_Remake", "Final_Fantasy/FFX_-_Suteki_Da_Ne", "Final_Fantasy/FFX_-_To_Zanarkand", "Final_Fantasy/FFX_-_To_Zanarkand_Arrange", "Final_Fantasy/FFX_-_To_Zanarkand_Arrange_2", "Final_Fantasy/FFX_-_To_Zanarkand_Remake", "Final_Fantasy/Final_Fantasy", "Games/Animal_Crossing_-_Opening_Theme", "Games/Arc_The_Lad_-_To_The_Earth", "Games/Arc_The_Lad_-_To_Tomorrow", "Games/Kingdom_Hearts_-_Dearly_Beloved", "Games/Kingdom_Hearts_-_Hikari", "Games/Kingdom_Hearts_-_Hikari_Arrange", "Games/Kingdom_Hearts_-_Roxas_Theme", "Games/Pokemon_-_Elite_Four", "Games/Tetris_-_Title_Theme", "Games/Zelda_-_Medly", "Games/Zelda_-_Twilight_Princes_Trailer_Theme", "Games/Zelda_-_Twilight_Princes_Trailer_Theme_2", "Other/Billy_Joel_-_Piano_Man", "Other/Heart_And_Soul_Chopsticks", "Other/Let_It_Snow", "Other/Matrix_-_Clubbed_To_Death", "Other/Schindlers_List_-_Main_Theme", "Other/Spirited_Away_-_Waltz_Of_The_Chihiro", "Other/Star_Wars_II_-_Across_The_Stars", "Other/The_Christmas_Song", "Other/Yiruma_-_Kiss_The_Rain", "Other/Yiruma_-_River_Flows_In_You_Arrange");
?>

Code: [Select]
//Page specific settings
$pagetitle = "Symphony No1 in D Minor - Short Story";
$pagetype = "halo_album";
$album = "symphony1";

Stuff I set for every page. Names should be obvious enough. $pagetype is to uniquely group certain groups of pages together. Album too kinda. Whether album is set changes whether or not something happens later on.

Code: [Select]
//XSPF
$flashmp3[0] = ($halofiles2 .'/Symphony_No1_in_D_Minor/flash.php');
//height, adjust so fits nice
$flashmp3[1] = "139";

These are for that make_flashmp3 function you saw in settings.php, though it's not used just yet, just setting these for later on like the previous stuff

Code: [Select]
//Cd Covers baby ;3
$cd_front = "<img src=\"".$imgbase."/albumart/default.gif\" alt=\"No CD Cover yet!\" title=\"No CD Cover yet!\" />";
$cd_back = "<img src=\"".$imgbase."/albumart/default.gif\" alt=\"No CD Cover yet!\" title=\"No CD Cover yet!\" />";

And again. Cd covers are only shown if $album is set.

Code: [Select]
include($includespath . '/header.php'); ?>

Now we get to work =o

Spoiler for header.php:
Code: [Select]
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html>

<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8"/>
<meta name="description" content=""/>
<meta name="keywords" content=""/>
<meta name="author" content=""/>
<link rel="stylesheet" type="text/css" href="<? echo $siteroot; ?>/style.css" media="screen"/>
<link rel="stylesheet" type="text/css" href="<? echo $siteroot; ?>/menu.css" media="screen"/>

<title><? echo $pagetitle; ?></title>

</head>

<body>
<a name="top" id="top"></a>
<div id="wrapper">
<div id="container">

<div class="title">

<h1><a href="<? echo $siteroot; ?>">Short Story</a></h1>

</div>

<div class="header"></div>

<div class="menu">

<ul>

</li>
<li><a href="<? echo $siteroot; ?>" title="Site Homepage">Home<!--[if IE 7]><!--></a><!--<![endif]-->
<!--[if lte IE 6]><table><tr><td><![endif]-->
<!--[if lte IE 6]></td></tr></table></a><![endif]-->
</li>

<li><a href="#">Site Related<!--[if IE 7]><!--></a><!--<![endif]-->

<!--[if lte IE 6]><table><tr><td><![endif]-->
<ul>
<li><a href="http://slyph.org/blog/" title="Short Story Blog">SlyphBlog</a></li>
<li><a href="<? echo $siteroot; ?>/history/" title="A History Of Short Story">Site History</a></li>
<li><a href="<? echo $siteroot; ?>/artists/" title="Information on the artists at Short Story">Artist Info</a></li>
<li><a href="<? echo $siteroot; ?>/contact/" title="How you can get in touch with us">Contact Information</a></li>
    <li><a href="<? echo $siteroot; ?>/about/" title="About Short Story">About</a></li>
    <li><a href="<? echo $siteroot; ?>/legal/" title="Legal Information">Legal Info</a></li>
    <li><a href="<? echo $siteroot; ?>/privacy/" title="Privacy Statement">Privacy Statement</a></li>
</ul>
<!--[if lte IE 6]></td></tr></table></a><![endif]-->

</li>
<li><a href="<? echo $siteroot; ?>/music/" title="Music Center">Music<!--[if IE 7]><!--></a><!--<![endif]-->
<!--[if lte IE 6]><table><tr><td><![endif]-->
<ul>
<li><a href="<? echo $siteroot; ?>/music/collab/" title="Collaborative">Collaborations</a></li>
<li><a class="drop" href="<? echo $siteroot; ?>/music/silverline/" title="Silverline's Music">Silverline<!--[if IE 7]><!--></a><!--<![endif]-->

<!--[if lte IE 6]><table><tr><td><![endif]-->
<ul>
<li><a href="<? echo $siteroot; ?>/music/silverline/sx1/" title="Latest Work by Silverline">-S-X-1-</a></li>
<li><a href="<? echo $siteroot; ?>/music/silverline/misc/" title="Miscellaneous">Misc Peices</a></li>
<li><a href="<? echo $siteroot; ?>/music/silverline/blastermaster/" title="Blaster Master Symphony">Blaster Master Symphony</a></li>
<li><a href="<? echo $siteroot; ?>/music/silverline/crescent/" title="Project Crescent Discarded Tracks">Project Crescent</a></li>
<li><a href="<? echo $siteroot; ?>/music/silverline/rokmid/" title="Rockin' MIDI Collection">Rockin' MIDI Collection</a></li>
<li><a href="<? echo $siteroot; ?>/music/silverline/silverperfect/" title="Silverperfect">Silverperfect</a></li>
<li><a href="<? echo $siteroot; ?>/music/silverline/silverperfect2/" title="Silverperfect II">Silverperfect II</a></li>
<li><a href="<? echo $siteroot; ?>/music/silverline/animalcrossing/" title="Animal Crossing Remixes and Arrangements">Animal Crossing ReWorked</a></li>
</ul>
<!--[if lte IE 6]></td></tr></table></a><![endif]-->
</li>
<li><a class="drop" href="<? echo $siteroot; ?>/music/halo/" title="HaloOfTheSun's Music">HaloOfTheSun<!--[if IE 7]><!--></a><!--<![endif]-->

<!--[if lte IE 6]><table><tr><td><![endif]-->
<ul>
    <!-- <li><a href="<? echo $siteroot; ?>/music/halo/latest/" title="Latest Work By HaloOfTheSun">Newest Work/Projects</a></li> -->
<li><a href="<? echo $siteroot; ?>/music/halo/symphony1/" title="Symphony No1 in D Minor">Symphony No1 in D Minor</a></li>
<li><a href="<? echo $siteroot; ?>/music/halo/ffaos/" title="Final Fantasy And Other Stories">Final Fantasy And Other Stories</a></li>
<li><a href="<? echo $siteroot; ?>/music/halo/ffaosr/" title="Re-Mastered Final Fantasy And Other Stories">Final Fantasy And Other Stories Re-Mastered</a></li>
<li><a href="<? echo $siteroot; ?>/music/halo/ffaos2/" title="Final Fantasy And Other Stories II">Final Fantasy And Other Stories II</a></li>
<li><a href="<? echo $siteroot; ?>/music/halo/ffaos3/" title="Final Fantasy And Other Stories III">Final Fantasy And Other Stories III</a></li>
<li><a href="<? echo $siteroot; ?>/music/halo/hotsoms/" title="HOTSOMS Soundtrack">HOTSOMS/HOTSOAS</a></li>
<li><a href="<? echo $siteroot; ?>/music/halo/doom/" title="DooM - The Darkening">DooM - The Darkening</a></li>
<li><a href="<? echo $siteroot; ?>/music/halo/dream/" title="Dreamscapes And Memories">Dreamscapes And Memories</a></li>
</ul>
<!--[if lte IE 6]></td></tr></table></a><![endif]-->
</li>
<li><a class="drop" href="<? echo $siteroot; ?>/music/kylelandry/" title="KylePiano's/Kyle556's/Kyle Landry's Music and Video">KyleLandry/Kyle556<!--[if IE 7]><!--></a><!--<![endif]-->

<!--[if lte IE 6]><table><tr><td><![endif]-->
<ul>
<li><a href="<? echo $siteroot; ?>/music/kylelandry/audio/" title="Kylelandry's Arrangements">Audio Recordings</a></li>
<li><a href="<? echo $siteroot; ?>/music/kylelandry/video/" title="Kylelandry's Video Performances">Video Performances</a></li>
</ul>
<!--[if lte IE 6]></td></tr></table></a><![endif]-->
</li>
<li><a class="drop" href="<? echo $siteroot; ?>/music/holk/" title="Holkeye's Music">Holkeye<!--[if IE 7]><!--></a><!--<![endif]-->

<!--[if lte IE 6]><table><tr><td><![endif]-->
<ul>
<li><a href="<? echo $siteroot; ?>/music/holk/" title="Works to appear soon">(Coming soon!)</a></li>
</ul>
<!--[if lte IE 6]></td></tr></table></a><![endif]-->
</li>
</ul>
<!--[if lte IE 6]></td></tr></table></a><![endif]-->
</li>
<li><a href="#" title="Other miscellaneous content">Other<!--[if IE 7]><!--></a><!--<![endif]-->
<!--[if lte IE 6]><table><tr><td><![endif]-->
<ul>
<li><a class="drop" href="<? echo $siteroot; ?>/articles/" title="Articles">Articles<!--[if IE 7]><!--></a><!--<![endif]-->

<!--[if lte IE 6]><table><tr><td><![endif]-->
<ul>
<li><a href="<? echo $siteroot; ?>/articles/tabitguide/" title="Guide on using TabIt">TabIt Guide</a></li>
</ul>
<!--[if lte IE 6]></td></tr></table></a><![endif]-->
</li>
<li><a class="drop" href="<? echo $siteroot; ?>/resources/" title="Various Resources">Resources<!--[if IE 7]><!--></a><!--<![endif]-->

<!--[if lte IE 6]><table><tr><td><![endif]-->
<ul>
<li><a href="<? echo $siteroot; ?>/resources/samples/" title="Soundfonts & Sample sets">Soundfonts & Samples</a></li>
</ul>
<!--[if lte IE 6]></td></tr></table></a><![endif]-->
</li>
</ul>
<!--[if lte IE 6]></td></tr></table></a><![endif]-->
</li>
<li><a href="<? echo $siteroot; ?>/links/">Links<!--[if IE 7]><!--></a><!--<![endif]-->
<!--[if lte IE 6]><table><tr><td><![endif]-->
<ul>

<li><a href="<? echo $siteroot; ?>/links/exchange/" title="Exchange Links with Short Story">Exchange Links</a></li>
<li><a href="<? echo $siteroot; ?>/links/linkto/" title="Link to our site with banners/buttons">Link To Us</a></li>
<li><a href="<? echo $siteroot; ?>/links/affiliate/" title="Affiliate with Short Story">Become An Affiliate</a></li>
</ul>
<!--[if lte IE 6]></td></tr></table></a><![endif]-->
</li>

</ul>

</div>

<?php if (isset($columns)) {
echo "<div class=\"main\">";
}
else {

echo "<div class=\"main\" id=\"two-columns\">
<div class=\"col2\">
<div class=\"left\">";
}
?>



<div class="content">
<!-- s -->
The bit at the end is part of a multi column thing I made for my site. just using a simple variable switch I can have single or double column page layouts.


From here now it's just the static HTML of the page =o

Spoiler for:
<div class="audioloading"><br />Loading files.. </div>
            <h1>Symphony No1 in D Minor</h1>

            <p>Here is <b>HaloOfTheSun's</b> latest work; <i>Symphony No1 in D Minor</i>. This is a mesmerising suite composed and produced entirely by Halo himself. Enjoy the musical journey!</p>
            <br />
            
            <a href="<? echo $fullalbumdl; ?>/hs2.zip" title="Download a ZIP archive of this album" alt="Download a ZIP archive of this album" class="dlbutton"></a>
            
            <br />
            <style type="text/css">
.audioloading {
display: none;
}
 </style>
<table class="audiolinks"><tr><td><h3>Downloads</h3></td></tr><tr><td><a href="<?php echo $halofiles ?>/Symphony_No1_in_D_Minor/Mvmt. I.mp3">1. Mvmt. I.mp3</a></tr></td><tr><td><a href="<?php echo $halofiles ?>/Symphony_No1_in_D_Minor/Mvmt. II.mp3">2. Mvmt. II.mp3</a></tr></td><tr><td><a href="<?php echo $halofiles ?>/Symphony_No1_in_D_Minor/Mvmt. III.mp3">3. Mvmt. III.mp3</a></tr></td><tr><td><a href="<?php echo $halofiles ?>/Symphony_No1_in_D_Minor/Mvmt. IV.mp3">4. Mvmt. IV.mp3</a></tr></td><tr><td><a href="<?php echo $halofiles ?>/Symphony_No1_in_D_Minor/Mvmt. V.mp3">5. Mvmt. V.mp3</a></tr></td></table>

Then at the bottom just a

Code: [Select]
<?php
include($includespath . '/rightside.php');
include($includespath . '/footer.php'); ?>

Spoiler for rightside.php:
Code: [Select]
</div>

</div>

<div class="right">

<div class="content">

<?php
if (isset($album)) {
echo "<div class=\"cdcovers\">CD Covers<br />".$cd_front." ".$cd_back."</div>";
make_flashmp3($flashmp3[0], $flashmp3[1]);
}

//HaloOfTheSun index

if ($pagetype == "halo_index") {
echo "<h2>Halo's Music</h2>

<ul class=\"block\">
<li><a href=\"".$siteroot."/music/halo/symphony1/\" title=\"Symphony No1 in D Minor\">Symphony No1 in D Minor</a></li>
<li><a href=\"".$siteroot."/music/halo/ffaos/\" title=\"Final Fantasy And Other Stories\">FFAOS</a></li>
<li><a href=\"".$siteroot."/music/halo/ffaosr/\" title=\"Re-Mastered Final Fantasy And Other Stories\">FFAOS Re-Mastered Edition</a></li>
<li><a href=\"".$siteroot."/music/halo/ffaos2/\" title=\"Final Fantasy And Other Stories II\">FFAOS II</a></li>
<li><a href=\"".$siteroot."/music/halo/ffaos3/\" title=\"Final Fantasy And Other Stories III\">FFAOS III</a></li>
<li><a href=\"".$siteroot."/music/halo/hotsoms/\" title=\"HOTSOMS Soundtrack\">HOTSOMS Soundtrack</a></li>
<li><a href=\"".$siteroot."/music/halo/doom/\" title=\"DooM - The Darkening\">DooM - The Darkening</a></li>
<li><a href=\"".$siteroot."/music/halo/dream/\" title=\"Dreamscapes And Memories\">Dreamscapes And Memories</a></li>
</ul>";
}

//Silverline Index

if ($pagetype == "silverline_index") {
echo "<h2>Silverline's Music</h2>

<ul class=\"block\">
<li><a href=\"".$siteroot."/music/silverline/sx1/\">-S-X-1-</a></li>
<li><a href=\"".$siteroot."/music/silverline/crescent/\">Project Crescent</a></li>
<li><a href=\"".$siteroot."/music/silverline/rokmid/\">Rockin' MIDI Collection</a></li>
<li><a href=\"".$siteroot."/music/silverline/silverperfect/\">Silverperfect</a></li>
<li><a href=\"".$siteroot."/music/silverline/silverperfect2/\">Silverperfect II</a></li>
<li><a href=\"".$siteroot."/music/silverline/animalcrossing/\">Animal Crossing ReWorked</a></li>
<li><a href=\"".$siteroot."/music/silverline/misc/\">Miscellaneous</a></li>

</ul>";
}

//KyleLandry Index

if ($pagetype == "kyle_index") {
echo "<h2>Kyle's Music</h2>

<ul class=\"block\">
<li><a href=\"".$siteroot."/music/kylelandry/audio/\">Audio Recordings</a></li>
<li><a href=\"".$siteroot."/music/kylelandry/video/\">Video Performances</a></li>
</ul>";
}

//Or site index? :o

if ($pagetype == "mainindex") {
echo "<h2>Latest Updates</h2>

<ul class=\"block\">
<li><a href=\"".$siteroot."/music/silverline/sx1/\">Silverline - -S-X-1-</a></li>
<li><a href=\"".$siteroot."/music/halo/symphony1/\">HaloOfTheSun - Symphony No1 in D Minor</a></li>
</ul>";
}


?>
You should notice the stuff in there that uses stuff set on the main page. It can show different stuff depending on if it's an album page or normal site page or whatever =o

footer.php does it a bit also with dynamic legal / credit notice things unique to each artist

Spoiler for footer.php:
Code: [Select]
             <?  //I only need this if I'm doing my retarded colum shit
if (isset($columns)) {
echo "</div>";}
else {
echo "<!-- e -->";} ?>


<div class="bottom">

<?php //Dynamic Copyright logos
if ($pagetype == "pianovid"){
echo "<div class=\"albumcopy\">&copy; Kyle556 (Kyle Landry) - <a href=\"". $siteroot ."/legal/\">Legal</a></div>";
}

if (isset($album)) {

     if ($album == "FFAOS" or $album == "FFAOS2" or $album == "FFAOS3" or $album == "FFAOS_Remastered" or $album == "dream_mem" or $album == "doom" or $album == "HOTSOAS" or $album == "symphony1")

       echo "<div class=\"albumcopy\">&copy; HaloOfTheSun (Bobby Richeson) - <a href=\"". $siteroot ."/legal/\">Legal</a></div>";
   
elseif ($album == "BMS" or $album == "ROKMID" or $album == "silverperfect" or $album == "silverperfect2" or $album == "crescent" or $album == "silver_misc" or $album == "sx1" or $album == "animal")

       echo "<div class=\"albumcopy\">&copy; Silverline (Paul Rowland) - <a href=\"". $siteroot ."/legal/\">Legal</a></div>";
   
   }
   //tell search script its the end of the page =o
echo "<!-- e -->";

?>


</div>

<div class="clearer"></div>

</div>


<div class="footer">

<div class="left">
&copy; 2004-2007 <a href="http://slyph.org/">Short Story</a>
</div>

<div class="right">
<a href="<? echo $siteroot; ?>/legal/">Legal</a> &bull; <a href="<? echo $siteroot; ?>/privacy/">Privacy</a> &bull; <a href="<? echo $siteroot; ?>/about/">About</a> &bull; <a href="#top">Top</a>
</div>

<div class="clearer"></div>

</div>

</div>

</div>
</div>

</body>
</html>

Some of that is probably confusing =p It was for me writing it, I learned alot whilst writing my site, and If I could be bothered I'd probably go in and re-write parts of it, but as it stands now it's working and (partially) expandable, so I'm leaving it.



Spoiler for:
By expandable, I was able to put in a totally dynamic page that was multi column or single column depending on the request and showed whatever video they wanted etc and stuff using my current script setup.

Code: [Select]
<?php //Fix Names for use in text in the page
if (isset($_GET["play"])) {
$do_not_want = array("_", "Anime/", "Classical/", "Compositions/", "Final_Fantasy/", "Games/", "Other/");
$moar = array(" ", "", "Classical - ", "Composition - ", "Final Fantasy - ", "Game Music - ", "Misc - ");
$videotitle = str_replace($do_not_want, $moar, ($_GET["play"]));
$video_id = ($_GET["play"]);
}
//Page specific settings
$pagetype = "pianovid";
//If we're watching a video omit the right column
if (isset($_GET["play"])) {
$columns = "1";}
//If we're watching a video let's tell you that in the title :) otherwise default please ~
include("../../../includes/settings.php");
if (isset($_GET["play"])) {
//IF INCORRECT VIDEO YOU FAILLL
if (in_array($video_id, $pianovids)) {
$pagetitle = "Watching - ".$videotitle." - Kyle Landry Piano Performance Video - Short Story"; }
else $pagetitle = "Error! - Invalid Video Selected";}
else {$pagetitle = "Kyle Landry Piano Performance Videos - Short Story"; }
//header
include($includespath . '/header.php');
//If we want to watch a video then let's see the video! :D Or if not we're going to just see a list of all his current videos :3
if (isset($_GET["play"])) {
//Begin my extra checking thing
//ROFL this thing is so stupid but it works so whatever
if(in_array($video_id, $pianovids)) {
echo "<h1> ".$videotitle." </h1><hr /><br />";
call_movie($_GET["play"]);
echo "<br /><h2><a href=\"".$siteroot."/music/kylelandry/video/\">&lt;&lt;Return to Video Listing</a></h2>";
    }
else {
echo "<h1>Invalid Video selected!</h1>
<br /><h2><a href=\"".$siteroot."/music/kylelandry/video/\">&lt;&lt;Return to Video Listing</a></h2>";
}
}
else{
include($includespath . '/kpvids.php');
}
//Friendly note for source-reading sneaky snoopers
if (isset($columns)) {
echo "<!-- No extra column -->"; }
else
{
include($includespath . '/rightside.php'); }
include($includespath . '/footer.php');?>

Now when I write stuff I generally keep expandability in mind. At first I wasn't even planning to use them, but I put categories to my pages that I actually ended up using later on =)
« Last Edit: June 23, 2007, 04:15:35 PM by Roph »
bringing sexy back

*
Resident Cloud
Rep:
Level 91
im thinking you should but the menu into a different file roph its huge

*
Crew Slut
Rep:
Level 93
You'll love it!
For taking a crack at the RMRK Wiki
Cascading Style Sheets or template can help... Or setting say your hearder area in a frame so it doesn't update etc...

Even using Flash it's fairly simple, if you save your hedrer image as say TEST, then when you want to update it, if you import new image with the same name TEST, it will replace all the old ones...

There are many little tricks when doing WEB design...

Here's one of my site:- www.equita.co.uk

It's made in frames, I done pretty much all of this (Some images got brought in by a photographer, but the rest is all me)...

flash is wicked for sites. But it can really be a hassle if you use dial-up. Thank god I don't, but I feel sorry for people who do, and get stuck on a flash site...

*
Resident Cloud
Rep:
Level 91
flash when coded correctly can make a good site yes but im fed up with seeing sites that use flash in a messy way not optimizing their file and ending up with some giant loading bar filling up at a snail's pace.

*
( ´ิ(ꈊ) ´ิ) ((≡^⚲͜^≡)) (ી(΄◞ิ౪◟ิ‵)ʃ)
Rep:
Level 102
(っ˘ڡ˘ς) ʕ•̼͛͡•ʕ-̺͛͡•ʔ•̮͛͡•ʔ (*ꆤ.̫ꆤ*)
2014 Avast Ye Merry Pirate!2013 Avast Ye Merry Pirate Award2012 Avast Ye Merry Pirate AwardFor frequently finding and reporting spam and spam bots2011 Avast Ye Merry Pirate2011 Most Unsung Member2010 Avast Ye Merry Pirate Award
Um, plus the whole being invisible to search engines thing?

http://www.google.com/search?q=Download+RPG+Maker+XP+Postality+Knights
http://www.google.com/search?q=RMRK
http://www.google.com/search?q=download+rpg+maker+2003

Using flash for sites is bad practice. Show me a professional web designer that makes their site in flash.

If I wanted to, I could make all fancy bits on a site that slide around and react to the user's mouse or play music in the background of make an annoying noise every time you hover over a link to be "cool", using either flash or javascript, but most people couldn't care less and just want to use your site normally.
« Last Edit: June 27, 2007, 02:26:04 PM by Roph »
bringing sexy back

*
Crew Slut
Rep:
Level 93
You'll love it!
For taking a crack at the RMRK Wiki
flash when coded correctly can make a good site yes but im fed up with seeing sites that use flash in a messy way not optimizing their file and ending up with some giant loading bar filling up at a snail's pace.

Yeah, most sites don't do it right, I would rather give the option for a flash site, of just plain text and images.
Flash is easy, because you don't have to have like a billion little pages, and all of that stuff wasting space, butah....flash is very annoying if you've ever tried to go on it with dial-up.

Um, plus the whole being invisible to search engines thing?

http://www.google.com/search?q=Download+RPG+Maker+XP+Postality+Knights
http://www.google.com/search?q=RMRK
http://www.google.com/search?q=download+rpg+maker+2003

Using flash for sites is bad practice. Show me a professional web designer that makes their site in flash.

Yeah, have to agree, that's why I'd use a Flash and html site, that way, the home page is a page asking you what you want, then, you go can go with the text and shit or flash.

*
( ´ิ(ꈊ) ´ิ) ((≡^⚲͜^≡)) (ી(΄◞ิ౪◟ิ‵)ʃ)
Rep:
Level 102
(っ˘ڡ˘ς) ʕ•̼͛͡•ʕ-̺͛͡•ʔ•̮͛͡•ʔ (*ꆤ.̫ꆤ*)
2014 Avast Ye Merry Pirate!2013 Avast Ye Merry Pirate Award2012 Avast Ye Merry Pirate AwardFor frequently finding and reporting spam and spam bots2011 Avast Ye Merry Pirate2011 Most Unsung Member2010 Avast Ye Merry Pirate Award
Keep in mind this article was written in 2000, though it's still pretty related:

http://www.useit.com/alertbox/20001029.html
bringing sexy back

*
Crew Slut
Rep:
Level 93
You'll love it!
For taking a crack at the RMRK Wiki
Keep in mind this article was written in 2000, though it's still pretty related:

http://www.useit.com/alertbox/20001029.html

Wow, I really like that article, thanks Silver.

I like Flash for it's cartooniness, and the different little shits and giggle add-ons annoy me.
I've noticed some people like to put loading bars in their games and websites, because it makes it look more professional, when it has no use what so ever, it's just there. That's super annoying.

I would rather do what a regular site would do, little buttons and stuff, only, with flash.
Html is boring, and long, well, maybe because I forgot what I know.  ::)

Have to really agree with the updating flash, I doubt I would take the time to add all of the updates, then re-upload it to the server, and all I would have to do is edit the html...
It does have it's faults in certain things, like saving images.
But other than that, I would say it's 45% bad.

*
Resident Cloud
Rep:
Level 91
do you have an example of a flash website you have created

*
Crew Slut
Rep:
Level 93
You'll love it!
For taking a crack at the RMRK Wiki
do you have an example of a flash website you have created

Nope, don't have a website.  ;8 ;9


But it would be helpful with the invisible searches, like if you had roms a on your site.

pokeball :)OfflineMale
********
Cheese
Rep:
Level 95
?
alright, so the news system is working just fine..now I want to add a star rating system to the news.
(pretty pointless yes, but I want to see it get done :P )

The problem is that to show one rating system you have to give it its OWN id..problem with that is I want it to make its own id or use the id of the news item instead, this would generate something new every time.
my problem: I dont know how to have it use the id of the news item as the # of the poll. (if I left it xx, xx = 10 voting for one poll would vote for ALL polls.)

here is the script for the page that shows news items and the option to comment each one:

Spoiler for:
<h1><b>NEWS</b></h1>
<br />

<?php
      include ('mysql_connect.php');
      $query = "SELECT id, title, author, post, DATE_FORMAT(date, '%M %d, %Y') as sd FROM news_posts ORDER BY date DESC";
      $result = @mysql_query($query);
      if ($result) {
      while ($row = mysql_fetch_array($result, MYSQL_ASSOC)) {
      $url = 'commentpage.php?id='.$row['id'];
      echo rating_bar('xx', '5');
      echo 'Title: <b>'.$row['title'].'</b>&nbsp;&nbsp;|&nbsp;&nbsp;
      Date: <b>'.$row['sd'].'</b>&nbsp;&nbsp;|&nbsp;&nbsp;
      Posted by : <b>'.$row['author'].'
</b><br /><br />
      '.$row['post'].'<br />
      <p class="post-footer align-right">
       <a href="javascript:openComments(\''.$url.'\')" class="comments style3">Comments
        </a>
</p><br />';
      }
      } else {
      echo 'There are no news posts to display';
      }
      ?>

notice when you click comment, it uses the row id of the news item to send you to the correct page of comments. I am trying to get it to use the same row id in the poll instead of xx...still no luck. So is this possible?

Watch out for: HaloOfTheSun

*
( ´ิ(ꈊ) ´ิ) ((≡^⚲͜^≡)) (ી(΄◞ิ౪◟ิ‵)ʃ)
Rep:
Level 102
(っ˘ڡ˘ς) ʕ•̼͛͡•ʕ-̺͛͡•ʔ•̮͛͡•ʔ (*ꆤ.̫ꆤ*)
2014 Avast Ye Merry Pirate!2013 Avast Ye Merry Pirate Award2012 Avast Ye Merry Pirate AwardFor frequently finding and reporting spam and spam bots2011 Avast Ye Merry Pirate2011 Most Unsung Member2010 Avast Ye Merry Pirate Award
Code: [Select]
<h1><b>NEWS</b></h1>
<br />

<?php
      include ('mysql_connect.php');
      $query = "SELECT id, title, author, post, DATE_FORMAT(date, '%M %d, %Y') as sd FROM news_posts ORDER BY date DESC";
      $result = @mysql_query($query);
      if ($result) {
      while ($row = mysql_fetch_array($result, MYSQL_ASSOC)) {
      $url = 'commentpage.php?id='.$row['id'];
      rating_bar($row['id'], '5');
      echo 'Title: <b>'.$row['title'].'</b>&nbsp;&nbsp;|&nbsp;&nbsp;
      Date: <b>'.$row['sd'].'</b>&nbsp;&nbsp;|&nbsp;&nbsp;
      Posted by : <b>'.$row['author'].'
</b><br /><br />
      '.$row['post'].'<br />
      <p class="post-footer align-right">
       <a href="javascript:openComments(\''.$url.'\')" class="comments style3">Comments
        </a>
</p><br />';
      }
      } else {
      echo 'There are no news posts to display';
      }
      ?>

rating_bar(); is a function, the echo isn't needed =o
bringing sexy back

pokeball :)OfflineMale
********
Cheese
Rep:
Level 95
?
thanks ^_^.
but the echo was needed for some reason. When I placed the code in how you had it, the stars did not show. Then I went and added echo, and the stars did.
Watch out for: HaloOfTheSun

pokeball :)OfflineMale
********
Cheese
Rep:
Level 95
?
Does anyone know of the resource system crankeye uses? or of one that is similar if not better? I'm getting sick of adding resources in  by hand :P Also are these customizable? or they they stay white and bland by default?

"flashy effects can be nice, but the user just wants the resources"
your 100% right silver ^_^ I asked some people and they said any system as long as they get what they want, so I figured "why am I wasting soo much time?"
Watch out for: HaloOfTheSun

*
( ´ิ(ꈊ) ´ิ) ((≡^⚲͜^≡)) (ી(΄◞ิ౪◟ิ‵)ʃ)
Rep:
Level 102
(っ˘ڡ˘ς) ʕ•̼͛͡•ʕ-̺͛͡•ʔ•̮͛͡•ʔ (*ꆤ.̫ꆤ*)
2014 Avast Ye Merry Pirate!2013 Avast Ye Merry Pirate Award2012 Avast Ye Merry Pirate AwardFor frequently finding and reporting spam and spam bots2011 Avast Ye Merry Pirate2011 Most Unsung Member2010 Avast Ye Merry Pirate Award
See attach =o
bringing sexy back

pokeball :)OfflineMale
********
Cheese
Rep:
Level 95
?
==o
3 thousand lines of code OMG. Thanks ^^
I'm going to try this one out and the one you showed me on IRC
http://winged.info/project/gallery
Watch out for: HaloOfTheSun

*
( ´ิ(ꈊ) ´ิ) ((≡^⚲͜^≡)) (ી(΄◞ิ౪◟ิ‵)ʃ)
Rep:
Level 102
(っ˘ڡ˘ς) ʕ•̼͛͡•ʕ-̺͛͡•ʔ•̮͛͡•ʔ (*ꆤ.̫ꆤ*)
2014 Avast Ye Merry Pirate!2013 Avast Ye Merry Pirate Award2012 Avast Ye Merry Pirate AwardFor frequently finding and reporting spam and spam bots2011 Avast Ye Merry Pirate2011 Most Unsung Member2010 Avast Ye Merry Pirate Award
Yeah, if I remade crankeye.com, I'd be using that thing :)
bringing sexy back

pokeball :)OfflineMale
********
Cheese
Rep:
Level 95
?
few questions.  ;D

- So how do you make it so that each page gets its own title? I just noticed you showed that code a few replies up:
Quote
//Page specific settings
$pagetitle = "Symphony No1 in D Minor - Short Story";
$pagetype = "halo_album";
$album = "symphony1";

See the way I was doing it....( the lol way I guess)
was to have this:
Quote
<?php
include("/home/jalkson/public_html/forum/SSI.php");
include("header.php");?>
RMrevolution Rpg maker XP and 2k3 community
<?php
include("top.php");
include("news.php");
include("bottom.php");
?>

Mainly I always put my content on seperate pages, and then include that page. For the title notice how it says header. The last line in that page is <title> and the first line in the page top.pgp is </title> but you seem to do it a different way?

Another question is about site layout and search engines.

Is content supposed to be before navigation? I know that's an accessibility rule, but for search engines as well? If yougoogle "rmrevolution" the third result is what i mean. The search engine uses the first <h> phrase (I think) and since navigation is above content, and Navigation (the text) is the first header, it makes that the title of the link in the results?

If you can clear anything up here that would be awesome. ^^
Watch out for: HaloOfTheSun

*
( ´ิ(ꈊ) ´ิ) ((≡^⚲͜^≡)) (ી(΄◞ิ౪◟ิ‵)ʃ)
Rep:
Level 102
(っ˘ڡ˘ς) ʕ•̼͛͡•ʕ-̺͛͡•ʔ•̮͛͡•ʔ (*ꆤ.̫ꆤ*)
2014 Avast Ye Merry Pirate!2013 Avast Ye Merry Pirate Award2012 Avast Ye Merry Pirate AwardFor frequently finding and reporting spam and spam bots2011 Avast Ye Merry Pirate2011 Most Unsung Member2010 Avast Ye Merry Pirate Award
If you look at the header.php in my above post you see the <title> tags and in there I echo $pagetitle, which I set before I included the header.

No search engine (at least the big 4; Google, Yahoo, Msn & Ask) cares what it encounters first in your page and what it encounters last, when you're on about ranking.

As for the text google will show underneath the link, google chooses the text that's around (or contains) the keyword you're searching for. Try searching for results from rmrk.net for "tileset" and you'll see what I mean.

Searching for RMRK would get you results that show the forum's text such as the news or "login, messages" etc. Arranging it so it showed the board's titles first or something woud maybe be possible, but more effort than it's worth.
« Last Edit: July 01, 2007, 07:00:53 PM by Roph »
bringing sexy back

*
Meet me in the middle
Rep:
Level 89
or left of the dial.
For frequently finding and reporting spam and spam botsSecret Santa 2012 Participant
An answer to all your problems : Adobe Dreamweaver CS3

www.adobe.com

Best web design program ever.

*
Crew Slut
Rep:
Level 93
You'll love it!
For taking a crack at the RMRK Wiki
An answer to all your problems : Adobe Dreamweaver CS3

www.adobe.com

Best web design program ever.

Nouman uses DreamWeaver.

pokeball :)OfflineMale
********
Cheese
Rep:
Level 95
?
An answer to all your problems : Adobe Dreamweaver CS3

www.adobe.com

Best web design program ever.

xD if only it were a solution to problems. Its a program, there is no way I could have learned what I did from Roph from a program.
I don't believe there is anything dreamweaver can do that html kit cannot. Google it, I am now using that instead, so far success.
Watch out for: HaloOfTheSun

pokeball :)OfflineMale
********
Cheese
Rep:
Level 95
?
Personally I'd take time to learn what you're working with until you're comfortable before making stuff for other people.

Even if that just means you're only making simple stuff for others, at least it will work ok =)

Ok so I went ahead and e-mailed this local magazine that comes out monthly.
their site is http://www.santaclaritamonthly.com/ and the actually agreed to let me make the site.

After looking and what she had I went "hey this should be easy" ...so I emailed her for details...she's looking for a completely new site and features.

One being a news system. Hey how easy eh? I already set one up for jalkson, so i emailed her back asking for more details...here is what she wants:


- News system:
- If the person is being advertised that month in the mag, they get a account to the news system
- They have a deadline for which they can post a news item about their store for that month
- They have a word limit
- if they don't advertise next month their account is gone.


...so yeah... anyone know where I can find this? 0_0
I mean if she agreed to pay me to update the site monthly I have no problem doing the account making a crap, but I dont know how to make a log in and stuff, last time was easy xD Roph gave me that cool code to use the forum stuff and check for access.

so any help would be cool!
I'm getting 300$ worth in advertisement space in return...that's a 1/3rd size ad for 1 month I believe :P but I am mainly doing it for the learning part.
Watch out for: HaloOfTheSun

*
Crew Slut
Rep:
Level 93
You'll love it!
For taking a crack at the RMRK Wiki
Wow! Good for you Nouman!

*
( ´ิ(ꈊ) ´ิ) ((≡^⚲͜^≡)) (ી(΄◞ิ౪◟ิ‵)ʃ)
Rep:
Level 102
(っ˘ڡ˘ς) ʕ•̼͛͡•ʕ-̺͛͡•ʔ•̮͛͡•ʔ (*ꆤ.̫ꆤ*)
2014 Avast Ye Merry Pirate!2013 Avast Ye Merry Pirate Award2012 Avast Ye Merry Pirate AwardFor frequently finding and reporting spam and spam bots2011 Avast Ye Merry Pirate2011 Most Unsung Member2010 Avast Ye Merry Pirate Award
I'll quote my post too:

Quote
Personally I'd take time to learn what you're working with until you're comfortable before making stuff for other people.

Even if that just means you're only making simple stuff for others, at least it will work ok =)

Now re-read your post. I'd never use a paying client to "learn" with; I'd only do anything for them if I was already experienced with what I was doing and knew exactly what I had to do.

Either way, you could try using something like CuteNews; that would let you manage the account stuff.

It's not bulletproof but you could do a simple modification to the template for submitting news and check the input with Javascript and not allow a number of characters over x, or something.
bringing sexy back

pokeball :)OfflineMale
********
Cheese
Rep:
Level 95
?
I read it wrong xD
Yeah you are right, I should have waited alot longer. I'll try cutenews and search around and maybe combine some scripts and stuff to get the outcome she wants. Thanks ^^
Watch out for: HaloOfTheSun

*
Resident Cloud
Rep:
Level 91
the site does need a remake though :)

pokeball :)OfflineMale
********
Cheese
Rep:
Level 95
?
ok I met here and we talked it out :P

She said she wrote everything wrong, and does not want to give them access to post news :P :P
Instead she will be hering either myself or someone else to be her full time "web master" this person just needs to post a news item every month by the deadline with the info she gives. Meaning all the clients will CALL her and giver her the info, then the web master posts it. So I can probally use the same method I did with rmrevolution since it seems like it would work.

I read it wrong xD
Yeah you are right, I should have waited alot longer. I'll try cutenews and search around and maybe combine some scripts and stuff to get the outcome she wants. Thanks ^^

Totally
Watch out for: HaloOfTheSun

pokeball :)OfflineMale
********
Cheese
Rep:
Level 95
?
This problem seems to always come back and haunt me since I never remember how to fix it.
I need to make the left div, and the right (main text area) div align at the top.



both the div's are inside another div called main, the main has nothing in it and is just holding the background image on repeat.

Code: [Select]
<!-- Start Main div -->
<div id="main">
[b]<div id="left">
</div>[/b]
[b]<div id="right">
</div>[/b]
</div>
<!-- End of main div-->

I never understand how to make them work. :(

the css:

Code: [Select]
div#main {
font: 13px/2.0em verdana, arial, sans-serif;
width: 729px;
background-image:url(images/main-bg.gif);
}
div#left {
width: 250px;
margin-left: 10px;
}
div#right {
width: 400px;
margin-right: 10px;
}
Watch out for: HaloOfTheSun

pokeball :)OfflineMale
********
Cheese
Rep:
Level 95
?
bumpers.
Just one thing, also I would like for it to extend no matter which div (left or right) is longer.
 ;D
Watch out for: HaloOfTheSun

*
( ´ิ(ꈊ) ´ิ) ((≡^⚲͜^≡)) (ી(΄◞ิ౪◟ิ‵)ʃ)
Rep:
Level 102
(っ˘ڡ˘ς) ʕ•̼͛͡•ʕ-̺͛͡•ʔ•̮͛͡•ʔ (*ꆤ.̫ꆤ*)
2014 Avast Ye Merry Pirate!2013 Avast Ye Merry Pirate Award2012 Avast Ye Merry Pirate AwardFor frequently finding and reporting spam and spam bots2011 Avast Ye Merry Pirate2011 Most Unsung Member2010 Avast Ye Merry Pirate Award
float: left;

on the left div? =o should do the trick ~

Also what do you mean by the extending thing? If it's what I think you mean, just apply "clear: both;" to your footer =)
bringing sexy back

pokeball :)OfflineMale
********
Cheese
Rep:
Level 95
?
I will try that suggestion in a bit, what I meant was if there is more content in the left side the whole bg image would stretch, I have this problem here: (the church site)

http://www.oakhillbible.com/test/welcome.php
Watch out for: HaloOfTheSun

pokeball :)OfflineMale
********
Cheese
Rep:
Level 95
?
:( still haven't had a chance to try it, will later today.

Anyways do you recommend any web design books? like have you read any that were awesome? They can be anything, I would love to learn mysql, php, css...just about that that will help and is also a good read.
Watch out for: HaloOfTheSun

*
( ´ิ(ꈊ) ´ิ) ((≡^⚲͜^≡)) (ી(΄◞ิ౪◟ิ‵)ʃ)
Rep:
Level 102
(っ˘ڡ˘ς) ʕ•̼͛͡•ʕ-̺͛͡•ʔ•̮͛͡•ʔ (*ꆤ.̫ꆤ*)
2014 Avast Ye Merry Pirate!2013 Avast Ye Merry Pirate Award2012 Avast Ye Merry Pirate AwardFor frequently finding and reporting spam and spam bots2011 Avast Ye Merry Pirate2011 Most Unsung Member2010 Avast Ye Merry Pirate Award
The only thing I could say I "read" for web design stuff is A List Apart.
bringing sexy back

pokeball :)OfflineMale
********
Cheese
Rep:
Level 95
?
:D :D
the clear both worked perfect! (well for now xD )



before I the white background wouldn't extend when the left side was longer than the main content side, so I had a ton of <br /.>'s everywhere to stretch, but with the clear both it works great :D

THANKS!!
« Last Edit: August 18, 2007, 11:41:18 PM by Nouman »
Watch out for: HaloOfTheSun

pokeball :)OfflineMale
********
Cheese
Rep:
Level 95
?
alright, so some wordpress help.

I'm trying to take wordpress and "inject" it into the main site.
www.oakhillbible.com/test

I want only some of the features to be displayed and to show on the page and not on a separate new blog styled page.

There will be a page www.oakhillbible.com/test/blog.php and it will have the full blog, on the homepage however it will show the most recent blog as it would normally show a blog, author, date, BLOG, option to comment and what not.

also on the side bar it would show the log in/ log out options and the choice to register.

so I ask how can I do this? I here there are php functions that cal call these individual features?
Watch out for: HaloOfTheSun

pokeball :)OfflineMale
********
Cheese
Rep:
Level 95
?
Watch out for: HaloOfTheSun

pokeball :)OfflineMale
********
Cheese
Rep:
Level 95
?
 roph, on http://slyph.org/music/silverline/sx1/ (the media player/archive list) do you update that manually?
Watch out for: HaloOfTheSun

pokeball :)OfflineMale
********
Cheese
Rep:
Level 95
?
also

Safari browser is reading my IE style commands. is there a fix or a way around to this? when I remove the IE css it goes back to reading the normal style.css file and it works fine but then IE looks like shit.
Watch out for: HaloOfTheSun

*
( ´ิ(ꈊ) ´ิ) ((≡^⚲͜^≡)) (ી(΄◞ิ౪◟ิ‵)ʃ)
Rep:
Level 102
(っ˘ڡ˘ς) ʕ•̼͛͡•ʕ-̺͛͡•ʔ•̮͛͡•ʔ (*ꆤ.̫ꆤ*)
2014 Avast Ye Merry Pirate!2013 Avast Ye Merry Pirate Award2012 Avast Ye Merry Pirate AwardFor frequently finding and reporting spam and spam bots2011 Avast Ye Merry Pirate2011 Most Unsung Member2010 Avast Ye Merry Pirate Award
<!--[if IE 7]>
      <link href="style_ie.css" rel="stylesheet" type="text/css" />
   <![endif]-->

Only IE7 will see it

<!--[if IE]> - Any IE

<!--[if lte IE 6]> - Any less than or equal to IE6

<!--[if gte IE 5.5]> - IE 5.5 Onwards will see it

And so on~
bringing sexy back

pokeball :)OfflineMale
********
Cheese
Rep:
Level 95
?
I have this in my header :

Code: [Select]
<!--[if IE]>

/* MENU */
#left ul {
margin: 0;
padding: 0;
list-style: none;
width: 180px; /* Width of Menu Items */
}

#left ul li {
position: relative;
width: 100%;
display: block;
}

#left li ul {
}

/* Styles for Menu Items */
#left ul li a {
font: 0.82em verdana, arial, sans-serif;
text-align: left;
display: block;
text-decoration: none;
color: #777;
background: #fff; /* IE6 Bug */
padding: 5px;
border-bottom: 1px solid #ccc;
}




div#left {
float: left;
font: 0.82em verdana, arial, sans-serif;
text-align: left;
width: 160px;
margin-left: 45px;
}
div#middle {
padding: 0px 50px 5px 0px;
font-family: "Lucida Grande", Arial, Verdana, sans-serif;
color: #444;
font-size: 12px;
text-align: left;
width: 520px;
}
div#wrapper {
clear: both;
width: 837px;
background: url(http://www.oakhillbible.com/wp-content/themes/blog_theme/images/bg.jpg);
}
div#bottom {
font: 0.82em verdana, arial, sans-serif;
height: 35px;
width: 837px;
background: url(http://www.oakhillbible.com/images/footer.jpg);
}
div#header {

width: 837px;
height: 298px;
background: url(http://www.oakhillbible.com/wp-content/themes/blog_theme/images/header4.jpg);
}



</style>

<![endif]-->

and when it's in there, Safari looks all messed up, when I remove it Safari looks perfect.
Watch out for: HaloOfTheSun

pokeball :)OfflineMale
********
Cheese
Rep:
Level 95
?
roph, on http://slyph.org/music/silverline/sx1/ (the media player/archive list) do you update that manually?

Hey, just wondering if you got the script you were using done?

^^ thx
Watch out for: HaloOfTheSun

*
( ´ิ(ꈊ) ´ิ) ((≡^⚲͜^≡)) (ી(΄◞ิ౪◟ิ‵)ʃ)
Rep:
Level 102
(っ˘ڡ˘ς) ʕ•̼͛͡•ʕ-̺͛͡•ʔ•̮͛͡•ʔ (*ꆤ.̫ꆤ*)
2014 Avast Ye Merry Pirate!2013 Avast Ye Merry Pirate Award2012 Avast Ye Merry Pirate AwardFor frequently finding and reporting spam and spam bots2011 Avast Ye Merry Pirate2011 Most Unsung Member2010 Avast Ye Merry Pirate Award
Save this as flash.php ~

Spoiler for:
<?php
//lol noob
$remove_x = array("flash.php");
$replace_x = array("");
$dlurl str_replace($remove_x$replace_x$_SERVER[&#39;PHP_SELF&#39;]);
$filter ".mp3";

//directory to scan, if it&#39;s the same dir as the script just put a period.
$directory ".";
//get mp3s and build array
@$d dir($directory);
if (
$d) { 
	
while(
$entry=$d->read()) {  
	
	
$ps strpos(strtolower($entry), $filter);
	
	
if (!(
$ps === false)) {  
	
	
	
$items[] = $entry
	
	

	
}
	
$d->close();
	
sort($items);
}
//Make XSPF playlist
header("content-type:text/xml;charset=utf-8");

echo 
"<?xml version=&#39;1.0&#39; encoding=&#39;UTF-8&#39; ?>\n";
echo 
"<playlist version=&#39;1&#39; xmlns=&#39;http://xspf.org/ns/0/&#39;>\n";
echo 
"
	
<title>Sometitle</title>\n"
;
echo 
"
	
<info>Someinfo</info>\n"
;
echo 
"
	
<trackList>\n"
;


for(
$i=0$i<sizeof($items); $i++) {
	
echo 
"
	
	
<track>\n"
;
	
echo 
"
	
	
	
<annotation>"
.($i+1).". ".$items[$i]."</annotation>\n";
	
echo 
"
	
	
	
<location>http://"
$_SERVER["HTTP_HOST"] .""$dlurl ."".$items[$i]."</location>\n";
	
echo 
"
	
	
	
<info></info>\n"
;
	
echo 
"
	
	
</track>\n"
;
}
echo 
"
	
</trackList>\n"
;
echo 
"</playlist>\n";

/* 
the mp3player flash file needs to be on the same domain as this script (it thinks it&#39;s an xml file and it is pretty much, just created dynamically) for it to work. 
embed the player like this:

<object width="220" height="250">
	
<param name="movie" value="http://d4.slyph.org/mp3player.swf?file=http://d4.slyph.org/audio/silver/sx1/flash.php&lightcolor=0xA2B3BB&backcolor=0x6F6758&frontcolor=0xFFFFFF"></param>
	
<param name="wmode" value="transparent"></param>
	
<embed src="http://d4.slyph.org/mp3player.swf?file=http://d4.slyph.org/audio/silver/sx1/flash.php&lightcolor=0xA2B3BB&backcolor=0x6F6758&frontcolor=0xFFFFFF" type="application/x-shockwave-flash" wmode="transparent" width="220" height="250"></embed>
</object>

Of course changing what&#39;s obvious ;o
*/
?>

Visit it directly to see what it does and what it'll send to the mp3 player, which you can download here

========

For kicks here's an edited one that'll just make a list of the mp3s in a folder:

Spoiler for:
<?php
$remove_x 
= array("html.php");
$replace_x = array("");
$dlurl str_replace($remove_x$replace_x$_SERVER[&#39;PHP_SELF&#39;]);
$filter ".mp3";
$dir ".";
@
$d dir($dir);
if (
$d) { 
	
while(
$entry=$d->read()) {  
	
	
$ps strpos(strtolower($entry), $filter);
	
	
if (!(
$ps === false)) {  
	
	
	
$items[] = $entry
	
	

	
}
	
$d->close();
	
sort($items);
}
echo 
"<table>";
for(
$i=0$i<sizeof($items); $i++) {
	
echo 
"<tr><td><a href=\"http://"$_SERVER["HTTP_HOST"] .""$dlurl ."".$items[$i]."\">".($i+1).". ".$items[$i]."</a></tr></td>";
}
echo 
"</table>";
?>
« Last Edit: October 02, 2007, 02:55:40 AM by Roph »
bringing sexy back

pokeball :)OfflineMale
********
Cheese
Rep:
Level 95
?
thx ^^

alright, so when I visit flash.php directly (as i do on your link) it shows exactly how it does on your link.
no flash player, just the code it needs to send to the flash player.

now, how can I show this on a page in the player form, and allow the download link as you did?

(sorry for all the questions xD)
ftp info if you need it was sent on irc.
Watch out for: HaloOfTheSun

*
( ´ิ(ꈊ) ´ิ) ((≡^⚲͜^≡)) (ી(΄◞ิ౪◟ิ‵)ʃ)
Rep:
Level 102
(っ˘ڡ˘ς) ʕ•̼͛͡•ʕ-̺͛͡•ʔ•̮͛͡•ʔ (*ꆤ.̫ꆤ*)
2014 Avast Ye Merry Pirate!2013 Avast Ye Merry Pirate Award2012 Avast Ye Merry Pirate AwardFor frequently finding and reporting spam and spam bots2011 Avast Ye Merry Pirate2011 Most Unsung Member2010 Avast Ye Merry Pirate Award
Embed the mp3 player flash file as normal and add a ?file= param for the php file. So on my site for that Sx1 thing, it's "http://d4.slyph.org/mp3player.swf?file=http://d4.slyph.org/audio/silver/sx1/flash.php"

(notice if you click the above link, it works)

Read the commented bit of the first php code for an example of how to embed the player and make it use the file. Of course change the URLs and width/height stuff to your own needs and everything =)

Here's that above embedding code pasted into this post with admin HTML hax:


works~ quote this post to see it again.
« Last Edit: October 02, 2007, 05:11:55 AM by Roph »
bringing sexy back

pokeball :)OfflineMale
********
Cheese
Rep:
Level 95
?
alright, so the player displays, and the files display.

flash.php - where the php code for the the whole thing is.
the swf is also in the same directory

and in sermon.php I have:

Code: [Select]
<object width="220" height="250">



<param name="movie" value="http://oakhillbible.com/mp3player.swf?file=http://oakhillbible.com/flash.php&lightcolor=0xA2B3BB&backcolor=0x6F6758&frontcolor=0xFFFFFF"></param>



<param name="wmode" value="transparent"></param>



<embed src="http://oakhillbible.com/mp3player.swf?file=http://oakhillbible.com/flash.php&lightcolor=0xA2B3BB&backcolor=0x6F6758&frontcolor=0xFFFFFF" type="application/x-shockwave-flash" wmode="transparent" width="220" height="250"></embed>
</object>

outcome:

http://www.oakhillbible.com/sermon.php

but the audio files don't play.
Watch out for: HaloOfTheSun

*
( ´ิ(ꈊ) ´ิ) ((≡^⚲͜^≡)) (ી(΄◞ิ౪◟ิ‵)ʃ)
Rep:
Level 102
(っ˘ڡ˘ς) ʕ•̼͛͡•ʕ-̺͛͡•ʔ•̮͛͡•ʔ (*ꆤ.̫ꆤ*)
2014 Avast Ye Merry Pirate!2013 Avast Ye Merry Pirate Award2012 Avast Ye Merry Pirate AwardFor frequently finding and reporting spam and spam bots2011 Avast Ye Merry Pirate2011 Most Unsung Member2010 Avast Ye Merry Pirate Award
Er your files are missing or something, go to the mp3 urls and you get 404 errors.
bringing sexy back

pokeball :)OfflineMale
********
Cheese
Rep:
Level 95
?
sweeeeeeeeeeeet

THANKS x100!
http://www.oakhillbible.com/sermon.php

works 100%
Watch out for: HaloOfTheSun

*
A Random Custom Title
Rep:
Level 96
wah
WHOA DID YOU COMPLETELY DESIGN THAT ON YOUR OWN? :o I mean the layout and the looks and stuff.

pokeball :)OfflineMale
********
Cheese
Rep:
Level 95
?
Watch out for: HaloOfTheSun

pokeball :)OfflineMale
********
Cheese
Rep:
Level 95
?
hey!

yep it's wordpress, installing it on this dudes web site right now: http://myfireofficer.com/

Here is the tutorial I used to turn the site into a wordpress theme:
http://www.jonathanwold.com/tutorials/wordpress_theme/

if you get stuck I can see if I know anything to help you :D

where did ahref go D:
xD
Watch out for: HaloOfTheSun

*
Resident Cloud
Rep:
Level 91
oops i removed my post whilst you answered

sorry

ahh i see thanks for the reply ill look into it :D

pokeball :)OfflineMale
********
Cheese
Rep:
Level 95
?
my left is set to 20%, my right set to 80%, and they don't fit the wrapper. BUT when I remove float: left; they both extend to full %

the full wrapper width, is the same as the header width.

this never happened before ;-;

http://mildgreen.com/koreru/
Watch out for: HaloOfTheSun

pokeball :)OfflineMale
********
Cheese
Rep:
Level 95
?
alright, I am in need of a good tables tutorial, know of any?
I mean tables are pretty confusing right now, I want to make something similar to what is seen here, but I want to style it better. ^^ I will try to teach my self, actually I think I just tried for 5 mins and decided to post xD
Watch out for: HaloOfTheSun

pokeball :)OfflineMale
********
Cheese
Rep:
Level 95
?
Question:

Wtf is class and ID? I am totally confused on the two. When to use which and why?

<li class="xbox">
<li id="xbox">

D:
Watch out for: HaloOfTheSun

*
( ´ิ(ꈊ) ´ิ) ((≡^⚲͜^≡)) (ી(΄◞ิ౪◟ิ‵)ʃ)
Rep:
Level 102
(っ˘ڡ˘ς) ʕ•̼͛͡•ʕ-̺͛͡•ʔ•̮͛͡•ʔ (*ꆤ.̫ꆤ*)
2014 Avast Ye Merry Pirate!2013 Avast Ye Merry Pirate Award2012 Avast Ye Merry Pirate AwardFor frequently finding and reporting spam and spam bots2011 Avast Ye Merry Pirate2011 Most Unsung Member2010 Avast Ye Merry Pirate Award
Class is for multiple use, ID is meant for one specific thing. In a nutshell.

<body id="mainbg">

<p class="post">

~
bringing sexy back

pokeball :)OfflineMale
********
Cheese
Rep:
Level 95
?
awesome, thanks! :D
Watch out for: HaloOfTheSun

*
A blessing
Rep:
Level 91
<3 Back.
Nouman...  I thought you knew those things.  >.>

pokeball :)OfflineMale
********
Cheese
Rep:
Level 95
?
Nouman...  I thought you knew those things.  >.>

nah.. there's tons  I still need to learn ^^
Watch out for: HaloOfTheSun

*
A Random Custom Title
Rep:
Level 96
wah
I still need to learn PHP ;-; Noone has given me a good place to learn it from.

*
A blessing
Rep:
Level 91
<3 Back.
I still need to learn PHP ;-; Noone has given me a good place to learn it from.

First, do you have access to web hosting with PHP, MySQL, FTP, etc. etc.?  You could use Freehostia if you don't, if it's just for learning.

Now, this is my advice.  Unfortunately, one of the links I offer is down.  I don't know what happened to Codegrrl.  I think their domain expired and they didn't do anything.  :(

Also, try W3schools.com.  I have other links, but they are not for very basic stuff.  Most of what I know comes from the book.

*
A Random Custom Title
Rep:
Level 96
wah
I think I have access to PHP and FTP. But I have no idea what MySQL is, lol.

pokeball :)OfflineMale
********
Cheese
Rep:
Level 95
?
no, access to mysql is not given.
Watch out for: HaloOfTheSun

*
A Random Custom Title
Rep:
Level 96
wah
Dang it. I'll have to use Freehostia for that.

Nouman's greedy. Why can't it be OurSQL? ;-;

pokeball :)OfflineMale
********
Cheese
Rep:
Level 95
?
because you can't FTP mysql, you have to log into my account.
Watch out for: HaloOfTheSun

*
A blessing
Rep:
Level 91
<3 Back.
That is true.  :(

*
A Random Custom Title
Rep:
Level 96
wah

*
Resident Cloud
Rep:
Level 91
you can have multiple accounts though that can restrict users to certain databases,tables or even functions

*
A Random Custom Title
Rep:
Level 96
wah
Code: [Select]
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
I don't get what the <meta> tag does...

pokeball :)OfflineMale
********
Cheese
Rep:
Level 95
?
whole bunch of stuff, visit a site, in your browser hit tools then page info.
Watch out for: HaloOfTheSun

*
A blessing
Rep:
Level 91
<3 Back.
Meta tags in some way provide information about a page.  :)  Usually for the browser, and search engines.  That is my assumption.

*
A Random Custom Title
Rep:
Level 96
wah
Oh, alright. I got confused because I didn't look enough in my haimu site. I just stole a layout (lol) and there's a '<p class="meta">' and I got confused because I didn't realize that was just a name the guy made up for the cause and he used CSS and etc.