Colby Albarado
Forum Replies Created
-
AuthorPosts
-
Thanks Guust!
Just a quick note: Ive installed WP Rocket, and my server is running Varnish. Been running for a little over 10 days with no issues to report. Running WordPress 4.8.2, with current Divi theme
Really , i just need to move the map to the very bottom…
Hey Alex,
thanks for the response. do you mean in the “place settings “? I’ve done that and it doesnt put the address at the top….
anything else i could try?Thank! got it the fields moved. However is there anyway to reorder them?
the Address, time fields are below the map, and need to be above the “profile section… screenshot attached
This reply has been marked as private.Stiofan,
just applied the update for the invoicing plugin and the Divi admin issue from earlier is resolved. Just thought i would pass that alongthanks!
Great, i’ll only use rocket. I’ll start another thread on UWP forum for sure for that.
on the registration issue, i have no clue. Not even sure if that is worth worrying about. i’ll tackle that another day (or month..)
Thanks Stiofan – i am going live momentarily , the Divi bug isn’t a show stopper for me, as it isn’t really disrupting anything other than that back end style . I’ll keep the cloned copy live for now.
Also, i have activated WP Rocket with the site and all seems to be working fine, I also have Varnish running on the server. Not sure if this was necessary, but i excluded these pages from the WP-rocket cache (logic being that i dont want any user account info cached):
/gd-login/
/add-listing/
/my-invoices/
/wpi_invoice/(.*)Other notes:
– Couldn’t use GD Booster at the moment, resulted in the GMaps not displaying, probably something to do with the API key being called on the divi theme’s options.– Tried to use UsersWP with the site, resulted in some non-optimal displays for the GD directory, however i really liked the profile displays for my standard blog post authors, looked fantastic. But i was otu of time and this wasnt a really bug priority , so i’ll work on that later.
– Also, I need to figure out a way to prevent user registration for anyone else other than the directory listing subscribers. The “allow anyone to register” WP option opens it up to anyone being able to register, which we do not want. I have a temporary solution in place that hides the links to the WP registration form, but if s user is clever enough they can type the URL in and get there.
Overall great experience with the AyeCode Products, I will be certain to give a great review and spread the word to help you guys grow!
Shortcode Created for Dashboard Link
Hey guys this is what i came up with for link/button i wanted for the link directly to the dashboard, I am by no means a proficient PHP guy, i know just enough to get me in a lot of trouble, so this may or may not be the most optimal way to handle this. Basically created a function with Stiofan’s code above, checked to insure the user is logged in, also added the stype to the URL array. Also gave it a css class to style the link like a button. Now i can place that shortcode anywhere.
function GDdashboard_shortcode( $user_id = null, $author_link = null ) {
if (is_user_logged_in()) {
ob_start();
?><a class=”aaButtonGD” href=”<?php$user_id = get_current_user_id();
$author_link = get_author_posts_url($user_id);
$author_link = geodir_getlink($author_link, array(‘geodir_dashbord’ => ‘true’,’stype’ => ‘gd_place’), false);
echo $author_link;
?>”>My Listings<?php
return ob_get_clean();} else{
return null;
}
}
add_shortcode( ‘addGDdash’, ‘GDdashboard_shortcode’ );This reply has been marked as private.This reply has been marked as private.This reply has been marked as private.Thanks. Ill try that
yes, i am comfortable with inserting PHP code, creating functions, hooks , filters and what not. You can send the code and i’ll figure it out.
thanks!
-
AuthorPosts