News: Welcome to the TinyPortal Support site.

Login  |  Register
HTML5 Icon HTML5 Icon
TP on Social Media
Welcome, Guest. Please login or register.
Did you miss your activation email?

September 17, 2019, 02:40:00 PM

Login with username, password and session length

Recent

Members
  • Total Members: 3752
  • Latest: Alizee
Stats
  • Total Posts: 188896
  • Total Topics: 20752
  • Online Today: 93
  • Online Ever: 629
  • (November 08, 2018, 01:36:54 PM)
Users Online
Users: 2
Guests: 34
Total: 36

Author Topic: Alternative to <IFRAME> article ?  (Read 9952 times)

0 Members and 1 Guest are viewing this topic.

Offline apochalypse

  • Jr. Member
  • **
  • Posts: 8
Alternative to <IFRAME> article ?
« on: July 08, 2011, 06:41:04 AM »
Hi,
First of, sorry if I'm in the wrong section. ;)

I currently have a SMF forum (www dot fenimo dot com) running with TP.
And to this I have another module, or site called PHPraider, that is in turn running it's own authentication against SMF for handling members. PHPraider is located at www dot fenimo dot com/raids.
And this is working ok without any problems, however for esthetically purposes I've created a HTML article for this module that is hosting a simple <IFRAME> window towards the PHPraider site.
This to create a more seamless appearance.

Now we have upgraded the forum and TP to the latest version and we have started to encounter a problem with the <IFRAME>, it cannot authenticate users that is running firefox, while IE works fine for the same user.
However when they go directly to phpraider without using the <IFRAME> article it works, so the problem lies in the <IFRAME> tag somehow blocking the authentication.

So I'm currently exploring other soloutions to handle this seamless integration.
And have come to a standstill with possible ideas.
Anyone have some ideas to help me find a good soloution here?

Or is there a good way for me to import all the SMF/TP headers, menus, etc to the PHPraider site, and thus only making it look like it's integrated, but instead is styled to imitate the main site. ?

I hope I made my setup clear to you, and that you understand what I'm after, if not ask and I shall answer. :)

Link to my site: www dot fenimo dot com (phpraider at www dot fenimo dot com/raids
SMF version: 2.0 gold
TP version: 1.0 RC2
Default Forum Language: Swedish
Theme name and version: Darkbreak
Browser Name and Version: Firefox 5.0 / IE9
Mods installed:
1.    Aeva ~ Auto-Embed Video & Audio    7.1
2.    nCode Image Resizer    1.3.1
3.    Global Headers Footers    2.0
4.    TinyPortal    1.104
5.    ENotify    2.0.1
6.    WoW - World of Warcraft Tooltips
7.    Highslide 4 SMF    0.7a
8.    Enhancements to purge inactive members
Related Error messages: No authentication through the <iframe>
« Last Edit: July 20, 2011, 09:25:29 AM by IchBinâ„¢ »

Offline IchBin™

  • Developer
  • *
  • Posts: 16228
    • My Website
Re: Alternative to <IFRAME> article ?
« Reply #1 on: July 09, 2011, 01:21:59 PM »
Sorry apochalypse, I have no idea how auth could be affected via iframes.

Offline ZarPrime

  • Friends
  • *
  • Posts: 4653
Re: Alternative to <IFRAME> article ?
« Reply #2 on: July 09, 2011, 03:35:56 PM »
I would think that an iframe would be transparent to the authentication but I've never run into anything like that.  How does your phpraid work with SMF as far as authentication?  Are you running some sort of a bridge or what?  If you are able to login to SMF and automatically be logged into the phpraid as well, the iframe should work fine.  If it isn't, maybe you should ask whomever supplied the bridge about the issue.  It could be that the bridge hasn't been updated to work with SMF 2.0 Gold.

I assume you have the raid page setup with a TP article.  Out of curiosity, what is your code in that article, using [code][/code] tags of course.

ZarPrime

Offline apochalypse

  • Jr. Member
  • **
  • Posts: 8
Re: Alternative to <IFRAME> article ?
« Reply #3 on: July 11, 2011, 07:07:18 AM »
Hi,
I agree, I also thought that iframes would be transparent in that sense aswell.
The TP article itself is rather simple and is only one tag.

Code: [Select]
<iframe src="http://www.fenimo.com/raids/index.php?" frameborder="0" height="2000" width="1100">
<p>Your browser does not support iframes.</p>
</iframe>

While the authentication is being made from the PHPraider itself.
That part is a bit longer but as I said, works fine when opening that link directly.
Of course, it is quite a bit old since the project is somewhat dead, and no new releases has been given out for quite some time, and could be because of that it's behaving as it is.
But I haven't found any replacement for it, so thats why we are still using it.
Guess I'll have to ask on their, more dead forum if anyone else is having that same issue.

Edit:
If I want to include the header with the menus in the header, the footer and everything else from TP/SMF for the PHPraider site and link to that directly from the menu instead of to the article, how would I do that?
I could use the SSI function for the menu, but that wont do since it's not styled the same way when I test it.

I'm guessing it is rather much work behind getting it that much imbedded, as I cant find any easy way to do it. :(

Offline apochalypse

  • Jr. Member
  • **
  • Posts: 8
Re: Alternative to <IFRAME> article ?
« Reply #4 on: July 20, 2011, 07:50:29 AM »
Heya,
You can mark this as solved or something, we switched to WoW Raid Manager instead, it worked flawlessly so was probably just that PHPraider was old and not updated from SMF2. :)

And I still use the same IFRAME tag. :D