1
Basco
Shoutbox 3.2 autoupdate block and popup-size
  • 2006/11/7 9:37

  • Basco

  • Just popping in

  • Posts: 17

  • Since: 2006/4/11


Hello everyone,

two questions about Shoutbox 3.2 :

1. How can I change the Shoutbox-Block to update automatically by default ?

2. When I open the popup it is very small, text is unreadable. I have to pull the window of the popup to the full screen-width to get everything readable.
Any suggestions ?

Thanks !

2
wizanda
Re: Shoutbox 3.2 autoupdate block and popup-size
  • 2006/11/7 11:03

  • wizanda

  • Home away from home

  • Posts: 1585

  • Since: 2004/3/21


Yeh get 3.2.1 with the fix we made, in W3C errors also set more times within it...left it alone other then fixes mainly, oh and turned it around to be easier to read as popup....
Jan the author on shoutbox is working on a newer version also; unsure how far that is...
Yet has the fixes we did also in it...

3
Basco
Re: Shoutbox 3.2 autoupdate block and popup-size
  • 2006/11/7 15:40

  • Basco

  • Just popping in

  • Posts: 17

  • Since: 2006/4/11


Sorry, that´s the version I have installed ... so this doesn´t fix my problem

4
nunomoc
Re: Shoutbox 3.2 autoupdate block and popup-size
  • 2007/3/14 12:21

  • nunomoc

  • Just popping in

  • Posts: 29

  • Since: 2006/4/23


Here's the fix for the Auto-Update problem.

1st - Edit the file modules\shoutbox\templates\blocks\shoutbox_block.html with a program like Notepad.

2nd - Locate the following code (This one refers to Wizanda's 3.2.1 version):

Quote:


<b><{$smarty.const._MB_SHOUTBOX_AUTOREFRESH}></b><br />
<input id="shoutrefresh" type="checkbox" name="shoutrefresh" value="checkbox" onchange="parent.shoutFrame.location.reload();" />



3rd - Alter the code above with:

Quote:
<b><{$smarty.const._MB_SHOUTBOX_AUTOREFRESH}></b><br />
<input id="shoutrefresh" type="checkbox" name="shoutrefresh" value="checkbox" onchange="parent.shoutFrame.location.reload();" checked="checked" />


By doing this, your Shoutbox will update automatically.

If you need to alter the time of the updates just edit the code below and alter the option 'selected'. By default the option 'selected' is 20s. If you wanted for example 30s, find the code below:

Quote:

<select id="refreshtime" name="refreshtime">
<option value="5000">5 s</option>
<option value="10000">10 s</option>
<option value="20000" selected='selected'>20 s</option>
<option value="30000">30 s</option>
<option value="40000">40 s</option>
<option value="60000">1 Min</option>
<option value="90000">1.5 min</option>
<option value="120000">2 min</option>
<option value="180000">3 min</option>
<option value="300000">5 min</option>
</select>



And then alter it to be:

Quote:

<select id="refreshtime" name="refreshtime">
<option value="5000">5 s</option>
<option value="10000">10 s</option>
<option value="20000">20 s</option>
<option value="30000" selected='selected'>30 s</option>
<option value="40000">40 s</option>
<option value="60000">1 Min</option>
<option value="90000">1.5 min</option>
<option value="120000">2 min</option>
<option value="180000">3 min</option>
<option value="300000">5 min</option>
</select>



Hope this helps.

Login

Who's Online

162 user(s) are online (84 user(s) are browsing Support Forums)


Members: 0


Guests: 162


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: May 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits