WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] can't locate flash banner I hope to remove (20 posts)

  1. jaylad
    Member
    Posted 1 year ago #

    I'm trying to remove a flash banner located on a secondary page of a website I just took over; however, the script used to call it isn't accessible in appearances>widgets.

    Any ideas where I should look to find the script I need to remove?

    Source code to call the banner is <script src="http://h1.flashvortex.com/display.php?id=2_1332928041_971_624_0_249_184_9_1_124" type="text/javascript"></script>

    Where (in what type of file) might this be found, and how can I remove it?

    I've looked through literally all of my .php files, widgets and plugins with no luck. Is it possible that I'm only viewing widgets for the front page, but not all widgets?

    Imperfect guesses are welcome!

  2. Timothy Jacobs
    Member
    Posted 1 year ago #

    Could you post a link to the site?

  3. jaylad
    Member
    Posted 1 year ago #

    Of course. Not sure how that will help though. The code for the banner is the code above, and the banner is at the beginning of an appnitro form. site

  4. Timothy Jacobs
    Member
    Posted 1 year ago #

    It looks like it is coming from the exec php widget, is that installed anywhere?

  5. 2ninerniner2
    Member
    Posted 1 year ago #

    The appnitro form is created with their product MachForms:

    http://www.appnitro.com/doc-form-code

    You will probably have to contact the person who created this form to have them remove it.

  6. jaylad
    Member
    Posted 1 year ago #

    yes. there is a folder and it contains css, docs, js, images, languages folders.

  7. Timothy Jacobs
    Member
    Posted 1 year ago #

    Is there a widget though?

  8. jaylad
    Member
    Posted 1 year ago #

    I'm not sure. there's an "includes" folder which contains various php files... including script.php and ajax.php. I don't understand these...

  9. Timothy Jacobs
    Member
    Posted 1 year ago #

    no sorry, I mean under appearance->widgets is there an exec php widget?

  10. jaylad
    Member
    Posted 1 year ago #

    no. only an unrelated php code, text and categories widgets appear there

  11. jaylad
    Member
    Posted 1 year ago #

    I haven't yet found any solutions, but thanks tons for your help in troubleshooting this

  12. Timothy Jacobs
    Member
    Posted 1 year ago #

    In the future please post code using the code button.

    Have you looked at the machform.php file, that seems to be where it is coming from.

  13. WPyogi
    Volunteer Moderator
    Posted 1 year ago #

    In the future, also please do not create new duplicate threads - it's against the forum rules and makes it much harder for people here to help you - this should have been continued here -

    http://wordpress.org/support/topic/taking-over-existing-wordpress-created-website?replies=11

  14. jaylad
    Member
    Posted 1 year ago #

    I've looked at it but nothing seems to refer to the banner, only to the larger form below the banner. But, then again, it's less familiar to me than mandarin chinese...

    In the source code, the banner is within the div .form_description, which doesn't appear anywhere within the machform.php file.

  15. Timothy Jacobs
    Member
    Posted 1 year ago #

    Yeah it is really hard to trouble shoot this over the interwebs, could you possibly post a pastebin ( where it says syntax highlighting please select php! ) of that file, I am wondering if inside there it is importing content aswell.

  16. Timothy Jacobs
    Member
    Posted 1 year ago #

    PASTEBIN

  17. jaylad, what Timothy is trying to point out is that when you have more than 10 or 15 lines of code, it's way better to use pastebin or a gist to store the code. People can edit and leave changes in nicer ways too :)

    Also if you DO use our code tagger, the backtick has to be the first character on the line, no spaces in front

    ` won't work

    this works

  18. jaylad
    Member
    Posted 1 year ago #

  19. Timothy Jacobs
    Member
    Posted 1 year ago #

    I couldn't see anything in that file either. I would start combing through those machform php files, it seems to be the only place, I could be mistaken of course :). But that is where I would start.

    Alternatively, if you download a copy of your wp install, you could search across all of the wordpress content for a phrase in the flash code.

  20. jaylad
    Member
    Posted 1 year ago #

    I just thought to look up appnitro, which I learned generates and hosts the form. They also provide the option of adding content to the top/header of forms via their account options. So. the form was hosted and located on machform/appnitro's website. (see: edit form)

    So... it all came down to sloppy troubleshooting on my end, as I started on step 3 rather than step 1—properly exploring content surrounding the script. ☹ I'm too used to widgets, etc.... but Sheldon Cooper would be horrified.

Topic Closed

This topic has been closed to new replies.

About this Topic