vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=251)
-   -   Better Notice for Invisible Users (https://vborg.vbsupport.ru/showthread.php?t=303145)

Amaury 10-09-2013 03:25 AM

Better Notice for Invisible Users
 
I don't think the asterisks for invisible users (see Pyrrha Nikos) stand out enough.

Would it be possible to add a text notice of sorts with a hyperlink that will lead them to the Invisible Mode section of the options in the User CP?

I'm not on invisible, but something like this.

Amaury 10-14-2013 02:50 AM

Bump.

ForceHSS 10-14-2013 02:54 AM

Am sure a plugin could be made

ozzy47 10-14-2013 03:03 AM

Wait, no one will be able to see the text or hyperlink, since the user is hidden.

Amaury 10-14-2013 03:08 AM

Quote:

Originally Posted by ozzy47 (Post 2453101)
Wait, no one will be able to see the text or hyperlink, since the user is hidden.

Only invisible users would see the text and hyperlink.

ozzy47 10-14-2013 03:10 AM

Ok then why would they need such a thing? Just trying to see what the thought is behind it.

Amaury 10-14-2013 03:18 AM

Quote:

Originally Posted by ozzy47 (Post 2453105)
Ok then why would they need such a thing? Just trying to see what the thought is behind it.

Read my OP again.

Currently, the only way to tell if a user is invisible is via the postbit status or the asterisk next to their name.

Having the text in my image appear globally for users that are invisible stands out more than the asterisks and statuses. It would prevent invisible users from forgetting to go visible again if the reason they were invisible is no longer valid, such as no longer being busy.

ozzy47 10-14-2013 03:34 AM

I tried doing this via a plugin, but I don't think the required hook is there. So you can do the following.

Open the file, includes/functions_bigthree.php and find the following:

Code:

$user['invisiblemark'] = '*';
Change it to this:

Code:

$user['invisiblemark'] = '<a href="profile.php?do=editoptions" rel="nofollow"> Invisible</a>';
You can change the word to anything you wish.


All times are GMT. The time now is 11:59 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.01079 seconds
  • Memory Usage 1,725KB
  • 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_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (8)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete