|
2018-04-19, 09:50 AM | #26 |
The Original Greenguy (Est'd 1996) & AVN HOF Member - I Crop Pics For Thumbs In My Sleep
|
Nothing? Tough crowd
|
2018-04-19, 10:18 AM | #27 |
Shift Out / X-On
|
|
2018-04-19, 10:21 AM | #28 |
The Original Greenguy (Est'd 1996) & AVN HOF Member - I Crop Pics For Thumbs In My Sleep
|
|
2018-04-19, 10:50 AM | #29 |
You can now put whatever you want in this space :)
|
This is great. Will you be converting LOR now to TGPX?
|
2018-04-19, 10:56 AM | #30 |
The Original Greenguy (Est'd 1996) & AVN HOF Member - I Crop Pics For Thumbs In My Sleep
|
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
|
2018-04-19, 11:47 PM | #31 |
Asleep at the switch? I wasn't asleep, I was drunk
Join Date: Apr 2005
Posts: 214
|
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. |
2018-04-20, 05:49 AM | #32 |
The Original Greenguy (Est'd 1996) & AVN HOF Member - I Crop Pics For Thumbs In My Sleep
|
I ran into an issue yesterday
|
2018-04-20, 09:50 AM | #33 | |
The Original Greenguy (Est'd 1996) & AVN HOF Member - I Crop Pics For Thumbs In My Sleep
|
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:
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? |
|
2018-04-20, 11:09 AM | #34 | |
The Original Greenguy (Est'd 1996) & AVN HOF Member - I Crop Pics For Thumbs In My Sleep
|
I did also try:
getnew=true allowused=false But that doesn't work because: Quote:
age=0 minage=0 Separately & together. Still won't work I am out of ideas |
|
2018-04-20, 11:42 AM | #35 |
Lonewolf Internet Sales
|
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. |
2018-04-20, 11:48 AM | #36 | |
The Original Greenguy (Est'd 1996) & AVN HOF Member - I Crop Pics For Thumbs In My Sleep
|
Quote:
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> |
|
2018-04-20, 12:18 PM | #37 |
Lonewolf Internet Sales
|
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. |
2018-04-20, 12:35 PM | #38 |
The Original Greenguy (Est'd 1996) & AVN HOF Member - I Crop Pics For Thumbs In My Sleep
|
Unfortunately, I agree
|
|
|