vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=33)
-   -   [secret] tag (secret text in posts) (https://vborg.vbsupport.ru/showthread.php?t=65814)

Kentaurus 06-03-2004 10:00 PM

[secret] tag (secret text in posts)
 
With this special tag you can have "secret" messages in the posts.

For example, in a post I can write:
[secret=John]Happy Birthday, John[/secret]

And that text (happy birhtday) will be readable by John only, and nobody else
in the forums (well, the admin of course).

Since this is a tag it can be used anywhere in a post.

Some of the features:
- Hidden text only seen by intended user
- Hidden text seen by admin also
- Text cannot be revealed by (seeing only the post in showpost, previewing the thread while replying, in the printthread view, while previewing in the threads list (forumdisplay), in the preview on the search).
- Useful for text that is intended to be in the same post and where a pm would be clumbersome

Info for hackers:
You may modify, improve, upgrade, redistribute this hack, include it
in another hack or yours or translate it provided you do it free of
charge and you distribute it in www.vbulletin.org at least, there is no
need to pm me asking for permission
Some portions of the code are (c) Jelsoft Enterprises Ltd.

msimplay 06-04-2004 06:23 AM

is it possible to add more then one username with it ie user1,user2,user3 etc

Kentaurus 06-04-2004 07:07 AM

Quote:

Originally Posted by msimplay
is it possible to add more then one username with it ie user1,user2,user3 etc

no, it's not. But you can write several secret tags (one for each user)

sabret00the 06-04-2004 09:14 AM

what happens if you quote it?

rookie7 06-04-2004 05:54 PM

Could you make it so that one can send secret messages to a usergroup (by typing the usergroup id or something) ? Or have a secret messages option where we can choose a usergroup from a drop down menu ?

Kentaurus 06-04-2004 08:52 PM

Quote:

Originally Posted by sabret00the
what happens if you quote it?

If you quote it you cannot see the secret tag, a secret tag that can be seen by using a quote or previewing a thread would be pretty pointless ;)

FrOgZ 06-04-2004 10:11 PM

What's the use if you can just use the PM system? :P

ragintajin 06-05-2004 02:43 AM

I'd love to use something like this that supported usergroups and/or multiple users.

neocorteqz 06-05-2004 05:29 AM

Do admins see this text??

Sorry if I misread the first post.

Boofo 06-05-2004 07:39 AM

A new toy for me to play with! Thank you, sir. ;)

[high]* Boofo clicks the install button repeatedly![/high]


All times are GMT. The time now is 03:25 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.01476 seconds
  • Memory Usage 1,735KB
  • 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_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
  • (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