collapse

* Simple Portal Archived Forum

This is an Archive Forum.

The content in this forum may be out-of-date or have been superseded by newer information, and links in forum pages to other sites may not work.
This forum contains archives for future reference.

Visit our thread at Simple Machines Forum for current support.

SMF 2.1 users: EhPortal is a ported version of Simple Portal specifically designed for the SMF 2.1 branch.
Please visit web-develop.ca to download EhPortal and for its support.

* User Info

 
 
Welcome, Guest. Please login or register.

* Who's Online

  • Dot Guests: 188
  • Dot Hidden: 0
  • Dot Users: 0

There aren't any users online.

* Shoutbox

Refresh History
  • Shoutbox is not for support!
  • {OCS}MasterSeal: Yup, Still adore SP
    April 21, 2019, 07:08:06 PM
  • {OCS}MasterSeal: STILL love SP :)
    November 24, 2018, 05:05:50 AM
  • ♦ Ninja ZX-10RR ♦: <3 aegersz
    September 13, 2018, 03:36:09 PM
  • aegersz: I STILL <3 LOVE SimplePortal
    September 13, 2018, 07:11:39 AM
  • aegersz: o LOVE you guys - Simple Portal rocks !
    May 09, 2018, 05:18:59 AM
  • Chen Zhen: our apologies for the site being down.. please read server issues topic
    March 22, 2018, 05:32:38 AM
  • {OCS}MasterSeal: LOL PLEASE forget I just posted that. I found the answer in my own dang post back in 2015. lol sorry!
    July 04, 2017, 10:47:55 PM
  • {OCS}MasterSeal: I know this SB isnt' for support, but I just have a general question. Who would I contact to find out where SP stores its block info? Is it DB driven or files? I searched the site but came up with nothing. probably my fault any insight is appreciated.
    July 04, 2017, 10:43:36 PM
  • ♦ Ninja ZX-10RR ♦: Excuse me but what does Simpleportal have to deal with that?
    February 05, 2017, 08:21:14 PM
  • WhiteEagle: of course IMHO that site appears to be dead :(
    February 04, 2017, 01:08:05 PM
  • WhiteEagle: If I can get that, then I'll use it for that site...
    February 04, 2017, 01:07:35 PM
  • WhiteEagle: decided to not use SMF for any projects, unless I can get a copy of the premium version of the fanfiction archive plugin
    February 04, 2017, 01:06:54 PM
  • expertdecisions: cloudflare
    January 28, 2017, 08:01:47 AM
  • aegersz: SM release 2.0.13 !
    January 12, 2017, 06:00:13 AM
  • raffo: Tks Emanuele, even if I didn't understand the fix :D
    November 07, 2016, 02:01:20 AM
  • emanuele: [link]
    November 01, 2016, 12:43:50 PM
  • emanuele: raffo: the English support board is a good place. ;)
    November 01, 2016, 12:43:38 PM
  • raffo: Where can I find the fix for the shoutbox?
    November 01, 2016, 05:06:09 AM
  • {OCS}MasterSeal: To the SP team, I make a point to come here and thank you as much as possible for your work.  so again, THANK YOU!
    October 28, 2016, 10:38:05 AM
  • emanuele: That's indeed funny, the limit is present only in the patch and not the full install.
    October 22, 2016, 06:14:58 PM

* Recent Posts

Adding Forums Button to Nav bar by jirapon
[August 01, 2019, 09:07:12 AM]


Re: Board Icons by ♦ Ninja ZX-10RR ♦
[July 30, 2019, 04:03:41 PM]


MOVED: Czech translation???? by ♦ Ninja ZX-10RR ♦
[July 30, 2019, 03:04:51 PM]


Board Icons by jirapon
[July 30, 2019, 07:28:44 AM]


Re: Thankyou Simpleportal, by ♦ Ninja ZX-10RR ♦
[July 29, 2019, 09:41:29 AM]

NEED HELP? If you're looking for support with Simple Portal, look no further than the Support Board!

Author Topic: PHP Page  (Read 2306 times)

0 Members and 1 Guest are viewing this topic.

Offline J Dub

  • Newbie
  • Posts: 4
  • SMF Version: 2.0.2
  • SP Version: 2.3.5
PHP Page
« on: January 13, 2013, 08:56:56 AM »
SMF: 2.0.3
SP: 2.3.5
Site: http://dubhq.net/AT

Firstly, Hello and forgive me as this to me seems really simple, but I have serached, tried things and can not find the answer, so sorry if I am wasting peoples time with a duplicate question.

This is simple.

I want to embed in a SP PHP page the following.

I have added a gallery (external one) it live on my site in the same folder as SMF/TP yet in a folder called (yes you guessed it gallery)

I have added it to a page currently as HTML in an iframe, yet would rather it was embedded from HTML as an include, yet i just get errors, am I missing something?

As a footnote, I have to say having used SMF and various portals over the years, I do find simple portal as a super nice simple to use portal. The site I am doing at the moment is a test one to see what i can and can not do with the view of rolling this out to several of mine, keep up the great work.

Regards J

Offline AngelinaBelle

  • Comrade
  • *
  • Posts: 4870
  • Gender: Female
  • SMF Version: 2 RC3
  • SP Version: 2.3.2
Re: PHP Page
« Reply #1 on: January 14, 2013, 08:24:14 PM »
Because I have not seen the site, I cannot comment much on the best way to do this.

If you are embedding an entire page within an SP block or page, then iframe is the way to go.

embedding an entire HTML page(headers, html, head, and body tags and all)  within an another HTML  is not the way to go.

If you want to get any fancier, you will have to do some php coding to allow you to embed just the "guts" of the page within a custom php page or block within simple portal.  That would involve significantly more work than putting an iframe in an HTML page or block.
Please to keep this website running, if you like SimplePortal, make a
one-time subscription. Thank you for your support.

Have you tried the SimplePortal documentation?

Offline J Dub

  • Newbie
  • Posts: 4
  • SMF Version: 2.0.2
  • SP Version: 2.3.5
Re: PHP Page
« Reply #2 on: January 16, 2013, 05:05:19 AM »
Hi there,

Thank you for the reply, yes I have looked and it would seem the best way is to do it via iframe, I am not home currently to look at the way I have now gone about this, but will come back to it. How I have gone about the site is things such as gallery and downloads are seperate external software (hosted on the same server) yet just trying to make them look as intergrated as possible. :)

Offline AngelinaBelle

  • Comrade
  • *
  • Posts: 4870
  • Gender: Female
  • SMF Version: 2 RC3
  • SP Version: 2.3.2
Re: PHP Page
« Reply #3 on: January 16, 2013, 01:47:43 PM »
Yes. iframe is the quickest way.

More integration will require more work, from someone with a little bit of php experience, I think.

Welcome to Simple Portal and Good Luck!

I hope you won't mind me marking this topic solved for you.
Please to keep this website running, if you like SimplePortal, make a
one-time subscription. Thank you for your support.

Have you tried the SimplePortal documentation?

Offline J Dub

  • Newbie
  • Posts: 4
  • SMF Version: 2.0.2
  • SP Version: 2.3.5
Re: PHP Page
« Reply #4 on: January 16, 2013, 04:03:53 PM »
Yes no problem for resolved, I am pretty good with PHP yet now and then i just get stuck on something as was not sure what is possible and quick.
Thank you for the welcome and replies also :) I am sure I will be back with more input, I always used TP before, yet like SP better currently as it forces me to use more external items, which often on hindsight is a better option rather than full intergration.
I will either use global $boardurl; echo ' iframe for php input or just iframe html.
Again thank you and glad to be a user.