lazyym
Forum Replies Created
-
On line 878 I see this
if( is_array( $children ) ) { foreach( $children as $attch) { adverts_delete_post( $attch->ID ); } }Could that be it?
That didn’t work Greg. I used a test account. When I deleted an expired ad it did not delete peepso community posts. When I deleted an active ad, it did. All community pposts have been deleted again. Not wpadverts posts that appear on the community stream. But all other posts are gone.
It does NOT delete any wpadverts posts, ONLY peepso community posts. All of them including comments on peepso community posts.
// also delete all uploaded files if( is_array( $children ) ) { foreach( $children as $attch) { adverts_delete_post( $attch->ID); } }What exactly should I remove here Greg?
I will share this at peepso here: https://www.peepso.com/community/?status/10632-10632-1568668881/?t=1581592282
- This reply was modified 6 years, 3 months ago by lazyym.
Forum: Plugins
In reply to: [WPAdverts - Classifieds Plugin] Mark as sold goes to white screenI’ve deleted the manage ads template and it works Greg. Is there a complete new template? If you could paste it here, I’ll just start over.
Forum: Plugins
In reply to: [WPAdverts - Classifieds Plugin] Mark as sold goes to white screenThat did it. Sorry, must have missed that one in the instructions. Thanks!
Forum: Plugins
In reply to: [WPAdverts - Classifieds Plugin] Mark as sold goes to white screenEven with debug on, I get a white screen and no errors reported when marking sold or for sale. It executes after I’ve returned to the page but still shows the white screen afterwards.
Forum: Plugins
In reply to: [Collapse-O-Matic] All texts expanded when page opensSame question. Following. Thanks! 🙂
Forum: Plugins
In reply to: [WPAdverts - Classifieds Plugin] WPautop breaks wpadverts pagesExcellent as usual. That did it. Thank you sir!
Forum: Plugins
In reply to: [Auto Affiliate Links] AAL Breaks Peepso Link PreviewsI’d be happy to share the terms NOT working at my sites so you can add them as needed if it helps. Let me know the best pace to send them or keep them so you can see the current terms.
Thanks!
Forum: Plugins
In reply to: [WPAdverts - Classifieds Plugin] Stop/Remove VigLink links!I’ll try that, thanks!
Forum: Plugins
In reply to: [WPAdverts - Classifieds Plugin] Auto Affiliate Links?Thanks Greg, that doesn’t seem to work. Lucian had fixed the core files with the previous issue is why probably. Any other ideas?
Forum: Plugins
In reply to: [WPAdverts - Classifieds Plugin] Auto Affiliate Links?Taking this a step further @gwin, is there a simple way for these links to be disabled when or after a user purchases a featured ad option? So that Auto Affiliate Links do not work in featured ads.
I’ve also always thought it would be nice to have an area at the top of featured ads where it states “This is a Featured Ad!”. And then a link to what featured ads are….
Thanks sir!
- This reply was modified 6 years, 8 months ago by lazyym.
Forum: Plugins
In reply to: [WPAdverts - Classifieds Plugin] Renewals show up in payment historyI have featured ads set up on new and renewal ads. Even free renewals are showing up in the report. I would like to remove free renewals because there is no “Payment”.
Great!
The only sort that works after clicking filter for me is this month and last month. Filtering to other months does not work correctly.
Forum: Plugins
In reply to: [WPAdverts - Classifieds Plugin] Auto Affiliate Links?Thank you Greg!
Wanted to share your reply so someone else might find it useful…
One thing you can try doing is add the below code in your theme functions.php file, if these are actually the <p> tags which are causing a problem then it should fix it
add_action( “init”, function() {
if( is_singular( “advert” ) ) {
remove_filter( ‘the_content’, ‘wpautop’ ); } } );If this will not help try replacing “init” with “wp_loaded” or “wp” and try again.
I am a huge fan of the 2016 theme and still use it on this site. What worked in my case in 2016 was replacing init with wp as your email suggested.
Awesome support as usual, thanks again!