Install Instructions: Upload the included files to your server, and place your new pages in a /wrapper directory following the format in the sample.wrapper.php file.
Create a new page in the "wrapper/" directory, it should follow the example in the sample.wrapper.php file.
Create a new string in the "languages/english/wrapper.php" file following the example of the "sample" string to setup the title of the page.
Your new page will now be accessible by accessing the wrapper page as "wrapper.php?wrap=sample".
Please Note: Whatever you name your page in the "wrapper/" directory will be what the script will use to call your new page (and the associated language string), so we recommend that you use all lowercase characters.
Version Additions: v0.3 - Updated the wrapper system to be in line with v7.6.0 changes (note that previous builds should continue to work, they will just have old style elements). v0.2 - This maintenance release was simply for some code cleanup and simplifying adding titles for new pages as language file strings.
Pricing: $0 - This modification is freeware to the UBB.Threads7 world; but if you feel like donating, feel free to access the "information" page above.
Last edited by Gizmo; 02/26/20174:54 PM. Reason: Added v0.3
It works fine GIZ. Operator error on my part. I had the settings in the cp for portal settings to only show left(True) and only show right(True). So the portal showed the islands but the forum summary did not. So the wrapper just did what it was supposed to. Not show islands because the cp was set to not show islands in the forum summary. Because of a conflict in the CP settings. DUH!!!
Okay I am starting to like this a lot more. But I have one complaint using Iframe. Setting the height to 100% does not seem to work and never has for me. I would like to eliminate the scroll bars. Here is my insert in the wrapper.
Tried that . No go still a blank page. I also removed the php tag at the beginning and end of the include. That just shows a parse error. So unless you have a suggestion on what I am doing wrong I guess I am back to the Iframe tag. Could it be due to the html file is a stand alone page with head,meta and body tags. What I am using is a page that someone else publishes to the same site so it is native. I believe it has some java and cgi scripts in it already have not looked that close since I don't edit that file. So maybe that is the culprit and I just need to live with Iframe.
thanx! that was the trick... didn't know about that tag.
I just got my hard drive back to working status (if you own a seagate drive, check the firmware!) and am trying to get caught up on projects, one of which is converting my remaining stand alone pages to wrapped pages.
I took my "contact us" page and wrapped it.. just a simple form the fill out and it emails me their question, since I moved it, it is occasionally snagging other info.. for example, I did a quick test, and it somehow snagged and incluced my login name and password, but the next time I tried it worked normally, then it did it again later..
and just now I got another email with someones login info in it.
the forum uses a standard formmailer script to handle the email, I can't figure out what is causing it to grab that info, or why it is only doing it sporadically.
I assume so
First, Sorry to be the culprit to turn this post into typewriter mode.(Ding) But the java script fix for Iframe did not work.(Ding) I think the culprit with the java script is it needs to be formatted a little different to include in a php script.(Ding) So for now I will live with just a fixed Iframe size.(Ding)
ok, I have been playing with this on a new project today, trying to wrap an old links page which is built with tables and am trying to get it to pick up the same CSS style as the forum is using, but it doesn't get applied no matter what I do.
no granted, I am a noob who never learned CSS and needs to, but I can't imagine that this should be this difficult to figure out.