Current time: 02-07-2012, 11:16 AM Hello There, Guest! (LoginRegister)

Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
FrameSys - Show external websites with ease!
12-23-2008, 11:00 AM
Post: #1
FrameSys - Show external websites with ease!
FrameSys is my first, ever plugin for TheHostingTool. Well, except the UMI yes.
This makes you to make "small" plugins easily. Don't waste time writing a template just to show an external link - You have better things to do. This small plugin lets you to show any external page using just this simple code.

PHP Code:
    public function forums(){
        global 
$style;
        
$array['AREA'] = "TheHostingTool Support Forums";
        
$array['FRAME'] = "http://thehostingtool.com/forum";
        echo 
$style->replaceVar('tpl/frame.tpl'$array);
    } 
Easy, huh? AREA defines the "name of the website" and FRAME defines the URL. Then just echo it. Lalala - You have an external website linked in a frame. Without any extra tpls.
Great to link your users from the Client Area to your forum without leaving the THT Page, etc. You have many uses for it. Use the imagination.

To install, extract the package and you should see an /includes folder, just that. Preserve the directory structure (just grab the /includes folder and upload it into your THT ROOT DIRECTORY) Wink

Download:
.zip  Version1-0-0.zip (Size: 725 bytes / Downloads: 163)

Jimmie Lin - Community Manager & THT.Next Developer
Visit this user's website Find all posts by this user
Quote this message in a reply
06-14-2009, 07:18 AM
Post: #2
RE: FrameSys - Show external websites with ease!
Could you help me fix this? Cant figure out how it works :/
Find all posts by this user
Quote this message in a reply
08-10-2009, 02:33 PM
Post: #3
RE: FrameSys - Show external websites with ease!
I don't get what it does.
Find all posts by this user
Quote this message in a reply
08-10-2009, 02:52 PM (This post was last modified: 08-10-2009 02:52 PM by Jimmie.)
Post: #4
RE: FrameSys - Show external websites with ease!
It shows an iframe. Period.

Just a useless tpl to avoid doing the very easy iframe work. Smile

Jimmie Lin - Community Manager & THT.Next Developer
Visit this user's website Find all posts by this user
Quote this message in a reply
08-11-2009, 11:57 AM
Post: #5
RE: FrameSys - Show external websites with ease!
Simplistic and effective! Big Grin

Kevin Mark - TheHostingTool Lead Developer
Visit this user's website Find all posts by this user
Quote this message in a reply
08-22-2009, 10:09 AM
Post: #6
RE: FrameSys - Show external websites with ease!
where do I have to paste the code from the 1st post?
if I paste it into index.php I always get error messages...
Find all posts by this user
Quote this message in a reply
08-22-2009, 11:04 AM
Post: #7
RE: FrameSys - Show external websites with ease!
upload and extract the attached file to the THT root directory.

Nick - TheHostingTool Staff Coordinator

[Image: standard.png]

Visit this user's website Find all posts by this user
Quote this message in a reply
08-22-2009, 04:19 PM
Post: #8
RE: FrameSys - Show external websites with ease!
(08-22-2009 11:04 AM)Nick Wrote:  upload and extract the attached file to the THT root directory.

yes, that's the frame.tpl file. but how do i show a frame for example on my index-page instead of the order form?
Find all posts by this user
Quote this message in a reply
08-22-2009, 08:45 PM
Post: #9
RE: FrameSys - Show external websites with ease!
this is nice i will check it out Big Grin

[Image: tv.png]
Visit this user's website Find all posts by this user
Quote this message in a reply
08-23-2009, 08:44 AM
Post: #10
RE: FrameSys - Show external websites with ease!
@bugmenot: THT doesn't have an index page.

Nick - TheHostingTool Staff Coordinator

[Image: standard.png]

Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)