« first day (232 days earlier)      last day (4698 days later) » 

5:01 AM
@toscho can you take a look at this question for me? its a permalink problem and i am quite lost on it.
0
Q: How do I add /blog/ as a prefix to permalink structure for blog posts, tag pages, etc.?

PrestonI'm using Wordpress 3.1.3 as a full CMS, installed in the root directory of a domain. I have it setup using the built in options to have a static page as the home page, and then my blog at http://www.mydomain.com/blog. What I would like is to have my single blog posts, category pages, archive p...

 
@xLRDxREVENGEx He should change ^category/(.+)$ to ^blog/category/(.+)$ but I don’t have the time to test it. Jan will jump in later.
 
I've seen a couple questions marked 'community-wiki' but I can't find the wiki. Is there a tag that just marks certain questions as 'community-wiki' or is there really a wiki somewhere?
 
5:28 AM
153
Q: What are "Community Wiki" posts?

Justin StandardSome questions and answers are marked Community Wiki and are owned by a Community Wiki user. Why have Community Wiki posts? How do Community Wiki posts work? How does a post become a Community Wiki post? How can the Community Wiki status be removed from a post? Return to FAQ Index

 
 
10 hours later…
3:25 PM
hi
 
 
1 hour later…
4:30 PM
@Rarst Please see my flag on this post: wordpress.stackexchange.com/questions/19271/…
I vote for closing all questions related to commercial plugins, when the author of the Q asks for support that he should have at the companys site when he really bought it (and not just downloaded it somewhere).
 
I disagree. What if plugin is GPL or otherwise can be obtained in legit way without support obligations? What if plugin was inherited with site or otherwise passed without details? What if plugin's official support plain sucks?
It's not our function to police such.
 
The Support is good (just take a look at their support page).
Furthermore afaik it isn't GPL licensed.
Maybe it should be, but if we go the route and say we offer support on everything that "can be obtained in legit way" and "It's not our function to police such.", then it's also not our quest to "police" the license of the plugin.
 
4:46 PM
licensing is always a mess... so feel free to point users towards official support if you want, but I am strongly against setting up any blanket policies about such.
 
If you need a GPL licensed version of "Slidedeck", then you can use the "Slidedeck lite".
I'm just saying: if we support this, then we may get legal problems.
 
how so?
 
If it's not legal to use it without owning a license, then we would help to offend a crime and maybe could be made liable for this.
Maybe I'm not right or it depends on the case, but I feel much better on the sure side.
 
you can raise this question on meta for higher powers. on my (community moderator) level it's not worth worrying about
 
WPSE/WA or SO meta?
 
4:52 PM
ours, recent policy change says raise issues on site it comes up, even if it applies globally. will be elevated if needed later.
 
Ok. Thanks.
 
5:09 PM
0
Q: Commercial, non-GPL code: flag & support

kaiserThe related Q In this Question on WPSE/WA the author asks a question related to the "PRO" version of a commercial plugin. The Problem The Problem that I have with the Q is that the "PRO" version includes support and therefore should be available for the owner of a license. Now the author seem...

@Rarst I'm not really sure about the tags. Maybe you could be nice and check them. If you think the Question could be made more clear or such, please feel free to edit or rewrite it. Thank you.
 
thanks for writing it up, will takr a look at it later... working at moment
 
N/P. Thanks
 
images are driving me crazy again... WP attachments seem to add much more trouble than they solve
 
@Rarst rrrright
 
and when task is "take any mess as input and make it perfect" amount of corner cases exceeds my sanity...
 
5:24 PM
2
Q: Commercial, non-GPL code: flag & support

kaiserThe related Q In this Question on WPSE/WA the author asks a question related to the "PRO" version of a commercial plugin. The Problem The Problem that I have with the Q is that the "PRO" version includes support and therefore should be available for the owner of a license. Now the author seem...

 
is 3.2 getting released soon?.. I so want meta_query with relation...
 
ah, thanks... not so soon then :(
 
6:35 PM
if ( 'thumbnail' != $_size && ( !$maybe_cropped || ( $maybe_cropped[4] != $data['width'] && $maybe_cropped[4] + 1 != $data['width'] ) || ( $maybe_cropped[5] != $data['height'] && $maybe_cropped[5] + 1 != $data['height'] ) ) )
shoot me...
 
@Rarst nice. Now go and add some comments (if you can remember what the stuff really is)
 
this is not mine... this is in core...
 
looks like a rarely spoken jedi dialect
(encrypted with the enigma)
When I'm writing a plugin that can be put into a theme too: What's the best way to set the directory so it works in both cases?
 
what do you mean by set directory?
directory plugin file resides in? something else?
 
6:50 PM
I need to load files from a folder, but don't know where it is (theme/plugin folder). What's best practice to get the folder name/path?
 
__FILE__
load as in PHP or as in URL?
 
foreach ( $files as $file ) { include_once($file); }
 
__FILE__ or dirname(__FILE__) or just relative path (if you are sure it won't backfire)
 
backfire?
dirname(__FILE__) ... man forgot about this one. thanks!
 
relative paths are checked against script before current file... I almost went crazy while back because code included some chunk of WP core instead of what I wanted it to
 
6:58 PM
trailingslashit( WP_PLUGIN_URL.'/'.str_replace( basename( __FILE__), "", plugin_basename( __FILE__ ) ) ); :)
or even better: trailingslashit( trailingslashit( WP_PLUGIN_URL ).str_replace( basename( __FILE__), "", plugin_basename( __FILE__ ) ) );
 
ehm... %)
why not dirname(__FILE__); ?..
 
because it's not sophisticated enough!
 
lol
 
Just thinking about making it even funky-er with WP_CONTENT_DIR
 
eureka! I figured out (at last) how I can (relatively) easy determine intermediate image size if it is used instead of full, when querying against meta, while reverse engineering URL!
just when I started to type nice question about it :) as usual...
`foreach( $meta['sizes'] as $size => $values )
if( $values['file'] == $file )
$this->attachment_size = $size;`
oh yeeeeeah...
 
user30
Check the credits
 
yeah, I remember he promised to mention site in advance here in chat :)
 
user30
aye
 
@Rarst I think you should still ask your Q and post the A too. Just to make WA a better place.
 
I might, but reverse engineering URLs doesn't seem to be highly wanted topic... rarely needed
 
7:53 PM
@Rarst And "rarely needed" is the point. If you're searching for something like that, you won't find ever anything about it.
 

« first day (232 days earlier)      last day (4698 days later) »