Support Forum

"Post Edited" Text?

LH Lee H
Lee H
Member

Not sure this is a theme thing, but since I’d like to see it’s output while theming…

Has the “Post edited 9:19 am – Jul 22, 2011 by Membername Here” text within the topic content been removed? Or not yet implemented? I can’t seem to find any reference to it in the code. Nor does it show in the default template.

10 Answers

New Answer

MP Mr Papa
Mr Papa
Member

good question.  not sure I know the answer off hand…  will have to do some research…  ticket opened to make sure we dont lose it…

LH Lee H
Lee H
Member

Thanks Mr. Papa

I’m sure theme authors could come up with a solution as grabbing the (now renamed) post_edit stuff isn’t a big deal. Just wanted to make sure we weren’t re-inventing the wheel as it seems you guys have thought of just about everything.

YS Yellow Swordfish
Yellow Swordfish
Member

Lee – it is one of those things that had a very divided response from users. Some loved it. Many hated it. In the default theme and topic view functions it is the function sp_PostIndexEditHistory() and by default is behind the button in the post area icons at top of each post and only appears if there IS history.

I thought this might be the best way to satisfy both camps!

If you want it displayed – as it is in previous versions – then the ‘get’ option can be used of course. But – I did just notice in the code that Steve has put the ‘get’ in the wrong place (too early) so I will correct that using the ticket he opened.

YS Yellow Swordfish
Yellow Swordfish
Member

Take that back. Steve has not put the ‘get’ in the wrong place. It’s me that is wrong. I should have included an argument to use the popup or not. So that is what I will correct!

LH Lee H
Lee H
Member

As you said, the button should satisfy both camps. I did stumble acrossed the button/popup code later last night by tracking things backwards from the database table. But I assumed it was something visible from admin or profile view and I hadn’t enabled it.

When making test edits on posts I “thought” I saw something shift, but didn’t notice the new pencil buttons… even though I had been working with the button group. *headsmack*

I’m one that happens to like the text output, but with a small font and just the last edit. It can take up quite a bit of real estate if displayed like it is in this forum. Here’s what we came up with for our SP4xx template, we kinda like it.

MP Mr Papa
Mr Papa
Member

thats a 4.4.x skin???  bunch of core mods, eh?  or is that the 5.0 theme you are working?

LH Lee H
Lee H
Member

It’s a 4xx skin. But I am starting to port to v5.

Nope, not one core mod, all pluggable and filters. The other views are more shocking. All in all it equaled one big effffing pluggable.php

YS Yellow Swordfish
Yellow Swordfish
Member

Wow. If you are planning to replicate this theme for V5 are you willing to share it? Smile

MP Mr Papa
Mr Papa
Member

ah, yes… I consider pluggable the same thing as modifying core… 😉

but should be easier to do in 5.0…  and will look cool!

LH Lee H
Lee H
Member

Of course I’ll share 🙂

It’s a bit harder as there’s many buttons and features I decided not to use, but have to figure out how to place nicely for others as they certainly will need or want many or all of them. I’m pretty excited about the color layers, it will be like 10 themes in one as I plan to follow the color schemes (or try) from the default.

Heck, while I’m at it I should praise the the usage of jquery dialog and friends. It actually fits in with my main site makeover seamlessly. Heh heh… in the 4xx skin I had the expandable search block appear in a dialog because I didn’t like how it pushed the page down when activated.

Sorry about the babble… back to our regularly scheduled programming.