WordPress.org

Ready to get started?Download WordPress

Forums

adding pabox (9 posts)

  1. pvicnan
    Member
    Posted 10 years ago #

    I uploaded pabox onto my server, and have that runnning. I also have my blog running. I tried to add the pabox into my menu bar, but to no avail. Could it be the code I am using? I know absolutly nothing about coding, and simply swiped this off the other coding I could find.
    <li id="shout">Shout!:
    <?php include('pabox/pabox.php'); ?>


  2. Any help is greatly appreciated! thank you

  • OperaManiac
    Member
    Posted 10 years ago #

    try using relative links that start from the base if u are using the rewrite rulez.
    this is just one of the things...

  • pvicnan
    Member
    Posted 10 years ago #

    meaning? *'.'* Sorry.. i am totally lost..
    <li id="shout">Shout!:
    <?php include('/domains/vicnan.com/public_html/pabox/pabox.php'); ?>


  • is this it?

  • OperaManiac
    Member
    Posted 10 years ago #

    now i am not exactly sure if php need to be called from the absolute base or browser level base.
    i think /pabox/pabox.php should work...
    i saw the hack now...
    and when i try to enter anything i get this page:
    http://www.vicnan.com/pabox.php?action=add
    which ofcourse dont exist. coz the php file is in a subfolder.
    also afaik, these shoutboxes run in an iframe... not sure abt that too...

  • pvicnan
    Member
    Posted 10 years ago #

    hack, meaning the shoutbox? When i enter anething, i get http://www.vicnan.com/pabox/pabox.php?action=add, which DOES exist..

  • southerngal
    Member
    Posted 10 years ago #

    When I used the pabox I just put in an include with the actual web address:
    <?php include('http://yourdomain.com/path/pabox.php'); ?>
    I tried the absolute path, but it never worked for me. I did put it in a pop-up window eventually as I liked that better. :)

  • OperaManiac
    Member
    Posted 10 years ago #

    so no way to actually include in the page itself? :O(

  • pvicnan
    Member
    Posted 10 years ago #

    whoops.. silly me.. i've got it running.. what i did, was to make a i-frame, point that at the exact url, and resized the pabox.. is it too shoddy?

  • OperaManiac
    Member
    Posted 10 years ago #

    nope. i have found all shoutboxes to be out of the main page's content...

  • Topic Closed

    This topic has been closed to new replies.

    About this Topic

    Tags

    No tags yet.