Like/Dislike plugin crawler problem

The problem is your definition of a vote as any access to a specific url. Your definition should include both an access and some not trivial info a bot will not have, for example an authentication cookie (i.e., the user has to be logged-in).

Developing a Site Like AllTop.COM – RSS Reading Problem

If the plugin in question is properly coded it’s likely using fetch_feed(). This WP function will automatically cache the feeds for certain time. Still, at initial load and when cache expires fetching 50 feeds is going to be pretty horrible and might break in different ways. For reasonable experience you would need to update feeds … Read more

Trying to insert a row from a Plugin

insert is not a static method. So you can’t call it like this: wpdb::insert(/*…*/). You’ll need to do something like: global $wpdb; $wpdb->insert(/*…*/); Or create your own instance: $db = new wpdb(‘dbuser’, ‘dbpassword’, ‘dbname’, ‘dbhost’); // change these! $db->insert(/*…*/);

Strict Standards: Non-static method in sidebar generator

There’s not a huge amount you can do about this. Many developers turn off strict errors, as they are pervasive (there are even some in core). Of course it could be fixed – but then what? It’s a plugin, so the next time you update that plugin, your changes will be overwritten.

Get ID of a NextGen album that is linked to a subpage [closed]

I got some help from Benjamin at the WordPress support forums The solution I ended up with is the following: global $nggdb; $galleries = array(); $children = get_children(“post_parent=$post->ID”); foreach($children as $kid) { print_r($kid); $page_id = $kid->ID; $album_mapper = C_Album_Mapper::get_instance(); $albums = $album_mapper->find_all(array(‘pageid = %s’, $page_id), TRUE); foreach ($albums as $albumMap) { $albumID = $albumMap->ID(); After … Read more

Open all PDF or docx link as iframe

You can use the plugin vanilla-pdf-embed. If the PDF is in your WordPress media library, it will be embedded with the default settings in all the posts where it is written. If isn’t in the media library then use the [pdf]…[/pdf] shorttag: [pdf]http://domain.com/2012-04/item-1335086631.pdf[/pdf]

Plugins not showing on dashboard?

I had the same problem the site I was developing was utilizing this plugin to show gallery on the homepage. The first few days the site was working well but when I launched a persistent white screen of death error developed. I used the FTP access to rename the plugin file to something like(old_plugins) in … Read more