Fork me on GitHub

what is the best wrapper  Bottom

  • I need a wrapper that will adjust in size according to the HTML document.

    what is the best one?
  • I prefer NukeWrapper. Found it to be the most reliable and best documented. Plus msanderson does a great job monitoring the PN forums to give support to. Really appreciate it martin. Thanks!
  • hey mac.

    I get this error with nukewrapper 2

    Fatal error :
    module = NukeWrapper
    op = main
  • ok nukewrapper tottally baffles me
    can someone write up some docs or point me to them. Or walk me through them one night.
  • http://users.tpg.com.au/staer/NukeWrapper.html

    What version of PN are you using? Have you activated the module? Have u tried using just page.php instead of the module version? What theme are u using? What theme engine? Are u tryign to view a web page or a local document? Please provide more info.
  • What version of PN are you using? .750 gold
    Have you activated the module? Yes now I can not even see the module
    Have u tried using just page.php instead of the module version? umm no didn't know I could.
    What theme are u using? Theme I created. www.orionfaction.com
    What theme engine? AutoTheme
    Are u tryign to view a web page or a local document? I am trying to view vwar pages "PHP"pages within the site itself. vwar is installed in /vwar/ off of the main directory.
    Please provide more info.
  • Did u you read the documenation link i provided? I think that will answer most of your questions. Looks as if u didnt even install the page.php file in your PN root. I highly recommend reading that link i gave you and the install instructions included with the module.
  • I tried to find a install.

    However, it does have the link embeded in the docs. Unless I d/l the wrong one.

    Do yo have one or a link to one with an install.txt
  • Sorry, been busy :)

    The ReadMe linked above is included in the module's Documents folder.
    I do need to update some of the package, the ShortURL stuff mostly refers to older themes.

    Firstly I'll apologise for the half-finished state of the module version of NukeWrapper. It was originally written as a stand-alone script since I wanted as short a URL as possible, and without URL rewriting it doesn't get much shorter than page,PHP?file=filename.html
    There was a need for a module version, but I only got so far as making the User part, not the Admin part. Hence the documentation doesn't really talk of the module, it's there for people who wish to use it though. It's the same functionality, but different location. I mention it briefly in the documentation only, and as mentioned, it is currently configured manually from
    modules/NukeWrapper/NukeWrapper.conf.php
    This should of course be done by the unfinished Admin module, but there you go.

    Seems the trouble is that you are using a Microsoft IIS server. Haven't really done much testing on it, to be honest! I use Apache.
    The trouble is that PHP on IIS doesn't seem to be able to get the local IP address, and in combination with a bug where the setting for External URLs affect even local files, this means you're blocked.

    There are two fixes: Firstly, change the setting in the above config file to allow external URLs (default off).
    To do this, set the option
    $AllowExtLink="1";
    This will also make your problem go away, but to really fix it, about line 99 in modules/NukeWrapper/pnuser.php, underneath the comment that reads // If not allowing external connections, redirect to index page, change the line so it reads:

    Code

    if (!empty($Request['url']) and $AllowExtLink==false and !empty($_SERVER['SERVER_ADDR']) and $_SERVER['REMOTE_ADDR'] !== $_SERVER['SERVER_ADDR'])


    That should fix it.

    BTW, if using the module, the above config file is also where you set permissions, ie what directories are allowed. There are plenty of comments in it.

    -Martin

This list is based on users active over the last 60 minutes.