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

Recent

Welcome to TinyPortal. Please login or sign up.

March 28, 2024, 07:55:05 AM

Login with username, password and session length
Members
Stats
  • Total Posts: 195,104
  • Total Topics: 21,212
  • Online today: 143
  • Online ever: 3,540 (September 03, 2022, 01:38:54 AM)
Users Online
  • Users: 0
  • Guests: 60
  • Total: 60

Did You Know Block > Ported from PhpNuke

Started by MetalHellsangel, February 23, 2006, 02:57:29 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

MetalHellsangel

A Configurable "Did You Know" Block.

Download & Support  Here

Mitch


MetalHellsangel

#2
it's a block that shows random did you know facts, each fact can be edited (the stuff in red) to your liking.  To show other info to add more facts just  add
"|SOME MORE INFO",

on the line above
"|Do you know the names of the three wise monkeys? They are: Mizaru (See no evil), Mikazaru (Hear no evil), and Mazaru (Speak no evil).",

onemob


MetalHellsangel

take a look at this txt document, you can copy and paste this instead of the above code. DidYouKnow.txt

onemob

Should that be in a PHPbox?

I tried both PHP and a javascript/HTML one and neither display anything.

Thanks for the help

MetalHellsangel

ohh np I don't mind helping, this is very strange though. Are you leaving the php tags in place?

this is php code so it will only work in a phpblock, and make sure you have the php <?php ?> above and below the code

copy everything in the above script from top to bottom.

onemob

I just tried it with the <?php at the top and ?> at the bottom. Still not getting anything to display. 

I'm still learning my way around php, normally i dont have much trouble with it. Hmm any way this is aneat idea. Hopefully i can get it working

MetalHellsangel

#8
You have a pm


RESOLVED,
there was a problem with the code above it was edited and has been resolved.