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)

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


All times are GMT. The time now is 03:42 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.01173 seconds
  • Memory Usage 1,739KB
  • 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)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)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