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: 195,994
  • Total Topics: 21,325
  • Online today: 337
  • Online ever: 8,223 (February 19, 2025, 04:35:35 AM)
Users Online
  • Users: 0
  • Guests: 285
  • Total: 285

Shoutbox issue?

Started by Chinaren, July 03, 2010, 10:27:49 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Chinaren

Howdy, looking for a bit of help!

I'm on SMF2RC3, and installed TP1.beta5.2.   I've installed a couple of blocks on my left sidebar, which work fine, but the Shoutbox (simple version) doesn't work.

It installs okay, and you can see the title bar at the bottom of the forum, but there's no shouty bit underneath it. 

Any ideas?  I can see it in admin and everything.   :-\

Lesmond

A link to your site would help, and could you Please read the Posting guidelines Thanks :)

Chinaren

Oops, sorry:

www.tomecity.com/smf

ZarPrime

Chinaren,

In TP Admin --> Modules, make sure that TP Simple Shout is selected "On".  Also, in the block edit screen for "Shouty!", what is the block type?  It should be "TP Module" and there should be a radio button below the type that is selected "TPShout".

If this doesn't help, try taking the "!" out of the title for the block and see if that works.

ZarPrime

Chinaren

Well, blow me down.  The shout was 'on', but there was another small radio button below that needed checking too.  :o

Thanks for your help Zar!

Now, another question if I may be impertinent.   The little avatars are nice, but on mine (not sure if my board is playing up, or this is how it is) it has the little av and then the speech bubble below, which takes quite a bit of room, vertically.  Is there a way to doctor this so the avatar is to the left of the bubble?  I can amend code if needed.

Many thanks again, in advance.  :)


ZarPrime

Chinaren,

I'm glad you figured it out. O0 Now , on to your other question.

The reason that Bloc wrote the code this way was so that the arrow pointing up from the bubble will point to (or close to) the Avatar.

I may be able to take a look at the code for the Shoutbox and figure out how he wrote it but not at least for a couple of days, possibly not until this weekend.  If one of our other Team Members wants to take a look at it before that, it would be great.  Otherwise, bump this topic maybe Friday or so to remind me and I'll see if I can take a look.

In the meantime, sometimes setting the Shoutbox to scroll will make a difference in the appearance and make it look better.  Have a look at my test site here --> http://talesofthehavenexpanse.com/smf2test/index.php?action=forum

The panel the Shoutbox is in has a forced height to account for the BBC buttons and smileys that will be seen when a person is logged in.  That's why the Shout part of it looks a little short.

ZarPrime

Chinaren

Thanks Zar!

The reason my members want it is because the last shoutbox could display about 8 or 10 lines in one, and thus see more at a glance.  a small av by the side of the little bubble would be fine as well. 

Anyway, thanks for responding.  Great work with the box!

Chinaren

Quote from: ZarPrime on July 05, 2010, 06:10:35 PM
Chinaren,
I may be able to take a look at the code for the Shoutbox and figure out how he wrote it but not at least for a couple of days, possibly not until this weekend.  If one of our other Team Members wants to take a look at it before that, it would be great.  Otherwise, bump this topic maybe Friday or so to remind me and I'll see if I can take a look.

Ah, I think I missed that Friday, but we just had another! 

If you tell me which file it's in, I may be able to completely f**k it up give it a tweak myself.   ;)

ZarPrime

There are 3 files that control how the Shoutbox displays in the latest version of Tinyportal.  They are listed below, along with their locations.

2 files in /Themes/default/ ...
TPShout.template.php
TPShout.css
1 file in /tp-files/tp-modules/TPShout/Sources/ ...
TPShout.php

Make backups of these 3 files before editing them in case you mess something up.

ZarPrime

Chinaren

Thanks Zarp, I'll take a look. 

This website is proudly hosted on Crocweb Cloud Website Hosting.