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)
-   -   Show Thread Enhancements - Who Is Replying? (https://vborg.vbsupport.ru/showthread.php?t=318515)

MarkFL 02-08-2016 01:56 AM

Quote:

Originally Posted by blah100 (Post 2564425)
@MarkFL, any idea how to make only viewable to certain usergroups? I would like this to be seen by staff members only.

I will add a setting to allow restricting to chosen usergroups. :)

MarkFL 02-09-2016 07:17 PM

Update - Version 1.1:
  • Added setting to set which usergroups can view who is replying.

john7911 10-14-2016 10:17 AM

Thanks for this mod :)

MarkFL 03-09-2017 07:26 PM

Update - Version 1.2:
  • Minimized the number of queries involved.
  • Now shows who is editing a post as well.

Alan_SP 03-17-2017 06:03 PM

I checked code, this part:

PHP Code:

    if (strpos($location['location'],'newreply') !== false)
                    {
                        
$activity 'Replying';
                    }
                    elseif (
strpos($location['location'],'editpost') !== false)
                    {
                        
$activity 'Editing Post'

Can this be made into translatable phrases, my forum isn't in English. At the moment I hardcoded it in my language, but I would prefer it translatable.

MarkFL 03-17-2017 06:16 PM

Quote:

Originally Posted by Alan_SP (Post 2584002)
I checked code, this part:

PHP Code:

    if (strpos($location['location'],'newreply') !== false)
                    {
                        
$activity 'Replying';
                    }
                    elseif (
strpos($location['location'],'editpost') !== false)
                    {
                        
$activity 'Editing Post'

Can this be made into translatable phrases, my forum isn't in English. At the moment I hardcoded it in my language, but I would prefer it translatable.

Sorry about that oversight...

Update - Version 1.3:
  • Text added to active users now phrased.

Alan_SP 03-17-2017 06:19 PM

Also, there are two problems:

1) When I select usergroups and save, afterwards I don't see which usergroups I saved. It would be much better if we have some feedback for which usergroups mod is selected.

I see it works, but this kind of feedback is very useful in my opinion.

2) Mod only reacts if advanced editor is used, either for replying or editing post. Is it possible that mod reacts also to quick reply? I know this probably depends on vB, but on my forum people usually use quick reply for posting and editing.

EDIT: you're great man. Fast as a lightning. :up:

EDIT2: Now that I installed v1.3, I see usergroups selected. Don't know what happend. Now it is fine.

MarkFL 03-17-2017 06:26 PM

1 Attachment(s)
Quote:

Originally Posted by Alan_SP (Post 2584004)
Also, there are two problems:

1) When I select usergroups and save, afterwards I don't see which usergroups I saved. It would be much better if we have some feedback for which usergroups mod is selected.

I see it works, but this kind of feedback is very useful in my opinion.

This is what I see, which tells me which usergroups are selected:

https://vborg.vbsupport.ru/attachmen...1&d=1489778467

Quote:

Originally Posted by Alan_SP (Post 2584004)
2) Mod only reacts if advanced editor is used, either for replying or editing post. Is it possible that mod reacts also to quick reply? I know this probably depends on vB, but on my forum people usually use quick reply for posting and editing.

Yes, this won't work to let you know who happens to be typing something into the quick editor...the user has to be located on the "newreply" or "editpost" scripts. When using the quick editor, a user's location does not reflect this. :)

Alan_SP 03-17-2017 06:45 PM

Yes, for some reason I didn't see selected usergroups, but now I see them, after I updated to v1.3, as I mentioned in edit2 in my previous post (you were writing your post at the time).


All times are GMT. The time now is 02:20 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.01127 seconds
  • Memory Usage 1,747KB
  • 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_php_printable
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (9)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