php forum
php mysql forum
php mysql smarty
 
Page 3 of 4 < 1 2 3 4 >
Topic Options
#318243 - 10/04/09 12:57 PM Re: [7.x] UBB.Wrapper [Re: badfrog]
badfrog Offline
Power User

Registered: 03/05/07
Posts: 83
Loc: somewhere on the coast of Main...
yeha, it appears that the page in the iframe doesn't want to use the CSS info...

Top
#318244 - 10/04/09 02:31 PM Re: [7.x] UBB.Wrapper [Re: badfrog]
Ruben Rocha Offline
Member

Registered: 01/19/00
Posts: 182
Loc: Lutz,FL,USA
Well it won't because it is a frame and has it's own properties.
You would need to add the css properties to the page or edit the html to match the wrapper.

Top
#318245 - 10/04/09 02:35 PM Re: [7.x] UBB.Wrapper [Re: Ruben Rocha]
badfrog Offline
Power User

Registered: 03/05/07
Posts: 83
Loc: somewhere on the coast of Main...
yeah, I just figured that out.
I was hoping to get it to match whatever style sheet the end user had selected to make it blend in seamlessly.

right now I am trying to get the font size figured out, it is too damn big!

Top
#318246 - 10/04/09 02:55 PM Re: [7.x] UBB.Wrapper [Re: badfrog]
badfrog Offline
Power User

Registered: 03/05/07
Posts: 83
Loc: somewhere on the coast of Main...
I have no idea where it is getting its font size info from, only way I can change it is to put a font size tag in every TD cell, that can't be right.

Top
#318247 - 10/04/09 03:05 PM Re: [7.x] UBB.Wrapper [Re: badfrog]
badfrog Offline
Power User

Registered: 03/05/07
Posts: 83
Loc: somewhere on the coast of Main...
I'm just going to wait for Giz to join the conversation, I want features included that are beyond simple wrapping

Top
#318268 - 10/28/09 02:54 PM Re: [7.x] UBB.Wrapper [Re: badfrog]
Jersey Joe Offline
Lurker

Registered: 10/05/09
Posts: 7
Is it possible to only display the content of one of these pages only if logged in as a member?

Top
#318287 - 11/04/09 11:10 AM Re: [7.x] UBB.Wrapper [Re: badfrog]
Gizmo Offline

Wizard

Registered: 01/10/00
Posts: 5352
Loc: Portland, OR, USA
Sorry folks, medical issues kept me from checking shop here...

The iframe ignores the CSS file; in fact, it ignores everything since it's a completely seperate entity.

You should actually call the UBB's css file in the webpage that the iframe points to if you intend to use it.
_________________________
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
#318288 - 11/04/09 11:11 AM Re: [7.x] UBB.Wrapper [Re: Jersey Joe]
Gizmo Offline

Wizard

Registered: 01/10/00
Posts: 5352
Loc: Portland, OR, USA
Originally Posted By: Jersey Joe
Is it possible to only display the content of one of these pages only if logged in as a member?
Well, it'd really be an all or nothing thing, you'd set the "registered only" tick in the top portion of the script file.
_________________________
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
#318293 - 11/04/09 02:29 PM Re: [7.x] UBB.Wrapper [Re: Gizmo]
Gizmo Offline

Wizard

Registered: 01/10/00
Posts: 5352
Loc: Portland, OR, USA
btw, on the spot of using stylesheets; you could use an include statement and then adapt the pages to use smarty code; not entirely sure what you're working with or how feasable that would be as an option though...
_________________________
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
#318304 - 11/09/09 01:28 PM Re: [7.x] UBB.Wrapper [Re: Gizmo]
Jersey Joe Offline
Lurker

Registered: 10/05/09
Posts: 7
Originally Posted By: Gizmo
Originally Posted By: Jersey Joe
Is it possible to only display the content of one of these pages only if logged in as a member?
Well, it'd really be an all or nothing thing, you'd set the "registered only" tick in the top portion of the script file.


That is fine, I want to create a few pages that I only want registered members to be able to see.

Thanks,
Joe

Top
#318387 - 12/19/09 08:41 AM Re: [7.x] UBB.Wrapper [Re: Jersey Joe]
badfrog Offline
Power User

Registered: 03/05/07
Posts: 83
Loc: somewhere on the coast of Main...
how do I implement PHP code in a wrapped file?

I'm trying to add recaptcha to my email form, but it is displaying the code as text, tried wrapping it in {literal} tag, didn't help.

Top
#318389 - 12/19/09 05:10 PM Re: [7.x] UBB.Wrapper [Re: badfrog]
Gizmo Offline

Wizard

