News:

Want to get involved in developing SMF, then why not lend a hand on our github!

Main Menu

SimplePortal

Started by SimplePortal Team, March 10, 2008, 11:16:07 PM

Previous topic - Next topic

Angelina Belle

<img src="' . $member['avatar']['href'] . '" alt="' . $member['name'] . '" height="35" />' : '', '
Never attribute to malice that which is adequately explained by stupidity. -- Hanlon's Razor

FrizzleFried


Angelina Belle

glad to help! enjoy w3schools.com.  You can learn a lot there.
Never attribute to malice that which is adequately explained by stupidity. -- Hanlon's Razor

simon36

Is there a way to turn the soutbox in to a chat room? i.e. have it auto-refresh new messages every second or so?

Thanks in advance.

simon36

And also have a setting to limit the number of messages?

Robert.

Quote from: simon36 on May 01, 2012, 09:18:40 AM
Is there a way to turn the soutbox in to a chat room? i.e. have it auto-refresh new messages every second or so?
Yup, when you create a new shoutbox or edit an existing one, you'll see a setting named something like "Auto refresh". Set that to the number you want and it does what you want. :)

QuoteAnd also have a setting to limit the number of messages?
Yeah, same page: "Maximum shouts" :)

simon36

Sorry, please ignore the above, have found the settings now.

Robert.


simon36

it's a great feature, could I turn off auto complete for the line where we enter the messages?

Thanks.

Angelina Belle

I think auto-complete is a feature of your browser.
Never attribute to malice that which is adequately explained by stupidity. -- Hanlon's Razor

simon36

It is but it is possible to turn it off with html autocomplete="off"

Could you tell me where I would edit the code to do that.

Many thanks.

simon36

Is there away to only show the shoutbox on one individual thread? I suspect it is through the custom display option but I could not figure it out.

Thanks in advance.

simon36

#4492
The blocks on the side don't line up with the top of the forum, they are always too high, screen cap attached.

simon36

Quote from: simon36 on May 01, 2012, 12:19:43 PM
It is but it is possible to turn it off with html autocomplete="off"

Could you tell me where I would edit the code to do that.

Many thanks.

ok, I've edited the html and turned off the autocomplete.

Angelina Belle

@simon36 -- good one!  I just read and found out that this is standard in HTML5. That's new to me!

The block title bars don't line up with the title on your forum because there is stuff before the forum title bar.
There is also one <br /> emitted in the block template right before the "central area" of the page, where the forum is located.
Are you interested in this one <br />?
Never attribute to malice that which is adequately explained by stupidity. -- Hanlon's Razor

simon36

Hi Angelina, sorry I'm not quite sure what you mean. Should I add another br statement to the html to line it up? It's only the left and right block that are not quite level with the top.

Thanks for your help.

Angelina Belle

Adding a <br> statement will not line up the title bars.
They are at different heights because of the text ABOVE the title bar in the forum listing.

You can see exactly the same kind of thing at
http://simpleportal.net/index.php?board=11.0
Never attribute to malice that which is adequately explained by stupidity. -- Hanlon's Razor

simon36

I see, is there a way of making it line up?

Angelina Belle

It would take some jiggering.  I assume you'd want to do that in Portal.template.php, or else in portal.css.
I don't think you could count on it always lining up perfectly in every browser, at every size, because the problem is, in the board index, you've got some text before the title bar, but in the left-side block, you do not.
Never attribute to malice that which is adequately explained by stupidity. -- Hanlon's Razor

simon36

What is the blank bar at the top of that link that makes the blocks line up? Could you tell me how to do that instead of altering the code.

Thanks.

Advertisement: