The following information is required to get an answer:
Get this information from the PHP diagnostic (in the configuration wizard).
Gallery URL (optional but very useful):http://www.oskgaming.com/Gallery/
Gallery version:1.5-RC2
Apache version:19990320
PHP version (don't just say PHP 4, please):PHP v4.4.1
Graphics Toolkit:
Operating system:FreeBSD 4.11-STABLE
Web browser/version (if applicable):
how can i use something like a cURL to pull recent additions from the gallery and insert then into another webpage?
i use cURL 4 or 5 times in my website and can write the php page for the most part, but i have no idea where and how to grab the data i am looking for.
any ideas?
Posts: 6818
Hello Lark,
can you explain a little more what you would like to do?
Jens
--
Last Gallery v1 Developer.
Tryout the TEST-Version of Gallery 1.6
Posts: 4
yes
on our homepage (www.oskgaming.com/home.php) i'd like to have a small section on the side that might display gallery statistics like total members, total albums, most recent additions, member with the largest gallery, most recent comments, and maybe it'll display a thumbnail of the most recent photo uploaded.
all clickable hopefully, that would take you to the appropriate gallery area
take a look at the forum stats that are displayed on the homepage.
take a look at the members page(www.oskgaming.com/members.php)
IN BOTH EXAMPLES, i've been able to pull data from our forums database and manipulate it and display it the way i've wanted.
i'd like to do the same thing for the gallery, but i don't know the variables and such, or where to even start looking. the major difference is that gallery 1.5 is database driven...so i'm at a loss
EDIT: i just found the stats-wizard.php file...will this help me? it provides url's, but how can i get the data itself and display it how i want?
2ND EDIT: i just found the following files (albumdb.dat, userdb.dat, and photos.dat) and i'm sure there are tons more. these seem to hold the data i am looking for. kinda like a virtual database.
how can i extract the info i am needing?
Posts: 6818
Hi,
Gallery 1.x has NO database at all.
Currently there is no API that returns value via URL.
The page and Gallery must be on the same server, then you can do direct access.
Jens
--
Last Gallery v1 Developer.
Tryout the TEST-Version of Gallery 1.6
Posts: 4
the page and Gallery are on the same server. so how do i direct access? how do i pull the data? for example: how would i return a numerical value of the total number of users?
i don't understand.
Posts: 4
did you give up on me?