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,970
  • Latest: bynw
Stats
  • Total Posts: 196,058
  • Total Topics: 21,338
  • Online today: 234
  • Online ever: 8,223 (February 19, 2025, 04:35:35 AM)
Users Online
  • Users: 1
  • Guests: 237
  • Total: 238
  • lurkalot

1.0.5 Beta Question

Started by MoreBloodWine, July 11, 2008, 04:23:33 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

MoreBloodWine

So far its working great but I'm trying to add some code for a mod but with all the new changes I cant seem to find the file I need, if it even exists anymore.

Anyway... the stats block for the user online code is where I'm trying to add my little snipped. So where would  find the following code.

echo $bullet.$txt['tp-users'].': '.$online['num_users'];    
echo '<br />'.$bullet.$txt['tp-guests'].': '.$online['guests'];
Download my custom SMF 1.x / 2.x Who.template.php
Get 15% off using coupon code xjz3918744 here where all your video editing needs can be met !
Design your own sig @ myu2sig.com - Gen Status: - Total unique user count:

IchBin

Did you look in the TPBlocks.template.php file?

MoreBloodWine

I found it the <li> crap was throwin me off lol... on a related note what happened to the bullets that use to be beside the user info if you know what I'm talkin about.
Download my custom SMF 1.x / 2.x Who.template.php
Get 15% off using coupon code xjz3918744 here where all your video editing needs can be met !
Design your own sig @ myu2sig.com - Gen Status: - Total unique user count:

IchBin

What do you mean by what happened? Of course, they were changed. Hence, the reason you see a <li> now. :)

MoreBloodWine

Quote from: IchBinâ,,¢ on July 11, 2008, 06:10:16 PM
What do you mean by what happened? Of course, they were changed. Hence, the reason you see a <li> now. :)
Well if the <li>'s are supposed to be the bullets then how come I'm not seein em ;-(

http://www.choice-online-gaming.com/EoJForum/index.php
Download my custom SMF 1.x / 2.x Who.template.php
Get 15% off using coupon code xjz3918744 here where all your video editing needs can be met !
Design your own sig @ myu2sig.com - Gen Status: - Total unique user count:

G6Cad

Not seeing them where ?

The bullits besides the lines in the users block are visible on the sites i checked.
Probably something missing in your custom template ?

MoreBloodWine

#6
Quote from: G6 on July 11, 2008, 06:16:40 PM
Not seeing them where ?

The bullits besides the lines in the users block are visible on the sites i checked.
Probably something missing in your custom template ?

Under stats where it says users online next to users, guests and spiders etc... Thats where theyre supposed to be that Im not seein em. Also I thought TP 1.0.5 accepted non TP themes just fine because thats a non TP theme and everything appears fine outside of missing bullets. So what I need a tp converted theme for bullets to show ?

Edit: Compare the stat block here to the stat block here and you'll see the difference between them where bullets should be that arent, and a fw other small missing things like the images that should be beside members, stats and users online but arent. Also a signifigant difference in block text size. I dont know if all this weird stuff is because of the theme but if it is then I guess tp 1.0.5 accepts themes as is but doesnt make a site look like it would if u used a converted theme.
Download my custom SMF 1.x / 2.x Who.template.php
Get 15% off using coupon code xjz3918744 here where all your video editing needs can be met !
Design your own sig @ myu2sig.com - Gen Status: - Total unique user count:

IchBin

TP has just supressed the bullets from showing on the <li>.
ul.tp_recentblock, .tp_statsblock ul {
font-size:0.9em;
list-style-image:none;
list-style-position:outside;
list-style-type:none;
margin:0pt;
padding:0pt;
}


list-style-type is where you would tell it to be square/circle. etc. BUT!, changing this you'll notice that you'll have to go edit the code for the block to actually allow the bullets to appear inside it, instead of outside it. Play with it, I'm sure you'll figure it out.

MoreBloodWine

Well you obviously know more than I do lol, but in either case why would the bullets show in the block above and not the one in question. That aside can you atleast tell me what file(s) I need to play with please, and as for me figurin that out on my own. I'd make things worse before I made them better ;-(

Edit: Also what about the three missing icons / images... you'll see what I mean when comparing the blocks from the two dif sites, Thx.
Download my custom SMF 1.x / 2.x Who.template.php
Get 15% off using coupon code xjz3918744 here where all your video editing needs can be met !
Design your own sig @ myu2sig.com - Gen Status: - Total unique user count:

IchBin

Quote from: MoreBloodWine on July 11, 2008, 08:03:08 PM
Well you obviously know more than I do lol, but in either case why would the bullets show in the block above and not the one in question.

They show in the other block because it has the css telling it to do so.
.tp_userblock ul {tp-style.css (line 433)
font-size:1em;
list-style-image:url(images/tinyportal/TPdivider.gif);
list-style-position:outside;
list-style-type:disc;
margin:0pt;
padding:5px 0pt 5px 1.5em;


QuoteThat aside can you atleast tell me what file(s) I need to play with please, and as for me figurin that out on my own. I'd make things worse before I made them better ;-(

Certainly, you'll need to look in the TPBlocks.template.php in your default theme. I would suggest you copy that file to your custom theme so that you don't fubar the default theme. :)

QuoteEdit: Also what about the three missing icons / images... you'll see what I mean when comparing the blocks from the two dif sites, Thx.
I don't see what you mean because I don't know which block you're talking about. More than likely, they are just different from TP 0.9.8 to TP 1.x

This website is proudly hosted on Crocweb Cloud Website Hosting.