thomask
Forum Replies Created
-
Forum: Plugins
In reply to: [Auto ThickBox Plus] [Plugin: Auto ThickBox Plus] request – clickable captionyes, it is via standard insert into post.
i know i could use img_caption_shortcode filter, actualy i was doing it for standard opening images, but i was wondering that it would be much better to just modify your script, so it will not hook on jQuery(‘a.thickbox’), but (also) on jQuery(‘a.thickbox’).parent(‘wp-caption’) selector.
Forum: Plugins
In reply to: [Auto ThickBox Plus] [Plugin: Auto ThickBox Plus] request – clickable captionif you add the image with caption, it creates something like
<div id="attachment_544" class="wp-caption aligncenter" style="width: 310px"><a href="http://money.mediacentrum.cz/wp-content/uploads/money-s3_money-dnes.png" class="thickbox no_icon" title="money-s3_money-dnes"><img class="size-medium wp-image-544" title="money-s3_money-dnes" src="http://money.mediacentrum.cz/wp-content/uploads/money-s3_money-dnes-300x232.png" alt="Money S3: úvodní obrazovka Money Dnes" width="300" height="232"></a><p class="wp-caption-text">Money S3: úvodní obrazovka Money Dnes</p></div>problem is, that for opening thickbox, i need to click that a href, but very often it would make more sense, if it would be possible to click the whole div, so even the caption text
OK, i thought it would be helpful for many of your users (it is not only about menu, e.g. it is often better to have short -not so seo- title, because it is then used e.g. in post parent select (which overflow the box when the title is big; or in posts table etc.), and in advanced settings it would not take space. But you are the boss 😉
I will look in your code if you got some hooks so i could put it there myself and save me a space in standard post edit screen.thx, i am blind
this error notice is gone, but another appears – just after adding new taxonomy item to menu (not yet saving)
Warning: call_user_func_array() [function.call-user-func-array]: First argument is expected to be a valid callback, ‘wpseo_maybe_upgrade’ was given in /var/www/vhosts/money.cz/httpdocs/wp-includes/plugin.php on line 405
do not know where to download it, i have tried to search for
"wordpress seo plugin" "development version"with no successForum: Plugins
In reply to: [Fluency Admin] [Plugin: Fluency Admin] Fluency 3.2 does not work with WP 3.3great to hear that dean plan to upgrade fluency – btw one my big desire – please do not forget to support tablets – some parts were unusable on tablets, especially the “popup” windows. today’s wp should have this solved
Forum: Fixing WordPress
In reply to: more custom fields values per one custom field nameBit more explanation:
I could use one one custom field with some separator, which i could then explode, but it is not possible to filter/search by itimagine posts=courses. And you need fields: dates and places. So e.g.
1.1.2010 – London
12.5.2010 – New York
I could save it all in one custom field imploded by e.g. comma. But then imagine you want to get only London courses. Or only courses in next 1 week (in any city). It would be a big problem.
I’m now wondering about good solution of such problem and the only what i have found is 2 custom fields: dates & places.
So in dates array i would have {1.1.2010;12.5.2010} and in places {London;New York} and pair them so that the position in the array would define a pair. Than i can easily use wordpress function to filter by date or by place.
The problem afaik is filltering by date AND by place (London courses in next week) and i do not know how to solve this.Forum: Everything else WordPress
In reply to: Again about GPL licencing themsAnd also – does it mean, that also all plugins MUST BE GPL, because they are using those functions as well?
Isn’t this bit against the goal to support developers? Many other CMS offer paid/gpl plugins and users can choose what they want and if they would like to pay.
Forum: Plugins
In reply to: [Plugin: NextGEN Gallery] Website with 1300 nextgen galleries ;)1300 galeries, 30 000 photos, is useable 😉
Forum: Fixing WordPress
In reply to: Subdomain for static pagethis is not a sollution, wordpress will rewrite it to http://www.domain.com/parent/subdoma instead of showing the subdomain address
Forum: Fixing WordPress
In reply to: Strange numbersseems like ROM errors
Forum: Everything else WordPress
In reply to: WordPress License QuestionAnd If I sell it just as a sollution (without selling a software at all, so the clients are just able to edit data, but they are not allowed to access FTP) – do i have to publish my modifications?
And if i will put my modifications to my own plugin, which will alter the wordpress core – do i have to publish that plugin (even if it is 100% mine with noones other code)?
Forum: Fixing WordPress
In reply to: Loop for PAGES???yes I do, it simpy uses posts Categories (the same table structure). But it does has only function to show titles of pages from that category. But i guess it does not matter, it may be a question of how to show them for pages made in some month (archive) etc., the problem i got is about looping. The only function WP got for pages is probably wp_list_pages(), what is function to show links to pages, but not their excerpts.
Forum: Everything else WordPress
In reply to: Is Selling WP legal???but this is not the case, the do not sell the service of installation, they sell a software package – wordpress+100 most popular plugins. I just dont know if this comply with wordpress rules (and I understand that the rules of the plugin makers may be differnt). So just the wordpress side – is selling of wordpress software (with just different themes) without the service, just the software, legal?
Forum: Plugins
In reply to: comment_excerpt does not work – bug or mistake?why the documentation says, it will return 20 words – is it bug in documentation?
I do not understand the rest – please can you help me with exact code, what should i use?
This is my 0.1 plugin
function excerpt_comments($number='5', $before='<li>', $middle=' <small>(', $after=')</small></li>') {
global $wpdb;
$sql = "SELECT comment_author, comment_author_url, comment_ID, " .
"comment_post_ID FROM $wpdb->comments WHERE comment_approved = '1' " .
"ORDER BY comment_date_gmt DESC LIMIT $number";
if ( $comments = $wpdb->get_results($sql) ) {
foreach ($comments as $comment) {
echo "$before";
echo "<a href='" . get_permalink($comment->comment_post_ID) .
'#comment-' . $comment->comment_ID . "'>" .
$comment->comment_excerpt . "</a>";
echo "$middle";
if($comment->comment_author_url) {
echo '<a href="' .$comment->comment_author_url. '" rel="nofollow">';
}
echo "$comment->comment_author";
if($comment->comment_author_url) {
echo '</a>';
}
echo "$aftern";
}
}
}
?>