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: 884
  • Online ever: 8,223 (February 19, 2025, 04:35:35 AM)
Users Online
  • Users: 0
  • Guests: 348
  • Total: 348

Roster Page

Started by londonhogfan, May 31, 2006, 06:56:37 PM

Previous topic - Next topic

0 Members and 2 Guests are viewing this topic.

JPDeni

There is a maximum length to an article, as defined in the database itself. The TEXT field type has a maximum of 65535 characters. What you posted above has 4626 characters and 14 of them would have 64764 characters. One more takes you over the limit.

You could go into the database and change the field type to MEDIUMTEXT, which allows 16777215 characters, or LONGTEXT, which allows 4294967295 characters. But I wouldn't suggest doing that. It would be better if you did just one call to the database for everything and sorted it out later, like Bloc suggested.

londonhogfan

Thanks that worked.
http://www.the-rota.com/?page=30

If I knew how to do it any other way I would.

bloc

This is something the future Team Page module will be good for..but its not finished I am afraid.

londonhogfan

Yes, I have had such luck with TinyPortal.

I started this topic and it has helped me soo much in my community.

same for the "Awesome... Meet the Team" and "pre-formatted post" topics.


Thanks Bloc for such a great tool.

JPDeni

This has been bothering me and I need to see if I can fix it for you. A couple of questions first. First, are the ranks on the roster page based on the number of posts? Second, it looks like the graphic is assigned as part of the group definition. Is that correct?

I think I can get the whole thing with just one database call. :)

knat

#85
I used Bloc's code and it looks nice.. but it only shows me one or two members depending on what membergroup i want it to show..

Edit: Ohh nm i found out it shows additional membergroup

What if i want to show all members of a primary membergroup using the layout from Bloc's code..

Can that be done ?? With the karma, offline/online etc etc

londonhogfan

#86
Quote from: JPDeni on August 20, 2006, 05:33:38 AM
This has been bothering me and I need to see if I can fix it for you. A couple of questions first. First, are the ranks on the roster page based on the number of posts? Second, it looks like the graphic is assigned as part of the group definition. Is that correct?

I think I can get the whole thing with just one database call. :)

The membergroups are primary membergroups - non post based.  The images are the same as the "stars" from the membergroup.

I appreciate your offer to do this.

JPDeni

I'm trying to figure out if there's an internal way to sort the groups by the order you want them to appear. If they were post-based, it would be easy. Did you add them in the same order as you display them, so that "General" is group 1, "Brigadier General" is group 2, etc?

knat, I'm not sure what you want and how it's any different from what is already here.

knat

#88
Quote from: JPDeni on August 21, 2006, 03:24:30 PM
knat, I'm not sure what you want and how it's any different from what is already here.

I want a page like the Smf Staff Page Mod

To show a single member group but in the layout like Bloc's code with the primary membergroup..

On the SMF staff page it dont show Karma, Secondary membergroup, offline/online Etc.

I hope this explains it

I want what Bloc has posted in this thread, just for a single "Primary" membergroup of my choise

Possible ?

JPDeni

It's probably possible. Anything that's in the database is possible. :)

Right now I'm focusing more on getting the info from the database. If there are things that are being displayed that you don't want, delete them from the code.

This website is proudly hosted on Crocweb Cloud Website Hosting.