mephistobs
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Post Saving Error with NextGen GalleryThe developer of the Search Unleashed plugin asks for help:
Forum: Themes and Templates
In reply to: get_bookmarks returns wrong link_categoryIt seems that get_bookmarks returns and old (?) value from the wp_links table. The real link category is stored in the taxonomy system introducted some releases earlier. Using the link_id value, the link category ID can be obtained like this:
$catID = $wpdb->get_var( "SELECT t.term_id FROM $wpdb->term_taxonomy t, $wpdb->term_relationships r WHERE t.taxonomy='link_category' AND t.term_taxonomy_id=r.term_taxonomy_id AND object_id=" . $link->link_id );Anyway, my expections regarding the get_bookmarks function are that it should return the category ID from the taxonomy system and not the old/unused (?) value from the wp_links table.
Ciao, Meph
Forum: Themes and Templates
In reply to: How to detect the FIRST (front) page?Forum: Plugins
In reply to: Using jQuery in own PluginsStrike! Your solutions works also here.
Thanks a lot to both of you.
Forum: Plugins
In reply to: Using jQuery in own PluginsHmm… even if I put the second wp_enqueue_script command into the plugin initialization WordPress still loads the own version:
wp_enqueue_script( ‘jquery’, get_bloginfo( ‘wpurl’ ) . ‘/wp-content/plugins/’ . dirname( plugin_basename( __FILE__ ) ) . ‘/jquery-1.2.1.js’, false, ‘1.2.1’)
The checked that the path evaluated is the right one. Using this statement in the plugin initialization makes WordPress to load its own version (1.1.4) on all pages, without the statement the start page comes without jquery. Says me that the line triggers the inclusion but still the “old” version.
And again: with the old version, the example above does not work. Could be there any interference with the prototype library used by another plugin (not from me)?
Forum: Plugins
In reply to: Using jQuery in own PluginsMay be I did something wrong when loading the jquery library.
What is the “official” way to load/initialize the jquery library delivered with WordPress when I want to use it in an own plugin?
Forum: Plugins
In reply to: Link Harvest ProblemLike already mentioned, success of the link harvest run also depends on the PHP server settings which are often not changable by the webmaster.
I got the harvest running by setting the number of posts processed in one run to 1 (line 107: “$this->default_limit = 1;”) plus adding those domains to the exclude lists which refer to large media files.
Forum: Fixing WordPress
In reply to: Trackbacks broken in 2.0Same here. I installed the patch, no change. I tried the “UPDATE wp_posts SET to_ping=”” hint – trackbacks still don’t work.