wpdever
Forum Replies Created
-
Forum: Plugins
In reply to: [WP Notification Bell] Replace bell iconCan you send the url of the page you’re having trouble with, and a screenshot of the settings page of the notification bell plugin?
Forum: Plugins
In reply to: [WP Notification Bell] Replace bell iconTo make sure the problem isn’t font awesome, can you test this and save ?
<svg width="20" height="20" version="1.1" viewBox="0 0 800.00001 800.00001" xmlns="http://www.w3.org/2000/svg"> <g transform="translate(0 -252.36)" fill="#353535"> <path d="m359.46 341.17c-134.57 3.4551-183.04 131.52-190.11 200.44-27.31 347.03-80.955 359.79-146.05 363.31-17.863 0-17.609 29.706 0 29.706h753.4c17.609 0 17.863-29.706 0-29.706-65.096-3.5224-118.8-21.45-146.11-368.48-5.7731-65.039-55.477-191.82-190.05-195.27 0-119.38-79.898-116.36-81.082 0z" fill-rule="evenodd"/> <path d="m323.14 950.41a79.994 79.994 0 0 0 -3.1361 21.951 79.994 79.994 0 0 0 80 80.002 79.994 79.994 0 0 0 80 -80.002 79.994 79.994 0 0 0 -3.0791 -21.951h-153.78z" color="#000000" color-rendering="auto" image-rendering="auto" shape-rendering="auto" solid-color="#000000" style="isolation:auto;mix-blend-mode:normal"/> </g> </svg>Forum: Plugins
In reply to: [WP Notification Bell] Replace bell iconHi,
Can you maybe try to add and activate the Font awesome plugin , then try
<i class="fa-solid fa-bell"></i>again?Forum: Plugins
In reply to: [WP Notification Bell] Replace bell iconHi,
What icon have you used and does it work anywhere else on your site?
Also, what happens when you enter plain text in the ‘Bell icon or text’ field?
Do you see the text or an error?- This reply was modified 4 years, 2 months ago by wpdever.
Forum: Plugins
In reply to: [WP Notification Bell] Replace bell iconHi,
You can try adding this:
<i class=”fa fa-gift” style=”font-size:22px;color:#4B4B4B”></i>
to the ‘Bell icon or text’ field in Settings->General (you can change the font-size and color if you need to), or just enter any icon link or svg you have.Forum: Plugins
In reply to: [WP Notification Bell] Option to remove/clear notificationsHi,
The filter for user notifications (comments, bbpress, woocommerce…) is called ‘wnbell_user_item_append’. You can do something similar:
add_filter("wnbell_user_item_append", "add_wnbell_close_button_comments", 10, 3); function add_wnbell_close_button_comments($output, $notification_id, $trigger_type) { $out = '<span class="bell_close_btn">X</span>'; $out .= $notification_id; return $out; }For the css class for the user notification item, I’ll add it in the next update (note that it’ll apply for all user notifications (comments, bbpress…) as it’s the same box).
Forum: Plugins
In reply to: [WP Notification Bell] Personalized notificationsHi,
You can try to test it for the Administrator user role. In the ‘Add new’ page, set the user role to Administrator for example, and publish a notification. You’ll see that only the admin will get notified and be able to see this notification in the notification box.
- This reply was modified 4 years, 2 months ago by wpdever.
Forum: Plugins
In reply to: [WP Notification Bell] Personalized notificationsIs the ‘Recipient Role’ field in the notification post editor not enough for what you need?
I don’t think more customization (for css or a different number of item fields) would really be possible.Forum: Plugins
In reply to: [WP Notification Bell] What are the chances?Can you maybe share a screenshot for how this message should look like?
You can contact me here: [email protected] if you’d like to add more details on this.Forum: Plugins
In reply to: [WP Notification Bell] Option to remove/clear notificationsHi,
There’s no function to help with that. You can search for
onclick="wnbell_ajax_seenin the plugin code, and the wnbell_ajax_seen function to see how I save clicked notifications and get an idea on how to write similar functions.Forum: Plugins
In reply to: [WP Notification Bell] Option to remove/clear notificationsHi,
You can try this:
add_filter("wnbell_item_append", "add_wnbell_close_button", 10, 2); function add_wnbell_close_button($output, $notification_id) { $out = '<span class="bell_close_btn">X</span>'; $out .= $notification_id; return $out; }Forum: Plugins
In reply to: [WP Notification Bell] Sound on NotificationHi,
The notification sound is already a feature in the premium version.
If you want to code it yourself, add your code in the javascript in these files: shortcode.php, menu_bell.php, visitor_shortcode.php, visitor_menu_bell.php (you’ll find them inside the includes folder in the plugin).Forum: Plugins
In reply to: [WP Notification Bell] WPML or Multiple LanguagesHi,
As I don’t have WPML I don’t know if it’s compatible with Polylang. You can test it and see if there’s no error on your side first.
You’d still need duplicate language switchers on your site for each plugin so I don’t think having 2 translation plugins is a good idea.You can contact me here: [email protected] so I can see how similar the 2 plugins (WPML and Polylang) are and if I can do anything.
Forum: Plugins
In reply to: [WP Notification Bell] WPML or Multiple LanguagesHi,
For multilingual sites, only Polylang is supported in the premium version at the moment. I have not tested WPML, but if it works similarly as Polylang, there might be an option on their settings to enable translations for custom post types where you can select ‘Notification Bell’. The notification count will not be accurate unfortunately but if it’s not an issue for you, you can look in that direction.
Forum: Plugins
In reply to: [WP Notification Bell] WordPress database errorHi,
I saw a similar error sometime ago, but I have not been able to replicate it since then. I’ll keep an eye out for this and if you have any details on exactly when this happened, please let me know.