vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Beta Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=5)
-   -   Private Threads Beta 2! (https://vborg.vbsupport.ru/showthread.php?t=48412)

Xenon 02-02-2003 07:06 PM

looks intresting, a good combination with Chens private posts hack :)

just a question: have you tested to search such a thread with show as posts?

and the show single post option can hurt you too i think.

Ps: just guessing, i've not checked it completly :)

Link14716 02-02-2003 07:25 PM

You bring up a valid point, Xenon. I just tested out searching, using "Show As Posts", and searching for a users posts. When I searched for "Private" (I made a private thread with the title "Private Threads! lol). it said "Displaying Topics 1 to 4 of 4". However, it only showed 3 topics, and the invisible one was not shown.

I have not tested this with the single post option, however, I think I already got that covered up. :)

Link14716 02-02-2003 11:58 PM

UPDATE: 2/2/03
Beta 2 released. New options include: ability to add usergroups who can see all private threads in the admin CP, ability for users to create private threads that only they and selected usergroups can see (ON/OFF option), and a few bugfixes. To upgrade from Beta 1.1, follow the instructions in the upgrade.txt file; to upgrade from Beta 1, follow the instructions to edit editpost.php and postings.php in the install.txt file and then follow the instructions (minus the editpost.php and postings.php parts) in the upgrade.txt file.

Credits for Beta 2: Xenon, as I took a piece of code from his Custom Postbit hack to get this hack to work fully.
PHP Code:

strstr(" ".$canusecpb." "" ".$bbuserinfo[usergroupid]." "


MajBoothroyd 02-03-2003 07:35 AM

I helped. :D

That is if you consider breaking it at every chance I got helping. :D

Dean C 02-03-2003 02:31 PM

If you made this private posts AS well as private threads you may have a new hack installer ;)

- miSt

Link14716 02-03-2003 07:06 PM

Yea, but FireFly already made a private posts hack. ;)

Link14716 02-03-2003 09:15 PM

Mist - here's a slightly modified version of FireFly's hack that allows you to post hidden posts. The only thing I changed was I made it so that the usergroupids entered in the admin CP were the ones able to post/see the hidden posts. :)

Frozen Dreams 07-30-2003 12:07 PM

When trying to run the 3rd and 4th query I get the following error (for each):

mysql error: You have an error in your SQL syntax near '' at line 1

mysql error number: 1064
:(
Would anyone have an idea what may be causing this?


All times are GMT. The time now is 01:05 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.01093 seconds
  • Memory Usage 1,727KB
  • 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_php_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
  • (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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete