Page Index Toggle Pages: 1 Send TopicPrint
Hot Topic (More than 10 Replies) Timelock (modify/delete Posts in Minutes) V1.2/1.3 (Read 4215 times)
Jeff
God Member
*****
Offline


There are no bugs there
are only features

Posts: 2552
Joined: Jan 14th, 2005
Gender: Male
Timelock (modify/delete Posts in Minutes) V1.2/1.3
Feb 3rd, 2009 at 7:04pm
Print Post  
Hi YaBBer
I update a little modification for Ron Spikecity. Standard in YaBB 2.3.x are only edit/delete posts in days, which is very long. This was requested by Mick in Info4Alien Board.  Wink

----------------------------------------------------------
Timelock V1.2/1.3 for YaBB 2.3 / 2.3.1
----------------------------------------------------------


Description:
=============
This mod allow Admins to set time limit on deletion of posts in
minutes.

Zip Package included:
=============
- TimeLock_V1_2-yabb23.mod
- TimeLock_V1_3-yabb231.mod
- TimeLock_V1_x-German_lng.mod
- TimeLock_V1_x-German_Du_lng.mod

Installation:
=============
1) Modify YaBB files using BoardMod or manually.
2) Load modified files to your server in ASCII mode.

Admin/ModList.pl (ASCII)
Languages/English/Admin.lng (ASCII)
Languages/English/Main.lng (ASCII)
Sources/Display.pl (ASCII)
Sources/ModifyMessage.pl (ASCII)

Credits:
=============
Mod: Timelock (YaBB 1.3)
Original code by Ron SpikeCity

Mod History:
=============
Status Timelock (modify/delete Posts in Minutes) V1.2/1.3 ( February 03rd 2009 )
- Update for YaBB 2.3 / 2.3.1

Downloads:
=============
Timelock V1.2/1.3
  

greetings
Jeff
Back to top
WWW  
IP Logged
 
Fps_Brian
Full Member
***
Offline



Posts: 130
Location: Beach Haven
Joined: Aug 14th, 2008
Gender: Male
Re: Timelock (modify/delete Posts in Minutes) V1.2/1.3
Reply #1 - Feb 3rd, 2009 at 9:19pm
Print Post  
Installed with no problems!
  

www.omgot.org
65+ mods installed
Back to top
IP Logged
 
chillipepper
Full Member
***
Offline


I love YaBB 1G - SP1.2!

Posts: 189
Joined: Jul 1st, 2008
Gender: Male
Re: Timelock (modify/delete Posts in Minutes) V1.2/1.3
Reply #2 - Feb 4th, 2009 at 5:40am
Print Post  
Installed ok.works well,Thanks  Wink
  
Back to top
 
IP Logged
 
mick
Senior Member
****
Offline


I love YaBB

Posts: 345
Location: Dorsten
Joined: Nov 29th, 2005
Gender: Male
Re: Timelock (modify/delete Posts in Minutes) V1.2/1.3
Reply #3 - Feb 4th, 2009 at 8:39am
Print Post  
Hi,

thx. for the Update, Jet Li.

I change code by hand and made some tests...

When I set the time to edit to 10 minutes, the
button "edit" was away after 10 minutes, but I
could change the post, when I insert direct link
to the browser.

Don't think, that I made faults during installation
and tests...but, can someone else test it also and
confirm (or not)?
  
Back to top
WWW  
IP Logged
 
Jeff
God Member
*****
Offline


There are no bugs there
are only features

Posts: 2552
Joined: Jan 14th, 2005
Gender: Male
Re: Timelock (modify/delete Posts in Minutes) V1.2/1.3
Reply #4 - Feb 4th, 2009 at 4:28pm
Print Post  
sorry I cannot confirm this to copy link for modify post. I get this Message:

Quote:
An Error Has Occurred!

Error: The Forum Admin has set a time limit of 10 minute(s) to modify Posts. This Post may not be altered.


tested with FF3, IE7. Normally your problem is impossible. Because all time with

3600 * 24 is changed to * 60
  

greetings
Jeff
Back to top
WWW  
IP Logged
 
mick
Senior Member
****
Offline


I love YaBB

