Login  |  Register
HTML5 Icon HTML5 Icon HTML5 Icon
TP on Social Media

Recent

Welcome, Guest. Please login or register.
Did you miss your activation email?

August 12, 2022, 09:13:20 AM

Login with username, password and session length
Members
  • Total Members: 3842
  • Latest: Kokoro
Stats
  • Total Posts: 193479
  • Total Topics: 21088
  • Online today: 50
  • Online ever: 1035
  • (November 26, 2020, 04:45:12 AM)
Users Online
Users: 0
Guests: 43
Total: 43

Author Topic: Did You Know Block > Ported from PhpNuke  (Read 13075 times)

0 Members and 1 Guest are viewing this topic.

MetalHellsangel

  • Guest
Did You Know Block > Ported from PhpNuke
« on: February 22, 2006, 07:57:29 PM »
A Configurable "Did You Know" Block.

Download & Support  Here
« Last Edit: June 05, 2006, 01:53:04 PM by MetalHellsangel »

Mitch

  • Guest
Re: Did You Know Block > Ported from PhpNuke
« Reply #1 on: February 22, 2006, 08:10:09 PM »
Hang on what the heck is that?

MetalHellsangel

  • Guest
Re: Did You Know Block > Ported from PhpNuke
« Reply #2 on: February 22, 2006, 08:13:29 PM »
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).",
« Last Edit: February 23, 2006, 03:16:03 PM by MetalHellsangel »

onemob

  • Guest
Re: Did You Know Block > Ported from PhpNuke
« Reply #3 on: February 27, 2006, 12:29:40 AM »
i get a parse error when i use that code.

MetalHellsangel

  • Guest
Re: Did You Know Block > Ported from PhpNuke
« Reply #4 on: February 27, 2006, 12:34:48 AM »
take a look at this txt document, you can copy and paste this instead of the above code. DidYouKnow.txt

onemob

  • Guest
Re: Did You Know Block > Ported from PhpNuke
« Reply #5 on: February 27, 2006, 12:44:47 AM »
Should that be in a PHPbox?

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

Thanks for the help

MetalHellsangel

  • Guest
Re: Did You Know Block > Ported from PhpNuke
« Reply #6 on: February 27, 2006, 12:48:01 AM »
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

  • Guest
Re: Did You Know Block > Ported from PhpNuke
« Reply #7 on: February 27, 2006, 12:54:27 AM »
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

  • Guest
Re: Did You Know Block > Ported from PhpNuke
« Reply #8 on: February 27, 2006, 12:57:11 AM »
You have a pm


RESOLVED,
there was a problem with the code above it was edited and has been resolved.
« Last Edit: February 27, 2006, 09:28:30 PM by MetalHellsangel »

Xarcell

  • Guest
Re: Did You Know Block > Ported from PhpNuke
« Reply #9 on: February 27, 2006, 09:11:39 PM »
Nice...