Forum Replies Created

Viewing 15 replies - 1 through 15 (of 15 total)
  • Thread Starter sellyk

    (@sellyk)

    Hi,

    1. I’m using the bank transfer method.
    Yes I thought its also weird that it doesn’t autofill. Is there a snippet you can help me with to force it to autofill?

    2.Thats well noted. I’ll give it a try asap.

    Thread Starter sellyk

    (@sellyk)

    Hi,

    I’m using the Payments Module.

    I should have mentioned that this is when purchasing a membership, not after creating an ad. So currently when a user clicks ‘Purchase’ on the membership page, the next page that has the name & email field is not automatically filled, even though the are logged in. Could you kindly help me with a snippet that would help automatically fill the fields based on the details the user already inputed during registration?

    Which also brings me to another question: How can i set it so that a user must be logged in before they can purchase a membership?

    Thanks.

    Thread Starter sellyk

    (@sellyk)

    Hi,

    1. Okay, no problem

    2. Okay. I’ll try and let you know if i encounter any issues.

    Thread Starter sellyk

    (@sellyk)

    Hi,

    1. Noted. Is there a membership plugin that you can recommend that works well with the membership add on? ( other than Woocommerce)

    2. Is there a way all users that purchase a membership can automatically be assigned a certain role? For example for for Basic WordPress settings, admin can choose what the New User Role is by default. Is there a way to set it that all wpadvert members are assigned a certain role? Because a lot of plugins i’m finding to help with restricting content,menu’s etc are only offering the feature to restrict by role, not capability. Manually changing all member user roles consistently as they join would be quite tedious.

    Thread Starter sellyk

    (@sellyk)

    Also, one more thing. I’ve seen that I can grant members certain capabilities, but how can I assign them a role?

    Thanks again.

    Thread Starter sellyk

    (@sellyk)

    Hi,

    Thank you for helping me figure out what I was missing.

    Successfully made all the changes I needed to make.

    Thanks!

    Thread Starter sellyk

    (@sellyk)

    Hi,

    The plugin i am referring to is the one that you advise we create to have registered data sources as documented here: https://wpadverts.com/documentation/custom-fields-paid-addon/

    I’ll use the example thats available in the link above to further explain my dilemma, as I am not getting exactly what you mean.

    So e.g. array(
    “value” => “apple”,
    “text” => “Apple”,
    “depth” => 0,
    ),

    Via SQL I am able to change the value ‘apple’ with
    UPDATE wp_xxxxxx_postmeta SET meta_value = ‘ Red Apple’ WHERE meta_value = ‘apple’;

    This successfully changes all ads that were ‘apple’ to ‘Red Apple’, but only makes the changes on the frontend. So Now when i go to the backend in admin the ads that were ‘apple’ no longer have ‘apple’ selected. There is nothing selected on that field. It did not change from ‘apple’ to ‘Red Apple’ in the backend settings of the ad. This would mean i would have to manually change each ad to ‘Red Apple’ which is incredibly tedious.

    Kindly, I do not want to have to manually change a ton of ads from ‘apple’ to ‘Red Apple’. I want to be able to automatically change them all on the backend too, the same way i made changes to the frontend via SQL.

    Is there a query that can also change ‘apple’ to ‘Red apple’ that would automatically update the ads settings in admin?

    Thread Starter sellyk

    (@sellyk)

    Hi,

    Yes,exactly. It changed the values in the database but it did not change to reflect in admin dropdown.

    I have very many ads. Is there no way to bulk make the changes in admin without having to do so manually one by one. It would be incredibly tedious.

    I am working with registered data sources plugin. If I change the value via SQL + make sure to register ‘Stiletto’ , is there a way that when i change from ‘Heel’ to ‘Stiletto’, I can also run a query that would then input the correct option in Admin, from the options available in the dropdown?

    I’m just looking for anyway to not have to go make the changes manually one by one.

    Thread Starter sellyk

    (@sellyk)

    Hello,

    The second sql snippet you provided worked great. So now I can easily revert at any point.

    Thank you!

    Thread Starter sellyk

    (@sellyk)

    Hello,

    If I run that Query, is there a way that I can reverse it in future?

    Like if i want the ads to start expiring again at some point.

    If there is a way to reverse, what query would I run at that time?

    • This reply was modified 5 years, 7 months ago by sellyk.
    Thread Starter sellyk

    (@sellyk)

    Hi,
    The documentation link you sent helped me figure out why the changes I was making weren’t reflecting. Thanks.

    Also, Thanks for the snippet that worked well too.

    I have one more question , that isn’t necessarily to do with the above:

    I know that one can set the default visibility to 0 to have the ads never expire, however, I would like to know if there is a snippet that would have all the previously uploaded ads also be changed to ‘never expire’.

    Thanks in advance!.

    Thread Starter sellyk

    (@sellyk)

    Hi,

    In addition to the above, i’ve tried the snippet you gave me, but it didn’t work.

    I moved it to line 36 and no changes reflected, despite even clearing the cache.

    I even tried to delete that line completely to see if it would make any change to the front-end, but none.

    That line of code you provided me doesn’t seem to affect anything on the front end.

    In fact when i opened the single.php file it was missing the ‘?>’ at the end (i have now added it)

    Kindly, what could I be doing wrong?

    If you could also provide me with the way to move it below the gallery without touching the files, that would be great.

    Thanks.

    Thread Starter sellyk

    (@sellyk)

    Hi,

    If i want to move the contact box below the gallery how do i do that without modifying the template files?

    Thread Starter sellyk

    (@sellyk)

    Hi Greg,

    Thank you for the code snippet, it worked perfectly.

    As for the Text change, i already had the plugin, but it seems i was failing to put in the complete phrase. Thank you for giving me the correct phrase.

    I appreciate the help!

    Thread Starter sellyk

    (@sellyk)

    Hi Greg,
    Thank you for this snippet. It worked out well!

Viewing 15 replies - 1 through 15 (of 15 total)