vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=4)
-   -   Hidden Posts (https://vborg.vbsupport.ru/showthread.php?t=27179)

amykhar 09-25-2001 01:33 PM

Installation instructions are in the zip file.

Amy

tubedogg 09-25-2001 04:37 PM

Quote:

Instructions are in the zip in a file named INSTALL.
slice, please enter your license information in your profile. See the link in my sig for more info. Thanks!

Bender 09-28-2001 11:24 AM

Great hack, tank you tubedogg!
Works great, and I love your installer ;)

Kengan 10-02-2001 10:38 PM

Nice Hack man ! I will try it later !!

;)

Darrenwu 10-03-2001 01:35 AM

is it possible to let it work with V2.01. i use V2.01.

thx!!!!

tubedogg 10-03-2001 02:15 AM

Please enter your license information in your profile. See the link in my sig for more info. Thanks!

You will need to upgrade to 2.0.3 to use this hack.

hacker 10-11-2001 03:38 AM

SOLID HACK!!!!

YourHostSucks 10-11-2001 06:16 AM

Yes, nice hack.. *but*

It may need some modification....

It is messing up my forum display.. http://forums.yourhostsucks.com/show...p?&threadid=37
(I am sure I just have to edit the postbit_hiddenpost or what it is)
But maybe there is a way to make this more easy?


But it seems to be working fine otherwise..
Thanks!

hacker 10-11-2001 07:32 AM

This is a really COOL hack. Got in installed without any hitches. One problem though, if one quotes the thread and replies, the hidden post is displayed. The same message should actually remain.

hacker 10-11-2001 12:56 PM

Quote:

Originally posted by YourHostSucks
Yes, nice hack.. *but*

It may need some modification....

It is messing up my forum display.. http://forums.yourhostsucks.com/show...p?&threadid=37
(I am sure I just have to edit the postbit_hiddenpost or what it is)
But maybe there is a way to make this more easy?


But it seems to be working fine otherwise..
Thanks!

You have to edit the postbit_userhidden template to ensure that the look remains consistent with your design.

www.dyne.com/forums

Syphin 11-01-2001 11:31 PM

This hack works great on 2.2.0.. ^^

But a few request/suggestion, Is there a way to make it where

1) Unregistered users cant view them
2) Only specified members can view them
3) Only specified user groups can/or cant view them

That would be awesoem if it could have this stuff... if possible.. lol

-Syphin

GeorgeofCS 11-06-2001 01:16 AM

Syphin how did you get it to work on 2.20 all I get is errors when I try to load it up in 2.20

Invalid SQL:
SELECT
post.*,post.username AS postusername,post.ipaddress AS ip,user.*,userfield.*,icon.title as icontitle,icon.iconpath,
attachment.attachmentid,attachment.filename,attach ment.visible AS attachmentvisible,attachment.counter
,avatar.avatarpath, user.avatarrevision > 0 OR NOT ISNULL(customavatar.avatardata) AS hascustomavatar,customavatar.dateline AS avatardateline
FROM post
LEFT JOIN icon ON icon.iconid=post.iconid
LEFT JOIN user ON user.userid=post.userid,ratetotal,ratenum,allowrat e
LEFT JOIN userfield ON userfield.userid=user.userid
LEFT JOIN avatar ON avatar.avatarid=user.avatarid
LEFT JOIN customavatar ON customavatar.userid=user.userid
LEFT JOIN attachment ON attachment.attachmentid=post.attachmentid
WHERE post.postid = '35451'

mysql error: Table 'csdatabase.ratetotal' doesn't exist

mysql error number: 1146

Date: Monday 05th of November 2001 09:50:50 PM
Script: http://www.customerssuck.com/forums/...t&postid=35451

:confused:

psico 11-12-2001 12:18 PM

Maybe an addition to this hack? i want to know who view this hidden text, is that possible?

butty 11-12-2001 11:27 PM

im havin probs with gettin this 2 work with 2.2.0 aswel, n e body shed n e light on how to get it goin or how ya did it?

thanks

amykhar 11-13-2001 12:06 PM

Butty, it worked fine for me on 2.2 with no modifications necessary.

What is it doing wrong on your board?

Amy

ForYou 12-16-2001 10:30 PM

Get Error ..any idea for help //

-----------------

Database error in vBulletin 2.2.1:

Invalid SQL:
SELECT
post.*,post.username AS postusername,post.ipaddress AS ip,user.*,userfield.*,icon.title as icontitle,icon.iconpath,
attachment.attachmentid,attachment.filename,attach ment.visible AS attachmentvisible,attachment.counter
,avatar.avatarpath,NOT ISNULL(customavatar.avatardata) AS hascustomavatar,customavatar.dateline AS avatardateline
FROM post
LEFT JOIN icon ON icon.iconid=post.iconid
LEFT JOIN user ON user.userid=post.userid,ratetotal,ratenum,allowrat e
LEFT JOIN userfield ON userfield.userid=user.userid
LEFT JOIN avatar ON avatar.avatarid=user.avatarid
LEFT JOIN customavatar ON customavatar.userid=user.userid
LEFT JOIN attachment ON attachment.attachmentid=post.attachmentid
WHERE post.postid = '44'

