psolaz
Forum Replies Created
-
Forum: Plugins
In reply to: [Simple Ajax Shoutbox] Can't publish shoutsProbably the same reason as here (fix also included):
https://www.ads-software.com/support/topic/not-able-to-sent-messages-through-ipv6/
Forum: Plugins
In reply to: [Simple Ajax Shoutbox] Add my own Emoticonshey. a bit late, but the plugins uses the original smilies. You can use this as a template for a small plugin to overwrite the original smilies: https://github.com/dreadkopp/custom_WP_smilies
Forum: Plugins
In reply to: [Simple Ajax Shoutbox] Not able to sent messages through IPv6Hey. I recently stumbled upon this problem as well. Problem was that the row in the Database wp_messagebox->ip was limited to 15 characters (enough for ipv4, but ipv6 cannot be stored -> error)
changing the field from 15 to 39 characters length fixed it for me.
for fixing the plugin completely:
ajax_shoutbox.php line 121
change:
ip varchar(15) COLLATE latin1_general_ci NOT NULL default ”,
to
ip varchar(39) COLLATE latin1_general_ci NOT NULL default ”,
- This reply was modified 7 years, 8 months ago by psolaz.
Forum: Plugins
In reply to: [wpForo Forum] Cannot delete Usergroups (and maybe other stuff)this is great news!
Forum: Plugins
In reply to: [wpForo Forum] Please support BuddyPressI am looking for a solution as well / currently working on it.
First approach was to replace links to wpforo-profile to buddypress-profile but and trying to add all wp-foro stuff (forum-stats/settings for signature etc.pp) to the buddypress profile view. However that ended up in a big mess ?? trying it the other way around now ?? i will post here if i was able to make a sufficient solution.
Forum: Plugins
In reply to: [wpForo Forum] Does anyone use or recommend a “Chat-box” for WPforoi use https://de.www.ads-software.com/plugins/simple-ajax-shoutbox/ for that. works fine ??
Forum: Developing with WordPress
In reply to: ‘adminbar’ in widgetI am nearly there.
Couldn’t figure out how to create a second adminbar, however i just ‘moved’ the original one. Still some styling issues but this *should* work:
https://github.com/dreadkopp/wp_admin_bar_widget
- This reply was modified 7 years, 9 months ago by psolaz.
Forum: Developing with WordPress
In reply to: ‘adminbar’ in widgetthanks bcworkz!
this is what i currently use
function admin_menu_test() { // sleep(1); /* Load the admin bar class code ready for instantiation */ require_once( ABSPATH . WPINC . '/class-wp-admin-bar.php' ); /* Instantiate the admin bar */ /** * Filters the admin bar class to instantiate. */ $admin_bar_class = apply_filters( 'wp_admin_bar_class', 'WP_Admin_Bar' ); if ( class_exists( $admin_bar_class ) ) $wp_admin_bar = new $admin_bar_class; else return false; $wp_admin_bar->initialize(); $wp_admin_bar->add_menus(); if ( ! is_admin_bar_showing() || ! is_object( $wp_admin_bar ) ) return; /** * Load all necessary admin bar items. * * This is the hook used to add, remove, or manipulate admin bar items. */ do_action_ref_array( 'admin_bar_menu', array( &$wp_admin_bar ) ); /** * Fires before the admin bar is rendered. */ // do_action( 'wp_before_admin_bar_render' ); $wp_admin_bar->render(); // do_action ('wp_after_admin_bar_render'); } add_action('wp_after_admin_bar_render' , 'admin_menu_test');
in the template i simply call admin_menu_test() .
Et voila a second admin bar is display as i wanted. However all the glorious extras added by plugins to the original adminbar is missing. shouldn’t it be added as well when firing the action or am i missing a point?
EDIT: for some reason it does not make any difference if i call $wp_adminbar->initalize() and ->add_menus() or not.
This is the whole mess of a plugin anyways if anyone stumbles upon this and tries to do the same thing: https://hastebin.com/iwuquqotas.xml
Thanks a lot for your help ??
- This reply was modified 7 years, 9 months ago by psolaz.