View Single Post
Old 10-18-2016, 03:40 AM  
druid66
Confirmed User
 
Join Date: Feb 2006
Posts: 994
TGPX not pulling galls..

this question probably was milion times, yet i'm failing do do this right again ffs.
so i've browsed one of my tgp and i see there are around 100 galleries ready to be posted (approved) that are waiting since 2014, everything looks exactly the same as other galleries (posted) but somehow tgpx not pulling those.
my tgp have few blocks here's code:

Code:
{define name=globaldupes value=true}
{define name=pagedupes value=false}

{galleries
var=$galleries
type=permanent
format=any
getnew=false
allowused=true
preview=true
amount=14
category=cutiepost
sponsor=any
maxage=14
order=(clicks/build_counter) DESC, RAND()
reorder=(clicks/build_counter) DESC, RAND()}
{foreach from=$galleries var=$gallery counter=$counter}
<a href="http://www.gfy.com/go2.php?id={$gallery.gallery_id|urlencode}&amp;u={$gallery.gallery_url|urlencode}" target="_blank"><img src="{$gallery.preview_url|htmlspecialchars}" border="0" alt="{$gallery.description|htmlspecialchars}"></a>
{insert location=+7 counter=$counter max=14}
{/insert}
{/foreach}


{galleries
var=$galleries
type=permanent
format=any
getnew=true
allowused=false
preview=true
amount=7
category=cutiepost
sponsor=any
age=1
order=RAND()
order=(clicks/build_counter) DESC, RAND()
reorder=date_displayed DESC,  RAND()}
{foreach from=$galleries var=$gallery counter=$counter}
<a href="http://www.gfy.com/go2.php?id={$gallery.gallery_id|urlencode}&amp;u={$gallery.gallery_url|urlencode}" target="_blank"><img src="{$gallery.preview_url|htmlspecialchars}" border="0" alt="{$gallery.description|htmlspecialchars}"></a>
{insert location=+7 counter=$counter max=7}



{* PULL THE PERMANENT GALLERIES FROM THE DATABASE *}
{galleries
var=$galleries
type=permanent
format=any
getnew=false
allowused=true
preview=true
amount=115
category=cutiepost
maxage=14
sponsor=any
order=(clicks/build_counter) DESC, RAND()
reorder=date_displayed DESC,  RAND()}

{* DISPLAY ALL OF THE GALLERIES *}
{foreach var=$gallery from=$galleries counter=$counter}
<a href="http://www.gfy.com/go2.php?id={$gallery.gallery_id|urlencode}&amp;u={$gallery.gallery_url|urlencode}" target="_blank"><img border="1" class="pic" src="{$gallery.preview_url|htmlspecialchars}" border="0" alt="{$gallery.description|htmlspecialchars}"></a>
{insert counter=$counter location=+7 max=115}
anyone please tell me what did i fucked up this time?
__________________
Pure Japan japanese babes blog
druid66 is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote