miniBB Support Forums
|
Forums
|
Register
|
Search
|
Statistics
|
Manual
|
miniBB Support Forums
/
Suggestions
/
Back to post after its edit
Vodicka
Registered
#1
|
Posted: 17 Dec 2008 05:22
Currently, when you edit any post successfully you get to special page with three "back somewhere" links.
Would it be possible to automatically show the edited post instead of this special page, or, alternatively, show this page just temporarily (with a warning of my choice) and then go to the post automatically?
Paul
CEO
#2
|
Posted: 17 Dec 2008 07:58
|
Edited by: Paul
It's possible but requires a lot of custom changes (if not modifying the core), so I can't provide them all now.
If modifying the core, edit bb_func_editmsg.php file and put relocation header in the proper place. For example, when the
if($step==1)
condition's bracket ends, instead of:
echo load_header(); echo ParseTpl(makeUp('main_warning')); return;
you may put
header("Refresh: 0; url={$main_url}/{$furl}"); exit;
tom322
Registered
#3
|
Posted: 17 Dec 2008 09:51
Hm, I like this solution, it eliminates an unnecessery step (in 99+% cases I always go back to the edited message anyway).
Vodicka
Registered
#4
|
Posted: 17 Dec 2008 10:44
Paul
Seems like it really works! Thanks!
Paul
CEO
#5
|
Posted: 18 Dec 2008 01:51
Well, I must think of it when releasing the new version, may be make it optional. Thanks.
Paul
CEO
#6
|
Posted: 29 Jan 2009 04:25
Well, sad news are now I remember why this function works that way until now and it wasn't improved earlier.
It's because of add-ons which could be related to message editing process. For example, File Attachments add-on will not work if you (re)upload new files during editing the message, and/or modify file descriptions. The same affects Previous/Next topic add-on, and possible many other custom add-ons.
In default package it will be fully optional and disabled by default (still, it may be enabled for light forums like we have here, which are not overloaded by add-ons ;-)
miniBB Support Forums
/
Suggestions
/ Back to post after its edit
↑
Top
This topic is closed. New replies are not allowed.
News & Announcements
FAQ
How To
Bugs
The Other
Official Addons and Solutions
Custom Tutorials and Modifications
Master Class
Specific
Re-cycled
Suggestions
Testimonials
qwerty
Features
Requirements
Demo
Download
Showcase
Gallery of Arts
Compiler
Premium Extensions
Premium Support
License
Contacts
Extend your miniBB-forums, attaching the images and files,
get the
File and Picture Attachments add-on
!