Posts: 345
Location: Dorsten
Joined: Nov 29th, 2005
Gender: Male
Re: Timelock (modify/delete Posts in Minutes) V1.2/1.3
Reply #5 - Feb 4th, 2009 at 5:07pm
Print Post  
Hi,

I install the Mod in our live-Board with Boardmod.
After the Button "edit" is away, I can modify the
post when I insert direct link for it. Sorry, but can't
say other. I tested with FF3 on a modded Board.
  
Back to top
WWW  
IP Logged
 
Jeff
God Member
*****
Offline


There are no bugs there
are only features

Posts: 2552
Joined: Jan 14th, 2005
Gender: Male
Re: Timelock (modify/delete Posts in Minutes) V1.2/1.3
Reply #6 - Feb 4th, 2009 at 5:17pm
Print Post  
give me a account on your board for testing on pm.

But I say its impossible because see above code.
  

greetings
Jeff
Back to top
WWW  
IP Logged
 
mick
Senior Member
****
Offline


I love YaBB

Posts: 345
Location: Dorsten
Joined: Nov 29th, 2005
Gender: Male
Re: Timelock (modify/delete Posts in Minutes) V1.2/1.3
Reply #7 - Feb 4th, 2009 at 5:20pm
Print Post  
Hi,
I tested again with the user on an older post.
There he get also the above code (from your
post).

Could it be, that I have to wait a little longer
than the Button for modify is away? I will test
it later again, or give you an account. Now
I have an date for some hours. Have to do
something for my fitness Wink

I report here later.
  
Back to top
WWW  
IP Logged
 
Jeff
God Member
*****
Offline


There are no bugs there
are only features

Posts: 2552
Joined: Jan 14th, 2005
Gender: Male
Re: Timelock (modify/delete Posts in Minutes) V1.2/1.3
Reply #8 - Feb 4th, 2009 at 5:24pm
Print Post  
mick wrote on Feb 4th, 2009 at 5:20pm:
Could it be, that I have to wait a little longer
than the Button for modify is away?

you try same time at second after 10 minute to modify post per browser? What if you wait some seconds, maybe post time and your server time is little different.

But I say again. Thats impossible with * 60 (seconds). Because you can test without mod and set 1 day and test 24 hours and some second too.

btw. Did you upload ModifyMessage.pl too? Tongue
  

greetings
Jeff
Back to top
WWW  
IP Logged
 
mick
Senior Member
****
Offline


I love YaBB

Posts: 345
Location: Dorsten
Joined: Nov 29th, 2005
Gender: Male
Re: Timelock (modify/delete Posts in Minutes) V1.2/1.3
Reply #9 - Feb 4th, 2009 at 10:15pm
Print Post  
Jeff wrote on Feb 4th, 2009 at 5:24pm:
you try same time at second after 10 minute to modify post per browser? What if you wait some seconds, maybe post time and your server time is little different.

I didn't try it at second after time to modify. But maybe
20 seconds or something like this. Ok, its my fault, sorry
that I was to quick.

Jeff wrote on Feb 4th, 2009 at 5:24pm:
maybe post time and your server time is little different.

Oh, I thought, that posttime comes from servertime. From
where else?

Jeff wrote on Feb 4th, 2009 at 5:24pm:
Did you upload ModifyMessage.pl too?

Yes, sure. I always upload all newest files from a
folder and I compare with that, what is written in
boardmod.
  
Back to top
WWW  
IP Logged
 
deti
Full Member
***
Offline


YaBB is the best!!!

Posts: 101
Location: Prien am Chiemsee
Joined: Mar 13th, 2008
Re: Timelock (modify/delete Posts in Minutes) V1.2/1.3
Reply #10 - Feb 4th, 2009 at 10:16pm
Print Post  
mick:
Jeff wrote on Feb 4th, 2009 at 5:24pm:
Did you upload ModifyMessage.pl too?

  

Was immer Du tun kannst
oder erträumst tun zu können,
beginne es.
Kühnheit besitzt Genie,
Macht und magische Kraft.
Beginne es jetzt.
Whatever you can do
or dream you can,
begin it.
Boldness has genius,
power and magic in it.
Begin it now.
Johann Wolfgang Goethe
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint