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)

Meestor_X 08-04-2017 04:04 PM

Ok, in testing the product further, it seems moderated users can see their own posts, but not threads they started.
So it works for posts, but not for threads.
Any suggestions on how to fix this in the product? It would be nice to keep it as a product rather than having to edit the source files directly as before...

MarkFL 08-04-2017 05:22 PM

Quote:

Originally Posted by Meestor_X (Post 2589165)
Ok, in testing the product further, it seems moderated users can see their own posts, but not threads they started.
So it works for posts, but not for threads.
Any suggestions on how to fix this in the product? It would be nice to keep it as a product rather than having to edit the source files directly as before...

Are you talking about the product I uploaded?

Meestor_X 08-04-2017 05:27 PM

Quote:

Originally Posted by MarkFL (Post 2589169)
Are you talking about the product I uploaded?

I assume it's yours? This one here.

MarkFL 08-04-2017 05:33 PM

Quote:

Originally Posted by Meestor_X (Post 2589170)
I assume it's yours? This one here.

Yes, I wasn't sure if that's what you are using. What version of vB are you running? I can test this on either vB 3.8.11 or vB 4.2.5...it's been so long since I did this I would have to get familiar with it again. I seem to recall it working correctly for me though.

Meestor_X 08-04-2017 05:44 PM

Quote:

Originally Posted by MarkFL (Post 2589171)
Yes, I wasn't sure if that's what you are using. What version of vB are you running? I can test this on either vB 3.8.11 or vB 4.2.5...it's been so long since I did this I would have to get familiar with it again. I seem to recall it working correctly for me though.

Thanks! I'm using 4.2.5. I had tried the direct modifications to the files in 4.2.3 and that had worked. Just trying the product version and as I say, it seems to work for posts, but not threads. Not sure if I'm doing something wrong, but it would be great if you could check it out as I love this hack. Saves me getting all sorts of double-posts because people don't realize their moderated posts won't show up until approved (and of course they never read the message they get that tells them the same)... ;-)

MarkFL 08-04-2017 09:09 PM

Yes, I know exactly what you mean...they post over and over and finally give up and usually don't return.

I'll check this out ASAP and post back. :)

MarkFL 08-05-2017 02:40 PM

Quote:

Originally Posted by Meestor_X (Post 2589173)
Thanks! I'm using 4.2.5. I had tried the direct modifications to the files in 4.2.3 and that had worked. Just trying the product version and as I say, it seems to work for posts, but not threads. Not sure if I'm doing something wrong, but it would be great if you could check it out as I love this hack. Saves me getting all sorts of double-posts because people don't realize their moderated posts won't show up until approved (and of course they never read the message they get that tells them the same)... ;-)

Okay, I just retested this on my dev site, and I found moderated users can see both their new threads and posts. :)

Meestor_X 08-11-2017 11:48 PM

Quote:

Originally Posted by MarkFL (Post 2589200)
Okay, I just retested this on my dev site, and I found moderated users can see both their new threads and posts. :)

I had mistakenly thought that it was partially working. I realize now that it doesn't work at all on my forum.
I'll try the direct file modification again and see if that works.

MarkFL 08-12-2017 12:01 AM

Quote:

Originally Posted by Meestor_X (Post 2589291)
I had mistakenly thought that it was partially working. I realize now that it doesn't work at all on my forum.
I'll try the direct file modification again and see if that works.

I would guess some other add-on is interfering.

Meestor_X 08-12-2017 12:31 AM

Quote:

Originally Posted by Skyrider (Post 2484950)
There a way this code can be converted to vBulletin 4? I tried it myself, but I keep getting a blank page.

I got blank pages as well until I did the change in post #2 differently.
I changed:
Code:

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

TO:
Code:

if (($thread['isdeleted'] AND !can_moderate($thread['forumid'])))
Instead of what is shown in post #2.

I have no idea if I've broken something else by doing it this way, but at least it works now...


All times are GMT. The time now is 05:00 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.01309 seconds
  • Memory Usage 1,744KB
  • 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
  • (8)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