vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   Add-On Releases - Spiders Display on Forumhome and Who's Online for vb4 (https://vborg.vbsupport.ru/showthread.php?t=243460)

Stefan118 01-02-2012 08:42 AM

Thanks!
Installed, and works perfect!

puertoblack2003 01-02-2012 04:00 PM

thanks:up: boofo i too have a light version layout :)

bulldog51981 01-02-2012 09:21 PM

I'm getting a double comma between names, anyone getting this?

https://vborg.vbsupport.ru/external/2012/01/65.jpg

HMBeaty 01-02-2012 09:34 PM

Quote:

Originally Posted by bulldog51981 (Post 2283151)
I'm getting a double comma between names, anyone getting this?

https://vborg.vbsupport.ru/external/2012/01/65.jpg

That's from your style. You either need to revert your forumhome template or you may also have some css that adds that comma (as discussed earlier in this thread)

bulldog51981 01-02-2012 09:34 PM

The only difference between the two templates is as follows

PHP Code:

<vb:comment>   <div id="pagetitle">
        <
h1>{vb:raw vboptions.bbtitle}</h1>
        <
p id="welcomemessage" class="description">{vb:rawphrase welcome_to_the_x, {vb:raw vboptions.bbtitle}}</p>
    </
div> </vb:comment

PHP Code:

<div id="pagetitle">
        <
h1>{vb:raw vboptions.bbtitle}</h1>
        <
p id="welcomemessage" class="description">{vb:rawphrase welcome_to_the_x, {vb:raw vboptions.bbtitle}}</p>

    </
div

After reverting the FORUMHOME template, the double commas are still there.

bulldog51981 01-02-2012 09:48 PM

Quote:

Originally Posted by HMBeaty (Post 2283155)
... you may also have some css that adds that comma (as discussed earlier in this thread)

If it is something in the CSS, I'm not sure what would cause it (i.e. I don't know what I should look for there). I know it's probably asking a lot, but does anyone know what I should be on the look out for?

HMBeaty 01-02-2012 10:03 PM

Try this, in your FORUMHOME template, find and replace everything between:
HTML Code:

            <!-- logged-in users -->
CODE HERE
            <!-- end logged-in users -->

With this:
HTML Code:

            <!-- logged-in users -->
            <div id="wgo_onlineusers" class="wgo_subblock section">
                <h3 class="blocksubhead"><img src="{vb:stylevar imgdir_misc}/users_online.png" alt="{vb:rawphrase currently_active_users}" />{vb:rawphrase currently_active_users}</h3>
                <div>
                    <p>{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></p>
                    <p>{vb:rawphrase most_users_ever_online_was_x_y_at_z, {vb:raw recordusers}, {vb:raw recorddate}, {vb:raw recordtime}}</p>
                    <vb:if condition="$activeusers">
                    <ol class="commalist" id="wgo_onlineusers_list">
                        <vb:each from="activeusers" value="loggedin">
                            <li>{vb:stylevar dirmark}<a class="username" href="{vb:link member, {vb:raw loggedin}}">{vb:raw loggedin.musername}</a>{vb:raw loggedin.invisiblemark}{vb:raw loggedin.buddymark}{vb:raw loggedin.comma}</li>
                        </vb:each>
                    </ol>
                    </vb:if>
                </div>
            </div>
            <!-- end logged-in users -->


HMBeaty 01-02-2012 10:04 PM

***Make a backup of your FORUMHOME template before applying the code I posted above***

bulldog51981 01-02-2012 10:18 PM

Backup made, changes applied.....still two

grrrrrr

(not this mods fault I'm sure, but frustrating non the less)

bulldog51981 01-02-2012 10:42 PM

Update - I still do not know the original cause of the double comma, but I found in the CSS template->vbulletin.css

PHP Code:

.commalist li:after {
    
content:",";


that the Currently Active Users calls from. So, I'm sure that there's a better way to do this but this is what I did:

In FORUMHOME find:

PHP Code:

<ol class="commalist" id="wgo_onlineusers_list"

Replace with:

PHP Code:

<ol class="commalist2" id="wgo_onlineusers_list"

In vbulletin.css

Find:

PHP Code:

.commalist li {
    
display:inline;
}

.
commalist li:after {
    
content:",";
}

.
commalist li:last-child:after {
    
content:"";
}

ul.username li a,
ol.username li a,
a.username {}
.
commalist li a.username {
    
display:inline;


Add below:

PHP Code:

.commalist2 li {
    
display:inline;
}

.
commalist2 li:after {
    
content:"";
}

.
commalist2 li:last-child:after {
    
content:"";
}

ul.username li a,
ol.username li a,
a.username {}
.
commalist2 li a.username {
    
display:inline;




All times are GMT. The time now is 08:18 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01279 seconds
  • Memory Usage 1,771KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_html_printable
  • (7)bbcode_php_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete