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)
-   -   vBulletin Forum Sideblocks - Block - Users Online (https://vborg.vbsupport.ru/showthread.php?t=233965)

JMEWLS` 12-07-2011 06:30 AM

Any idea as to why the online users block is outside the div....

This only occurs in Internet Explorer.

JMEWLS` 12-07-2011 06:30 AM

My website is http://www.nbadimensions.net/forums

Lynne 12-07-2011 06:08 PM

I do not know. I don't have IE and you have modified the block code there, so I really can't tell why that would happen.

JMEWLS` 12-07-2011 11:30 PM

This also happens with the code that you supplied, only happened since the update. Weird.

Marv 12-29-2011 07:20 AM

Edit: problem solved. I don?t really dare to tell you what went wrong... (edited the wrong style ^^ ...). Embarrassing..:o

Mark.B 12-29-2011 09:14 PM

1 Attachment(s)
Thanks for this Lynne;

With a few tweaks I have made it do this... :)

phpdesk 01-01-2012 04:28 PM

Quote:

Originally Posted by peugeot405 (Post 2116508)
Not working for me.
Getting following error.

Code:

Fatal error: Class 'vB' not found in /home/peugeot405/domains/fsrclan.com/public_html/fsr-test/includes/block/html.php(95) : eval()'d code on line 9
i have vb 4.0.8.

anyone know how to fix this

Setting the block cache time to 0 causes an error message similar to this one, so you (or anyone else facing the same issue) may wish to play with that setting and see if that works.

Happy New Year!

Winter Sonata 01-13-2012 12:44 AM

Quote:

Originally Posted by Mark.B (Post 2282010)
Thanks for this Lynne;

With a few tweaks I have made it do this... :)


Can you please let me know how did you do that , I would be very gratefull If you answer my question!

hotrod122 04-03-2012 12:41 AM

not working after upgrade to 4.1.11....

please advise?

Thanks

nevermind..im an idiot and cant read :)

haincha 04-07-2012 11:30 PM

Any help with 4.1.11? I have gotten this far.

http://img1.UploadScreenshot.com/ima...9711224944.png

Fixed it. Had to splice code from a few different places. I know how to debug code, I am not the greatest at writing it. If you replace the contents of block_users_online Template with

PHP Code:

<vb:if condition="$show['loggedinusers']">
<
li>
    <
div class="block smaller">
        <
div class="blocksubhead">
            <
class="collapse" id="collapse_block_html" href="{vb:raw relpath}#top"><img alt="" src="{vb:stylevar imgdir_button}/collapse_40b.png" id="collapseimg_html"/></a>
            <
span class="blocktitle"><img src="{vb:stylevar imgdir_misc}/users_online.png" alt="{vb:rawphrase currently_active_users}" />{vb:rawphrase currently_active_users}</span>
        </
div>
        <
div id="block_html" class="blockbody floatcontainer">
            <
div class="blockrow">
                <
p>{vb:rawphrase there_are_x_y_online_link, {vb:raw content.totalonline}, {vb:raw session.sessionurl_q}}
                <
br /><span class="shade">{vb:rawphrase x_members_and_y_guests, {vb:raw content.numberregistered}, {vb:raw content.numberguest}}</span></p>
                <
p>{vb:rawphrase most_users_ever_online_was_x_y_at_z, {vb:raw content.recordusers}, {vb:raw content.recorddate}, {vb:raw content.recordtime}}</p>
<
ol class="commalist" id="wgo_onlineusers_list">
                    <
vb:each from="content['activeusers']" value="loggedin">
                        <
li>{vb:stylevar dirmark}<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>
             </
div>
        </
div>
    </
div>
    <
div class="underblock"></div>
</
li>
</
vb:if> 

Everything should work.


All times are GMT. The time now is 06:38 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.01437 seconds
  • Memory Usage 1,763KB
  • 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
  • (1)bbcode_code_printable
  • (1)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
  • (1)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