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)

starman? 04-13-2010 05:25 AM

Much appreciated Paul & Lynne. Thank you.

RedTrinity 04-14-2010 12:45 AM

Thank you, works again now :)

SmartMania 04-14-2010 12:07 PM

Indeed works again, but doesn't work the pm's system :confused:

Lynne 04-14-2010 02:21 PM

Quote:

Originally Posted by SmartMania (Post 2021085)
Indeed works again, but doesn't work the pm's system :confused:

Huh? This doesn't have anything to do with PMs. :/


Also, just a note about this.... in 4.0.3, they changed the online users list to not show users in usergroups 3 or 4. I didn't update this query to include that. However, if you want it to be the same, you may just open the forum.php file, find the query and you'll see the line to add under the WHERE part of the query. Just add it to the query in the block configuration, like this:

PHP Code:

        WHERE session.lastactivity $datecut
            
AND (user.usergroupid NOT IN (3,4) OR user.usergroupid IS NULL)
            
$hook_query_where 


vexxy 04-15-2010 07:28 PM

works great for 4.0.3...thanks..my only problem is, when I have the block active, the memberlist link (www.site.com/members/list/) gives me an error:

Code:

Fatal error: Call to undefined function fetch_online_status() in /home/bytesin/public_html/includes/block/html.php(95) : eval()'d code on line 94
is there any way I can resolve that? If i disable the sidebar block, it's all good...wierd

COL NIL SATIS 04-18-2010 01:55 PM

spot on Lynne...works brilliantly ,thank you ..installed!!!

COL NIL SATIS 04-30-2010 06:24 PM

what code in 4.0.3 do i remove to take the users online out of the wgo box???? my FORUMHOME template doesnt have

<vb:if condition="$show['loggedinusers']">
<!-- logged-in users -->
{{{code in FORUMHOME template for active users}}}
<!-- end logged-in users -->
</vb:if>

any ideas????

Lynne 04-30-2010 06:54 PM

Well, it doesn't says exactly:
{{{code in FORUMHOME template for active users}}}

I put that in instead of all the code. But it does have the two lines above and below that. If you don't have those lines, you will have to ask the designer of your style where that section is.

COL NIL SATIS 05-01-2010 05:30 PM

Quote:

Originally Posted by Lynne (Post 2029716)
Well, it doesn't says exactly:
{{{code in FORUMHOME template for active users}}}

I put that in instead of all the code. But it does have the two lines above and below that. If you don't have those lines, you will have to ask the designer of your style where that section is.

Okey dokes Lynne ...thanks for the reply :up:

elmstr 05-12-2010 04:54 PM

Sadly, I had to remove the block. Once the block is activated none of the community links on the navbar are working anymore.

They give the same error as describen in post #36.

Any fix for this? Thanks in advance!


All times are GMT. The time now is 12:49 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.01143 seconds
  • Memory Usage 1,740KB
  • 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