The forum of the forums
Welcome to the Official Support Forum of Forumotion!

To take full advantage of everything offered by our forum, please log in if you are already a member, or join our community if you've not yet.



Create a free forum like this one.

Remove (Last edited by......) line

View previous topic View next topic Go down

Remove (Last edited by......) line

Post by Ahmed-Chess on April 15th 2011, 7:42 pm

Hi,
Can i remove (Last edited by......) line in the posts by Templates or Css codes ?
Thanks

Ahmed-Chess
Forumember

Posts : 159
Reputation : 0
Language : Arabic

Back to top Go down

Re: Remove (Last edited by......) line

Post by Nera. on April 15th 2011, 10:06 pm

For punBB?
=>
Go to Display >> Templates >> General >> viewtopic_body template and remove this.

Code:
                        <p>
                           {postrow.displayed.EDITED_MESSAGE}
                        </p>

Save and publish your template.

Nera.
Energetic

Female Posts : 7077
Reputation : 2013
Language : English
Location : -

http://webartzforum.com

Back to top Go down

Re: Remove (Last edited by......) line

Post by Ahmed-Chess on April 18th 2011, 2:32 pm

yes thanks i found it, but can i change font size of this line ?

Ahmed-Chess
Forumember

Posts : 159
Reputation : 0
Language : Arabic

Back to top Go down

Re: Remove (Last edited by......) line

Post by Nera. on April 18th 2011, 4:11 pm

OK. Try replacing this
Code:
{postrow.displayed.EDITED_MESSAGE}
with this
Code:
   <div class="edit">{postrow.displayed.EDITED_MESSAGE}</div>

Than go to your CSS (Admin panel >> Display>>Colours>> CSS Stylesheet
and add this =
Code:
.edit {
color: red;
font-size: 20px;
}

You can change the font size and colour and put your own.

Nera.
Energetic

Female Posts : 7077
Reputation : 2013
Language : English
Location : -

http://webartzforum.com

Back to top Go down

Re: Remove (Last edited by......) line

Post by Ahmed-Chess on April 19th 2011, 5:02 pm

Thanks Nera! it works
the last thing, sometimes I see this line in the middle of the message
can i add it always in the bottom of the message ?

Ahmed-Chess
Forumember

Posts : 159
Reputation : 0
Language : Arabic

Back to top Go down

Re: Remove (Last edited by......) line

Post by Base on April 19th 2011, 5:05 pm

Are you talking about the last edited message? If so, that only appears if someone edits their post and there are replies after the post has been made. Wink

EDIT: That's been fixed. Embarassed


Last edited by Base on April 19th 2011, 5:22 pm; edited 1 time in total

Base
Forumaster

Male Posts : 10386
Reputation : 1687
Language : English and French
Location : United Kingdom, England

http://forumotionhub.net

Back to top Go down

Re: Remove (Last edited by......) line

Post by Nera. on April 19th 2011, 5:11 pm

Edit: No Base, that is fixed I love you

You want to add a line to the the bottom of your post? Under all written?



Add this to your CSS

Code:
.pun .post-entry {
    border-bottom: 1px solid;
}

Nera.
Energetic

Female Posts : 7077
Reputation : 2013
Language : English
Location : -

http://webartzforum.com

Back to top Go down

Re: Remove (Last edited by......) line

Post by Ahmed-Chess on April 19th 2011, 5:14 pm

yes i know, i am talking to add this line (last edited message) in the bottom of the post, because sometimes i see this line in the middle of the post

Ahmed-Chess
Forumember

Posts : 159
Reputation : 0
Language : Arabic

Back to top Go down

Re: Remove (Last edited by......) line

Post by Ahmed-Chess on April 19th 2011, 5:25 pm

@Nera. wrote:Edit: No Base, that is fixed I love you

You want to add a line to the the bottom of your post? Under all written?



Add this to your CSS

Code:
.pun .post-entry {
    border-bottom: 1px solid;
}
No, i want move the last edited message to the bottom of the post

Ahmed-Chess
Forumember

Posts : 159
Reputation : 0
Language : Arabic

Back to top Go down

Re: Remove (Last edited by......) line

Post by Nera. on April 21st 2011, 8:44 am

Try moving this
Code:
<div class="edit">{postrow.displayed.EDITED_MESSAGE}</div>
after this in templates
Code:
<div class="sig-content">
Save and publish template.

Nera.
Energetic

Female Posts : 7077
Reputation : 2013
Language : English
Location : -

http://webartzforum.com

Back to top Go down

View previous topic View next topic Back to top


 
Permissions in this forum:
You cannot reply to topics in this forum