vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=194)
-   -   New Posting Features - Per Forum Edit Time Limit (https://vborg.vbsupport.ru/showthread.php?t=136448)

Dismounted 07-25-2007 09:32 AM

Not really. I don't have much time to create and test new features as I'm quite busy dealing with security vulnerabilities in modifications.

Makc666 07-29-2007 06:41 PM

Doesn't work for me also... :(

thetootall 08-09-2007 09:47 PM

We're desperate for this one for our Classifieds section. :(

Lincoln 08-23-2007 08:31 PM

Ah... moment of optimism dashed by reading the rest of the thread. :(

lostgirl815 08-23-2007 09:51 PM

Moment of optimism seeing the "new reply to thread" email, also dashed.

Joey805 08-31-2007 02:39 PM

Is there a way to make this hack only apply to particular users?

sunnycher 09-08-2007 04:26 PM

I'm trying this again, I installed it once but the forum I set up for it still couldn't edit their posts, I hope it works this time.

lostgirl815 09-08-2007 09:00 PM

Did it work? I'm desperate for this hack.
------------------------------------------

I installed it. Didn't work for me. Dammit!

(3.6.4)

sunnycher 09-09-2007 12:20 AM

Nope, still not working for me. I would really love to have it especially for one forum that really needs it.
I'm 3.6.8

control1110 09-12-2007 03:52 AM

I still can't get it to work once I set it to -1 for unlimited I just can't edit post anymore on that forum. I just installed 1.2 with no older version installed.

vb 3.6.4

Bomb-Chelle 09-19-2007 04:16 AM

Perfect. I have an idea for my board and I needed something that provided one forum with no time limits for edits. Thanks!

Makc666 09-19-2007 08:50 PM

Quote:

Originally Posted by Bomb-Chelle (Post 1342240)
Perfect. I have an idea for my board and I needed something that provided one forum with no time limits for edits. Thanks!

The only problem is - that is doesn't work...

AngelBlue 10-17-2007 11:52 AM

I tried to install this but I get the following mysql error when attemping to save a forum's configuration :
Code:

MySQL Error  : Unknown column 'pfetltimelimit' in 'field list'
Error Number : 1054

Uninstalled due to bugs.

Deirdre 01-02-2008 05:56 PM

I'm having the same problem and have found that if people open their post in a new window, then they can edit, regardless of the time limit.

I think it's because of this but I'm not sure, can anyone confirm?

Sunsetdriver 01-19-2008 05:40 PM

It doesn't work for me either :(
Users can edit their posts indefinitely in other forums but not in the ones I've set the -1 option

(Vb 3.6.8 PL2)

diosrl 01-21-2008 12:20 PM

3.6.8 PL2 here, does not work, could someone change it's status from 3.6.X? Or update it to work until last vbulletin? Thanks.

Makc666 01-22-2008 09:58 AM

I think that this one doesn't work at all before and this is un-working product from the beginning.
It does only hide/show edit button from the thread but doesn't prohibit editing the post.

Dismounted 01-23-2008 05:03 AM

Quote:

Originally Posted by Makc666 (Post 1426558)
I think that this one doesn't work at all before and this is un-working product from the beginning.
It does only hide/show edit button from the thread but doesn't prohibit editing the post.

It was working till ~3.6.5. I have not had the time to fix anything as I have other things that take higher priority.

diosrl 01-23-2008 06:12 AM

At least mention it at the beginning of this thread, so people can no longer bother you/themselves :)

vB Version: 3.6.5

Dabbi 02-15-2008 05:09 PM

This would be a truly great function for my board. I have one area (for discussion/debate on hot topics) that I want to allow a very short edit time (like 3 minutes) for typos and quick fixes but right now all I can do is the same as the rest of the forum or none.. so I have it at none.

Is it possible this may be updated for 3.7 at some point soon after it comes out? (This type of function really should be included IMO). :)

Dismounted 02-17-2008 01:47 AM

All my modifications will be fixed and updated to be compatible with 3.7 after it becomes gold.

Boofo 02-17-2008 02:42 AM

How hard would it be to adapt this hack to do character limits per forum? Just a thought.

