Forums

Embedding a guestmap? How should I embed php apps? (9 posts)

  1. digitaltoast
    Member
    Posted 6 years ago #

    There's a nice guestmap here; uses php and mysql. Works fine standalone:
    http://www.thompsonbd.com/guestmap.php
    Tried various methods, from using the php exec plugin, to using an iframe (ugly way, IE doesn't work that way either).
    Not really sure I "get" this whole embedding thing - tried playing with the "plugins used" template page from the vslider theme, but there's clearly some kind of "link" I'm missing.
    Don't suppose anyone with the skills wants to make a plugin of this? I'm sure it'd be useful for quite a few people.!

    Thanks

  2. ladydelaluna
    Member
    Posted 6 years ago #

    look for the RunPHP plugin - worked like a charm for me.
    You just have to remember to use the non-wysiwyg editor when writing or editing the page where you include the php file.

  3. digitaltoast
    Member
    Posted 6 years ago #

    Sorry, runphp was the other one I tried, too!
    And I used non-wysiwyg too. I think it's a little more complex than just pasting code!

  4. ladydelaluna
    Member
    Posted 6 years ago #

    did you follow the installation instructions completely? it's not just a "drag and drop" plugin.

    i've used it on several sites and not had a problem with it... what version of WP are you using?

  5. digitaltoast
    Member
    Posted 6 years ago #

    I think the problem is happening in the fact that there are script calls in head and there's an onload in the body - for example:

    <script src="http://maps.google.com/maps?file=api&v=1&key=A" type="text/javascript"></script>
    <script src="guestmap/pdmarker.js"
    <? include('guestmap/process.php'); ?>

    <title>guestMap 2.5</title>
    </head>

    <body onload="onLoad()">

    etc

    (sorry about formatting - I tried putting the code tag between backticks, but it doesn't seem to work)

  6. ladydelaluna
    Member
    Posted 6 years ago #

    backticks aren't the same as single quotes - just FYI for the future... backticks are the key to the left of the number 1 on the top line of your keyboard... :)

    is your problem resolved now?

  7. digitaltoast
    Member
    Posted 6 years ago #

    Thanks - I WAS putting a backtick!

    see? here is some code between backticks

    Anyway, if anyone else was looking for a guestmap, someone helped me out and the result can be downloaded here:
    http://www.galleryembedded.com/forums/viewtopic.php?p=14498#14498

    Not that you don't drop the code into a wordpress page, rather just a seperate file in the wordpress dir.

  8. kentendresen
    Member
    Posted 5 years ago #

    If someone has a more in depth explanation how to get this on a wordpress page, then don't hesitate to tell me. I am lost.

  9. digitaltoast
    Member
    Posted 5 years ago #

    Well, it's been 8 months. That developer has kind of given up on it and I'm looking for a decent Google Maps based guestmap, even if it can't be embedded in WordPress.
    I don't want to use an externally hosted on because they either disappear, or suddenly start flooding you with adverts!

Topic Closed

This topic has been closed to new replies.

About this Topic