Stiofan O'Connor
Forum Replies Created
-
AuthorPosts
-
December 16, 2015 at 6:55 pm in reply to: Prorata feature + Disable current listing subscription once upgrade #64101
Hello,
Paolo is correct, at the moment neither will cancel a subscription, paypal cant and stripe i think now via code it might be possible but it is not implemented. At the moment it would be upto the user or the admin to cancel the sub.
Do you need to make them all subs? What i usually do is have a basic sub and then shorter upgrade packages, call it “featured” where a user can upgrade to feature at a increased one off cost and then when it finishes they downgrade to the standard package.
Thanks,
Stiofan
OK kool
(not tested) You could add something like this to your functions.php file
if (geodir_is_page('login') && get_current_user_id()) { wp_redirect("YOUR-URL-HERE", 302); exit; }Thanks,
Stiofan
Thanks for the info, this is what i would do in your situation:
#1 Upgrade the PHP version on your server, you are running 5.3, by upgrading to 5.6 you should see a good boost in TTFB which is where the problem seems to be here.
#2 Disable all non GD plugins, i would do this in FTP by cut/paste to another folder, plugins.bak, doing it this way will not lose any plugins settings (unless you visit the plugins page in wp-admin) and keep refreshing the site and noting the load times and activate each plugin one by one to see if there are some causing big delays, if so can u live without that plugin?
#3 If you notice some plugins like maybe the forum are causing delays it might be better to move those to it’s own multisite, like site.com/forum/
Let us know how you get on.
Thanks,
Stiofan
Hello,
I cant seem to login with the FTP details provided, can you double check them and verify what one is the user/pass (i tried both ways but it did not work)
Thanks,
Stiofan
You are welcome 🙂
Hi Jasper,
Thanks for the info, please check now.
I have added two small CSS rules to GD>Design>Scripts>CSSThanks,
Stiofan
Thanks for the info, please check now 🙂
Stiofan
They might be conflicting in some sort of way, or the other reason might be the server is running out of resources, as on each load GDB will stack and minify JS and CSS, your server might be throttling it, whats your server spec?
Thanks,
Stiofan
The login page will not let you view it once logged in, it will automatically redirect you, please let me know where you want it to redirect to?
Thanks,
Stiofan
Hi Jenny,
If you know how, please replace this file in core GD: https://github.com/GeoDirectory/geodirectory/blob/master/geodirectory-functions/map-functions/get_markers.php
if not, please provide FTP details and we will do it 🙂
Thanks,
Stiofan
This reply has been marked as private.Giri managed to run the following query on the DB which seemed to fix things, he took a backup of the table before in case you need it(i dont think u will)
UPDATE wp_comments c JOIN wp_geodir_post_review r ON c.comment_ID = r.comment_id SET c.comment_parent = '0' WHERE r.overall_rating > 0Please check things now.
Thanks,
Stiofan
Hello,
I still can’t get the cpanel to work right, but i see the problem as all but one comment seem to ahve parent_id as if they are replies to other comment but the id are not even valid comment ids, i have no idea how this would have happened, maybe some sort of wrong comment import? You need to set the parent_id for the comments to 0 but you might have some genuine replies which should not be set to 0. If i were to even be able to start to help i would need proper DB access and your cpanel still constantly loges me out.
Stiofan
Get me on skype and we will figure it out.
Stiofan
Please check now, it seems to login but now redirects to a 404, let me now exactly what you want/expect to happen.
Thanks,
Stiofan
-
AuthorPosts