adeacetis
Forum Replies Created
-
Resolved
@brian I’m going to look at it. Thank you infinitely for your support and help.
@brian It worked like a charm.
The Sportpress support was activated and the files were located into ‘ MY_THEME_DIR/inc/’ . I guess it was simply file location issue. I shall read your documentation once again.
Thank you very much (1000x times),
A.Here’s how I extend SP Classes :
if ( class_exists( 'SP_Team' ) ) { class CHB_Team extends SP_Team { /* ... Code here ... */ /* ... A custom function that gets social media account stored into a custom fields ... */ public function social_media( $network = null ) { $output = array(); if ( $network ): return get_post_meta( $this->ID, 'team_social_' . $network ); else: $defaults = array( 'facebook', 'twitter', 'instagram', 'tumblr', 'pinterest', 'youtube', ); $defaults = array_reverse( $defaults ); foreach ( $defaults as $key ): $response['network'] = $key; $response['url'] = get_post_meta( $this->ID, 'team_social_' . $key, true ); if ( $response['url'] ) : array_unshift( $output, $response ); endif; endforeach; return $output; endif; } } }You see here $this-ID is supposed to come from SP_Teams which gets it from SP_CustomPost.
Thank you Brian,
A.Hi,
Thanks for paying attention to security. I’ve had bad days last time because of some hackers.
For mitigating risk, I always uninstall the plugin on site in production.WP has tried to avoid that kind of issue with prefix on table names. Maybe you can forbid table insertion if they have the same prefix.
Wouldn’t it be possible easily ?Cheers!
Axel
Hey Cory,
I foud out that I left an archive repo in my project folder which weight around 250MB. Plus the website, I have tried to “Duplicatorate” a package of 500MB. Definitely too heavy for the plugin.
Eventually, I simply filtered out the archive repo AND my ‘wp-content/uploads’ repo as well. It worked like a charm.
Hope it will save hours to the community.
Thank you for this wonderful plugin anyway.
Axel
Hi,
First of all, thank you very much Cory. This plugin makes me save years.
Well, I’m experiencing the same problem.
I’m editing an existing website locally. The migration from the web happened fast and easy, but now I would like to upload the site on its stage server in order to show it to the customer.The scanning animation seems to work but then I can not build the package. The fist time it does it to me.
In the upload folder, I have picture named with french special character. I tried to filter out this folder but I can’t go on. The log file is empty. I don’t know where to search.
Any idea ?