News: Welcome to the TinyPortal Support site.

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

December 12, 2019, 10:56:01 PM

Login with username, password and session length

Recent

Members
Stats
  • Total Posts: 189280
  • Total Topics: 20775
  • Online Today: 70
  • Online Ever: 629
  • (November 08, 2018, 01:36:54 PM)
Users Online
Users: 1
Guests: 59
Total: 60

Author Topic: How can i get Random Quotes to work in a php-box?  (Read 3186 times)

0 Members and 1 Guest are viewing this topic.

zrako02

  • Guest
How can i get Random Quotes to work in a php-box?
« on: July 22, 2007, 05:57:02 AM »
Hello i want to use the Random Quotes ->QuoteMe v4.0 (PHP) by Scott Clark / Clark Consulting
http://www.clarksco.com in php-box block on the main screen of Tinyportals.

the adress of the Portal is http://www.meinedomain.de/portal i copied QuoteMe into the folder quote

http://www.meinedomain.de/portal/quote

Now i created a php-box block an inserted:
include('../quote/display.php');

but nothing is showing

if i call 

http://www.meinedomain.de/portal/quote/display.php directly from the Browser i see the quotes
Wat is wrong?

I tried this
global $boarddir;
require_once($boardir.'/quote/display.php');
but
then i get errros:
Fatal error: require_once() [function.require]: Failed opening required '/quote/display.php' (include_path='.')

Offline Zetan

  • Friends
  • *
  • Posts: 3471
Re: How can i get Random Quotes to work in a php-box?
« Reply #1 on: July 22, 2007, 06:00:06 AM »
Most of the links you posted give me 404 errors.

Did you upload the quote3_hour.php to your server? Or all the files needed to make it work?

zrako02

  • Guest
Re: How can i get Random Quotes to work in a php-box?
« Reply #2 on: July 22, 2007, 07:15:01 AM »
No didn't upload quote3_hour.php to my server because i using

QuoteMe v4.0  and not QutoeMe v3.0 and so i have no quote3_hour.php

the links are only to understand in which directorys i uploaded the files and

meinedomain is often used as a placesholder for the real domain if you don't want to show your real domain.