• In case Jewish holidays aren't your thing, remember that there is a Festivus for the rest of us!
  • Merry Christmas guys! Tonight we burn the oil full chooch!

Feature requests, suggestions, and shit like this

useless elements
Share Bar.png
Oh, apologies for being needy but do you intend to create a random.txt element? Still too early to launch but it'd be fun to start collecting them in a thread
 
Oh, apologies for being needy but do you intend to create a random.txt element? Still too early to launch but it'd be fun to start collecting them in a thread
There is a random.txt thread already. As far as implementation goes, I'm not sure how the other three sites are doing it. I searched and couldn't find an add-on, or other method that reads random single lines from a text file and displays them. I asked about this back in September. Without knowing, I'd have to roll my own solution.
I thought I had turned off that social media bullshit. I'll have to look at that.
 
As far as implementation goes, I'm not sure how the other three sites are doing it.
ACP>Setup>Advertising>Add Advertisement>Position where you want it>Use
<div class="p-header-quote u-hideWide">
<xf:set var="$quote.1">Random text #1</xf:set>
<xf:set var="$quote.2">Random text #2</xf:set>
<xf:set var="$quote.3">Random text #3</xf:set>
<xf:set var="$quote.4">Random text #4</xf:set>
<xf:set var="$quote.5">Random text #5</xf:set>
{$quote.{{ ($xf.time % 5) + 1 }}|raw}
</div>
to manually input quotes, remembering to change the xf.time value to the number of used quotes. Or something.
Idk how to automate it to pull from a file, I like women too much
 
ACP>Setup>Advertising>Add Advertisement>Position where you want it>Use
<div class="p-header-quote u-hideWide">
<xf:set var="$quote.1">Random text #1</xf:set>
<xf:set var="$quote.2">Random text #2</xf:set>
<xf:set var="$quote.3">Random text #3</xf:set>
<xf:set var="$quote.4">Random text #4</xf:set>
<xf:set var="$quote.5">Random text #5</xf:set>
{$quote.{{ ($xf.time % 5) + 1 }}|raw}
</div>
to manually input quotes, remembering to change the xf.time value to the number of used quotes. Or something.
Idk how to automate it to pull from a file, I like women too much
I've seen this. I've commented about it, even. It's easy to set up initially, but far too much effort to add new quotes if you're doing it manually.

I suppose I could write a script to take a text file and wrap each line in that less code, add the header and footer with a computed value for $xf.time based on the number of lines in the input, and manually copy/paste the result into the Advertisement box. It could work and I might go this route, but this is two more steps than it has to be and I doubt this is how the other sites are doing it.
 
@Gargamel
Loving the new stickers and am very happy to find :troonion: found its logical home.
Can we have a minimalistic chat plug-in? Obviously don't integrate it fucking everywhere like Josh originally did but if the homepage had a logged-in only chat widget I think that'd be swell
 
Back
Top