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: 196,004
  • Total Topics: 21,330
  • Online today: 219
  • Online ever: 8,223 (February 19, 2025, 04:35:35 AM)
Users Online
  • Users: 0
  • Guests: 104
  • Total: 104

iintegrating users & stast blocks

Started by sdm_36, February 12, 2006, 01:33:51 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

sdm_36

hi again

firstly some feedback:
I think tinyportal is wicked,
it's allowed me to create a
good little website with a minimum
of bother, thanks!

and I'd quite like to have my statistics and user blocks
combined together so it's all one block.
I'm assuming that i could literally copy the and paste the code
from one file to another in order to allow this, but haven't been
able to locate the source code.
Could someone point me in the right direction pls.



bloc

In fact it was one block before..but since the info about modules was added I split it up.

Basically you could copy the code inside function TPortal_statsbox() into function TPortal_usersbox()..but it may need some tweaking, and it will be one long block mind you. ;)

sdm_36

thanks bloc

i can't find the file with those functions in though...
can you point me in the right direction please?

IchBin

Themes/default/TPortalBlocks.template.php I think.

This website is proudly hosted on Crocweb Cloud Website Hosting.