oliver vandenbussche
Forum Replies Created
-
AuthorPosts
-
Thanks Giri, however still not working. Let me tell you what I’ve done:
1) I have added and activated the code snippet through “code-snippet” plugin for wordpress. (I don’t know how else to activate it).
2) I don’t see “Send Enquiry” anywhere on any of the Events pages.
3) I get nothing but errors when I change to another theme… I have tried the Main theme (of which I’m using the child theme now) but no “Send Enquiry” to be found.OK, I added the code snippet in my child theme’s functions.php without error, Grrreat!
I have made the changes in geodirectory-functions/custom_fields_output_functions.php that you sent my via e-mail.
But nothing seems to have changed… Could it be that the function is only for Geodirectory plugin and not for the Geodirectory EVENTS add-on that I am using?
Thanks,
oliverWow, that’s fast…
Parse error: syntax error, unexpected ‘->’ (T_OBJECT_OPERATOR)
Hi Giri,
Thank you for your fast reply. Let me start by saying that I’m totally new to programming and that I learn through trial and error… So forgive my lack of knowledge.
I may be completely wrong here but guessed that I needed to add the code snippet to my child theme’s function.php.
I received an error in this line:$url = bp_custom_get_send_private_message_link(post->post_author);
Any ideas on what the problem may be? Or should I just wait for the update?
Thank you. oliver.
Hi Tom and Paolo,
I was looking for the same thing and found this shortcode to use in a text widget in the side column:
function bpfr_message_shortcode() {
$author = get_the_author();
$message = ‘Login to send a message to this author !’;if( is_user_logged_in() ) {
return ‘Contact the author‘;
} else {
return $message;
}
}
add_shortcode( ‘ksam’, ‘bpfr_message_shortcode’ );Add this to bp-custom.php or your child-theme functions.php.
Use the shortcode [ksam] at the place you want and you’ll see a Contact the author link.That seemed to work. HOWEVER, the ‘Contact the author’ link is outside the side column and I can’t figure out how to automatically have the place (or event) title or URL in the message Subject. Hope this helps and maybe you can help me with the HOWEVER part?
Thanks,
oliverJanuary 17, 2017 at 4:22 pm in reply to: Default Listing Image not showing in: Visual Composer – Posts Grid #344543Hi Paolo, I have used the GD shortcode instead of the Visual Composer Post Grid and it works great. Thank you. *solved*
January 16, 2017 at 9:14 pm in reply to: Default Listing Image not showing in: Visual Composer – Posts Grid #343782Thank you for reply. At this moment I can’t upload the website yet because I don’t have an URL yet. I have made a screenshot where the GD events with a ‘Default listing image’ show a blue square (image is missing). The photos are from events with a custom uploaded image. I hope this helps?
-
AuthorPosts