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]

Tarion 06-05-2004 08:32 AM

Quote:

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

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

@Kentarus: see this post https://vborg.vbsupport.ru/showthread.php?t=63947

NuclioN 06-05-2004 09:15 AM

guests/not logged in see all secret messages ??? Not good!

Kentaurus 06-05-2004 12:59 PM

Quote:

Originally Posted by NuclioN
guests/not logged in see all secret messages ??? Not good!

Did you test it? Currently in my forum guest/unregistered users cannot see the secret messages.

NuclioN 06-05-2004 02:58 PM

Yes. Members showed us where and what we've posted between the secret tags when they logged in again. I've logged out and saw all the text.

Boofo 06-05-2004 03:26 PM

Quote:

Originally Posted by Kentaurus
Did you test it? Currently in my forum guest/unregistered users cannot see the secret messages.

Do you allow guest/unregistered to view other's messages? ;)

Kentaurus 06-05-2004 09:42 PM

Quote:

Originally Posted by NuclioN
Yes. Members showed us where and what we've posted between the secret tags when they logged in again. I've logged out and saw all the text.

I agree with you in that would be a major bug. I am willing to fix it but I am unable to reproduce it.

What version of vbulletin are you using?
Is the secret text viewable in the thread (showthread) or in other area while not logged in?

Attached a screen of how it behaves in my forum.

NuclioN 06-06-2004 04:03 AM

vb3 gold 3.00 and in the attach you can see the problem :(

zahco 06-06-2004 07:59 AM

Thanks a lot for this Tag
Dir Kentaurus
it works good

best regards
zahco
http://www.arabswell.com/vb

Tarion 06-11-2004 01:42 PM

@Kentaurus:

A few things to get it more usefull

1. Option to activate the tag per forum
2. Moderators kann see all secret tag in forums where they are moderators

Yahhoon23 06-17-2004 08:37 AM

Kentaurus,

One problem with the hack. When they have email notification on, and they recieve an email showing the reply, it shows the secret text in there as well.

A little security flaw if you will.

Fanboys Suck 06-22-2004 04:14 AM

Another flaw:

Moderators can read secret tags that are not meant for them to read by clicking the edit post. That's not a problem because they can see what everyone says anyway. BUT, is there a way that keeps them from seeing admin's secret tags? Such as not allowing them to edit admin's posts?

Yahhoon23 06-22-2004 04:15 AM

You could always install the Message Editing Hierarchy Hack :)

That's the route I went and works well.

H2k 07-08-2004 03:21 PM

THIS IS WHAT I GOT AFTER I INSTALL THIS HACK .. ANY IDEA PLEASE

THANKYOU

Parse error: parse error in c:\apache\htdocs\forums\includes\functions.php on line 1887

Fatal error: Call to undefined function: is_browser() in c:\apache\htdocs\forums\global.php on line 59

H2k 07-11-2004 08:32 PM

hello i have fix this problem

i have remove from functions.php

Code:

this part                $debughtml .= " (<a href=\"" . htmlspecialchars_uni(SCRIPTPATH) . iif(strpos(SCRIPTPATH, '?') '?')'?')'?')'?')=== false, '?', '?','?','?','?','&amp;') . "tempusage=1\">Template Usage</a>) (<a href=\"" . htmlspecialchars_uni(SCRIPTPATH) . iif(strpos(SCRIPTPATH, '?') '?')'?')'?')'?')=== false, '?', '?','?','?','?','&amp;') . "explain=1\">Explain</a>)<br />\n";

so is there any problem with this ..?

after i Remove this part this hack is work great with me but id ont no what this part about ..

OrionDesigns 07-11-2004 09:06 PM

Cool little hack, thanks!

TheRayden 11-12-2004 09:36 AM

Is it possible to do this for usergroups instead of users?

dndog 11-13-2004 01:50 AM

Is it possible to allow anybody who moderates a forum (but not in the moderator usergroup) to have access to the secret text?

Thanks.

sketch42 07-18-2005 04:17 AM

would this work on 3.0.7 and have all the bugs been fixed liked being emailed the secret text, logged out users able to read the text etc...???

budlite74 07-26-2005 07:04 PM

dosnt seem to be working for 3.0.7

ciocsy 08-05-2005 09:28 PM

yeah... it is not working on 3.0.7 :(
too bad... because it was very useful

can you release a version to work on 3.0.7 ?

AllenSam 08-11-2005 06:00 PM

I'm guessing it won't work on 3.0.8 either?

budlite74 08-13-2005 03:49 AM

can we get an update?

slim cutty 08-24-2005 06:02 AM

No need for an update... this seems to be working fine on 3.0.8

you have to replace the second instance of

PHP Code:

return $newtext

In the functions.php file

works good so far

ciocsy 08-26-2005 11:53 PM

what do u mean to replace the second instance ?

AllenSam 08-29-2005 03:00 PM

I can't seem to get it to work on .8. It doesn't give any error it just doesn't parse the bb code. It shows up as [secret=name]Blah[/secret].

EricaJoy 09-25-2005 05:41 PM

/me hopes for an update for 3.0.9

slim cutty 09-28-2005 05:05 AM

i don't know what you guys are doing wrong... when I said second instance I mean what it tells you to change is there twice... change the second... I love this hack... works for 3.0.8 and 3.0.9

ZeryabPhone 10-08-2005 05:51 PM

[high]* ZeryabPhone install it
[/high]

great work
and work fine on vb v3.0.9

Thx :)

Neo_Angelo 08-30-2006 07:54 AM

we need an update for 3.6.0 for this. is a great hack and i would use it.

McMendo 11-03-2006 04:40 PM

Me too :)


All times are GMT. The time now is 07:32 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.01206 seconds
  • Memory Usage 1,792KB
  • 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_code_printable
  • (1)bbcode_php_printable
  • (6)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)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