1
kikkorm
Problem with shoutbox popup
  • 2006/12/20 0:50

  • kikkorm

  • Just popping in

  • Posts: 43

  • Since: 2005/12/17


Hi,
I'm using XOOPS shoutbox 3.1
I'm trying to make the column of "online users" a little larger (when using popup chat window) .

I try to modify settings into shoutbox_popup.html , but i'm not able to reach my goal... online users column always remains the same . somebody could tell me where should i modify ? thanks

2
irmtfan
Re: Problem with shoutbox popup
  • 2006/12/20 6:18

  • irmtfan

  • Module Developer

  • Posts: 3419

  • Since: 2003/12/7


i dont know where you can change it but upgrade to 4.0 beta is a good step.
http://blog.jan304.org/2006/shoutbox-40-beta.html

3
Quest
Re: Problem with shoutbox popup
  • 2006/12/20 9:10

  • Quest

  • Friend of XOOPS

  • Posts: 1034

  • Since: 2005/11/19


I use the 3.2 version, haven't given the new one a ride a yet.

In the shoutbox_popup_html template file, down near the bottom is some code for the width of the online iframe:

Quote:


If you change the width="165" to what you want then it should work.

You are using a cloned template set?

Quest

P.S. Thanks irmtfan for the info, didn't know about the new beta version.

4
kikkorm
Re: Problem with shoutbox popup
  • 2006/12/20 12:36

  • kikkorm

  • Just popping in

  • Posts: 43

  • Since: 2005/12/17


It doesn't work, that's why i wrote here ;
if i do what you suggest, the column get larger, but goes out of the screen . Any idea? Thanks

5
wizanda
Re: Problem with shoutbox popup
  • 2006/12/20 13:27

  • wizanda

  • Home away from home

  • Posts: 1585

  • Since: 2004/3/21


Sorry to ask what maybe is a daft question; did you try setting it really smaller in the width?

6
Quest
Re: Problem with shoutbox popup
  • 2006/12/20 13:55

  • Quest

  • Friend of XOOPS

  • Posts: 1034

  • Since: 2005/11/19


I think you will need to make changes to both the iframes:
Find these and adjust them. You can make the iframe to the left of the whosonline frame smaller.

Quote:


and then also adjust the whosonline iframe:

Quote:

<{if $config.popup_whoisonline==1}>


<{/if}>


I totally changed mine and brought the whosonline down under and to the right. And adjusted the Shout, Refresh, Popup links too. Here is the template code if you want:

shoutbox_popup.html

Quote:
"http://www.w3.org/TR/html4/loose.dtd">


<{$smarty.const._MD_SHOUTBOX_POPUP_TITLE}><{if $username}><{$smarty.const._MD_SHOUTBOX_POPUP_CONNECTED}><{$username}><{/if}>


<{$xoops_js}>





<{if $username}>









<{* Smilie *}>



<{if $config.popup_show_smileybar==1}>
<{$smiliesbar}>
<{/if}>




<{/if}>













<{else}>




<{$smarty.const._MD_SHOUTBOX_POPUP_ENTERNAME}>










<{* REFRESH PART *}>
<{$smarty.const._MD_SHOUTBOX_POPUP_USE_AUTOREFRESH}> <{$smarty.const._MD_SHOUTBOX_POPUP_REFRESHTIME}>



<{$smarty.const._MD_SHOUTBOX_POPUP_FORCE}><{$smarty.const._MD_SHOUTBOX_POPUP_REFRESH}> ShoutBox


<{* Auto-focus part *}>
<{if $config.popup_autofocus}>
<{$smarty.const._MD_SHOUTBOX_POPUP_AUTOFOCUS}>
<{/if}>

<{if $config.popup_whoisonline==1}>


<{/if}>








Works great for me!

HTHs
Quest

Login

Who's Online

439 user(s) are online (361 user(s) are browsing Support Forums)


Members: 0


Guests: 439


more...

Donat-O-Meter

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

Latest GitHub Commits