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

Top Posters - Post Count

Started by ontap, March 24, 2006, 07:17:59 AM

Previous topic - Next topic

0 Members and 2 Guests are viewing this topic.

pvcblue

Quote from: JPDeni on March 13, 2007, 01:17:36 AM
Where are you changing the number? How are you calling the function?

I changed the number in the code in SSI.php file, where the original post of this thread said to place the code, and to call it I am using the built in TP function to call it.

JPDeni

I guess one of my failings is that I don't use many of the built-in functions. I prefer to use a php block and write the code myself.

Open TPortalBlocks.template.php. Search for


ssi_topPoster(5);


Change the number there.

pvcblue

Quote from: JPDeni on March 13, 2007, 02:03:57 PM
I guess one of my failings is that I don't use many of the built-in functions. I prefer to use a php block and write the code myself.

Open TPortalBlocks.template.php. Search for


ssi_topPoster(5);


Change the number there.

YEA!! That worked, THANK YOU JPDENI!!

Gourgi

i just put this in a phpbox
Quotessi_topPoster(7); 
and worked fine !!!
top 7 posters appeared ;)

rumboogy

#34
I know this topic has not been active in awhile, and I have the block working as posted, but unlike some of the previous posters...I want the font smaller. I am using this in a phpbox...is there a way to control font size there? Also, the names appear to be double spaced...how about single spaced.

I have tried changing it in the SSI, but I guess I am changing it the wrong way...I keep getting errors or no changes.

Thanks,

Wally

IchBin

The font is controlled by your style.css file of your theme you're using.

rumboogy

Thanks IchBin...I will look in that file.

Wally

rumboogy

Thanks...I looked at the styles.css for the template I am using, and I found this section:

Quote/* A code block - maybe even PHP ;). */
.code
{
   color: #000000;
   background-color: #dddddd;
   font-family: "courier new", "times new roman", monospace;
   font-size: x-small;
   line-height: 1.3em;
   /* Put a nice border around it. */
   border: 1px solid #000000;
   margin: 1px auto 1px auto;
   padding: 1px;
   width: 99%;
   /* Don't wrap its contents, and show scrollbars. */
   white-space: nowrap;
   overflow: auto;
   /* Stop after about 24 lines, and just show a scrollbar. */
   max-height: 24em;
}

However, no matter what I change the font size to...it does not change.

I am still thinking it needs to be added in the ssi.php file, yes...no?

Max

Quote from: rumboogy on January 03, 2008, 02:19:13 AM
I am still thinking it needs to be added in the ssi.php file, yes...no?



well it depends, the easy way is to just change the font tag in the ssi file or you could make your own css to control this.  ;)

rumboogy

Actually, that was my original question...how do you insert a font tag in a php file (proper syntax).

Thanks,

Wally

This website is proudly hosted on Crocweb Cloud Website Hosting.