deanbarrow
Forum Replies Created
-
AuthorPosts
-
Thanks guys, I appreciate your comments.
Great, looking forward to it!
Hi Stiofan,
Yes I run multiple locations.
Is it just the homepage it can cause problems or can caching /custom-post-type pages cause problems too?
What are the problems you’ve seen?Thanks
Yes there was some problems with content being cached on the homepage when changing locations so this was added, i see it is running on all other pages.
Hi Stiofan,
Do you remember what these problems were?
I’m looking to cache the home page to speed things up.Would it be possible to put a hook on line 100 of geodirectory.php so I can enable the cache without losing the setting on each update?
This reply has been marked as private.Just checked that and it’s disabled which I believe is the default.
My post is only showing 20 reviews but the comments admin screen is showing 37 (I also manually counted to check).
I’m using Avada if that helps.I’ve noticed only 20 reviews are being displayed even though a listing has more than 20.
How do I show the full amount?Thanks Paolo, helpful as always.
I’ve done a little digging around the forum.
Am I right in thinking that I’m not using locations or geolocation, that I safely ignore sessions?
Would this affect the wordpress login and adding/editing listings?
Thanks
I’ve recently got varnish running a found that because sessions are always enabled, it’s not actually caching anything.
Is there scope to change how sessions are handled so that they’re only enabled when actually needed? e.g. login screen, add/edit listings etc
Great, thanks! 🙂
Thanks for the quick turnaround. So I can just add the below to functions.php it’ll be okay?
function fix_geodir_curPageURL() {
$pageURL = ‘http’;
if (isset($_SERVER[“HTTPS”]) && $_SERVER[“HTTPS”] == “on”) {$pageURL .= “s”;}
$pageURL .= “://”;
$pageURL .= $_SERVER[“SERVER_NAME”].$_SERVER[“REQUEST_URI”];
return $pageURL;
}
add_filter(‘geodir_curPageURL’, ‘fix_geodir_curPageURL’);I’ve noticed that if the referring url is set and you sign up for a new account, it dumps you at the sign up page with no success message to say the account has been created.
If I then log in with the credentials I just supplied, I am then forwarded to the entry form.
Ideally this should forward me straight to the entry form without having to log in.Can you check this?
I’ve got the option enabled to allow the user to set a password.Works perfectly now, thanks for the quick response.
This reply has been marked as private. -
AuthorPosts