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

Recent

Welcome to TinyPortal. Please login or sign up.

Members
Stats
  • Total Posts: 195,994
  • Total Topics: 21,325
  • Online today: 348
  • Online ever: 8,223 (February 19, 2025, 04:35:35 AM)
Users Online
  • Users: 0
  • Guests: 255
  • Total: 255

What do I do if I want to add my custom game script to Tinyportal?

Started by wkheathjr, August 21, 2007, 09:27:07 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

wkheathjr

I have a page that my coder developed a game code in PHP ad it fetches some information from other page and from database and generally runs by itself.  I am not sure if it is possible to add game code using "Article" or what??

Please advise!

Rus

You can make a php script block and put your code into there.

wkheathjr

Is that under "add php" or ?

Can you give me idea how I do like this?

Setting -> Location of php script block ->  so I can navigate my way around TP  thanks!

Ken.

Admin>TinyPortal>Block Manager>Add Left (or right) Block> and select the type of block you want from the drop down list.
" If everything seems under control, you're not going fast enough." - Mario Andretti
Yesterday When I was Young.

wkheathjr

Thanks!  I created it in phpbox and added the link, but I do not see the link anywhere on the page?  Am I supposed to set something on at TP to display a custom link?

The goal is to add link to this game along with few other games so that people could click on the link anytime they are ready to make their picks before the deadline.  Up to this point, it is showing on top before the main article.

wkheathjr

I am showing error message

Parse error: syntax error, unexpected '<' in /home/nflroom/public_html/Sources/Load.php(1735) : eval()'d code(35) : eval()'d code on line 1

Ken.

Sorry, but I don't know what to tell you on your code... the person who wrote may be able to help.
" If everything seems under control, you're not going fast enough." - Mario Andretti
Yesterday When I was Young.

wkheathjr

Based on the path, it is coming from Load.php, which is part of SMF forum


wkheathjr

Quote from: Zetan on August 21, 2007, 09:54:51 PM
remove the php tags



Wouldn't that be hard because there are mix of php and html scripts on the page?

This website is proudly hosted on Crocweb Cloud Website Hosting.