TGPX Template Setup
- BrasSmonkey
- Verified Member

- Posts: 7893
- Joined: February 28th, 2018, 6:31 pm
- Title: Smell My Sack
- Referrals: 1
- Contact:
Re: TGPX Template Setup
email me the template 
THE LAKEN RILEY ACT IS NOW LAW!!! TRUMP 2025!!!
DACA HAS ENDED!!! email: brassballz-@-techie.com
DACA HAS ENDED!!! email: brassballz-@-techie.com
-
Zug
- Banned

- Posts: 418
- Joined: February 11th, 2023, 9:19 am
- Referrals: 4
Well, that is what I am asking for, I don't have a template to initialize to even work with yet.
- TheButcher
- Administrator

- Posts: 17530
- Joined: February 2nd, 2018, 11:48 am
- Title: I like weekends
- Referrals: 1
- Contact:
Filmlatex aka Hincapie who used to own adultlist.com did some updates to the scripts have a look at his thread.
https://www.sponsorchat.com/viewtopic.p ... hilit=tgpx
https://www.sponsorchat.com/viewtopic.p ... hilit=tgpx
- BrasSmonkey
- Verified Member

- Posts: 7893
- Joined: February 28th, 2018, 6:31 pm
- Title: Smell My Sack
- Referrals: 1
- Contact:
- trafficseller
- Verified Member

- Posts: 1142
- Joined: March 1st, 2018, 6:44 pm
How is this going Zug?
Always looking to make deals with world wide traffic ping me if inetrested
-
Zug
- Banned

- Posts: 418
- Joined: February 11th, 2023, 9:19 am
- Referrals: 4
Thanks, I may do that if I can't figure this out. The template are ancient coding.BrasSmonkey wrote: ↑June 26th, 2023, 7:29 pmemail me what you need. i have thumb and text
Figured out how to generate a basic template so far. But trying to get it to use my php, bootstrap and css etc ... that may be something else. Tons of settings to work through.
TGPX tpl:
Code: Select all
{define name=globaldupes value=true}
{define name=pagedupes value=false}
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
{if $page_category.meta_description}
<meta name="description" content="{$page_category.meta_description|htmlspecialchars}">
{/if}
{if $page_category.meta_keywords}
<meta name="keywords" content="{$page_category.meta_keywords|htmlspecialchars}">
{/if}
<title>TGP</title>
<style type="text/css">
body { font-size: 12px; font-family: Verdana; }
td { font-size: 12px; font-family: Verdana; }
.powered-by { font-size: 8pt; font-family: Verdana; text-align: center; }
.powered-by > a { font-size: 8pt; font-family: Verdana; }
</style>
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div align="center">
<span style="font-size: 20pt; font-weight: bold;">TGP</span><br />
Links to {$total_thumbnails|tnumber_format} free pictures and movies!<br />
Updated {date value='today' format='m-d-Y'}
<br /><br />
<form method="get" action="{$config.install_url}/search.php">
<input type="text" name="s" size="30" value="">
<select name="c">
<option value="">All Categories</option>
{options from=$search_categories key=tag value=name}
</select>
<select name="f">
<option value="">All Formats</option>
<option value="pictures">Pictures</option>
<option value="movies">Movies</option>
<option value="mixed">Mixed</option>
</select>
<input type="hidden" name="pp" value="20">
<input type="hidden" name="mt" value="180x130">
<input type="hidden" name="pt" value="150x150">
<input type="submit" value="Search">
</form>
<br />
</div>
<table align="center" cellpadding="5" border="0">
<tr>
{* Load 20 galleries *}
{galleries
var=$galleries
preview=true
type=any
category=MIXED
amount=20
getnew=true
allowused=true
order=date_approved
reorder=date_displayed DESC, date_approved}
{* Display loaded galleries as thumbnails in a 5 per row format *}
{foreach from=$galleries var=$gallery counter=$counter}
<td><a href="{$gallery.gallery_url|htmlspecialchars}" target="_blank"><img src="{$gallery.preview_url|htmlspecialchars}" border="0" alt="Thumb"></a></td>
{insert location=+5 counter=$counter max=15}
</tr><tr>
{/insert}
{/foreach}
</tr>
</table>
<br />
<table align="center">
<tr>
<td valign="top">
{* Load 100 galleries *}
{galleries
var=$galleries
preview=any
type=any
category=MIXED
amount=100
getnew=true
allowused=true
order=date_approved
reorder=date_displayed DESC, date_approved}
{* Display loaded galleries as text links in 2 columns (50 per column) *}
{foreach from=$galleries var=$gallery counter=$counter}
{$gallery.date|tdate} <a href="{$gallery.gallery_url|htmlspecialchars}" target="_blank">{$gallery.thumbnails|htmlspecialchars} {$gallery.category|htmlspecialchars}</a><br />
{if $counter == 50}
</td><td width="100"></td><td valign="top">
{/if}
{/foreach}
</td>
</tr>
</table>
<br />
<div align="center">
<b><a href="{$config.install_url}/submit.php">Submit A Gallery</a></b>
</div>
<br />
</body>
</html>generated html:
Code: Select all
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<title>TGP</title>
<style type="text/css">
body { font-size: 12px; font-family: Verdana; }
td { font-size: 12px; font-family: Verdana; }
.powered-by { font-size: 8pt; font-family: Verdana; text-align: center; }
.powered-by > a { font-size: 8pt; font-family: Verdana; }
</style>
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div align="center">
<span style="font-size: 20pt; font-weight: bold;">TGP</span><br />
Links to 0 free pictures and movies!<br />
Updated 06-27-2023
<br /><br />
<form method="get" action="http://..com/photo-galleries/tgpx/search.php">
<input type="text" name="s" size="30" value="">
<select name="c">
<option value="">All Categories</option>
<option value="e773f10dbf24cb83211f1212ee052c57">cat 1</option>
<option value="81352b8328157b182ed6bffb9ee2716d">cat 2</option>
<option value="3e11e15ee31dae0b1caf779d48451d12">cat 3</option>
<option value="2d0dcf20e0f71b3604444ac2f47eac20">cat 4</option>
</select>
<select name="f">
<option value="">All Formats</option>
<option value="pictures">Pictures</option>
<option value="movies">Movies</option>
<option value="mixed">Mixed</option>
</select>
<input type="hidden" name="pp" value="20">
<input type="hidden" name="mt" value="180x130">
<input type="hidden" name="pt" value="150x150">
<input type="submit" value="Search">
</form>
<br />
</div>
<table align="center" cellpadding="5" border="0">
<tr>
</tr>
</table>
<br />
<table align="center">
<tr>
<td valign="top">
</td>
</tr>
</table>
<br />
<div align="center">
<b><a href="http://..com/photo-galleries/tgpx/submit.php">Submit A Gallery</a></b>
</div>
<br />
</body>
</html>- BrasSmonkey
- Verified Member

