Tadas Krivickas
Forum Replies Created
-
Forum: Themes and Templates
In reply to: [Botiga] 2.0.1 broke the page+1, had to revert to 2.0.0
Forum: Plugins
In reply to: [bbPress Post Ratings] Missing argument 2 for wpdb::prepare errorHi guys,
I fixed it as follows:
=================================================================== --- wp-content/plugins/bbpress-post-ratings/plugin.php (revision ) +++ wp-content/plugins/bbpress-post-ratings/plugin.php (revision ) @@ -144,7 +144,7 @@ function bbpress_post_ratings_GetPostAuthorID($postID){ global $wpdb; - $authorIDs = $wpdb->get_col($wpdb->prepare("SELECT post_author FROM " . $wpdb->posts . " WHERE ID = " . intval($postID) . " LIMIT 1")); + $authorIDs = $wpdb->get_col($wpdb->prepare("SELECT post_author FROM {$wpdb->posts} WHERE ID = %d LIMIT 1", $postID)); return $authorIDs[0]; }Forum: Reviews
In reply to: [bbPress New Topics] Nothing is showing…The plugin clearly states:
Compatible up to: 3.8.3What’s with all of this rage?
Forum: Plugins
In reply to: [Live Stream Badger] Updating Stream from WidgetCould you give me a link with your current setup so I have a better idea on the feature you are proposing?
Forum: Plugins
In reply to: [Live Stream Badger] Redirect Link to twitch tv to a custom Stream PageIn the latest version of the plugin, the widget name has been changed to ‘Live Stream Status’. Can you check if it’s available?
Otherwise, please create a new thread (one thread per issue).
Forum: Plugins
In reply to: [Live Stream Badger] Redirect Link to twitch tv to a custom Stream Pagehttp://ww.wp.xz.cn/plugins/scripts-n-styles
Please use this plugin, then enter your script in Blogwide Javascript > Scripts (for the head element).
Forum: Plugins
In reply to: [Live Stream Badger] Widgets title modificationHi,
It’s not related to the plugin. Do a text search in your theme on
register_sidebar(where your theme registers sidebar) and edit the argumentsbefore_titleandafter_title.An example:
register_sidebar( array( 'name' => __( 'Sidebar', 'dotalt3' ), 'id' => 'sidebar-1', 'before_widget' => '<aside id="%1$s" class="widget %2$s">', 'after_widget' => '</aside>', 'before_title' => '<h3 class="widget-title">', 'after_title' => '</h3>', ) );Forum: Plugins
In reply to: [Live Stream Badger] [Suggestion] Add menu attribute to templateOh, now I understand. Sure, I’ll add it.
Forum: Plugins
In reply to: [Live Stream Badger] [Suggestion] Add menu attribute to templateDrake, doesn’t it already exist in the current version?
Template
status_widget_item()fromextend/class-templates.php:<li class="lsb-status-widget-list-item %%status_class%%"> <span class="lsb-status-widget-title"> <a href="%%url%%" target="_blank">%%title%%</a> </span> <span class="lsb-status-widget-indicator %%status_class%%">%%status_indicator%%</span> </li>%%title%%gets replaced by:$var_title = apply_filters( 'lsb_stream_status_widget_text', $menu_item->title );Forum: Plugins
In reply to: [Live Stream Badger] [Suggestion] Add menu attribute to templateHi Drake,
It could be.
On the other hand, you don’t need any customizations to add a flag before name. You can use a plugin WP flags and then add the flag using a shortcode in menu item’s title.
http://postimg.org/image/3mkat07yv/ (this is what I am using in fact)
What do you think?
Forum: Plugins
In reply to: [Live Stream Badger] 1.4 update, parse errorGreat, enjoy
Forum: Plugins
In reply to: [Live Stream Badger] PHP version."Warning: call_user_func_array() expects parameter 1 to be a valid callback, class 'LSB_Plugin_Run' does not have a method 'install' in /***/wp-includes/plugin.php on line 429"I haven’t got such error, but this clearly was an issue, too. Fixed in 1.4.3
Forum: Plugins
In reply to: [Live Stream Badger] PHP version.Hi,
I appreciate your kind words, but PHP 5.3- will not be supported. It has reached end of life 3 years ago.
You should upgrade to 5.3 or even better to 5.4/5.5. New language features enable to write more effective code making plugin easier to maintain.
If your host cannot do it, there are plenty of providers with up to date PHP versions like 5.5 (even free ones).
Regards
Forum: Plugins
In reply to: [Live Stream Badger] Help Fatal Error on version 1.4Try 1.4.2
Forum: Plugins
In reply to: [Live Stream Badger] 1.4 update, parse errorCan you update to 1.4.2? Can it activate successfully? Health check was improved to identify configuration issues.