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,911
  • Total Topics: 21,307
  • Online today: 884
  • Online ever: 8,223 (February 19, 2025, 04:35:35 AM)
Users Online
  • Users: 1
  • Guests: 362
  • Total: 363
  • tino

Horizontal User and Forum Stats block?

Started by keith021773, October 28, 2009, 01:30:07 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

keith021773

Hey all.   I have been thinking lately that I wanted to move my forum stats and users stats into a horizontal block.   Since I'm no PHP guru I came here of course.    I searched and what I found was http://www.tinyportal.net/index.php?topic=15083.0  which is fine for just the forum stats, but I couldn't find anything for the user stats at all.

Did I overlook it?  Not use the right search words?

I think this could be a very useful block.  

What does everyone else think?


Link to my site: http://www.daddyplace.com
SMF version: SMF 1.1.10
TP version: TP 1.0 Beta 4
Theme name and version: Daddyplace Theme
Browser Name and Version: FireFox 3.0.14
Mods installed: Several, if I really need to list them I will.
Related Error messages: None

ZarPrime

Well, I didn't look through the code or even try it so I don't know exactly what it does, but if you want both in the same block, it's just a matter of deciding how you want it formatted and adjust your table accordingly.  It's kind of an old snippet but it probably still works OK.

If it was me, and I wanted a link to the Forum stats on the FrontPage, I would just setup a menu item with the Forum stats in a menu block and leave the user stats in it's own left or right block, especially since the Forum stats is something that most members aren't going to be interested in.  With all that being said, if you still want something like this, write about how you would like this block to look or how it should be formatted in your next post, and perhaps one of our coders will take a look at it and write something for you.  Also, they will need additional information about your site so Please Read and Follow the Posting Guidelines, and edit the inforamtion requested into your first post at the top of this topic.

ZarPrime

keith021773

Quote from: ZarPrime on October 28, 2009, 02:40:31 PM
Well, I didn't look through the code or even try it so I don't know exactly what it does, but if you want both in the same block, it's just a matter of deciding how you want it formatted and adjust your table accordingly.  It's kind of an old snippet but it probably still works OK.


The above code that I mentioned does work fine.   However, I'm more interested in the user stats (and forum stats to keep it together).  I would just like them in a center block (horizontal) on all pages up top.   I think it would look really good that way. 

What I'm thinking is just to take the blocks the way they are now and just convert them to be horizontal blocks.  I don't believe that is an option right now.  But I do believe that people would like the option to do so.  I know I would.

I hope all of that makes sense.

ZarPrime

Are you sure you want the Forum Stats in a block on every page on your Forum.  Do you realize how big it is?  Take a look at this ...
http://www.tinyportal.net/index.php?action=stats

You say you want it in a center block rather than an upper or lower block which leads me to believe that you are using TP 0.98.  A block like this would sit right below the tabs in the header and your members would have to scroll quite a distance down the page just to see the rest of the content on each page that the block is on.

ZarPrime

Freddy

I am with ZP, to me it doesn't sounds like a good idea.  How many people are really interested in stats apart from admins ?  The stats page is only one click away, is that not sufficient ?

ZarPrime

Oh, wait.  Are you talking about what is normally in the Stats block type beside what's in the user block type in the same block (see attached screenshot below from your site)?  If so, that is more reasonable.

ZarPrime

keith021773

Quote from: ZarPrime on October 28, 2009, 03:33:30 PM
Oh, wait.  Are you talking about what is normally in the Stats block type beside what's in the user block type in the same block (see attached screenshot below from your site)?  If so, that is more reasonable.

ZarPrime

Yes.  That is the block along with the user stats block.      LOL      I bet you guys thought I was going crazy wanting the forum stats page in a block.   LOL

ZarPrime

LOL :2funny: :2funny:

<Heh> It wouldn't be the first time I thought someone was crazy. ;)

OK, that can probably be done.  I'm working on something for another member right now so if freddy doesn't pop back in here by the time I finish I'll have a look at it.  However, I'm not nearly the coder that he is, so it would be better if he pops back in.

ZarPrime

keith021773


Freddy

Ok now I get you :)

Yes I can take a look at this, but I am pushed for time this evening - I will probably be  able to get you something for tomorrow.

This website is proudly hosted on Crocweb Cloud Website Hosting.