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)

drex 03-03-2006 02:05 PM

should i also reload the product (just in case)?

Eikinskjaldi 03-03-2006 02:27 PM

Yes, I've updated the printthread plugin in the product.

bondjetta 03-03-2006 07:08 PM

am i doing something wrong? when i click New Posts i can see the threads that are supposed to be hidden (from my test account)...however when I click them it says i don't have permission. The problem is when I hover over the link it gives me the preview of the thread...sort of defeating the purpose of the hack?

Eikinskjaldi 03-03-2006 08:25 PM

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.

drex 03-04-2006 12:13 AM

mine can be seen from the vbcmps screen... that's the only problem with this hack. it doesn't display in forumdisplay, and follows its permissions accordingly...

is there any way i can help?

thanks

drex

drex 03-04-2006 01:29 AM

the problem lays with the file latesttopics.php from VB advanced CMPS. i have been looking at the template file, adv_portal_latesttopicbits .....

the first is the query and the second is the display thread.

Eikinskjaldi 03-04-2006 02:39 AM

That's one of the things I'm still trying to work on. The original version also did not prevent threads in private threads from showing in the lastpost column or on a vbacmps page. What needs to happen is that the permissions check needs to occur, but if the user does not have the permission, the next latest thread needs to be found (and the process must repeat until there is a viable thread).

drex 03-04-2006 12:35 PM

using the search.php for today's posts, it still shows up for the unauthorized users...... :ermm:

Eikinskjaldi 03-04-2006 04:35 PM

Have you performed the file edits in search.php? Can you copy for me the code you've placed for the two file edits (and the surrounding code)?

drex 03-04-2006 05:06 PM

missed one file edit in search.... now if it wouldn't display in forumhome....

here are the edits in forum (the search is fixed)..

PHP Code:

    $threadbits '';
        
$threadbits_sticky '';

        
$counter 0;
        
$toread 0;

        while (
$thread $db->fetch_array($threads))
        { 
// AND $counter++ < $perpage)

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


            // build thread data
            
$thread process_thread_array($thread$lastread$foruminfo['allowicons']);
            
$realthreadid $thread['realthreadid'];

            if (
$thread['sticky']) 

is it just me, or is everyone having the same problem with forumdisplay.php (forumhome)?


All times are GMT. The time now is 06:35 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.01118 seconds
  • Memory Usage 1,741KB
  • 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
  • (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