Greenguy's Board


Go Back   Greenguy's Board > General Business Knowledge
Register FAQ Calendar Search Today's Posts Mark Forums Read

Reply
 
Thread Tools Search this Thread Rate Thread Display Modes
Old 2018-04-19, 09:50 AM   #26
Greenguy
The Original Greenguy (Est'd 1996) & AVN HOF Member - I Crop Pics For Thumbs In My Sleep
 
Greenguy's Avatar
 
Join Date: Feb 2003
Location: Blasdell, NY (shithole suburb south of Buffalo)
Posts: 41,705
Send a message via ICQ to Greenguy
Nothing? Tough crowd
__________________

Promote POV Porn Cash By Building & Submitting Galleries to the Porn Luv Network
Greenguy is offline   Reply With Quote
Old 2018-04-19, 10:18 AM   #27
pc
Shift Out / X-On
 
pc's Avatar
 
Join Date: Jul 2007
Location: unknown
Posts: 2,298
Send a message via ICQ to pc
Quote:
Originally Posted by Greenguy View Post
Nothing? Tough crowd
Now they all adjusting own templates
pc is offline   Reply With Quote
Old 2018-04-19, 10:21 AM   #28
Greenguy
The Original Greenguy (Est'd 1996) & AVN HOF Member - I Crop Pics For Thumbs In My Sleep
 
Greenguy's Avatar
 
Join Date: Feb 2003
Location: Blasdell, NY (shithole suburb south of Buffalo)
Posts: 41,705
Send a message via ICQ to Greenguy
Quote:
Originally Posted by pc View Post
Now they all adjusting own templates
__________________

Promote POV Porn Cash By Building & Submitting Galleries to the Porn Luv Network
Greenguy is offline   Reply With Quote
Old 2018-04-19, 10:50 AM   #29
ArtWilliams
You can now put whatever you want in this space :)
 
ArtWilliams's Avatar
 
Join Date: Sep 2004
Location: Toronto, Canada
Posts: 6,244
Send a message via ICQ to ArtWilliams
This is great. Will you be converting LOR now to TGPX?
ArtWilliams is offline   Reply With Quote
Old 2018-04-19, 10:56 AM   #30
Greenguy
The Original Greenguy (Est'd 1996) & AVN HOF Member - I Crop Pics For Thumbs In My Sleep
 
Greenguy's Avatar
 
Join Date: Feb 2003
Location: Blasdell, NY (shithole suburb south of Buffalo)
Posts: 41,705
Send a message via ICQ to Greenguy
Quote:
Originally Posted by artwilliams View Post
This is great. Will you be converting LOR now to TGPX?
Yuppers pc's gonna help me with it (meaning he does all the tech stuff & tries to read my mind about how I want things while I do grunt work). That's been the plan for about a week now, so this is me trying to learn how to do all the stuff I've been doing via workarounds for the last year
__________________

Promote POV Porn Cash By Building & Submitting Galleries to the Porn Luv Network
Greenguy is offline   Reply With Quote
Old 2018-04-19, 11:47 PM   #31
sarettah
Asleep at the switch? I wasn't asleep, I was drunk
 
Join Date: Apr 2005
Posts: 214
Quote:
Originally Posted by Greenguy View Post
Nothing? Tough crowd
I meant to tell you congrats on fleshing it all out but I got distracted and never made the post

Sorry for that.

Very cool that you got it all working.
sarettah is offline   Reply With Quote
Old 2018-04-20, 05:49 AM   #32
Greenguy
The Original Greenguy (Est'd 1996) & AVN HOF Member - I Crop Pics For Thumbs In My Sleep
 
Greenguy's Avatar
 
Join Date: Feb 2003
Location: Blasdell, NY (shithole suburb south of Buffalo)
Posts: 41,705
Send a message via ICQ to Greenguy
I ran into an issue yesterday
__________________

Promote POV Porn Cash By Building & Submitting Galleries to the Porn Luv Network
Greenguy is offline   Reply With Quote
Old 2018-04-20, 09:50 AM   #33
Greenguy
The Original Greenguy (Est'd 1996) & AVN HOF Member - I Crop Pics For Thumbs In My Sleep
 
Greenguy's Avatar
 
Join Date: Feb 2003
Location: Blasdell, NY (shithole suburb south of Buffalo)
Posts: 41,705
Send a message via ICQ to Greenguy
Yesterday I started playing around with this on the Amateur category page of Porn Luv. There's 100 galleries on there & I wanted new galleries 1st, followed by random fillers. I got the new galleries up top, followed by galleries basically loading in the order they were added to the admin, so even though I have this in there for the fillvar galleries:
order=RAND()
reorder=RAND()}


What I think I'm getting is:
order=date_approved
reorder=date_approved}


Which, just so happens to be the default setting for order:
Quote:
order (optional, defaults to date_approved)
I even put the exact coding from the filler_galleries.txt example...same fucking thing

I am now convinced that this does not work the way it's intended to & that, instead of using the coding that's in the filler galleries area, it ignores that, gets confused, and just fills in the rest of the galleries with the default "order" command (which, BTW, is optional) of date_approved.

It's very possible that they never noticed this because his example uses "order=date_approved" for the filler galleries, which is what they got, not because they coded it that way, but because it's the default.

OR

Am I just missing something and, as usual, I'm just dumb?
__________________

Promote POV Porn Cash By Building & Submitting Galleries to the Porn Luv Network
Greenguy is offline   Reply With Quote
Old 2018-04-20, 11:09 AM   #34
Greenguy
The Original Greenguy (Est'd 1996) & AVN HOF Member - I Crop Pics For Thumbs In My Sleep
 
Greenguy's Avatar
 
Join Date: Feb 2003
Location: Blasdell, NY (shithole suburb south of Buffalo)
Posts: 41,705
Send a message via ICQ to Greenguy
I did also try:
getnew=true
allowused=false
But that doesn't work because:
Quote:
getnew (optional, defaults to true)
true or false. Use this value to specify if new galleries should be pulled for display. When this value is set to true, galleries with Approved status will be pulled for display when a Build With New type of build is done. When this value is set to false, galleries that have previously been selected for display from Approved status will be pulled for display.
So I tried both:
age=0
minage=0
Separately & together. Still won't work I am out of ideas
__________________

Promote POV Porn Cash By Building & Submitting Galleries to the Porn Luv Network
Greenguy is offline   Reply With Quote
Old 2018-04-20, 11:42 AM   #35
Toby
Lonewolf Internet Sales
 
Toby's Avatar
 
Join Date: Mar 2005
Location: Houston
Posts: 4,826
Send a message via ICQ to Toby
You have to do it in two sections. First for the new, then for the filler, in order to be able to specify different sort order parameters for the two. That's where the fillvar comes into play for the second section, so that it can compute the number of fill galleries needed based on how many new were found in the first section.

Visibly it will appear to be one section, but it requires two separate sections of code in the template.
Toby is offline   Reply With Quote
Old 2018-04-20, 11:48 AM   #36
Greenguy
The Original Greenguy (Est'd 1996) & AVN HOF Member - I Crop Pics For Thumbs In My Sleep
 
Greenguy's Avatar
 
Join Date: Feb 2003
Location: Blasdell, NY (shithole suburb south of Buffalo)
Posts: 41,705
Send a message via ICQ to Greenguy
Quote:
Originally Posted by Toby View Post
You have to do it in two sections. First for the new, then for the filler, in order to be able to specify different sort order parameters for the two. That's where the fillvar comes into play for the second section, so that it can compute the number of fill galleries needed based on how many new were found in the first section.

Visibly it will appear to be one section, but it requires two separate sections of code in the template.
Isn't that what this is?

Code:
<table style="text-align:center;" align="center" cellpadding="0" cellspacing="0" width="100%">
<tr>
{* Load 52 galleries *}
{galleries
var=$galleries
type=permanent
format=any
getnew=true
allowused=false
description=true
preview=true
amount=52
previewsize=180x180
category=Latina
sponsor=any
order=date_approved DESC
reorder=date_approved DESC}

{* Load filler galleries if 52 galleries were not available in the previous galleries section *}
{galleries
var=$fillergalleries
fillvar=$galleries
type=permanent
format=any
getnew=true
allowused=true
description=true
preview=true
amount=52
previewsize=180x180
category=Latina
sponsor=any
order=RAND()
reorder=RAND()}

{* Place the filler galleries at the end *}
{intermix var=$galleries from=$galleries,$fillergalleries location=end}

{* Display loaded galleries as thumbnails in a 4 per row format *}
{foreach from=$galleries var=$gallery counter=$counter}
<td align="center" valign="top" style="text-align:center;" width="25%">
<a href="{$gallery.gallery_url|htmlspecialchars}" title="{$gallery.description|htmlspecialchars}"><img src="{$gallery.preview_url|htmlspecialchars}" width="180" height="180" border="2" alt="{$gallery.description|htmlspecialchars}"></a><br><br>
</td>
{insert counter=$counter location=+4 max=48}
</tr><tr>
{/insert}
{/foreach}
</tr>
</table>
__________________

Promote POV Porn Cash By Building & Submitting Galleries to the Porn Luv Network
Greenguy is offline   Reply With Quote
Old 2018-04-20, 12:18 PM   #37
Toby
Lonewolf Internet Sales
 
Toby's Avatar
 
Join Date: Mar 2005
Location: Houston
Posts: 4,826
Send a message via ICQ to Toby
Quote:
Originally Posted by Greenguy View Post
Isn't that what this is?
Yeah, that matches the example given in the documentation.

All I can figure at this point is that the sort order from the new section is somehow overriding the merged order.
Toby is offline   Reply With Quote
Old 2018-04-20, 12:35 PM   #38
Greenguy
The Original Greenguy (Est'd 1996) & AVN HOF Member - I Crop Pics For Thumbs In My Sleep
 
Greenguy's Avatar
 
Join Date: Feb 2003
Location: Blasdell, NY (shithole suburb south of Buffalo)
Posts: 41,705
Send a message via ICQ to Greenguy
Unfortunately, I agree
__________________

Promote POV Porn Cash By Building & Submitting Galleries to the Porn Luv Network
Greenguy is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

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 05:59 AM.


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