Best of joomla gives you news, joomla templates, tutorials and websites about Joomla , FireBoard and FireMessage official page.
| No account yet?   |
Welcome, Guest
Please Login or Register.    Lost Password?
CORE:User post editability disable after n seconds (1 viewing) (1) Guest
Go to bottom Favoured: 0
TOPIC: CORE:User post editability disable after n seconds
#14840
CORE:User post editability disable after n seconds 1 Year, 1 Month ago  
Hi guys

I just wrote a hack/modification for Fireboard to close user editability of a Post after n seconds... This gives us the ability to allow users edit their posts for a certain time and not loosing content after some writer gets evil... Simply leading to higher quality in discussions.

joomlacode.org/gf/project/fireboard/trac...tracker_item_id=5321

Hope some of you guys support that this extension is the right way. Since it is implemented completely optional (when set to 0sec the window is unterminated).

Keep having fun!
Miro Dietiker (User)
Expert Boarder
Posts: 155
graphgraph
User Offline Click here to see the profile of this user
Gender: Male miro_dietiker MD Systems miro.dietiker@md-systems.ch Location: Zurich, Switzerland Birthdate: 1980-10-30
Logged Logged
 
Last Edit: 2007/08/16 21:06 By Miro Dietiker.
 
Boarding with FIRE .-) -- Professional OpenSource developer
 
The administrator has disabled public write access.  
#15656
Re:User post editability disable after n seconds 1 Year, 1 Month ago  
Hi Mirco,
that is a good idea. I know this function from SMF-Forum and I really missed this in Fireboard. Keep going with your good ideas to improve Fireboard.

Cu, Jan.
Sisko1990 (User)
FB Translation Team
Translation Coordinator
Moderator
Posts: 127
graphgraph
User Offline Click here to see the profile of this user
Gender: Male sisko1990 Zassenhaus Location: Germany: Minden Birthdate: 1988-11-01
Logged Logged
 
Jan Erik Zassenhaus - Fireboard Translation Coordinator and German translator. Spoken languages: German and English
 
The administrator has disabled public write access.  
#16583
Re:User post editability disable after n seconds 1 Year ago  
Please modify it to run in FB 1.0.2!!!

Thanks.
viet4777 (User)
Gold Boarder
Posts: 284
graphgraph
User Offline Click here to see the profile of this user
Luyenkim.NET
Logged Logged
 
Luyenkim.Net
utf-8 Vietnamese language package will be complete in mid of Oct.
luyenkim.net/home9/index.php?option=com_...5&id=282#282
 
The administrator has disabled public write access.  
#16585
Re:User post editability disable after n seconds 1 Year ago  
Hey viet!

It doesn't changes anything within code..
Just some lineNUMBERS change (to be found for a modifier without problems, not?

This morning i merged into 1.0.2 and didn't need to change anything at that part of code!

I hoped this will be included soon in release...

PS: My contributed modifications can be seen on:
www.seniorweb.ch
Miro Dietiker (User)
Expert Boarder
Posts: 155
graphgraph
User Offline Click here to see the profile of this user
Gender: Male miro_dietiker MD Systems miro.dietiker@md-systems.ch Location: Zurich, Switzerland Birthdate: 1980-10-30
Logged Logged
 
Last Edit: 2007/08/02 15:27 By Miro Dietiker.
 
Boarding with FIRE .-) -- Professional OpenSource developer
 
The administrator has disabled public write access.  
#16587
Re:User post editability disable after n seconds 1 Year ago  
Excellent!

many thanks to Miro Dietiker.
viet4777 (User)
Gold Boarder
Posts: 284
graphgraph
User Offline Click here to see the profile of this user
Luyenkim.NET
Logged Logged
 
Luyenkim.Net
utf-8 Vietnamese language package will be complete in mid of Oct.
luyenkim.net/home9/index.php?option=com_...5&id=282#282
 
The administrator has disabled public write access.  
#17795
Re:User post editability disable after n seconds 1 Year ago  
ADD the fields to the default configuration!
$fbConfig['usereditTime']='0';
$fbConfig['usereditTimeGrace']='600';

And for sure the needed english.php
DEFINE('_COM_A_USER_EDIT_TIME', 'User Edit Time';
DEFINE('_COM_A_USER_EDIT_TIME_DESC', 'Set to 0 for unlimited time, else window
in seconds from post or last modification to allow edit.';
DEFINE('_COM_A_USER_EDIT_TIMEGRACE', 'User Edit Grace Time';
DEFINE('_COM_A_USER_EDIT_TIMEGRACE_DESC', 'Default 600 [seconds], allows
storing a modification up to 600 seconds after edit link disappears';


Where do i add all this.? in whitch file?

Thanks
Edsso (User)
Fresh Boarder
Posts: 13
graphgraph
User Offline Click here to see the profile of this user
Crysis Europe
Logged Logged
 
The administrator has disabled public write access.  
#17809
Re:User post editability disable after n seconds 1 Year ago  
The default configuration is:
/administrator/components/com_fireboard/fireboard_config.php
where all global fb configurations are stored.

The language file is:
/administrator/components/com_fireboard/language/english.php
where all language constants are stored.

.-) GrEeZ!
Miro Dietiker (User)
Expert Boarder
Posts: 155
graphgraph
User Offline Click here to see the profile of this user
Gender: Male miro_dietiker MD Systems miro.dietiker@md-systems.ch Location: Zurich, Switzerland Birthdate: 1980-10-30
Logged Logged
 
Boarding with FIRE .-) -- Professional OpenSource developer
 
The administrator has disabled public write access.  
#17811
Re:User post editability disable after n seconds 1 Year ago  
Thanks
Edsso (User)
Fresh Boarder
Posts: 13
graphgraph
User Offline Click here to see the profile of this user
Crysis Europe
Logged Logged
 
The administrator has disabled public write access.  
#18306
Re:User post editability disable after n seconds 1 Year ago  
This feature has been committed to svn trunk.

Expect it within Stable
Miro Dietiker (User)
Expert Boarder
Posts: 155
graphgraph
User Offline Click here to see the profile of this user
Gender: Male miro_dietiker MD Systems miro.dietiker@md-systems.ch Location: Zurich, Switzerland Birthdate: 1980-10-30
Logged Logged
 
Boarding with FIRE .-) -- Professional OpenSource developer
 
The administrator has disabled public write access.  
#19862
Re:User post editability disable after n seconds 12 Months ago  
Hi guys

I just wrote a hack/modification for Fireboard to close user editability of a Post after n seconds... This gives us the ability to allow users edit their posts for a certain time and not loosing content after some writer gets evil... Simply leading to higher quality in discussions.

I wonder if it can also be done regarding deleting posts. Allow all your members to delete their posts, but have the administrator set how long before the function is disabled for the posts.

Then, if the administrator doesn't actually want users to be able to delete their posts at all, just set the limit to 0 or 1 seconds.
TDN (User)
Junior Boarder
Posts: 25
graphgraph
User Offline Click here to see the profile of this user
Logged Logged
 
The administrator has disabled public write access.  
Go to top
Powered by FireBoard - Creditsget the latest posts directly to your desktop