php forum
php mysql forum
php mysql smarty
 
Page 1 of 4 1 2 3 4 >
Topic Options
#318035 - 07/27/09 12:44 PM [7.x] UBB.Wrapper
Gizmo Offline

Wizard

Registered: 01/10/00
Posts: 5305
Loc: Portland, OR, USA
Author: Gizmo (James of VNC Web Design & Development

More Information: You can view the VNC Web Design and Development information page for this script here.

Requirements: UBB.Threads 7.x (not compatible with UBB.Threads 6.x or below)

Current Version: v0.2 Refresh

About:
This addon will allow you to call pages into your UBB.Threads7 install, thus allowing your pages to "wrap" into the UBB's design.

Demo:
You can see a working demo of the "sample" file on UGN Security.

Install Instructions:
Simply place the files in the archive (zip file) in your UBB.Threads7 install directory (preserving the folder structure) and follow the usage instructions below.

Usage Instructions:
  • 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.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.

Support and Comments:
We ask that you bring any support questions or comments to the UBB.Dev support thread here.


Attachments
UBB.Wrapper - v0.2 Refresh.zip (29 downloads)

_________________________
UBB.Dev - Where you too can render your UBB install completely useless...
UGN Security, Elite Web Gamers & VNC Web Design & Development President
UBB.Threads: My UBBSkins, UBB.Sitemaps

Top
#318038 - 07/29/09 11:22 PM Re: [7.x] UBB.Wrapper [Re: Gizmo]
Gizmo Offline

Wizard

Registered: 01/10/00
Posts: 5305
Loc: Portland, OR, USA
I refreshed the v0.2 zip file; please re-download and re-upload all files.

I miss-named the wrapper files, it's already a used file so I renamed it accordingly; you're also going to likely want to reupload the wrapper files.
_________________________
UBB.Dev - Where you too can render your UBB install completely useless...
UGN Security, Elite Web Gamers & VNC Web Design & Development President
UBB.Threads: My UBBSkins, UBB.Sitemaps

Top
#318039 - 08/03/09 01:11 PM Re: [7.x] UBB.Wrapper [Re: Gizmo]
Ruben Rocha Offline
Member

Registered: 01/19/00
Posts: 172
Loc: Lutz,FL,USA
Fairly painless to install.
But I have a question. On your site the wrapper has your islands just like the forum summary page.
Mine did not.
How where do you add that in?

Top
#318040 - 08/03/09 03:24 PM Re: [7.x] UBB.Wrapper [Re: Ruben Rocha]
Gizmo Offline

Wizard

Registered: 01/10/00
Posts: 5305
Loc: Portland, OR, USA
It should display items seamlessly; could you link me to a page you're wrapping so I can check it out?
_________________________
UBB.Dev - Where you too can render your UBB install completely useless...
UGN Security, Elite Web Gamers & VNC Web Design & Development President
UBB.Threads: My UBBSkins, UBB.Sitemaps

Top
#318041 - 08/03/09 04:18 PM Re: [7.x] UBB.Wrapper [Re: Gizmo]
Ruben Rocha Offline
Member

Registered: 01/19/00
Posts: 172
Loc: Lutz,FL,USA
http://www.iaeifl.org/testforum
BTW sample works did not modify much

Top
#318046 - 08/03/09 05:23 PM Re: [7.x] UBB.Wrapper [Re: Ruben Rocha]
Ruben Rocha Offline
Member

Registered: 01/19/00
Posts: 172
Loc: Lutz,FL,USA
Oh dropped out again now. First time since 07/26/09

Top
#318047 - 08/04/09 03:17 PM Re: [7.x] UBB.Wrapper [Re: Ruben Rocha]
Ruben Rocha Offline
Member

Registered: 01/19/00
Posts: 172
Loc: Lutz,FL,USA
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!!!

Top
#318048 - 08/04/09 05:27 PM Re: [7.x] UBB.Wrapper [Re: Ruben Rocha]
Gizmo Offline

Wizard

Registered: 01/10/00
Posts: 5305
Loc: Portland, OR, USA
Lol glad you got it working then wink...
_________________________
UBB.Dev - Where you too can render your UBB install completely useless...
UGN Security, Elite Web Gamers & VNC Web Design & Development President
UBB.Threads: My UBBSkins, UBB.Sitemaps

Top
#318053 - 08/05/09 04:53 PM Re: [7.x] UBB.Wrapper [Re: Gizmo]
Ruben Rocha Offline
Member

Registered: 01/19/00
Posts: 172
Loc: Lutz,FL,USA
Yea, stupid is is stupid gets. I should have known using a test board that something was odd in my settings.

Top
#318110 - 08/22/09 12:40 PM Re: [7.x] UBB.Wrapper [Re: Ruben Rocha]
Ruben Rocha Offline
Member

Registered: 01/19/00
Posts: 172
Loc: Lutz,FL,USA
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.
Html:
<iframe src="http://www.iaeifl.org/palmbeach/index.htm" width="100%"
height="600" name="youriframe" frameborder="0" vspace="0" hspace="0"
marginwidth="0" marginheight="0" scrolling="no"></iframe>

Just curious if there is another method to include a html page or do I have my iframe setting wrong?

Top
#318111 - 08/22/09 12:45 PM Re: [7.x] UBB.Wrapper [Re: Ruben Rocha]
Gizmo Offline

Wizard

Registered: 01/10/00
Posts: 5305
Loc: Portland, OR, USA
Well, it's not really a problem with the wrapper, it'd be the coding of the iframe.

If the page is local to the site, why not use a php include?
_________________________
UBB.Dev - Where you too can render your UBB install completely useless...
UGN Security, Elite Web Gamers & VNC Web Design & Development President
UBB.Threads: My UBBSkins, UBB.Sitemaps

Top
#318112 - 08/22/09 12:57 PM Re: [7.x] UBB.Wrapper [Re: Gizmo]
Ruben Rocha Offline
Member

Registered: 01/19/00
Posts: 172
Loc: Lutz,FL,USA
For some reason I can't seem to get it right to use php include for a html page.
Here is what I tried in the wrapper
Php Code:

<?php include("http://www.iaeifl.org/palmbeach/index.htm"); ?>


the content will not display.

And yes I know it is a Iframe issue not the wrapper mod.

Top
#318113 - 08/22/09 02:01 PM Re: [7.x] UBB.Wrapper [Re: Ruben Rocha]
Gizmo Offline

Wizard

Registered: 01/10/00
Posts: 5305
Loc: Portland, OR, USA
A lot of hosts block you from using a full url; instead do the path on the server vs a url...

EX: include("/home/yoursite/public_html/palmbeach/index.htm");
_________________________
UBB.Dev - Where you too can render your UBB install completely useless...
UGN Security, Elite Web Gamers & VNC Web Design & Development President
UBB.Threads: My UBBSkins, UBB.Sitemaps

Top
#318114 - 08/22/09 04:08 PM Re: [7.x] UBB.Wrapper [Re: Gizmo]
Ruben Rocha Offline
Member

Registered: 01/19/00
Posts: 172
Loc: Lutz,FL,USA
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.

Top
#318115 - 08/22/09 05:11 PM Re: [7.x] UBB.Wrapper [Re: Ruben Rocha]
Gizmo Offline

Wizard

Registered: 01/10/00
Posts: 5305
Loc: Portland, OR, USA
Try using a smarty include tag:
Code:
{include file="/home/undergroundnews/public_html/forum/CREDITS.txt"}
_________________________
UBB.Dev - Where you too can render your UBB install completely useless...
UGN Security, Elite Web Gamers & VNC Web Design & Development President
UBB.Threads: My UBBSkins, UBB.Sitemaps

Top
#318116 - 08/22/09 05:33 PM Re: [7.x] UBB.Wrapper [Re: Gizmo]
Ruben Rocha Offline
Member

Registered: 01/19/00
Posts: 172
Loc: Lutz,FL,USA
I will give that a shot. But in the meantime. My fridg just went on the blink. So that is priority one right now.

Top
#318117 - 08/22/09 05:35 PM Re: [7.x] UBB.Wrapper [Re: Ruben Rocha]
Ruben Rocha Offline
Member

Registered: 01/19/00
Posts: 172
Loc: Lutz,FL,USA
Okay I gave that a try got something to appear but it got real ugly.
Here are just the top few lines of errors.
Code:
Error #256: Smarty error: [in /home/iaeifl0/public_html/palmbeach/index.htm line 16]: syntax error: unrecognized tag: (Smarty_Compiler.class.php, line 446)
Line: 1092
File: /home/iaeifl0/public_html/testforum/libs/smarty/Smarty.class.php
Error #256: Smarty error: [in /home/iaeifl0/public_html/palmbeach/index.htm line 16]: syntax error: unrecognized tag '' (Smarty_Compiler.class.php, line 590)
Line: 1092
File: /home/iaeifl0/public_html/testforum/libs/smarty/Smarty.class.php
Error #256: Smarty error: [in /home/iaeifl0/public_html/palmbeach/index.htm line 20]: syntax error: unrecognized tag 'pad' (Smarty_Compiler.class.php, line 590)
Line: 1092
File: /home/iaeifl0/public_html/testforum/libs/smarty/Smarty.class.php
Error #256: Smarty error: [in /home/iaeifl0/public_html/palmbeach/index.htm line 26]: syntax error: unrecognized tag: document.write("

Top
#318118 - 08/22/09 05:43 PM Re: [7.x] UBB.Wrapper [Re: Ruben Rocha]
Gizmo Offline

Wizard

Registered: 01/10/00
Posts: 5305
Loc: Portland, OR, USA
Well, it's including the page, but whining about the content on those lines...

I believe specifically it's the script portion of the page that displays a message during different parts of the day lol...

So, unless you can get them to take that bit out, you'll have to go the route of the iframe.
_________________________
UBB.Dev - Where you too can render your UBB install completely useless...
UGN Security, Elite Web Gamers & VNC Web Design & Development President
UBB.Threads: My UBBSkins, UBB.Sitemaps

Top
#318119 - 08/22/09 05:45 PM Re: [7.x] UBB.Wrapper [Re: Gizmo]
Gizmo Offline

Wizard

Registered: 01/10/00
Posts: 5305
Loc: Portland, OR, USA
A quick google search returns this which has a javascript that resizes the iframe 100% height.
_________________________
UBB.Dev - Where you too can render your UBB install completely useless...
UGN Security, Elite Web Gamers & VNC Web Design & Development President
UBB.Threads: My UBBSkins, UBB.Sitemaps

Top
#318120 - 08/22/09 05:51 PM Re: [7.x] UBB.Wrapper [Re: Gizmo]
Ruben Rocha Offline
Member

Registered: 01/19/00
Posts: 172
Loc: Lutz,FL,USA
Humm. Interesting!
I assume I should be able to paste that code including the javascript in the same default place in sample.wrapper.php?

Back to the fridge I guess.

Top
Page 1 of 4 1 2 3 4 >



Moderator:  sirdude 
Who's Online
0 registered (), 51 Guests and 6 Spiders online.
Key: Admin, Global Mod, Mod
Shout Box

Ubb - Buy It!
best forum software
Latest Posts
[7.2.1] - Naked shoutbox
by MithofOT
08/31/10 01:58 PM
[7.5.5] getting $_COOKIE to work
by gtho4
08/29/10 12:28 AM
Jelsoft Bought
by AllenAyres
08/20/10 04:44 PM
UBBDev Now Running Threads 7.5.6
by AllenAyres
08/18/10 07:59 PM
How do I add another field to the profile page?
by Gizmo
08/05/10 09:24 AM
UBB developer needed.
by AllenAyres
08/03/10 02:57 PM
New Mods
How do I add another field to the profile page?
by Vee
08/05/10 06:02 AM
[7.2.1] - Naked shoutbox
by sirdude
08/17/07 10:36 PM
Newest Members
stevebrummie, Neronrg, Vee, dessy, Manish
13533 Registered Users
Top Posters
AllenAyres 25565
JoshPet 11330
Rick 8373
LK 7396
Lord Dexter 6503
Greg Hard 5533
Charles Capps 5438
(Views)Popular Topics
Known public proxy servers 1224347
Finished-[6.5.2] Games Arcade Deluxe v1.9 375009
Integrated Index Page (IIP) 5.3.1 345193
Integrated Index Page (IIP) 5.1.1 322504
TLD Bv2.1 Released - Threads Links Directory 301614
[6.0x] Who's Online 4.0.0 [Finished] 267207
Finished-[6.5.1] Integrated Index Page (IIP) 6.5 244632
[6.3.x] [beta] Hit Hack 2.0 197599
[7.x] Gizmo's Embedding BBCode (Pre UBB.T7.3) 173774
FlashChat & UBB.threads 169520
Forum Stats
13533 Members
59 Forums
37128 Topics
290448 Posts

Max Online: 686 @ 06/28/07 07:04 AM
Featured Member
Registered: 07/03/01
Posts: 811

 

 

 
fusionbb message board php hacks