Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
Users can see own moderated threads prior to approval Details »
Users can see own moderated threads prior to approval
Mod Version: 1.00, by MoMan (Coder) MoMan is offline
Developer Last Online: Sep 2017 I like it Show Printable Version Email this Page

vB Version: 3.8.7 Rating: (3 votes - 5.00 average) Installs: 18
Released: 26 Jan 2012 Last Update: Never Downloads: 25
Supported Code Changes Re-usable Code  

On my forum, to prevent spam, threads from new users are checked for common spam keywords, including links. If any such keywords are found, the thread gets auto-moderated.

In order to prevent double-posting, I decided it was necessary for users to be able to see their own moderated threads in the forum listings before they get approved. Nobody reads the redirection message shown, so I hope that this will be more effective in preventing duplicates.

Moderated threads from unregistered users will not be shown to those users.

Open forumdisplay.php,

Find:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Replace with:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Note: if you want to allow users to see their own moderated posts as well, see post #2.

Download Now

Only licensed members can download files, Click Here for more information.

Show Your Support

  • To receive notifications regarding updates -> Click to Mark as Installed.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
  #31  
Old 04 Aug 2017, 19:04
Meestor_X Meestor_X is offline
 
Join Date: Apr 2006
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...
Reply With Quote
  #32  
Old 04 Aug 2017, 20:22
MarkFL's Avatar
MarkFL MarkFL is online now
 
Join Date: Feb 2014
Real name: Mark
Originally Posted by Meestor_X View Post
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?
__________________


Support for my products (as well as updates/new product publishing) has been moved to MHB - vBulletin Products and TAZ - Add-ons
Reply With Quote
  #33  
Old 04 Aug 2017, 20:27
Meestor_X Meestor_X is offline
 
Join Date: Apr 2006
Originally Posted by MarkFL View Post
Are you talking about the product I uploaded?
I assume it's yours? This one here.
Reply With Quote
  #34  
Old 04 Aug 2017, 20:33
MarkFL's Avatar
MarkFL MarkFL is online now
 
Join Date: Feb 2014
Real name: Mark
Originally Posted by Meestor_X View Post
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.
__________________


Support for my products (as well as updates/new product publishing) has been moved to MHB - vBulletin Products and TAZ - Add-ons
Reply With Quote
  #35  
Old 04 Aug 2017, 20:44
Meestor_X Meestor_X is offline
 
Join Date: Apr 2006
Originally Posted by MarkFL View Post
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)... ;-)
Reply With Quote
  #36  
Old 05 Aug 2017, 00:09
MarkFL's Avatar
MarkFL MarkFL is online now
 
Join Date: Feb 2014
Real name: Mark
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.
__________________


Support for my products (as well as updates/new product publishing) has been moved to MHB - vBulletin Products and TAZ - Add-ons
Reply With Quote
  #37  
Old 05 Aug 2017, 17:40
MarkFL's Avatar
MarkFL MarkFL is online now
 
Join Date: Feb 2014
Real name: Mark
Originally Posted by Meestor_X View Post
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.
__________________


Support for my products (as well as updates/new product publishing) has been moved to MHB - vBulletin Products and TAZ - Add-ons
Reply With Quote
  #38  
Old 12 Aug 2017, 02:48
Meestor_X Meestor_X is offline
 
Join Date: Apr 2006
Originally Posted by MarkFL View Post
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.
Reply With Quote
  #39  
Old 12 Aug 2017, 03:01
MarkFL's Avatar
MarkFL MarkFL is online now
 
Join Date: Feb 2014
Real name: Mark
Originally Posted by Meestor_X View Post
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.
__________________


Support for my products (as well as updates/new product publishing) has been moved to MHB - vBulletin Products and TAZ - Add-ons
Reply With Quote
  #40  
Old 12 Aug 2017, 03:31
Meestor_X Meestor_X is offline
 
Join Date: Apr 2006
Originally Posted by Skyrider View Post
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:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

TO:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

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...

Last edited by Meestor_X; 12 Aug 2017 at 04:02.
Reply With Quote
  #41  
Old 12 Aug 2017, 03:32
Meestor_X Meestor_X is offline
 
Join Date: Apr 2006
Originally Posted by MarkFL View Post
I would guess some other add-on is interfering.
Must be. Did the direct file mods, but had to do the post #2 change differently or I just get a blank page.
Reply With Quote
  #42  
Old 13 Oct 2017, 09:15
Stratis's Avatar
Stratis Stratis is offline
 
Join Date: Jan 2010
Real name: Stratis
Originally Posted by MarkFL View Post
Okay, this updated version will allow users to reply to their own moderated threads, and to edit their own moderated posts.

Mark I was using this mod a while, but I realized that all users can see moderated threads. It supposed it will allow only the owner of the post-thread.
Maybe some other mod of mine interferer with it.


Do you use this mod of yours? Thanks
Reply With Quote
  #43  
Old 13 Oct 2017, 17:16
MarkFL's Avatar
MarkFL MarkFL is online now
 
Join Date: Feb 2014
Real name: Mark
Originally Posted by Stratis View Post
Mark I was using this mod a while, but I realized that all users can see moderated threads. It supposed it will allow only the owner of the post-thread.
Maybe some other mod of mine interferer with it.


Do you use this mod of yours? Thanks
I don't use this personally...I was just attempting to put forth something to address the reported issues with the published product.

I will have to dig this up soon (currently working on a big project) and look into the issue you've brought up.
__________________


Support for my products (as well as updates/new product publishing) has been moved to MHB - vBulletin Products and TAZ - Add-ons
Reply With Quote
  #44  
Old 13 Oct 2017, 17:31
Stratis's Avatar
Stratis Stratis is offline
 
Join Date: Jan 2010
Real name: Stratis
Originally Posted by MarkFL View Post
I will have to dig this up soon (currently working on a big project) and look into the issue you've brought up.

Thank you Mark, have a nice day
Reply With Quote
  #45  
Old 15 Oct 2017, 06:41
MarkFL's Avatar
MarkFL MarkFL is online now
 
Join Date: Feb 2014
Real name: Mark
Originally Posted by Stratis View Post
Thank you Mark, have a nice day
Hello, Stratis!

I found that it was working correctly for threads, but not for posts, and I now submit for your testing an updated version which I have attached.

Please let me know if there are any issues...
Attached Files
File Type: xml product-markflseeownmoderated.xml (4.5 KB, 7 views)
__________________


Support for my products (as well as updates/new product publishing) has been moved to MHB - vBulletin Products and TAZ - Add-ons
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Mod Options

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


New To Site? Need Help?

All times are GMT. The time now is 06:03.

Layout Options | Width: Wide Color: