« first day (1564 days earlier)      last day (3380 days later) » 

 
2 hours later…
12:19 PM
that @vivaldibrowser sounds more like new Opera than actual “new” @Opera #yesplease
 
 
1 hour later…
anu
1:30 PM
It's still Chrome, isn't it?
 
1:46 PM
Well but nowadays for most of the stuff it doesn't really matter what engine sits underneath unless it is trident. The real difference sits in UI and extendability if you ask me.
 
2:00 PM
@anu yep, but I don't care about that part. I care that they are actually doing UI that does what Opera does (did)
 
2:26 PM
@Rarst Do I remember right that you recently mentioned (tweeted?) some tool to auto-generate composer packages for plugins that only offer zip-downloads? Or am I making this up?
 
Even better! Will have a look at it. Thx.
 
2:53 PM
Without bells and such there was http://wphierarchy.com/ ... replaced Chips link in Codex. And it's pretty much crap. Slow clap.
 
I mentioned like months ago that it did not show the correct load order, no one cares
mentioned to the original designer of that ^
 
It also fails with front-page.php...
The WordPress template hierarchy "app" has some flaws and is partly wrong, for e.g. front-page.php templates @marktimemedia @ramiabraham
@Wyck Jump in. Joined forces and such :)
 
3:10 PM
@Rarst Just tested it. Looks like I was the first two packagist installs ;) Funny your example plugin is the exact reason I was looking for this again.
 
yay, TWO installs! :)
which example plugin?
 
yoast seo. in your readme.
 
ah :)
I am working on getting it on Composer properly
 
even better then
You're still downloading zips manually there? Just thought about building a scraper on top of this to download zips.
 
not worth trouble, different vendors have all different ways to download private stuff
 
3:15 PM
Sure. But often they have obvious pattern like download.php?version=1.2.3&secret=SECRET so easy to automate.
But yeah, maybe a simple bash script is easier.
 
@All As WP doesn't have any user list/archive built in: Any pitfalls that come to your mind if I'd just leverage search.php for that?
 
4:01 PM
I love it when I spend 2 hours debugging an issue to find out a plugin is running some stupid code on a non-related theme function and eating up 300MB of memory for no fucking reason
 
4:12 PM
@Rarst I guess that was a sign I should go home...
 
clearly :D
I was like “maybe there is a deep reason for this...” :D
 
Just googled how router for internal PHP server works, replaced with index.php and didn't think about it becoming useless in such simple situation...
 
4:29 PM
@kaiser Do you have control over the theme? Or would you be feeding the results to search.php and hoping for the best?
 
@StephenHarris I am in full control (mostly) :)
I need a template to list authors. But I need to filter/search them.
 
@kaiser Then yeah. Never seen a plug-in hijack search.php (bbPress uses its own template for searching topics/forums). But why not just use your own template?
 
So not sure if I would be better off just building a custom set of rules and/or endpoints for them or just (mis)using the search.php.
Using my own template would be more work.
 
If this is for what I think it is for and will never get distributed I'd go for the search.php solution.
 
The search.php has one drawback: I could not leverage a default search in posts anymore. @kraftner yes this is what you think it is.
 
4:35 PM
@kaiser Not any more than using search.php, right? It's just a callback on template_include. Presumably you have to completely replace WP_Query with WP_User_Query()?
 
Hm. Well, it starts by registering a new template and permalink part for users, then building stuff like pagination and adding that to the rewrite rule (or fetching get_query_var() via some substr() from an endpoint). And then there comes intercepting the search - if on that template, etc.
 
@kaiser Well whatever you plan to do in search.php dump it in user-list.php and use a template_include. ;) Presumably if you're hijacking search endpoint you have a way to determine user list query from genuine post search
 
Hm... Guess I will have to just start writing it and see where I get :P
 
5:12 PM
is it possible to do switch_to_blog with pre_get_posts, or what would be the way to go about it, to replace one subsites blog archive with anothers
it seems like just making a page and shortcode is the simple solution and pretty much optimal enough
 
@lkraav pretty sure you can, you can also check the blog id in your query
just don't forget to restore the blog
or the orginal whatever
 
@lkraav Never worked with MS enough to be sure, but if you can you'd need to do it early. You wouldn't one some callbacks on pre_get_posts running on one site and the rest on another.
 
ya wrap the query to check the blog id before you run anything
 
I pretty much only like exactly what gmazzap dislikes :)
especially when they are combined
0
Q: Create a page template with No Footer

newbieI want to create a page template that doesn't use footer. Removing get_footer() will not work in this case. Because my theme adds the stylesheets and scrtipts after the footer (before /body) and if I remove get_footer() all the scripts and styles are not loaded which will mess up css styling on t...

lol ^
 
 
2 hours later…
7:05 PM
Will Cole on January 27, 2015

Stack Overflow Careers was announced five years ago with a simple mission statement:

We believe that every professional programmer should have a job they love

To help you find a job you love, we need to match you with the right job at the right time. We do that by helping you create a profile that brings the right employers to you, and by showing you relevant job ads from our job board on Stack Overflow. With over 6,000 companies that advertise on Stack Overflow Careers, we’re getting closer to our goal of having a great job for every developer. …

 
7:36 PM
Working with composer.json in PhpStorm - check out community plugin adding completion/inspections for composer.json http://ow.ly/I2Fmg
 
composer validate
 
@kaiser yes, I have a face :P
@Wyck yes, you're not alone on that...
I'm going to give a try to PhpStorm. No, not for composer. There is one and unique reason: is impossible to avoid that NetBeans messes up my ternary operator style.
 
8:27 PM
@StephenHarris You got the wp.org forum request for the archive plugin? If so: Ignore it.
 
 
2 hours later…
@StephenHarris yes
 

« first day (1564 days earlier)      last day (3380 days later) »