vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Graveyard (https://vborg.vbsupport.ru/forumdisplay.php?f=224)
-   -   Show Thread Enhancements - Who has read a Thread (https://vborg.vbsupport.ru/showthread.php?t=197487)

socalsoccer 06-09-2009 10:17 PM

Hello Paul is this the correct area for this hook? Located in the Showthread template.

<!-- end currently active users -->
</if>
$template_hook[showthread_after_activeusers]

<if condition="$show['popups']">
<!-- popup menu contents -->
<br />

Paul M 06-10-2009 02:42 PM

That looks correct.

socalsoccer 06-11-2009 02:25 AM

Ok got it working after adding hook, and deleting all usergroups that were restricted . If I add one usergroup like 25 to the restrictions line, the mod dissapears. so for now everyone can see it. Anyone else run into this problem?

SliceofLife 06-14-2009 09:11 AM

I installed this, and added the restrictions on usergroups yet it is still displaying for those usergroups, particuarly the IP address. Any way to fix this?

Paul M 06-14-2009 01:33 PM

Quote:

Originally Posted by socalsoccer (Post 1827377)
Ok got it working after adding hook, and deleting all usergroups that were restricted . If I add one usergroup like 25 to the restrictions line, the mod dissapears. so for now everyone can see it. Anyone else run into this problem?

If Im reading this correctly, then its working as expected.

Quote:

Usergroup Restrictions
Restrict the display to this comma seperated list of usergroups enter 0 to allow all usergroups.
So if you only put 25 in the box, then only usergroup 25 will see the mod.


Quote:

Originally Posted by SliceofLife (Post 1829444)
I installed this, and added the restrictions on usergroups yet it is still displaying for those usergroups, particuarly the IP address. Any way to fix this?

Again, are you reading it correctly ;

Quote:

IP Display
Restrict the display of ip addresses to this comma seperated list of usergroups, enter 0 to allow all usergroups
List the groups that are allowed to view ips, sounds to me like you did the opposite.

socalsoccer 06-16-2009 04:09 AM

paul adding 25 or any usergroup number makes the whole mod dissapear for every usergroup.

Paul M 06-16-2009 12:32 PM

Sorry, but I dont see how thats possible.

It doesnt happen for me (or anyone else afaik).

socalsoccer 06-17-2009 01:11 AM

Hi Paul I just found out my newly registered usergroup could view IP's when clicking view-all, even though I had them listed in my restrictions like this 25,26,27, . usergroup 25 could view all IPs, and me the unrestricted admin could see nothing. This must be conflicting with another mod. usergroups look like this correct (id 25) .

Thanks

socalsoccer 06-17-2009 01:13 AM

Quote:

Originally Posted by SliceofLife (Post 1829444)
I installed this, and added the restrictions on usergroups yet it is still displaying for those usergroups, particuarly the IP address. Any way to fix this?


My problem is similar with the IPs.

Paul M 06-17-2009 10:18 AM

Quote:

Originally Posted by socalsoccer (Post 1831033)
Hi Paul I just found out my newly registered usergroup could view IP's when clicking view-all, even though I had them listed in my restrictions like this 25,26,27, . usergroup 25 could view all IPs, and me the unrestricted admin could see nothing. This must be conflicting with another mod. usergroups look like this correct (id 25) .

Thanks

Nothing is conflicting, it is working correctly. Please read the options carefully.

As I said above, list the groups that are allowed to view ips. If you entered 25,26,27 then those groups can view ips, others (like admin) cannot.

socalsoccer 06-18-2009 04:13 AM

<i>Restrict the display of ip addresses to this comma seperated list of usergroups, enter 0 to allow all usergroups.</i>

Paul I have left the above field blank, and still the ips are viewable by everyone.

thanks

Paul M 06-18-2009 12:55 PM

Yes, leaving it blank is basically the same as entering zero (access for everyone).

xLYNZx 06-21-2009 05:18 AM

Love this hack, works great for me....However, would love to see a "whos replied" below it or the users in another colour or something rather than having to physically look through a long multiple page thread (yes, lazy!).

m2006 06-27-2009 12:39 AM

thank you install working

nnStaff 07-03-2009 06:24 AM

Thank you Paul, this may be just what I need to see who is actually paying attention to staff announcements.

kent_lkc 07-03-2009 03:50 PM

wonderful MOD, now i will know whether my staff is reading my post or not. :D

biome.pat 07-10-2009 03:24 PM

Great mod! Love it!

Quick suggestion though: I don't suppose there's any way to have the input field for "allowed" forums to be toggleable between allowed/disallowed, in case there's only one of two forums that admins don't want listing recent readers?

In my case, I've got an Anonymous Forum set up using Zoints Anonymous, and this mod has has the potential to "out" someone!

Cheers

Paul M 07-10-2009 06:18 PM

Sorry, thats not possible atm.

DaRK mAN306 07-20-2009 07:19 PM

INSTALLED ..

great mod man !!

Thnx ..

ericgtr 09-01-2009 06:12 PM

Is this really not compatible with 3.8 RC2? This is the first time I've seen a mod block an installation like this within the same version.

Paul M 09-01-2009 08:08 PM

None of my mods will install on Alpha/Beta/RC versions. No one should be running them.

ericgtr 09-01-2009 11:16 PM

Quote:

Originally Posted by Paul M (Post 1877993)
None of my mods will install on Alpha/Beta/RC versions. No one should be running them.

Okay, it does work on 3.8 RC2 though. I know that isn't your point but it does.

Paul M 09-02-2009 09:13 AM

Yes, I expect most of them will, but as you say, thats not the point. No one should be running a live site on a beta/RC version, I wont support them, so I (quite deliberately) restrict them from installing on such. :)

meissenation 09-03-2009 09:00 PM

I'm trying to figure out where the plugin code is where it looks for this showthread_after_activeusers - what plugin is that stored in? My template does not have that hook and as such does not display. I have to edit one or the other, the template or the associated plugin for this mod.

meissenation 09-03-2009 09:10 PM

Quote:

Originally Posted by Whity (Post 1714400)
find in showthread template
PHP Code:

<!-- end currently active users --> 

after add
PHP Code:

$template_hook[showthread_after_activeusers

It is correct?

Thank you for posting that! It's amazing how the developers assume everyone knows what a hook is or how to add a hook to a template. Been using vB since 2005 and never experienced having to manually add a hook to a template before. :)

Paul M 09-04-2009 12:26 AM

Quote:

Originally Posted by meissenation (Post 1879229)
Thank you for posting that! It's amazing how the developers assume everyone knows what a hook is or how to add a hook to a template. Been using vB since 2005 and never experienced having to manually add a hook to a template before. :)

Its already in the default vb template, you must be using an old customised version.

cbiweb 09-09-2009 03:47 PM

Okay, here's an issue that no one else seems to have had, or reported. I could not get this add-on to work, no matter what I tried. Everything looked correct, hooks in place, settings correct, etc. And here's how I fixed it...

In the SHOWTHREAD template, change the code seen here (vBulletin default!) in bold red text:

Code:

<if condition="$show['activeusers']">
<!-- currently active users -->

    <br />
    <table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
    <tr>
        <td class="tcat" colspan="2">
            <phrase 1="$totalonline" 2="$numberregistered" 3="$numberguest">$vbphrase[users_viewing_this_thread_x_y_z]</phrase>
        </td>
    </tr>
    <tr>
        <td class="alt1" colspan="2">
            <span class="smallfont">$activeusers</span>
        </td>
    </tr>
    </table>
<!-- end currently active users -->
</if>


to the code seen here in bold green text:

Code:

<!-- currently active users -->
<if condition="$show['activeusers']">

    <br />
    <table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
    <tr>
        <td class="tcat" colspan="2">
            <phrase 1="$totalonline" 2="$numberregistered" 3="$numberguest">$vbphrase[users_viewing_this_thread_x_y_z]</phrase>
        </td>
    </tr>
    <tr>
        <td class="alt1" colspan="2">
            <span class="smallfont">$activeusers</span>
        </td>
    </tr>
    </table>
</if>
<!-- end currently active users -->


So the HTML comments must be outside of the conditional statement. Otherwise, the following setting in ACP won't be activated:
Quote:

Auto-Template Search Text : Who Read This Thread
Edit the text that the Auto Template Change searches for. Do not alter this unless
you understand what you are doing, otherwise the modification will stop working.
The default text string shown there is: <!-- end currently active users -->

Has no one else run across this problem when trying to get the add-on to work?

Paul M 09-09-2009 05:21 PM

Quote:

Originally Posted by cbiweb (Post 1882118)
Okay, here's an issue that no one else seems to have had, or reported.
.
.

Has no one else run across this problem when trying to get the add-on to work?

No one has come across it, or reported it, for a very simple reason - it doesnt exist in the 3.8 version (which is what this thread is). This version uses a template hook, not previously available.

In previous versions (3.5/6/7) you will find the following clearly stated ;
Quote:

Note: You must have the "Show Users Browsing Threads" option set in your vbulletin options for this to display.
Due to what you found above :)

cbiweb 09-09-2009 06:38 PM

Ah, that explains it. I just checked and see that I have version 3.41, and I was sure I had downloaded 3.8! My bad. Downloading again right now. :)


