vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Graveyard (https://vborg.vbsupport.ru/forumdisplay.php?f=224)
-   -   Forum Home Enhancements - Member Visit Tracking (https://vborg.vbsupport.ru/showthread.php?t=232636)

In Omnibus 03-27-2012 06:03 PM

Quote:

Originally Posted by Paul M (Post 2313126)
Then the most likely cause would be the template is missing.

Resolved. .htaccess file edit from an add-on was interfering with this modification.
Uninstalled their mod and kept this one.
Thank you for all your contributions to vBulletin, modifications and otherwise.

Thunderbird8 05-24-2012 08:22 AM

This was disabled by the upgrade to vB 4.2 on a test board (I'm guessing because of the Members who have visited today modification's inclusion in 4.2), but I can't find the equivalent functionality within 4.2. Would I be correct in assuming that it's not in there? If so, are there any plans on a 4.2 modification? I'd hate to lose this since it's quite useful.

Paul M 05-24-2012 04:50 PM

Yes, there will be a 4.2 version.

Lionel 05-26-2012 03:50 AM

I can't get this to work in 4.2.0. For starter there are no hook forumhome_whovisited_list anywhere in templates

Edit. I did not realize that Visiting Members options had also to be set, in addition to Members Tracking options.
is there a way to restrict Visiting Members display to display members tracking?

edit again. Never mind. I put a conditional to restrict that

Paul M 05-26-2012 10:08 AM

Quote:

Originally Posted by Lionel (Post 2332947)
is there a way to restrict Visiting Members display to display members tracking?

I dont understand what you mean.

Lionel 05-26-2012 10:16 AM

Never mind. Members Tracking works only if Visiting Members is active and I did not want to display Visiting Members to certain groups, so I just put a conditional in there.

Paul M 05-26-2012 01:52 PM

I still dont understand. Tracking does not need Visiting Members to be active, it has its on on/off and permission settings.

Depending on permissions, you can have ;

1. Groups that dont see Visiting Members at all.
2. Groups that have the Visiting Members Display, but no access to the Tracking functions.
3. Groups that have the Visiting Members Display, and access to the Tracking functions
4. Groups that dont the Visiting Members Display, but do have access to the Tracking functions.

Option 4 would be unusual as they would need to manually type in the urls for Tracking displays.

Lionel 05-26-2012 02:08 PM

It does as it uses
PHP Code:

$show['wgo_members'

in template FORUMHOME as an if condition. And that is true in forum.php when
if ($vbulletin->options['wgo_members'].

I spent a couple of hours trying to figure it out. When I saw that in template I turned it on and ... it started to display.

Lionel 05-26-2012 02:12 PM

here is the mention of it in template
Quote:

<!-- Start Members Today -->
<vb:if condition="$show['wgo_members']">
<div id="wgo_wgo_members_users" class="wgo_subblock section collapse">
<h3 class="blocksubhead"><a href="{vb:raw wgo_members.url}"><img src="{vb:stylevar imgdir_misc}/forum_stats.png" alt="{vb:phrase wgo_members_alt_title}"/></a>{vb:raw wgo_members.whotitle}</h3>
<a class="collapse" id="collapse_wgo_members_list" href="{vb:raw relpath}#top"><img src="{vb:stylevar imgdir_button}/collapse_40b{vb:raw wgo_members.collapse}.png" alt="" title="{vb:rawphrase collapse_expand}" /></a>
<div id="wgo_members_list" {vb:raw wgo_members.style}>
<p>{vb:raw wgo_members.visitors}</p>
<vb:if condition="$vboptions['wgo_members_names']">
<vb:if condition="$wgo_members['totaltoday'] == 0">
{vb:phrase no_members_list}
<vb:else />
<ul class="commalist" id="wgo_wgo_members_list">
<vb:if condition="$wgo_members['template_hook']">
{vb:raw wgo_members.template_hook}
<vb:else />
<vb:each from="wgo_members_list" value="row">
<li>{vb:stylevar dirmark}<a class="username" href="{vb:link member, {vb:raw row}}" title="{vb:raw row.wrdate}">{vb:raw row.musername}</a>{vb:raw row.markinv}{vb:raw row.comma}</li>
</vb:each>
</vb:if>
</ul>

</vb:if>
<vb:else />
{vb:phrase member_list_disabled}
</vb:if>
</div>
</div>
</vb:if>
<!-- End Members Today -->

Paul M 05-26-2012 03:04 PM

Right, now I see what you are getting at.

In 4.2, this hooks into the existing VM display, it does not add its own, so yes, it obviously needs the master setting to be turned on, otherwise no one will be able to see it.

That still doesnt explain what you said, or why you would add a conditional anywhere.

You do realise that Visiting Members Display is controlled by Usergroup Permission ?

So while the Master may be on, it only displays for usergroups that have that permission.


All times are GMT. The time now is 02:00 AM.

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.01336 seconds
  • Memory Usage 1,749KB
  • 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_php_printable
  • (3)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