Guillaume Assire
Forum Replies Created
-
Forum: Plugins
In reply to: [Plugin Name: WP Symposium Toolbar] Upgrade to v0.24.0 not workingThanks, should be fixed in the developement version here, which will eventually become the official v25 very soon.
Sorry for those notices, really hope they’ll fade away…
Forum: Plugins
In reply to: [Plugin Name: WP Symposium Toolbar] Upgrade to v0.24.0 not workingI’m not seeing these… 🙁
Could you tell me if you’re running Multisite, and if you’re running WP Symposium ?Forum: Alpha/Beta/RC
In reply to: Adding a custom font icon to the ToolbarA quick follow-up to confirm I could achieve what I want by converting my SVG file into a font, using IcoMoon. Although not painful at all, this seems pretty much “the long way round” to me. If anybody has an answer on how to use a SVG file directly, I’d appreciate. For now, I will mark this topic as solved…
For the records…
function symposium_toolbar_set_custom_fonticon() { if ( !is_admin_bar_showing() ) return; echo '<style type="text/css">'; echo '#wpadminbar #wp-admin-bar-my-symposium-admin > .ab-item > span.ab-icon:before { '; echo 'font-family: WPST-icons !important; '; echo 'content: \'\e601\'; '; echo ' } '; echo '</style>'; } add_action( 'admin_head', 'symposium_toolbar_set_custom_fonticon' ); add_action( 'wp_head', 'symposium_toolbar_set_custom_fonticon' ); // enqueue custom font icon function enqueue_custom_fonticon() { if ( !is_admin_bar_showing() ) return; wp_enqueue_style( 'wpst-font', WP_PLUGIN_URL.'/wp-symposium-toolbar/css/wp-symposium-toolbar_fonticons.css', false, null ); } add_action( 'admin_enqueue_scripts', 'enqueue_custom_fonticon' ); add_action( 'wp_enqueue_scripts', 'enqueue_custom_fonticon' );Forum: Alpha/Beta/RC
In reply to: Adding a custom font icon to the ToolbarSorry to sound as an inconvenience, I’m only half way there.
I’m using this:
#wpadminbar #wp-admin-bar-my-symposium-admin > .ab-item > span.ab-icon:before { content: url('data:image/svg+xml;base64,PD94bgdm... [cut] ...9zdmc'); }And all I get is an image on the Toolbar, black on transparent, or whichever color is specified in the SVG ‘fill’ field, neither resizable, nor colorable.
I must have misread the litterature I found here, as I was thinking the image would be used as a sprite to mimick font icons. Shouldn’t it be the case, am I doing something wrong ? Or maybe the only way to have an icon to behave like a fonticon is to make a fonticon out of it…?
What is most annoying is that we cannot replicate this, on any of our installs. I have to confess, I was blind while fixing this 😉
I would appreciate if you could give me a little insight about your site: which version of WordPress, is this multisite, which server it’s on, any specificity that might explain why it happens on your site and not on any of the multiple setups we have, my friend Louis at Central Geek and myself, and on which we test the plugin before updating it here.
All this out of curiosity, because as far as the bug is concerned, I will eventually solve it one way or another. It’s just I’d like to ensure our tests are as exhaustive as possible. Thanks!
Just uploaded a v0.23.1, could you please confirm that it fixes this issue ?
AG
Hi
Sorry to read about this, I’ll upload a fix in the coming hours.
Otherwise, if it can’t wait you may get the previous release from the plugin page here.
AlphaGolf
Forum: Plugins
In reply to: [Plugin Name: WP Symposium Toolbar] Blanck page with clicking on Site NameHi
Since the URL seems correct to you, if you copy/paste it in your browser and access it manually, does it gets to to the Dashboard ? If you deactivate the plugin and click on the same link using the same user, where does it take you ?
G.
Hi Maurta,
You may want to use the following snippet:
function symposium_toolbar_add_user_action_hook ( $user_id ) { $ret = array(); $added_info['title'] = "A Title for User ID #".$user_id; $added_info['url'] = site_url(); $ret[] = $added_info; $added_info['title'] = "Another Title"; $added_info['url'] = admin_url(); $ret[] = $added_info; $added_info['title'] = "A Third Row"; $added_info['url'] = home_url(); $ret[] = $added_info; return $ret; } add_filter ( 'symposium_toolbar_add_user_action', 'symposium_toolbar_add_user_action_hook', 10, 1 );Note that using this hook, the added rows will go at the bottom of the User Action section, that is: after the Log Out link. If you prefer them to go between the User Info and the Edit Profile, you should use the other hook symposium_toolbar_custom_user_info, which uses HTML spans.
There is also a bug with symposium_toolbar_add_user_action, in that you need at least one of the default items of this section, otherwise it’ll be removed in whole, and the added rows won’t be displayed! Please confirm that the above solves your issue and you are not removing all the default items from the User Action section. I will fix this with next release anyway.
Thanks for your nice words ; documenting software is an ongoing task, it also helps with clarifying use cases.
Forum: Plugins
In reply to: [Plugin Name: WP Symposium Blog Post] dashboard options pageThat makes sense, moreover this cap is already used for the wp_die on top of the page… But I admit I had missed that one until now.
Thanks for the feedback, very useful!Hi CodeCandid, sorry for the delay in addressing this.
The v0.22 of the plugin should solve this issue. I have also added the needed CSS so that JetPack items are correctly styled, as they weren’t adhering to generic rules due to the use of “!Important” by the JetPack team.
Could you please confirm the plugin works fine for you now.
PS you may need to visit the plugin options page and save, even unchanged, to re-generate the CSS
My own analysis is that the Omnisearch icon proposed by JetPack doesn’t seem to be properly moved by WPS Toolbar. If you don’t select an alternate location it does show for the selected roles, both frontend and backend, but as soon as you choose to move it, it simply disappears.
I will investigate to see how I can have it to behave like the default Search icon, or eventually hide the setting to move the Search icon when JetPack is installed.
Thanks for reporting this.
Forum: Reviews
In reply to: [Plugin Name: WP Symposium Toolbar] Best Toolbar Editor but a few faultsThanks CodeCandid, I was wondering what the plugin should provide to be worth all five stars to your eyes… Ice cream, coffee,…? Now I know, I will install JetPack that I’m not using, and see what the issue is, before responding to your support request.
As a matter of fact, using WPS Toolbar there could be some issues in styling items added by other plugins, when their authors have hardcoded CSS in the element. But regarding whether they are *displayed* or not, re-reading at the code I see no reason why they wouldn’t show in the Toolbar. I did try with various plugins like NextGen, DexsPM, Loco Translate, Ultimate Coming Soon, they were all showing in the WP Toolbar, and all styled correctly, apart the font color for DexsPM, which is hardcoded.
Last, regarding the WP Toolbar default items, they should all be showing by default upon plugin first activation. The only noticeable change after plugin activation being one hover box added to the Display Name in the User Menu (“My Account”).
Your feedback is much appreciated, and welcome to WordPress.org by the way.
Forum: Plugins
In reply to: [Plugin Name: WP Symposium Blog Post] dashboard options pageHallo Thomas
Could you please tell me if the latest updates have solved your issue, or if it still needs to be investigated ?
ThanksForum: Plugins
In reply to: [Plugin Name: WP Symposium Toolbar] Bug With Newest Update@nykess could you please confirm that your issue was solved with last update and that this ticket can be closed? Thanks.