mysql error: Table 'vb2.ratetotal' doesn't exist

mysql error number: 1146

Date: Monday 17th of December 2001 02:12:21 AM
Script: http://localhost/vb2.1/vb2.1/showthr...post&postid=44
Referer:



please help me

Barret 12-27-2001 04:32 AM

I have tried and tried "well twice actually" and it just won`t work.
Like I told the peeps at the board, of all the hacks I have installed..this is the only one I cannot get to work.
Me wonders why come?
Maybe it`s just that on some servers it won`t work right?
I have 2.03 so any ideas why it doesn`t work?
Please help....

Barret 12-27-2001 01:54 PM

I guess it just wasn`t meant to work for me :(
I just redid it again and it still doesn`t work.
Thanks for the help anyway.
Button look cool though.

Barret 12-31-2001 05:34 PM

I just looked over this and I think the problem is in functions.php.
You can click "hide" all you want but it does not hide anything.
Since this isn`t being called up "postbit_userhidden , I suspect functions.php."
Maybe the new instructions got messed up or whatever but it does not work now.
Guess I was just too late getting the first file.
:(
Would be cool if someone could get a working model of this though. ;)

TheComputerGuy 12-31-2001 06:34 PM

i had it working in 2.2, I just now installed something, and I decided I would take it out..so....you might want to learn how to add the snippet of code as needed

Barret 01-01-2002 01:56 PM

I just followed the instructions is all. Mind ya I have installed
tons of hacks "and even modified some" so maybe it is my version 2.03 or mysql "which I doubt" but I`ll work on scripting it later. :(

feldon23 01-02-2002 05:28 AM

JJR512 gave info above about how to add a Spoiler code, but it was pretty vague (at least to me, I'm no vB guru yet). Here's step-by-step instructions:

1. Go to the Admin Control Panel.

2. Click 'Modify' under the 'Styles' item on the left navigation bar.

3. Click Fonts/Colors/etc.

4. In the Head Insert box, scroll down to the bottom and insert this line above </style>

.spoiler {color: white; background: white}

5. Click Save Changes at the bottom of the window.

6. Click "Add" under the 'Custom BB codes' item on the left navigation bar.

7. Fill in these entries:

vB Code tag: spoiler

vB Code replacement: <font class=spoiler>{param}</font>

vB Code example: Highlight this text to see the answer: [spoiler]Luke Skywalker is Darth Vader's son.[/spoiler]

vB Code explanation: The [spoiler] tag allows you to place text in your message that is unreadable, unless someone highlites it. This makes viewing the text a deliberate effort. This is for posting messages about movies or other things where you might not wish to give away plot points to those that haven't seen it yet.

Use { option } ? Yes ( ) No (*)

8. Click Save.

For a fancier vB Code replacement, put this:

<BLOCKQUOTE><FONT face="verdana,arial,helvetica" size="1" ><B>Spoiler Alert!</B> (highlight to read)</FONT><HR><FONT class="spoiler">{param}</FONT><HR></BLOCKQUOTE>

LangTuDaTinh 01-03-2002 12:37 AM

Quote:

Originally posted by ForYou
Get Error ..any idea for help //

-----------------

Database error in vBulletin 2.2.1:

Invalid SQL:
SELECT
post.*,post.username AS postusername,post.ipaddress AS ip,user.*,userfield.*,icon.title as icontitle,icon.iconpath,
attachment.attachmentid,attachment.filename,attach ment.visible AS attachmentvisible,attachment.counter
,avatar.avatarpath,NOT ISNULL(customavatar.avatardata) AS hascustomavatar,customavatar.dateline AS avatardateline
FROM post
LEFT JOIN icon ON icon.iconid=post.iconid
LEFT JOIN user ON user.userid=post.userid,ratetotal,ratenum,allowrat e
LEFT JOIN userfield ON userfield.userid=user.userid
LEFT JOIN avatar ON avatar.avatarid=user.avatarid
LEFT JOIN customavatar ON customavatar.userid=user.userid
LEFT JOIN attachment ON attachment.attachmentid=post.attachmentid
WHERE post.postid = '44'

mysql error: Table 'vb2.ratetotal' doesn't exist

mysql error number: 1146

Date: Monday 17th of December 2001 02:12:21 AM
Script: http://localhost/vb2.1/vb2.1/showthr...post&postid=44
Referer:



please help me


same problem as above, i installed topics feature... Please tell me how to fix it if i installed topics feature from PHPportal..Thanks

mas404 01-22-2002 09:13 AM

from long time i was tring to install this hack but I face many problem .

and now i have new one it is like ( foryou) & (LangTuDaTinh)

and we are waiting for the anser from any body to help us >

please .

mas404 01-25-2002 04:38 PM

:noid: :noid: :noid: :noid: :noid:
i am wating for help any body please ..

Database error in vBulletin: Invalid SQL:
SELECT

post.*,post.username AS postusername,post.ipaddress AS ip,user.*,userfield.*,icon.title as icontitle,icon.iconpath,
attachment.attachmentid,attachment.filename,attach ment.visible AS attachmentvisible,attachment.counter
,avatar.avatarpath,NOT ISNULL(customavatar.avatardata) AS hascustomavatar,customavatar.dateline AS avatardateline
FROM post
LEFT JOIN icon ON icon.iconid=post.iconid
LEFT JOIN user ON user.userid=post.userid,ratetotal,ratenum,allowrat e
LEFT JOIN userfield ON userfield.userid=user.userid
LEFT JOIN avatar ON avatar.avatarid=user.avatarid
LEFT JOIN customavatar ON customavatar.userid=user.userid
LEFT JOIN attachment ON attachment.attachmentid=post.attachmentid

WHERE post.postid = '21226'

mysql error: Table '7loocom_as :noid: .ratetotal' doesn't exist
mysql error number: 1146
Date: Friday 25th of January 2002 01:39:01 PM
Script: /vb/showthread.php?s=&action=showpost&postid=21226
Referer:

mas404 01-29-2002 10:49 AM

:cry: :cry:

no support??

PhotoGenie 01-30-2002 04:34 PM

This is a great hack.. Only problem Im having after installing is when replying to a message and attaching an image the file uploads and everything post but it never redirects or changes screens. It stays on the page where you insert your text. Anybody know what the problem might be? This is without checking the hidden option. Other than that everything is working great!! Thanks

mas404 03-18-2002 08:52 AM

anybody??

Tim Wheatley 03-18-2002 11:02 AM

Can someone with some knowledge please tell me if I'm correct in thinking that instead of:

functions.php

Code:

if (!$ignore[$post[userid]]) {
eval("\$retval = \"".gettemplate("postbit")."\";");
} else {
eval("\$retval = \"".gettemplate("postbit_ignore")."\";");
}

replace with

Code:

if ($ignore[$post[userid]]) {
                eval("\$retval = \"".gettemplate("postbit_ignore")."\";");
        } elseif ($hidden==1) {
                eval("\$retval = \"".gettemplate("postbit_userhidden")."\";");
        } else {
                eval("\$retval = \"".gettemplate("postbit")."\";");
        }

Because I have 2.2.4 I should change

Code:

if (!$ignore[$post[userid]]) {
eval("\$retval = \"".gettemplate("postbit")."\";");
} else {
eval("\$retval = \"".gettemplate("postbit_ignore")."\";");
}

to be replaced with...

Code:

if ($ignore[$post[userid]]) {
                eval("\$retval = \"".gettemplate("postbit_ignore")."\";");
        } elseif ($hidden==1) {
                eval("\$retval = \"".gettemplate("postbit_userhidden")."\";");
        } else {
                eval("\$retval = \"".gettemplate($templatename)."\";");
        }


datatec 03-24-2002 09:09 PM

ummmmmmm does this hack work on 2.2.4 ????

Be nice to know ?!?!?!?

mADmAX` 04-27-2002 06:14 PM

Does this work with 2.2.5?

aspire007 06-21-2002 05:28 PM

Quote:

Originally posted by psico
Maybe an addition to this hack? i want to know who view this hidden text, is that possible?

That would be a killer feature :) Id love to see it on here :)

amykhar 03-14-2003 04:35 PM

Curiosity killed the cat, right? My little tweak to this hack makes guests unable to view the hidden post. Only registered members can see what's behind the curtain.

After the hack is installed, in admin/functions.php Find:

Code:

} elseif ($hidden==1) {
      eval("\$retval = \"".gettemplate("postbit_userhidden")."\";");
  }

Replace With:

Code:

} elseif ($hidden==1) {
          if ($bbuserinfo[userid]==0) {
              eval("standarderror(\"".gettemplate("error_nopermission_loggedout")."\");");
          } else {
                eval("\$retval = \"".gettemplate("postbit_userhidden")."\";");
          }


LangTuDaTinh 03-14-2003 05:46 PM

I gonna reinstall this on v2.2.9...i'll let ya all know what happen.

amykhar 03-14-2003 05:55 PM

It works fine. Been using it on every version since it was released.


All times are GMT. The time now is 01:02 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.01380 seconds
  • Memory Usage 1,821KB
  • 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
  • (6)bbcode_code_printable
  • (4)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
  • (35)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