Niber 02-17-2008 06:29 PM

Quote:

Originally Posted by Dismounted (Post 1444861)
All my modifications will be fixed and updated to be compatible with 3.7 after it becomes gold.

Yay!

Dismounted 02-18-2008 04:10 AM

Quote:

Originally Posted by Boofo (Post 1444896)
How hard would it be to adapt this hack to do character limits per forum? Just a thought.

https://vborg.vbsupport.ru/showthread.php?t=144375 :cool:

Boofo 02-18-2008 04:27 AM

Quote:

Originally Posted by Dismounted (Post 1445710)

Always 3 steps ahead of me. Thank you, sir. ;)

mariocaz 02-19-2008 05:11 AM

Hello Dismounted,

Thanks a lot and congrats for this great mod.

Mario

Majest 02-19-2008 10:20 PM

Great mod, been looking for something like this for months.

Makc666 02-20-2008 09:34 PM

Quote:

Originally Posted by Dismounted (Post 1427116)
It was working till ~3.6.5. I have not had the time to fix anything as I have other things that take higher priority.

Speaking about Product's version 1.2

What I changed and removed to make this one working with 3.6.8

Changed:
1.
This one:
PHP Code:

<version>1.2</version

to this one:
PHP Code:

<version>1.3</version

2.
This one:
PHP Code:

    <dependencies>
    </
dependencies

to this one:
PHP Code:

    <dependencies>
        <
dependency dependencytype="vbulletin" minversion="3.6.8" maxversion="" />
    </
dependencies

3.
This one:
PHP Code:

        <plugin active="1" executionorder="5">
            <
title>Fetch Forum Info</title>
            <
hookname>fetch_foruminfo</hookname>
            <
phpcode><![CDATA[if (isset($vbulletin->bf_misc['pfetlforumoptions']))
{
    foreach (
$vbulletin->bf_misc['pfetlforumoptions'] AS $optionname => $optionval)
    {
        
$vbulletin->forumcache["$forumid"]["$optionname"] = (($vbulletin->forumcache["$forumid"]['pfetlforumoptions'] & $optionval) ? 0);
    }
}  ]]></
phpcode>
        </
plugin

to this one:
PHP Code:

        <plugin active="1" executionorder="5">
            <
title>Fetch Forum Info</title>
            <
hookname>fetch_foruminfo</hookname>
            <
phpcode><![CDATA[if (isset($vbulletin->bf_misc['pfetlforumoptions']))
{
    foreach (
$vbulletin->bf_misc['pfetlforumoptions'] AS $optionname => $optionval)
    {
        
$vbulletin->forumcache["$forumid"]["$optionname"] = (($vbulletin->forumcache["$forumid"]['pfetlforumoptions'] & $optionval) ? 0);
    }
}
if (
$vbulletin->forumcache[$forumid][pfetltimelimit] == '-1') {
    
$vbulletin->options['edittimelimit'] = '0';
}
elseif (
$vbulletin->forumcache[$forumid][pfetltimelimit] != '0')
{
    
$vbulletin->options['edittimelimit'] = $vbulletin->forumcache["$forumid"]['pfetltimelimit'];
}  ]]></
phpcode>
        </
plugin

4.
Removed:
PHP Code:

        <plugin active="1" executionorder="5">
            <
title>Disable Edit Button</title>
            <
hookname>showthread_start</hookname>
            <
phpcode><![CDATA[if ($foruminfo['pfetltimelimit'] == '*')
{
    
$vbulletin->options['edittimelimit'] = '0';    
}
elseif (
$foruminfo['pfetltimelimit'] != '0')
{
    
$vbulletin->options['edittimelimit'] = $foruminfo['pfetltimelimit'];
}]]></
phpcode>
        </
plugin>
        <
plugin active="1" executionorder="5">
            <
title>Edit Time Limit</title>
            <
hookname>editor_toolbar_start</hookname>
            <