Registered: 01/10/00
Posts: 5352
Loc: Portland, OR, USA
I'm pretty sure it needs to be Smarty Friendly, so either formatted in Smarty Code or with {literal}{/literal} tags so smarty hands it off to PHP
_________________________
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
#318390 - 12/19/09 05:20 PM Re: [7.x] UBB.Wrapper [Re: Gizmo]
badfrog Offline
Power User

Registered: 03/05/07
Posts: 83
Loc: somewhere on the coast of Main...
I tried the literal tags, nothing happened...

if I post it like this,
Code:
{literal}

require_once('recaptchalib.php');
$publickey = "6LfiEQoAAAAAAH6y_Cyvb7Hze7W4zwdbgaui-5B7"; // you got this from the signup page
echo recaptcha_get_html($publickey);

{/literal}
all it does is display it as text,

if I had
Code:
<?php  and ?> 
it vanishes, but nothing else happens either.

Top
#318391 - 12/19/09 05:40 PM Re: [7.x] UBB.Wrapper [Re: badfrog]
Gizmo Offline

Wizard

Registered: 01/10/00
Posts: 5352
Loc: Portland, OR, USA
I hope you're linking to the full path to the file and not assuming it'll just "grab" it... I'm not sure where you'd want all of your files if that's the case..
_________________________
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
#318392 - 12/19/09 05:45 PM Re: [7.x] UBB.Wrapper [Re: Gizmo]
badfrog Offline
Power User

Registered: 03/05/07
Posts: 83
Loc: somewhere on the coast of Main...
if I put the sample php script in the wrapper directory, it works fine with that path info, it just doens't work once it is wrapped.

http://www.vannin.com/threads/wrapper/example-captcha.php


Edited by badfrog (12/19/09 05:46 PM)
Edit Reason: added url

Top
#318393 - 12/19/09 05:54 PM Re: [7.x] UBB.Wrapper [Re: badfrog]
Gizmo Offline

Wizard

Registered: 01/10/00
Posts: 5352
Loc: Portland, OR, USA
Well, yeh, that's differant... The UBB has a base path, the wrapper uses that, so if you just use a full path to the file you completely eliminate that as a possible problem...

By calling that page outside of the wrapper, you're going past the UBB and its base path...

I did find a couple of things on google for using recaptcha in smarty, basically putting your php code and making a variable for smarty then calling that variable in the smarty wrapped code...

clicky
_________________________
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
#318394 - 12/19/09 06:11 PM Re: [7.x] UBB.Wrapper [Re: Gizmo]
badfrog Offline
Power User

Registered: 03/05/07
Posts: 83
Loc: somewhere on the coast of Main...
ok,I don't know [censored] about smarty tags. so I have no idea what that all means

Top
#318395 - 12/19/09 06:56 PM Re: [7.x] UBB.Wrapper [Re: badfrog]
badfrog Offline
Power User

Registered: 03/05/07
Posts: 83
Loc: somewhere on the coast of Main...
so put that first bit in my php file, I can only assume they mean the reacaptcha.php file
I put the other tag that they said went in the TPL file in my wrapped file.. still nothing.

I have tried the relative and absolute path, I have put the recaptcha.php in my root dir, my threads DIR and the wrapper DIR...

still nothing

Top
#318396 - 12/19/09 06:59 PM Re: [7.x] UBB.Wrapper [Re: badfrog]
Gizmo Offline

Wizard

Registered: 01/10/00
Posts: 5352
Loc: Portland, OR, USA
the php bit would go in the wrapper.php file, then the smarty reference call would go in your wrapped file
_________________________
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
#318397 - 12/19/09 07:06 PM Re: [7.x] UBB.Wrapper [Re: Gizmo]
badfrog Offline
Power User

Registered: 03/05/07
Posts: 83
Loc: somewhere on the coast of Main...
wrap.inc.php or wrapper.inc.php ?

Top
Page 3 of 4 < 1 2 3 4 >



Moderator:  sirdude 
Latest Posts
Shout Box

(Views)Popular Topics
Known public proxy servers 1636135
Integrated Index Page (IIP) 5.3.1 528187
Finished-[6.5.2] Games Arcade Deluxe v1.9 486016
Integrated Index Page (IIP) 5.1.1 401388
TLD Bv2.1 Released - Threads Links Directory 382774
[6.0x] Who's Online 4.0.0 [Finished] 374847
Finished-[6.5.1] Integrated Index Page (IIP) 6.5 318709
Q & A 264276
[6.3.x] [beta] Hit Hack 2.0 225221
[7.x] Gizmo's Embedding BBCode (Pre UBB.T7.3) 202973
Forum Stats
13620 Members
59 Forums
37189 Topics
295701 Posts

Max Online: 686 @ 06/28/07 07:04 AM

 

 

 
fusionbb message board php hacks