TP-Docs
HTML5 Icon HTML5 Icon HTML5 Icon
TP on Social Media

Recent

Welcome to TinyPortal. Please login or sign up.

April 19, 2024, 01:32:48 AM

Login with username, password and session length
Members
  • Total Members: 3,885
  • Latest: Growner
Stats
  • Total Posts: 195,164
  • Total Topics: 21,219
  • Online today: 101
  • Online ever: 3,540 (September 03, 2022, 01:38:54 AM)
Users Online
  • Users: 0
  • Guests: 79
  • Total: 79

How can i get Random Quotes to work in a php-box?

Started by zrako02, July 22, 2007, 12:57:02 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

zrako02

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='.')

Zetan

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

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.