phpcode><![CDATA[if ((isset($forum)) AND ($forum['pfetltimelimit'] == '-1'))
{
    
$vbulletin->options['edittimelimit'] = '0';
}
elseif ((isset(
$forum)) AND ($forum['pfetltimelimit'] != '0'))
{
    
$vbulletin->options['edittimelimit'] = $forum['pfetltimelimit'];
}]]></
phpcode>
        </
plugin


SimonVlc 06-06-2008 06:56 AM

3.7?

Dismounted 06-06-2008 07:23 AM

I have not tested it on 3.7 yet. The only way to see is installing it and trying.

vgevolution 06-06-2008 10:15 PM

Can anyone confirm if this will work with 3.6.10? I saw a modified version 1.3 (unofficial, I assume). Has anyone tested it with later versions? Thanks!

lostgirl815 06-23-2008 12:44 AM

Just posting so I'll know when it works with 3.7. :)

Boofo 06-23-2008 01:05 AM

Quote:

Originally Posted by vgevolution (Post 1542660)
Can anyone confirm if this will work with 3.6.10? I saw a modified version 1.3 (unofficial, I assume). Has anyone tested it with later versions? Thanks!

I wouldn't trust that version as Dismounted didn't do it.

Makc666 06-23-2008 04:51 AM

Quote:

Originally Posted by SimonVlc (Post 1542112)
3.7?

Quote:

Originally Posted by lostgirl815 (Post 1556438)
Just posting so I'll know when it works with 3.7. :)

This one (1.3) works well with 3.7.* with out any problems.

Quote:

Originally Posted by vgevolution (Post 1542660)
Can anyone confirm if this will work with 3.6.10? I saw a modified version 1.3 (unofficial, I assume). Has anyone tested it with later versions? Thanks!

This one (1.3) will also works with 3.6.10 with out any problems.

Quote:

Originally Posted by Boofo (Post 1556441)
I wouldn't trust that version as Dismounted didn't do it.

I don't know why Dismounted do not want to fix this one or test.
The changes which were made from 1.2 to 1.3 are listed in my post.
They are very easy to understand for such coder as he is.

You can always take Dismounted's 1.2 version and make the changes I listed in my post manually.

Dismounted 06-23-2008 06:38 AM

Quote:

Originally Posted by Makc666 (Post 1556550)
I don't know why Dismounted do not want to fix this one or test.

I do these things in my spare time. Do you think I have truck loads of time? And especially to do things for free?

Trust me, if I had the time to do it, I would.

trophygrl 06-24-2008 05:47 PM

is it possible to use this version in 3.7.1?

Makc666 06-24-2008 08:40 PM

Quote:

Originally Posted by Dismounted (Post 1556597)
I do these things in my spare time. Do you think I have truck loads of time? And especially to do things for free?

Trust me, if I had the time to do it, I would.

Dismounted, don't take my words so serious :)
We all now that free time is not free and is not time :D
I also don't have that one so I 100% understand you.

But you have to agree with me that if no one will encourage us than we can forgot about such phrase as "free time".

People just love this modification and that it why they boring you :cool:

Quote:

Originally Posted by trophygrl (Post 1557928)
is it possible to use this version in 3.7.1?

Official version 1.2 doesn't work with 3.6.10 and 3.7.*
None Official version 1.3 attached in post #1447697 works with 3.6.10 and 3.7.*.

transparent 07-07-2008 04:45 PM

I installed the 1.3 version on 3.7.1 and it works great! Thank you for the original release Dismounted and thank you for the update Makc666!

*Marked Installed*

mariocaz 07-07-2008 04:57 PM

Thank you a lot Makc666 for take your time to fi this!!!

You are awesome.

Greg-J 07-07-2008 11:15 PM

I am using 3.7.1 and whether I set the option to -1 or 14400, my users seem to get this message:

Quote:

The administrator has specified that you can only edit messages for 120 minutes after you have posted. This limit has expired, so you must contact the administrator to make alterations on your message.
Note that the standard time limit is 5 minutes, so I don't know where this 120 minutes is coming from as I have never used that number for anything on my forum...


All times are GMT. The time now is 05:06 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.01382 seconds
  • Memory Usage 1,861KB
  • 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_code_printable
  • (7)bbcode_php_printable
  • (15)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
  • (40)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