Ad blocker detected: Our website is made possible by displaying online advertisements to our visitors. Please consider supporting us by disabling your ad blocker on our website.
Support for PhpBB3. Post here to get help with any phpBB3 related issue here
There is no support here! Only Read Access!
Forum rules
In order the get any support, you will have to do following:
1. Use a describing title!
2. Describe your problem and what happened when the problem occured
3. Tell us what version of phpBB3 you are currently using.
Else your topic may be ignored or locked!
neuropass
BBCoder IV
Posts: 173 Joined: 11 Apr 2010, 00:33
Post
by neuropass » 08 Sep 2010, 22:29
hey guys i'm trying to merge the legend together with the "who is online " block
this is my code:
Code: Select all
<!-- IF S_USER_LOGGED_IN -->
<!-- Start Online List -->
<div class="forabg">
<div class="inner"><span class="corners-top"><span></span></span>
<ul class="topiclist">
<li class="header">
<dl class="icon">
<dt><!-- IF U_VIEWONLINE --><a href="{U_VIEWONLINE}">{L_WHO_IS_ONLINE}</a><!-- ELSE -->{L_WHO_IS_ONLINE}<!-- ENDIF --></dt>
</dl>
</li>
</ul>
<ul class="topiclist forums">
<li>
<div class="content" style="width:auto; height:auto; padding:10px; padding-bottom:0px;">
<p>{TOTAL_USERS_ONLINE} ({L_ONLINE_EXPLAIN})<br />{RECORD_USERS}<br /><br /> <br />{LOGGED_IN_USER_LIST}</p>
</div>
<div class="content" style="width:auto; height:auto; padding:10px; padding-bottom:0px;">
<p><!-- Start Legend --><!-- IF LEGEND -->{L_LEGEND}:{LEGEND}<!-- ENDIF --><!-- End Legend --></p>
</div>
</li>
</ul>
<span class="corners-bottom"><span></span></span></div>
</div>
<!-- End Online List -->
<!-- ENDIF -->
but i get the legend in a column style rather than one name after the other in the same line. How do i fix that?
http://i52.tinypic.com/x3csgp.png
Stoker
Site Admin
Posts: 3536 Joined: 12 May 2008, 21:26
BBCodes: 239
Favourite BBCode: Anipro
Favourite MOD: PrettyPhoto
Location: Denmark
Post
by Stoker » 08 Sep 2010, 23:07
Open the portal.php file and find:
Code: Select all
$legend = implode('<br />', $legend);
Replace with:
Board rules! No PM support
neuropass
BBCoder IV
Posts: 173 Joined: 11 Apr 2010, 00:33
Post
by neuropass » 08 Sep 2010, 23:52
i should have figured that... Thanks a lot Stoker.