GoFuckYourself.com - Adult Webmaster Forum

GoFuckYourself.com - Adult Webmaster Forum (https://gfy.com/index.php)
-   Webmaster Q & Fuckin' A (https://gfy.com/forumdisplay.php?f=27)
-   -   Integrating Autogallery SQL into my TGP (https://gfy.com/showthread.php?t=536886)

ForceWielder 11-05-2005 03:39 PM

Integrating Autogallery SQL into my TGP
 
I am having trouble integrating Autogallery SQL into my TGP page and if there are a few pointers anyone has, I would be grateful if you were able to share them with me. I have been told that the thumbnail section needs to be resliced.

Right now the TGP page can be seen at www.americanpornidol.net/tgp.html

The current design is all set but I do not know how to place the thumb galleries in the specific sections I have, only the text galleries so far.

Is it a matter of working on the HTML code in the background so that the links show up in the right place?

Anyways, any help would be much appreciated and I can be reached at 226-764-487 on ICQ or HawkmasterEnt on AIM.

DaveMac 11-05-2005 03:59 PM

Just insert this where you want the thumbs to appear:

<%GALLERIES
HASTHUMB 1
TYPE Submitted
CATEGORY Mixed
AMOUNT 16
GETNEW True
ORDER Approve_Stamp
REORDER Build_Counter
HTML Thumb

INSERT
{
LOCATION +4
HTML </tr><tr>
}
%>

And have this in your template:

<%TEMPLATE
NAME Thumb
HTML <td><a href="##Gallery_URL##" target="_blank"><img src="##Thumbnail_URL##" border="0" alt="Thumb"></a></td>
%>

ForceWielder 11-05-2005 06:21 PM

Do I place the <%GALLERIES code into each section where my thumbs are (each little box where a thumb will show), or in the general area (larger box containing the smaller thumb boxes)?

Also, do I place the <%TEMPLATE code in the autogallery sql somewhere, or within the code of the webpage?

I'm also curious on what each line represents in the code you sent me.

DaveMac 11-05-2005 08:32 PM

Are you using the newer version of AutoGallery SQL

In edit your template, this should be on top in your template:

<%TEMPLATE
NAME Thumb
HTML <td><a href="##Gallery_URL##" target="_blank"><img src="##Thumbnail_URL##" border="0" alt="Thumb"></a></td>
%>

And this should be in your tables where you want to show your thumbs:

<%GALLERIES
HASTHUMB 1
TYPE Submitted
CATEGORY Mixed
AMOUNT 16
GETNEW True
ORDER Approve_Stamp
REORDER Build_Counter
HTML Thumb

INSERT
{
LOCATION +4
HTML </tr><tr>
}
%>

The above code should give you 4 thumbs in each row for a total of 16 thumbs and this code only works in the newer versions.


All times are GMT -7. The time now is 07:16 AM.

Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123