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

Recent

Welcome to TinyPortal. Please login or sign up.

Members
  • Total Members: 3,963
  • Latest: BiZaJe
Stats
  • Total Posts: 195,917
  • Total Topics: 21,308
  • Online today: 790
  • Online ever: 8,223 (February 19, 2025, 04:35:35 AM)
Users Online
  • Users: 1
  • Guests: 655
  • Total: 656
  • tino

Block as php

Started by arez, January 18, 2007, 11:00:53 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

arez

to explain my situation a bit better. i want to use this code in tp but not as usual block. i have this block /tabbed content block) http://www.tinyportal.net/index.php?topic=6100.0
on my mainpage and i want to include the top 10 posters cloud there. i thought that it would be the easiest to include the cloud as an external php but if there is a better way, i would be happy if you tell me.

JPDeni

Give it a try. If that's how it works best, that's fine. If you're working within TP, then I don't have any objection at all. :)

My code will work anywhere on the server where your database is. Or, at least it should work. As I say, I didn't try it out. J.A. Cortina's code will also work. Experiment. See what works best for you. There is very rarely only one way to do something.

arez

#12
thanks for your support - i will try it now :)

-edit- could you tell me some basics so i can learn how to modify blocks like this that they will work as external php file? i want to add something like recent posts and such to that tabbed content,too

arez

#13
working fine now :) thank you so much.

This website is proudly hosted on Crocweb Cloud Website Hosting.