Dragonfly CMS v9 ⇒ CPG-BB (forum) :: Archives ⇒ last edited by - how to turn on? :: Archived ⇒ Community Forums ⇒ CPG Dragonfly™ CMS
Forum Index Modules & Blocks CPG-BB (forum) ⇒ Archives

Archived ⇒ last edited by - how to turn on?


I was wondering, when my mods are editing posts how come it doesn't say "last edited by" ? how do I turn that feature on?


thanks in advance.

do a search for failure on www.google.com

Server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS):
freebsd/apache_1.3.31/mysql5.0.67/php5.2.8/upgraded from 9.0.6.0 to 9.0.6.1 to 921/ GD Version bundled (2.0.34 compatible)


I post
You reply
I edit my post
last edit by will show up


I post
I edit my post
You reply
last edit will not show up

[edit]last modified test[/edit]

.:: I met php the 03 December 2003 :: Unforgettable day! ::.

Server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS):
CloudLinux / Apache 2.4 LSAPI / MySQLi 5.6 / PHP 5.6 / DCVS

Last edited by NanoCaiordo on Fri Aug 17, 2007 2:45 am; edited 1 time in total


so when my mods edit someone elses post it cant say last edited by so and so?

do a search for failure on www.google.com

Server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS):
freebsd/apache_1.3.31/mysql5.0.67/php5.2.8/upgraded from 9.0.6.0 to 9.0.6.1 to 921/ GD Version bundled (2.0.34 compatible)


anyone?

do a search for failure on www.google.com

Server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS):
freebsd/apache_1.3.31/mysql5.0.67/php5.2.8/upgraded from 9.0.6.0 to 9.0.6.1 to 921/ GD Version bundled (2.0.34 compatible)


If I'm logged in as admin, I see the "edit times" for messages. So I figured there's probably an if Admin in the template or forum code.
template code:
<span class="postbody">{postrow.SIGNATURE}</span><span class="gensmall">{postrow.EDITED_MESSAGE}</span></td>

ok, so it always displays in template, must not be set in module for non-admin:
viewtopic.php
$template->assign_block_vars('postrow', array( 'S_HAS_ATTACHMENTS' => isset($attachments['_'.$postrow[$i]['post_id']]), 'ROW_COLOR' => '#'.$row_color, 'SIGNATURE' => $user_sig, 'EDITED_MESSAGE' => $l_edited_by, ...
where $l_edited_by is:
if ($postrow[$i]['post_edit_count']) { $l_edit_time_total = ( $postrow[$i]['post_edit_count'] == 1 ) ? $lang['Edited_time_total'] : $lang['Edited_times_total']; $l_edited_by = '<br /><br />'.sprintf($l_edit_time_total, $poster, create_date($board_config['default_dateformat'], $postrow[$i]['post_edit_time']), $postrow[$i]['post_edit_count']); } else { $l_edited_by = ''; }

I see nothing that would prevent all users from seeing this info....

Admin - Great Lakes Web Designs
Theme Designer - WebSite Guru Designs
Site Admin - Families with Food Allergies

Server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS):
Linux 2.6.27-grsec/Apache 2.2.11/MySQL 5.0.67-community-log/PHP 5.2.8/DF 9.2.1


I have seen it before on my forums, I am not I sure if I turned it off or something happened when updating, I wasnt worried about it then, but now I have a few mods so I would like to know who edits what.

do a search for failure on www.google.com

Server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS):
freebsd/apache_1.3.31/mysql5.0.67/php5.2.8/upgraded from 9.0.6.0 to 9.0.6.1 to 921/ GD Version bundled (2.0.34 compatible)


so could my viewtopic.php be bad or something?

anyone know how I can turn it on?


Please Smile

do a search for failure on www.google.com

Server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS):
freebsd/apache_1.3.31/mysql5.0.67/php5.2.8/upgraded from 9.0.6.0 to 9.0.6.1 to 921/ GD Version bundled (2.0.34 compatible)


Please test what Nano just told you. If NO one has replied to the post "last edit by" will not display.

If someone replies to the post, then you as a mod go back and edit the post, it will show, "last edit by".



If I create my own thread, and no one replies to it, I can go back and edit my own post without it revealing "last edit by". However, if someone posts in the thread right after me, when i go back to edit my orignal post, it will show, "last edit by". Get it?
(See the sequence Nano posted.)

What you are asking, can you change this default method, to always show "last edit by, and whom"?
This is not available. So their is no "turning off or on button"

Please enter your server specs in your user profile! 😢


Hi, it can have 20 post in the thread and it wont show, even if someone replies before and after.

do a search for failure on www.google.com

Server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS):
freebsd/apache_1.3.31/mysql5.0.67/php5.2.8/upgraded from 9.0.6.0 to 9.0.6.1 to 921/ GD Version bundled (2.0.34 compatible)


I;ve just modified my above post, I've added
"[edit]last modified test[/edit]"

and as you can notice at the very bottom you will see
"Last edited by NanoCaiordo on Fri Aug 17, 2007 12:45 pm; edited 1 time in total"

Is a theme issue in your case?

[edit]I'm modifying this post before someone else reply ... and it will not come up[/edit]

.:: I met php the 03 December 2003 :: Unforgettable day! ::.

Server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS):
CloudLinux / Apache 2.4 LSAPI / MySQLi 5.6 / PHP 5.6 / DCVS


Hi, that doesnt happen on mine, I havent changed my theme since day one, is there a way to find out? I dont really want to change my theme..

do a search for failure on www.google.com

Server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS):
freebsd/apache_1.3.31/mysql5.0.67/php5.2.8/upgraded from 9.0.6.0 to 9.0.6.1 to 921/ GD Version bundled (2.0.34 compatible)

All times are UTC