siskoto
Forum Replies Created
-
Forum: Plugins
In reply to: [WooCommerce] Gravity forms Woocommerce product currency conversionThank you!
Forum: Plugins
In reply to: [Booking Package] How to add a hyperlink to a form field I createdThe message is also noticed by the users of the website, on any kind of browsers – Safari, Chrome, Firefox, IE. I can provide you with login details to check the error yourself.
Regards!
Forum: Plugins
In reply to: [Booking Package] How to add a hyperlink to a form field I createdIt constantly gives me the following error:
the nonce has been invalidated…
Do you have any suggestions?
Forum: Plugins
In reply to: [Booking Package] How to add a hyperlink to a form field I createdThank you for your the update. The hyperlink works perfectly. However, now we get the following error:
The nonce has been invalidated. Please reload the page.
What does it mean?
Thanks!
Forum: Plugins
In reply to: [Booking Package] How to add a hyperlink to a form field I createdThank you for your quick reply! When are you planning to release an update?
Hello,
It seems there is a bug in Safari with this option. I cannot close the popup at all. Please see here:
lilastylehouse.com/cookie-policy
The “popup showing limitation” is set to 1 per day.
Thanks!- This reply was modified 5 years, 11 months ago by siskoto.
Forum: Plugins
In reply to: [GiveWP - Donation Plugin and Fundraising Platform] Required Form Fields*Hello,
Where do I put this snippet?
Is there a way to make the other fields not required?
Thanks!
Hello, I just wanted to let you know that I have managed to add font awesome icons to the author box without changing the php code. I added few lines to my functions.php file which allows me to add code to the “Biographical Info” box:
//disable WordPress sanitization to allow more than just $allowedtags from /wp-includes/kses.php
remove_filter('pre_user_description', 'wp_filter_kses');
//add sanitization for WordPress posts
add_filter( 'pre_user_description', 'wp_filter_post_kses');Then I simply added the html code I needed.
Hey, I just managed to find the right code. Here it is:
<?php /* @var $EM_Event EM_Event */ $people = array(); $EM_Bookings = $EM_Event->get_bookings(); if( count($EM_Bookings->bookings) > 0 ){ ?> <ul class="event-attendees"> <?php $guest_bookings = get_option('dbem_bookings_registration_disable'); $guest_booking_user = get_option('dbem_bookings_registration_user'); foreach( $EM_Bookings as $EM_Booking){ if($EM_Booking->status == 1 && !in_array($EM_Booking->get_person()->ID, $people) ){ $people[] = $EM_Booking->get_person()->ID; echo '<li><a href='.bp_core_get_user_domain( $EM_Booking->get_person()->ID ).'>'. $EM_Booking->get_person()->get_name() .'</a></li>'; }elseif($EM_Booking->status == 1 && $guest_bookings && $EM_Booking->get_person()->ID == $guest_booking_user ){ echo '<li><a href='.bp_core_get_user_domain( $EM_Booking->get_person()->ID ).'>'. $EM_Booking->get_person()->get_name() .'</a></li>'; } } ?> </ul> <?php }
Hope it will help others with the same issue. ??
Cheers!
We are almost there. But since I’m working with buddypress I would prefer to stay in the buddypress layout instead of logging into wp-admin
Thanks angelo_nwl, this code worked! One more thing, can you make the link go to the profile page, not the profile edit page?
Right now I’m opening the profile edit link:
members/admin/profile/edit/
and I want to open:
members/admin/profile/
what I meant is that the attendees’ names should be links to their profiles. Thus it is easier for another user to decide whether to participate in an event.
Yes, I already did that. This is the code that should be edited:
`if($EM_Booking->booking_status == 1 && !in_array($EM_Booking->get_person()->ID, $people) ){
$people[] = $EM_Booking->get_person()->ID;
echo ‘<li>’. $EM_Booking->get_person()->get_name() .'</li>’;
}elseif($EM_Booking->booking_status == 1 && $guest_bookings && $EM_Booking->get_person()->ID == $guest_booking_user ){
echo ‘<li>’. $EM_Booking->get_person()->get_name() .'</li>’;`I’m new to php and I have no idea how the code should be changed.
Well, the code that Marcus provides here is the code that is used on the demo page. It does not help me to make the attendees’ names links to their profiles.
Forum: Plugins
In reply to: [Simple Share Buttons Adder] Use pop Up instead of blank pageOk, thanks for trying though and for all the time you spent on my problem!
Kind regards