• Resolved Sagano

    (@sagano)


    I want to do two things regarding the BadgeOS submission form.

    First, I’d like to remove the attachment area. How to do that has already been answered here, but I am so new at this I don’t even know where on the back end of my wordpress site I should find the CSS that I’m supposed to edit. Where is it?

    Secondly, I want there to be a prewritten word in the submission form, so that all that’s left for my users to do is click on “submit”. Is that possible? I’m thinking something like “Done!”.

    This is an example of what the BadgeOS submission form currently looks like on my site. My site’s in Swedish, but the submission form at the bottom is in English.

    https://www.ads-software.com/plugins/badgeos/

Viewing 15 replies - 1 through 15 (of 22 total)
  • Michael Beckwith

    (@tw2113)

    The BenchPresser

    Your theme’s CSS file, so Appearance > Editor. The style.css file should be loaded first, and that’d be a good first place to check. It will depend on how your theme is done and setup, I don’t know what one you’re using.

    I can’t think of any great way offhand on how to populate the submission comment stuff with a default value, sadly.

    Thread Starter Sagano

    (@sagano)

    I found the CSS just now, incredible that I didn’t see it before. I mean, it’s right there.

    Ok, thank you anyways Michael, it was worth a shot. It’s probably possible to translate “submit” to a swedish word, and that’s good enough.

    Michael Beckwith

    (@tw2113)

    The BenchPresser

    Welcome.

    Thread Starter Sagano

    (@sagano)

    I just have one more question before ticking this off as resolved: The advice you gave a year ago about how to remove the attachment area, is that still the recommended way to go about it? I can’t find anything that looks like this:
    .badgeos-submission-form .badgeos-file-submission { display: none; }
    in the CSS.

    Michael Beckwith

    (@tw2113)

    The BenchPresser

    You’d need to add that to your CSS, it’s not going to be there already.

    Thread Starter Sagano

    (@sagano)

    OK, but where? Does it matter what comes before or after? ??

    Michael Beckwith

    (@tw2113)

    The BenchPresser

    Shouldn’t matter as long as it’s in your style.css somewhere.

    Thread Starter Sagano

    (@sagano)

    Thanks, it worked!

    But, it’s still there after you click “submit”. I don’t want the attachment area there, actually I don’t even want the comment area there. I just want my visitors to click “submit” and be done with it ??

    Is there a similar piece of code I can put in my style.css to make neither attachment area nor comment area show after clicking “submit”?

    Michael Beckwith

    (@tw2113)

    The BenchPresser

    Just need to amend the previously provided selector to target even more elements on the page. I’d be surprised if you couldn’t disable comments via the post editor screen and just have them not show that way. Otherwise, may need to get a customized template file that’s used to show the achievements and not the comment form.

    Thread Starter Sagano

    (@sagano)

    Well, it’s not the ordinary comment area, that I have disabled. What I meant is the option to comment on a submission, and below that texbox the attachment area appears, though it’s not there before I click “submit”.

    Michael Beckwith

    (@tw2113)

    The BenchPresser

    Still going to be a case of finding a matching CSS selector to use with display: none then. If you can provide an accessible link to where you’re trying to hide this stuff, I can do what I can to provide a 2nd one for you to use.

    Thread Starter Sagano

    (@sagano)

    https://bitfrbit.se/mat/avsta-flaskvatten-drick-kranvatten/

    I don’t have the Guest Achievements add-on though, so perhaps the link isn’t very useful if you don’t create an account on my site.

    Michael Beckwith

    (@tw2113)

    The BenchPresser

    Yeah, I may need an account to see the part in question. michael @ webdevstudios.com would reach me. I shouldn’t need any more than a subscriber account to see it.

    Michael Beckwith

    (@tw2113)

    The BenchPresser

    Saw your email come in yesterday.

    Logged in, and I’m not quite sure I’m seeing the right spot that you’re trying to remove. You’ll need to forgive as I only know english for a spoken language.

    Thread Starter Sagano

    (@sagano)

    Of course ??

    You should see a couple of things in english if you scroll down to the bottom of the page though, if you follow the link I sent. If you click “submit”, at the bottom, do you see the attachment area appear again at the bottom after you’ve refreshed the page? It says “Attachment: V?lj fil. Ingen fil har valts.” And a comment area where you can comment on your submission? That’s the two things I would like to disable.

    The attachment area is more important to get rid of than the comment area though.

Viewing 15 replies - 1 through 15 (of 22 total)
  • The topic ‘How get a prewritten sentence into BadgeOS auto-accepted submission text box?’ is closed to new replies.