| Notices | Welcome to the Scale-Models forums. You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today! If you have any problems with the registration process or your account login, please contact contact us. |  | |
25-04-2006
|
#1 (permalink)
| | Guest
Join Date: Aug 2005 Location: Canterbury Real Name: Toby My Models: ....lool.....thousands of kits.. Visit squiffythewombat's Gallery
Posts: 485
Thanks: 0
Thanked 0 Times in 0 Posts
| Badly need a .PHP guru... Hi Guys,
If anybody out there can code .php (well, not newbie stuff) or uses OSC i REALLY need your help, obviously i can pay, offer kits etc.
Or if you can recomend anybody? Although i cant afford silly price!
Best WIshes
Toby |
| |
25-04-2006
|
#2 (permalink)
| | Founder
Join Date: Mar 2004 Location: Halifax Real Name: John My Models: rc cars & various model kits Visit John's Gallery
Posts: 1,453
Thanks: 5
Thanked 0 Times in 0 Posts
| what do you need doing? |
| |
25-04-2006
|
#3 (permalink)
| | Guest
Join Date: Aug 2005 Location: Canterbury Real Name: Toby My Models: ....lool.....thousands of kits.. Visit squiffythewombat's Gallery
Posts: 485
Thanks: 0
Thanked 0 Times in 0 Posts
| Lots of webdesign using OSC and writing contributions for it. I need things like a .php compertition contrib etc.
I also need general .php help with things like general table arrangement and that sort of thing.
I would imagine its pretty basic stuff if you code everyday but i just dont have the time to learn and try to start a business at the same time so would rather get somebody else to do it!
Offtopic-not forgotten about banner, just very very busy, will try and get it done asap. I have put a banner on our tuts page for you as well, because i figured anybody reading tuts wants to learn, thus would find this forums ten times more useful! |
| |
25-04-2006
|
#4 (permalink)
| | Founder
Join Date: Mar 2004 Location: Halifax Real Name: John My Models: rc cars & various model kits Visit John's Gallery
Posts: 1,453
Thanks: 5
Thanked 0 Times in 0 Posts
| There's loads of really good contributions on the osc site, php isn't used for making tables you would use html or even better css for that, not really up on osc I found it a pain when trying to create styles for it or edit basic stuff it's not the most user friendly program on the net, but it is good for a quick shop site, but if I can help you out I will do, if your looking for a style there's places like template monster that do them and they are really good and well worth investing in
__________________ Free email address click --> here |
| |
26-04-2006
|
#5 (permalink)
| | Guest
Join Date: Aug 2005 Location: Canterbury Real Name: Toby My Models: ....lool.....thousands of kits.. Visit squiffythewombat's Gallery
Posts: 485
Thanks: 0
Thanked 0 Times in 0 Posts
| Thanks for the swift reply john,
Im happy with the site layout, and i already use many of the contributions and have made a couple myself. However i want things on my site which there are no contributions for, ie: a gallery where by customers can submit their photos. Ive just got the gallery part working, just got to sort the backend stuff with the db for the rest.
Re:tables, yeah i know about html/css tables but you can in fact create them with .php. Heres an example: <?phpecho "<table border=1 cellpadding=2>";for($i=0;$i<10;$i++) { echo "<tr>"; for($j=0;$j<10;$j++) { echo "<td>". (($i*10)+$j) . "</td>"; } echo "</tr>";}echo "</table>";?/\ a la google simple tables with php Now heres the code im dealing with:$im[$xyz].="</font></b></td>\n";
if($i==$nmbr){if($xyz==$rrr){
$linew.="<b>[$xyz]</b>\n";
}
else
{
$linew.="<a href=\"$file?rpd=$rpd&rrr=$xyz&namezzz=$namezzz\">[$xyz]</a> \n";
}
$i=0;$xyz++;}
if($rw==2){$rw=0;$im[$xyz].="</tr><tr>";} $i++;
$rw++;
$kolvo++; }
if($i<$nmbr&&$i>0){if($xyz==$rrr){I use .php to call up the stylesheet for the text like this: <base href="<?php echo (getenv('HTTPS') == 'on' ? HTTPS_SERVER : HTTP_SERVER) . DIR_WS_CATALOG; ?>"><link rel="stylesheet" type="text/css" href="stylesheet.css">
</head>So, yeah, i basically need somebody to code new contributions and pages for the site in a nutshell. |
| |
26-04-2006
|
#6 (permalink)
| | Founder
Join Date: Mar 2004 Location: Halifax Real Name: John My Models: rc cars & various model kits Visit John's Gallery
Posts: 1,453
Thanks: 5
Thanked 0 Times in 0 Posts
| Tables are html or css, the php code you posted is an SQL query or a PHP array as a formatted HTML table with stylesheet support
__________________ Free email address click --> here |
| |
26-04-2006
|
#7 (permalink)
| | Guest
Join Date: Aug 2005 Location: Canterbury Real Name: Toby My Models: ....lool.....thousands of kits.. Visit squiffythewombat's Gallery
Posts: 485
Thanks: 0
Thanked 0 Times in 0 Posts
| Sorry im not sure im explaining myself properly......
Obviously you have to use the <td> and <tr> tags for rows etc. but the layout of the page is written in .PHP and doesnt related to the stylesheet?
IE:
If i changed : if($rw==2){$rw=0;$im[$xyz].="</tr><tr>";} $i++;
to if($rw==3){$rw=0;$im[$xyz].="</tr><tr>";} $i++;
then i would have 3 colums instead of 2. So the .php is controling the <tr> tag rows is it not? or am i totally off the mark here? If i just wrote <table border=blah blah> without the echo nothing would be displayed?
This creating tables via CSS sounds intresting! I thought CSS was just used to control font height, colour, formating etc across the site as a whole?? |
| |
26-04-2006
|
#8 (permalink)
| | Founder
Join Date: Mar 2004 Location: Halifax Real Name: John My Models: rc cars & various model kits Visit John's Gallery
Posts: 1,453
Thanks: 5
Thanked 0 Times in 0 Posts
| The point I was making was <table> <td> <tr> etc are all HTML commands not PHP as you said, as for CSS it's a lot more than that, it doesn't have to be site wide you can use it on just one page if you like
Something like
DIV.table-row {
background: none #ffffcc; border: solid #000000 1px; color: #000000;
margin-top: 0; margin-right: auto; margin-bottom: 0; margin-left: auto;
padding: 0; text-align: center; width: 96%;
}
or
DIV.box {
border: none; float: right; margin: 0; padding: 0; width: 50%;
}
Would give you some very configurable floating boxes by using class or id's or you could make them static
As for your gallery I would install one of the many free one's available and build your links round that. btw what contributions have you made? I've done quite a few hacks for vbulletin wouldn't know where to start with osc
__________________ Free email address click --> here |
| |
26-04-2006
|
#9 (permalink)
| | Guest
Join Date: Aug 2005 Location: Canterbury Real Name: Toby My Models: ....lool.....thousands of kits.. Visit squiffythewombat's Gallery
Posts: 485
Thanks: 0
Thanked 0 Times in 0 Posts
| Yup cross purposes then! I realise you can use css specifically for one page, ive had to do that for my links page among others.
Many free galleries? on OSC? you have to be joking! They are all terrible, and/or product related! As i dont want to be implmenting mambo or anything like that yet ive made my own. you can see the test gallery at /gallery.php on my site, although ive yet to sort the user submissions etc, i think i will rip this code from the links submissions contrib. Any ideas, or if you know of a decent user gallery contrib please do let me know :-)
Ive not written many from scratch because im still learning php, but ive made an add to favs contrib and a recycling banner contrib although still not sure this is totally de-bugged. Any contrib i change, de-bug or create i try to upload to the forums and things.
This is why i want a PHP coder because i a)cant write contribs from scratch they are way too messy b)dont have the time really! |
| |
26-04-2006
|
#10 (permalink)
| | R.I.P. Respected Member
Join Date: Sep 2005 Location: Basildon Essex Real Name: Nigel My Models: All sorts Visit Nigel.D's Gallery
Posts: 788
Thanks: 0
Thanked 0 Times in 0 Posts
| I may be being incredibly dum here squiff but why not use html or even if your short of time fornt page???? |
| | | Thread Tools | | | | Display Modes | Linear Mode |
Posting Rules
| You may not post new threads You may not post replies You may not post attachments You may not edit your posts HTML code is Off | | | |