Edit: Yes, I did have 3.8 downloaded but I also had the older version on my hard drive, and mistakenly installed it on a new site. :rolleyes:

HitmanB2Z 09-10-2009 06:10 AM

Installed. Many thanks !

Marek58 09-21-2009 02:23 PM

Polish version



Paul M 09-21-2009 06:37 PM

:up:

Welshy2008 09-21-2009 06:59 PM

Thank You Paul. Will be trying it soon. :)

VonDoom 09-22-2009 01:41 AM

Great Mod Works like a charm, I had to add the hooks in my custom styles but the only issue i had was finding out where the information was located. lol that took longer then the upload and template edits put together. ive been eyeballing this mod for a good year now and cant believe i just added it finally. *Installed*

daveaite 09-23-2009 04:03 AM

Reserved

daveaite 09-23-2009 04:33 AM

I've read through most of the old posts but I don't think anyone has asked this....

Is it possible to only allow certain groups be displayed in the "Which members have read this" such as Staff but everyone can view which staff has viewed it.

This way people will know if a staff member has viewed their thread?

Paul M 09-23-2009 11:34 AM

No, there is no facility to limit what groups are actually shown in the list.

Sador 09-23-2009 12:19 PM

Installed, nice mod.

RobbieZ 09-25-2009 02:34 PM

Ok, give us a clue..

Once installed where am I looking to see who has viewed a thread? Or is it another option in Vbull you have to turn on also ?

Sador 09-25-2009 03:34 PM

Quote:

Originally Posted by RobbieZ (Post 1890461)
Ok, give us a clue..

Once installed where am I looking to see who has viewed a thread? Or is it another option in Vbull you have to turn on also ?

Enter any topic and scroll down till after the quick reply box.

You'll see a box with 'members who have read a thread' with all the names of the people who have viewed the topic.


All times are GMT. The time now is 08:40 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.01644 seconds
  • Memory Usage 1,830KB
  • 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_code_printable
  • (2)bbcode_php_printable
  • (13)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)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