gary_sweetman
Forum Replies Created
-
Hi Nastia,
Yes the time delay is working on a per post or page basis, however this unfortunately is not what I want and would like it to display after a total time on the website instead and not be reset when the user loads a new page.
Is this even possible?
Thank you
GaryNow I get it!
Thank you for your help, it mostly worked in that it changed the url to use the username, but it wasn’t adding the author name to the link on the single ad page (so it was returning “posted_by=”), but I (finally) figured it out.
So anyone else looking to do this after a little playing about I discovered that the first three steps from Greg above are spot on, but to replace the last $post->post_author (on line 152 unless you have made further changes) with this instead:
get_the_author(display_name)
This seems to have done the trick!
Sorry but how is showing how to “edit the code in a couple of places” far beyond? I have seen you offer far more on here, and I bet most of them didn’t buy a paid addon (as I have)
Out of several support questions I have asked, I have resolved the majority myself or decided to go without with you only providing basic support on one (showing custom fields in admin by saying I had to use $cf).
Oh well, looks like I’ll go without this one too
I have tried looking and broke it several times (backing up first so it could be reversed), but I seriously do not have a clue where I would need to edit.
Could you please help or point me in the right direction?
Forum: Plugins
In reply to: [WPAdverts - Classifieds Plugin] custom field not showing properly in adminThank you – That has sorted it!
My reasoning is that you used $cc in the “show details on ad details page” section, and I found that by using all 4 fields as $cf there the same result was diplayed on all fields so I used different ones for each option and gave them their function in that section so thought I could do the same for the admin part. My mistake and thank you for setting me straight!
Marking as resolved.
An update,
I have sorted the first one, I found adding this to the functions.php file worked (which I edited from an earlier fix for the search function):
//Remove latest posts from ad widget add_filter('adverts_widget_list_query', 'remove_wp_latest_posts', 1); function remove_wp_latest_posts($query) { remove_all_filters("pre_get_posts"); return $query; }
I have also added a couple of custom fields so that members can say if the item is free or to contact for a price so I no longer need number 3 from my questions (although it would still be preferred my workaround is workable).
Number 2 (the custom sidebar to show on the single listing page), I would still like to have but can live with it just on the main classifieds page if needs be (my Q&A add on is the same).
So I will mark this as resolved
Hi,
1. I tried deactivating all plugins however the problem of it showing latest posts still remained, so I tried the twenty fifteen theme and yes the widget worked, however I have put far too much work in to roll back to start again now so I really need this widget working with my theme but I wouldn’t know where the conflict could be as it doesn’t conflict the other way around (latest posts does not show the latest adverts), so I’m hoping there is a fix to stop latest adverts showing latest posts?
Hopefully this will provide some clarification on the other two:
2. I have used a custom sidebar to display the categories on the classifieds, post an add, and manage ads page sidebars, however this does not show on the single ad pages, is there a way to do this?
3. Entering nothing in the price field does not show a price on the ad (and it shows “none” under the price in all classifieds in admin), therefore I would like to either make it required to have a number greater than zero, or if nothing or “0” is entered into the price field when submitting an ad for the price on the actual ad to display “FREE” (preferred)
I’m really hoping that I can get these issues sorted (if/when I do I will be buying the PayPal addon)
After installing and setting up the contact form I will mark this as resolved, I’ll look forward to the update for the bundles if/when it happens.
Thanks again
(I have also started another thread as it’s unrelated to my original questions)
Thanks again for your response, though the code snippet looks too advanced for my (very) basic skills, I have the php code to display per user level however I wouldn’t know what to do with it to integrate it unfortunately.
Hi,
Thank you so much for your quick reply and it’s looking better that there is now functionality to add a contact form, however unfortunately packages/bundles are also quite important to my plans, but others that offer them dont seem to look or feel as good as yours and, or are standalone themes which again I do not want.
Are there plans for adding bundle capability in the future?
Alternatively is there a way that I can limit the total number of ads allowable by the members role name (ie. bronze members get up to 5 listings at a time, silver up to ten, etc. (I already have a membership plugin)).
Thanks
GaryForum: Plugins
In reply to: [DW Question & Answer] Registration link on submit question pageThis was exadctly what I was looking for, thank you
This should be a feature by default