Register Members List Search Today's Posts Mark Forums Read

Reply
 
Thread Tools
  #1  
Old 25 Apr 2009, 23:18
vithorius's Avatar
vithorius vithorius is offline
 
Join Date: Feb 2008
Question [SOLVED] Prevent bumping on selected THREADS before X days

I would like to have an installable Mod that would allow me to set the minnimum time (hours or days) before the author could reply (bump) his/hers thread.


In my board, there are some sections where people can post some classifieds and bump them to bring them up.

The problem is that the board rules state that bumps are allowed for the classieds only when 15 days (2 weeks) have passed.


I would like to set the minnimum ammount of time before the author can reply to his won thread (bump it) on the Admincp -> Forums and Moderators -> Manage Forums -> [Edit My Forum]


Basically I want users to be allowed to make (start) the thread(s) but won't be able to reply until it has been 15 days since they started the thread(s).


Thank you so very much.
Reply With Quote
  #2  
Old 06 May 2009, 15:59
vithorius's Avatar
vithorius vithorius is offline
 
Join Date: Feb 2008
Lightbulb Any help?!?

Basically I want users to be allowed to start threads but won't be able to reply until it has been 15 days since the last post/first post!



Anyone?
Reply With Quote
  #3  
Old 18 May 2009, 13:36
vithorius's Avatar
vithorius vithorius is offline
 
Join Date: Feb 2008
Lightbulb

I really believe that this should be a very easy Mod to code, for someone who has the skills...
Reply With Quote
  #4  
Old 22 May 2009, 16:09
IdanB's Avatar
IdanB IdanB is offline
 
Join Date: May 2009
Real name: Idan Bismut
i'll try to code this one

EDIT:
I guess there could be 2 ways of making this:
1. an easy way: just add code to post hook to check if allowed, and if not, redirect with error.
2. bit more user-friendly, but more code invovled: making sure the user that cannot bump has no option to get into any sort of reply screen (either quick reply, reply or qoute buttons)

Are one of these options what you had in mind or you meant different in your request ?
__________________
vBHackers.com - vBulletin Modification Community

Last edited by IdanB; 22 May 2009 at 16:26.
Reply With Quote
  #5  
Old 23 May 2009, 09:44
vithorius's Avatar
vithorius vithorius is offline
 
Join Date: Feb 2008
Thumbs up

Woa!! Thank you IdanB! I was getting a bit desperate...

Ok, I forgot to mention that I'm using CyberRanger's 'Throttle Posts/Threads (restrict number of posts/threads by usergroup/forum by time)' wich does the trick to prevent posting more that X threads, but FAILS in this quest to prevent replying to the THREADS in less than X days (or hours, etc...)

Ok, so now, replying your suggestions:
Originally Posted by IdanB View Post
i'll try to code this one

EDIT:
I guess there could be 2 ways of making this:
1. an easy way: just add code to post hook to check if allowed, and if not, redirect with error.
2. bit more user-friendly, but more code invovled: making sure the user that cannot bump has no option to get into any sort of reply screen (either quick reply, reply or qoute buttons)

Are one of these options what you had in mind or you meant different in your request ?
Well, the above CyberRanger's Mod, does something close to your first option, so my users are a bit used to it, and that would be just fine for my board!

I believe that if the error message could inform the X ammount of days (or hours - although in my case I would like to have it in 'days') that are still remaining until the user can reply, the members could get more informed about the board rules, as the error message could be a reminder for those rules!


Well, but let me tell you that your second option seems very good to me too. You would simply not have the Reply button there, so it would look a bit more... professional?


hummm... But I wonder... Imagine that a newbie posted on those sub-sections that won't allowd to reply before X days... He/she won't see the Reply buttons, that could create another problem in this way: The user could simply guess that there is no way to reply at any time (if he/she does not read the board rules) and then, before the X days have passed, he/she would create ANOTHER thread with the same message as the first one (thus duplicating threads)

Ok, so the first option would be more useful! The error message would be the "Rules Reminder" for the user that did not read the board rules...


Thank you so very much IdanB!
Reply With Quote
  #6  
Old 23 May 2009, 10:24
IdanB's Avatar
IdanB IdanB is offline
 
Join Date: May 2009
Real name: Idan Bismut
yea, there is that little dilemma as described by you, that's why i asked.

Allright, will code that mod. Might be useful to other folks on community as well, so worth coding
If i'll have time today in the afternoon, it might even be posted tonight. If i wont have time for it today then it will have to wait for next weekend (weekends for me are Friday-Saturday, i work on Sundays).

regards,
Idan.
__________________
vBHackers.com - vBulletin Modification Community
Reply With Quote
  #7  
Old 30 May 2009, 14:13
IdanB's Avatar
IdanB IdanB is offline
 
Join Date: May 2009
Real name: Idan Bismut
Just letting you know i havent forgot about this request. This weekend i was kept bit too much busy with another modification (Alt Last Post) that had alot of unforeseen factors, made me work extra to fix multi bugs found by users.
I'll try to work on it now

--------------- Added 30 May 2009 at 16:44 ---------------

Modification coded, tested & now online here
You can grab it here: http://www.vbulletin.org/forum/showthread.php?t=214916
Hope this helps your request.

regards,
Idan.
__________________
vBHackers.com - vBulletin Modification Community

Last edited by IdanB; 30 May 2009 at 16:44. Reason: Auto-Merged DoublePost
Reply With Quote
  #8  
Old 31 May 2009, 02:27
vithorius's Avatar
vithorius vithorius is offline
 
Join Date: Feb 2008
Thumbs up

Dear IdanB,

THANK YOU SO VERY VERY MUCH!!!






(Moderators: You can close this thread now! )
Reply With Quote
Reply

Similar Threads
Thread Thread Starter Forum Replies Last Post
Miscellaneous Hacks Prevent bumping old Threads Andreas vBulletin 3.8 Add-ons 101 11 Sep 2012 00:43



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

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


New To Site? Need Help?

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

Layout Options | Width: Wide Color: