Greenguy's Board


Go Back   Greenguy's Board > Programming & Scripting
Register FAQ Calendar Today's Posts

Reply
 
Thread Tools Search this Thread Rate Thread Display Modes
Old 2005-04-20, 01:45 PM   #1
flashingfrank
Internet! Is that thing still around?
 
Join Date: Apr 2005
Posts: 3
AutoGallery SQL problem

hello everyone!

i am testing the free version of agsql.
before i buy a licence i wanted to know if the following is possible:

i want to have 4 tables with 5x5 thumbs.
every table represents one day. (galleries in the first table are 1 day old, in the second 2days...)

the first three rows should include submitted galleries and the last two permanent ones.

which code do i have to use to get the permanent galleries, that have been shown in the first table one day ago, to display in the second table.

i believe this is a pretty commen task, but i canīt figure out the code.


greetz
ff
flashingfrank is offline   Reply With Quote
Old 2005-04-22, 08:01 AM   #2
frankthetank
Stupid risks make life worth living
 
Join Date: Jan 2005
Location: Renesse NL
Posts: 386
Send a message via ICQ to frankthetank
Quote:
Originally Posted by flashingfrank
hello everyone!

i am testing the free version of agsql.
before i buy a licence i wanted to know if the following is possible:

i want to have 4 tables with 5x5 thumbs.
every table represents one day. (galleries in the first table are 1 day old, in the second 2days...)

the first three rows should include submitted galleries and the last two permanent ones.

which code do i have to use to get the permanent galleries, that have been shown in the first table one day ago, to display in the second table.

i believe this is a pretty commen task, but i canīt figure out the code.


greetz
ff

There isnīt a free version of autogallery sql. The free version is autogallery and it doesnīt use a database, just a plain textfile.

You can group submitted galleries with the free version, but permanent galleries must be done with manual coding. Thatīs where the freeversion and the sql version differ. And the free version doesnīt support thumbs.

Here is an example of templates for two days. Just add more templates to get more different dates. You can add the date of posting as well.

<%TEMPLATE
NAME Today
HTML <a href="##Gallery_URL##" target="_blank">##Description##</a><br />
%>

<%TEMPLATE
NAME Yesterday
HTML <a href="##Gallery_URL##" target="_blank">##Description##</a><br />
%>

In the html code of your page you have to refer to the templates defined in the head of your page.

But you have to read the manual as well, itīs very instructive for this problem.
frankthetank is offline   Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 04:48 PM.


Mark Read
Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Đ Greenguy Marketing Inc