- Posts: 7893
- Joined: February 28th, 2018, 6:31 pm
- Title: Smell My Sack
- Referrals: 1
- Contact:
yeah without text it wont index well. fix the alt tags and add nofollow if they are not linking to your sites.
THE LAKEN RILEY ACT IS NOW LAW!!! TRUMP 2025!!!
DACA HAS ENDED!!! email: brassballz-@-techie.com
DACA HAS ENDED!!! email: brassballz-@-techie.com
-
Zug
- Banned

- Posts: 418
- Joined: February 11th, 2023, 9:19 am
- Referrals: 4
Yeah .. I'm still working it all out; just getting started. Having a server issue atm.BrasSmonkey wrote: ↑June 27th, 2023, 4:33 pmyeah without text it wont index well. fix the alt tags and add nofollow if they are not linking to your sites.![]()
-
Zug
- Banned

- Posts: 418
- Joined: February 11th, 2023, 9:19 am
- Referrals: 4
I'll take a few test gal submits .. No hardcore. Preview thumb should be non-nude. This is just a test! I still have much to do. Trying to let submitters be able to crop preview thumb (392x697) .. minimum images = 8; maximum images = 16; Minimum Gallery Thumb Size = 100x300 (?); Maximum Gallery Thumb Size = 400x700; Select up to 2 Categories ... thumbs outcome should look more like this when I get it done.
I'll keep the submit page open until tmw when I get back at it.
Thank you.
I'm going to bed now. zzz
I'll keep the submit page open until tmw when I get back at it.
Thank you.
I'm going to bed now. zzz
-
voyeurz
- Verified Member

- Posts: 676
- Joined: January 26th, 2019, 11:39 am
Zug wrote: ↑June 27th, 2023, 11:28 pmI'll take a few test gal submits .. No hardcore. Preview thumb should be non-nude. This is just a test! I still have much to do. Trying to let submitters be able to crop preview thumb (392x697) .. minimum images = 8; maximum images = 16; Minimum Gallery Thumb Size = 100x300 (?); Maximum Gallery Thumb Size = 400x700; Select up to 2 Categories ... thumbs outcome should look more like this when I get it done.
I'll keep the submit page open until tmw when I get back at it.
Thank you.
I'm going to bed now. zzz
Test page looks fine
-
NSWDave
- Verified Member

- Posts: 1151
- Joined: September 11th, 2021, 8:31 pm
- Title: Aussie man
If they made sales why have so many tgp's closed up or been turned into a tube site?
-
Zug
- Banned

- Posts: 418
- Joined: February 11th, 2023, 9:19 am
- Referrals: 4
Thanks. I think i have most of it worked out. Had some folder permissions issues for a minute. Should be ok now. Still have a few things I need to figure out. Like having the TGPX templates include PHP includes and to include traffic trade templates from TE and and things. I don't understand it. I have to re-read the docs about it. Anyone have any tips?voyeurz wrote: ↑June 28th, 2023, 11:02 amTest page looks fineZug wrote: ↑June 27th, 2023, 11:28 pmI'll take a few test gal submits .. No hardcore. Preview thumb should be non-nude. This is just a test! I still have much to do. Trying to let submitters be able to crop preview thumb (392x697) .. minimum images = 8; maximum images = 16; Minimum Gallery Thumb Size = 100x300 (?); Maximum Gallery Thumb Size = 400x700; Select up to 2 Categories ... thumbs outcome should look more like this when I get it done.
I'll keep the submit page open until tmw when I get back at it.
Thank you.
I'm going to bed now. zzz
Also, I need to be able have a tester to test sign up for a partner account and see if it works. Not sure if I have the emailer settings right. And for someone to test the submitter to submit a gallery.
Other than that, it's just a matter of some more time to set up some pages and add content and some tweaks here and there; figure in the search also, eventually.
Thank you.
- BrasSmonkey
- Verified Member

- Posts: 7893
- Joined: February 28th, 2018, 6:31 pm
- Title: Smell My Sack
- Referrals: 1
- Contact:
yeah
THE LAKEN RILEY ACT IS NOW LAW!!! TRUMP 2025!!!
DACA HAS ENDED!!! email: brassballz-@-techie.com
DACA HAS ENDED!!! email: brassballz-@-techie.com
-
Zug
- Banned

- Posts: 418
- Joined: February 11th, 2023, 9:19 am
- Referrals: 4