The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Currently Active Users Area
Okay, so I changed the following phrase a long time ago:
Code:
Most users ever online was X, [date] at [time] Code:
Most users ever online: X - [date] at [time] Code:
Most users ever online: X [date] at [time] Code:
Users currently online: X Members: X | Guests: Y Screenshot: |
#2
|
||||
|
||||
If you look at the source code, each of those is within a <p>stuff</p> tag and there is not class associated with it. So, you would need to modify the template in order to do what you want.
To find the template to modify, do this - vboptions > General Settings > Add Template Name in HTML Comments > set to Yes . Then go back to your page and view the source code and you will see the name of the template called around your part of the code. (Sometimes the template is the one mentioned at the very top of the page source.) |
#3
|
|||
|
|||
Quote:
EDIT: I found the template via Edit Templates, though. It's FORUMHOME. Now the question is what do I edit? |
#4
|
|||
|
|||
forumhome
|
#5
|
||||
|
||||
Just change the <p> to <divs> and give them a class and then in additional.css set them to display:inline
|
#6
|
|||
|
|||
Quote:
Also, what would the additional.css code look like? Something like this? Code:
.wgobox { display: inline; } |
#7
|
||||
|
||||
You may want to take a look at the W3Schools site in my signature. They have excellent information about CSS. .wgobox is a class, yes. If you give something it's own class, like <div class="myfirst">, then you would write css like:
.myfirst {display:inline; float:left;} |
Благодарность от: | ||
synseal |
#8
|
|||
|
|||
Quote:
I made the codes the following: Code:
<div class="myfirst">{vb:rawphrase there_are_x_y_online_link, {vb:raw totalonline}, {vb:raw session.sessionurl_q}} <span class="shade">{vb:rawphrase x_members_and_y_guests, {vb:raw numberregistered}, {vb:raw numberguest}}</span></div> Code:
<div class="myfirst">{vb:rawphrase most_users_ever_online_was_x_y_at_z, {vb:raw recordusers}, {vb:raw recorddate}, {vb:raw recordtime}}</div> Did I do something wrong? |
#9
|
||||
|
||||
Then just add this line to get the <ol> block to clear them:
HTML Code:
.wgo_block .section div ol { clear: both;} |
#10
|
|||
|
|||
Quote:
What do I put for the padding, though? Something like 1px? Code:
.wgo_block .section div ol { clear: both; padding: ?; } |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|