May I have some PHP coding help please?
|
12-11-2006, 03:17 AM,
Post: #11
|
|||
|
|||
Re: May I have some PHP coding help please?
Just to be clear, yarn.gif was not there before. I added it after I adopted the php version of this thing. It put teevee.gif first for some reason [backwards alphabetical] so I chose yarn.gif to see if it would scoot it in line alphabetically. It did NOT, so it proves that what the instructions say about not having it filedate order is just BOgus. :'(
|
|||
12-11-2006, 03:27 AM,
Post: #12
|
|||
|
|||
Re: May I have some PHP coding help please?
Quote:He swears up and down that it will sort them by filename if you do such and such but it will NOT. I couldn't get it to sort by filename. Quote:Any recommendations on a gallery proggie that will do this? The only gallery programs I know are very large programs like Coppermine and Image Gallery. I'm graphics challenged.
"Well, Jay was so giddy that someone named Jay was involved with this site we posted our first non-eBay listing in 3 years here at Lunarbid (we tried two items at Yahoo once upon a time, they bombed)" -Marie posting in a LunarBid thread at OTWA in 2005 wins the award for 'most moronic reason ever given for choosing a venue"
"thanks twat u must have nothing better 2 do. do u talk to all your members like that. will not be recomending your site. best way to put it is TULIPTOOLS.COM IS REALLY SHIT. DONT JOIN." -pubescent owner of rinky dink off2auction.com in 2011 |
|||
12-11-2006, 03:33 AM,
Post: #13
|
|||
|
|||
Re: May I have some PHP coding help please?
Suddenly it works! I tried once more the change suggested which was
if (gsortorder=="asc" || gsortorder=="desc") galleryarray.sort(sortbydate) else galleryarray.sort() instead of if (gsortorder=="asc" || gsortorder=="desc") galleryarray.sort(sortbydate) That did not work before, but now suddenly it does! Sometimes, I think my server hates me. You know? BBH, thanks for your time, energy, help, consideration, etc. Since I'm on a roll I am going to try your original suggestion one more time and will post back if it works. |
|||
12-11-2006, 03:44 AM,
Post: #14
|
|||
|
|||
Re: May I have some PHP coding help please?
:o No, it didn't work, and now it isn't working again. Good lord. My server is the problem, evidently. It doesn't know how to alphabetize. I think AmericanBison should come before APferriswheel, but what the heck do I know. : :-X :-\
I will go away now. |
|||
12-11-2006, 04:43 AM,
Post: #15
|
|||
|
|||
Re: May I have some PHP coding help please?
[quote author=PG :o} link=topic=6277.msg36119#msg36119 date=1165808664]
:o No, it didn't work, and now it isn't working again. Good lord. My server is the problem, evidently. It doesn't know how to alphabetize. I think AmericanBison should come before APferriswheel, but what the heck do I know. : :-X :-\ [/quote] Capitals are sorted first by some programs and file systems because linux/unix filenames are case sensitive. You could have 2 different files in the same directory named: APferriswheel.jpg and apferriswheel.jpg |
|||
12-11-2006, 05:07 AM,
Post: #16
|
|||
|
|||
Re: May I have some PHP coding help please?
I might have what you are looking for on my image hosting site;
http://www.gotnetspace.com/pf.php?fid=42# that makes clickable galleries |
|||
12-11-2006, 03:55 PM,
Post: #17
|
|||
|
|||
Re: May I have some PHP coding help please?
Yes, regic, I figured out that it was capitalization! I did not know that about linux servers, though. It takes some getting used to.
WGS, thanks! Since I have this thing working fairly well now, I think I will stick with it. I have all those pages to change over, but that's kind of the fun part. : |
|||
12-11-2006, 08:37 PM,
Post: #18
|
|||
|
|||
Re: May I have some PHP coding help please?
[quote author=PG :o} link=topic=6277.msg36223#msg36223 date=1165852554]
Since I have this thing working fairly well now, I think I will stick with it. I have all those pages to change over, but that's kind of the fun part. : [/quote] At least you got it working...which is more than I was able to do with it last night. :-[
"Well, Jay was so giddy that someone named Jay was involved with this site we posted our first non-eBay listing in 3 years here at Lunarbid (we tried two items at Yahoo once upon a time, they bombed)" -Marie posting in a LunarBid thread at OTWA in 2005 wins the award for 'most moronic reason ever given for choosing a venue"
"thanks twat u must have nothing better 2 do. do u talk to all your members like that. will not be recomending your site. best way to put it is TULIPTOOLS.COM IS REALLY SHIT. DONT JOIN." -pubescent owner of rinky dink off2auction.com in 2011 |
|||
12-11-2006, 10:10 PM,
Post: #19
|
|||
|
|||
Re: May I have some PHP coding help please?
Good job, PG!
[quote author=bargainbloodhound link=topic=6277.msg36287#msg36287 date=1165869445] [quote author=PG :o} link=topic=6277.msg36223#msg36223 date=1165852554] Since I have this thing working fairly well now, I think I will stick with it. I have all those pages to change over, but that's kind of the fun part. : [/quote] At least you got it working...which is more than I was able to do with it last night. :-[ [/quote] At least you were nice enough to try. |
|||
12-12-2006, 02:47 AM,
Post: #20
|
|||
|
|||
Re: May I have some PHP coding help please?
I will echo that, Bellisima! BBH was very kind to take the time to upload and debug that entire script! It's nice to know I have a place to come to to get help like this.
I've read a few tutorials on javascript and php. It seems like it is too easy at first, and then BOOM! I feel like I must have missed a big part. It makes me mad. I think the best way for me, personally, to learn this stuff is to take an existing script, and try to understand what it is saying in each part. But I don't know how I'd go about that. I found a card game script that I wanted to adapt (make smaller). The first problem it had was that even in its original form, it would not validate html-wise. I wanted to know why. Also, when I changed its coloration, it wouldn't work. I wanted to know why. Nowhere could I find out, so I just gave up. But it was a fun game, called SET. |
|||
« Next Oldest | Next Newest »
|
Users browsing this thread: 2 Guest(s)