vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.8 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=235)
-   -   Forum Display Enhancements - Users can see own moderated threads prior to approval (https://vborg.vbsupport.ru/showthread.php?t=277604)

xorex 04-25-2012 09:10 AM

<a href="https://vborg.vbsupport.ru/member.php?u=115402" target="_blank">MoMan</a> thank you, may be posible also make it editable for own moderated posts and threads prior to approval ?

wangyu1314 06-28-2012 09:32 AM

thank you ,it's great

zardos 02-11-2013 08:20 AM

Anyone know how to make this running on VB 3.8.4?
Need to make the posts and threads visible to moderated users.

Code:

        if (!can_moderate($forumid, 'canmoderateposts'))
        {
                if (!($forumperms & $vbulletin->bf_ugp_forumpermissions['canseedelnotice']))
                {
                        $visiblethreads = " AND visible = 1 ";
                }
                else
                {
                        $visiblethreads = " AND visible IN (1,2)";
                }
        }
        else
        {
                $visiblethreads = " AND visible IN (0,1,2)";
        }

I only have that part there. Nothing found about post #2 in the forumdisplay.php in 3.8.4 which is why I asked:
Code:

if ((!$thread['visible'] AND !can_moderate($thread['forumid'], 'canmoderateposts'))

Skyrider 03-04-2014 08:46 AM

There a way this code can be converted to vBulletin 4? I tried it myself, but I keep getting a blank page. The code:

Code:

if (!can_moderate($forumid, 'canmoderateposts'))
        {

is I believe new in vBulletin 4 just above:

Code:

if (!($forumperms & $vbulletin->bf_ugp_forumpermissions['canseedelnotice']))
                {

as I don't think its in vBulletin 3.

Calystos 03-07-2014 01:51 PM

O/P and S/P codes both work perfectly as-is in vb4.2.2. I edited the forumdisplay.php and showthread.php files accordingly, and all 3 changes were found and made and tested as-is and works, :-)

Meestor_X 10-18-2014 05:16 PM

Works great on 4.2.2! Thank you.

Ig@r 06-13-2016 04:29 PM

Is there any way to make this mod a product?

MarkFL 06-13-2016 05:17 PM

1 Attachment(s)
Quote:

Originally Posted by Ig@r (Post 2572010)
Is there any way to make this mod a product?

Yes, I have attached a product that does the same thing (including post #2)...I haven't tested it, so please let me know if it works for you, and if you would like any added features. :)

You will have to enable the product in its settings.

Ig@r 06-13-2016 05:25 PM

Quote:

Originally Posted by MarkFL (Post 2572012)
Yes, I have attached a product that does the same thing (including post #2)...I haven't tested it, so please let me know if it works for you, and if you would like any added features. :)

Thanks Mark, I will give this a try! :up:

Ig@r 06-13-2016 08:24 PM

OK, installed the product and tested, the users now able to see their moderated threads, unfortunately the second part is't working and they can not see their moderated posts yet.
Another thing I've discovered, that users are not able to post a reply in their own moderated thread if they decide to add something to it.


All times are GMT. The time now is 05:59 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.01548 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
  • (4)bbcode_code_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)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