vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   vBPrivate Threads (https://vborg.vbsupport.ru/showthread.php?t=109096)

Eikinskjaldi 03-06-2006 02:14 AM

Well it isnt a work around, its a fix to a problem :P

rnmcd 03-06-2006 02:16 AM

This is gonna be one awesome hack!
Your first one, right?

Eikinskjaldi 03-06-2006 03:33 AM

My first at least for 3.5, and my first released, yes.

bondjetta 03-06-2006 12:31 PM

Quote:

Originally Posted by Eikinskjaldi
This is an error I am working on currently, I am sorry for the current inconvience, it should be patched and fixed within the near future hopefully :D

EDIT: Wait, is this on forumdisplay or forumhome? When you view a forum you see the thread? Because that means you must have missed an edit somewhere. The only place a none viewable person can find out if a private thread exists is through forumhome's lastpost bit. I am currently working on making it so they cant see that either.

nope it's on New Posts...search.php...but according to what i read above i missed an edit in Search.php?! I'll go double check, but i don't believe that's the case...one sec.

Code:

// show results as posts
        if ($search['showposts'])
        {
                foreach ($itemids AS $post)
                {
                        // M/DD/YY PRIVATE THREADS PORT
            include_once('./includes/functions_privatethread.php');
            if (private_thread_not_allowed($post))
                        {
                            continue;
                        }
            // END PRIVATE THREADS PORT

Code:

// threadbit_deleted conditionals
                $show['threadtitle'] = true;
                $show['viewthread'] = true;
                $show['managethread'] = true;

                foreach ($itemids AS $thread)
                {
                        // M/DD/YY  PRIVATE THREADS PORT
                        include_once('./includes/functions_privatethread.php');
                        if (private_thread_not_allowed($thread))
                        {
                                continue;
                        }
            // END PRIVATE THREADS PORT


Eikinskjaldi 03-06-2006 03:43 PM

No, that's quite correct and matches what I have for private threads in my search.php file. And you say they're showing up when you do NOT have permission to view them on a "New Posts" search?

bondjetta 03-06-2006 04:10 PM

Quote:

Originally Posted by Eikinskjaldi
No, that's quite correct and matches what I have for private threads in my search.php file. And you say they're showing up when you do NOT have permission to view them on a "New Posts" search?

yep...

http://www.worksafeboredom.com/content/

go there, click Today's Posts (or register and do New Posts) and you should be able to see a thread named Test w/ a preview of, "You can see this can't you?"

Eikinskjaldi 03-06-2006 07:26 PM

Hmmm.... The next best thing to try is to uninstall the entire hack, and try at installing it again. Ensure that all of the plugins are turned on, and that all the file edits have been made.

Might I ask when you downloaded the package? It has been changed quite a few times in the past few days. Sorry about that.

Also, if you need any help installing it or wish me to do it then just drop me a PM. I have some free time this week so it wouldn't be to much of a problem :D

bondjetta 03-07-2006 12:19 PM

Quote:

Originally Posted by Eikinskjaldi
Hmmm.... The next best thing to try is to uninstall the entire hack, and try at installing it again. Ensure that all of the plugins are turned on, and that all the file edits have been made.

Might I ask when you downloaded the package? It has been changed quite a few times in the past few days. Sorry about that.

Also, if you need any help installing it or wish me to do it then just drop me a PM. I have some free time this week so it wouldn't be to much of a problem :D

I had installed the version you posted just before you sent out the email that it had been updated (removed 2 plugins, added a file change or two...last week sometime)...then did the update when you sent the email about those new changes.

I'll uninstall/reinstall right now and tell you what I find. :)

nope, no luck. still showing up under New Posts.

Eikinskjaldi 03-07-2006 08:56 PM

Thats just bizarre, I can't replicate it and I don't see anything in the code you posted, is there by chance anything that could be blocking it?

Any other hack that might be getting in the way.

bondjetta 03-08-2006 10:01 PM

Quote:

Originally Posted by Eikinskjaldi
Thats just bizarre, I can't replicate it and I don't see anything in the code you posted, is there by chance anything that could be blocking it?

Any other hack that might be getting in the way.

the only other plugin that's registering on any of the search pages/functions is Thread Prefixes. I'm not sure if that could be it but i'll go disable it and test it.

EDIT: well..that was it. i turned off Thread Prefixes and the thread disappeared...*dang* :( i know you're busy but if "one day" you get a chance to work through that I'd appreciate it :) I have to use thread prefixes for a NWS section on my site that i want CLEARLY marked (so i require the prefix) so i can't keep that plugin disabled. :(

thank you for all the help so far though!


All times are GMT. The time now is 09:17 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.01259 seconds
  • Memory Usage 1,745KB
  • 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_code_printable
  • (4)bbcode_quote_printable
  • (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