UltraBB Forums Home 
Home Search search Menu menu Not logged in - Login | Register

Welcome to the UltraBB public support forum! Did you know there is an inexpensive totally integrated gallery available for UltraBB? Read more here: Gallery Details

 Moderated by: Jim
New Topic Reply Printer Friendly
Edited By :  Rate Topic 
AuthorPost
 Posted: Wed May 5th, 2010 04:05 pm
  PM Quote Reply
1st Post
Robert
Member


Joined: Fri Jul 18th, 2008
Location: Benidorm, Spain
Posts: 1320
Status: 
Online
Mana: 
User Gallery
Is it possible to give the members the same facility that the moderators have, that is to choose whether or not to have the message "Edited by ......" shown in an edited post.

Back To Top PM Quote Reply  

 Posted: Wed May 5th, 2010 04:22 pm
  PM Quote Reply
2nd Post
martin_wynne
Licence Holder


Joined: Sun May 25th, 2008
Location: West Of The Severn, United Kingdom
Posts: 1819
Status: 
Offline
Mana: 
User Gallery
Robert wrote: Is it possible to give the members the same facility that the moderators have, that is to choose whether or not to have the message "Edited by ......" shown in an edited post.
Hi Bob,

That requires a mod to the software.

However, you can very easily remove the "Edited by" line entirely from all posts, by editing the theme template.

Members who wanted to have something to indicate a change would then have to type in manually "Edited for spelling" or whatever.

I prefer that way anyway, as you can then put it in red alongside the actual change.

regards,

Martin.

Back To Top PM Quote Reply

 Posted: Wed May 5th, 2010 04:59 pm
  PM Quote Reply
3rd Post
Robert
Member


Joined: Fri Jul 18th, 2008
Location: Benidorm, Spain
Posts: 1320
Status: 
Online
Mana: 
User Gallery
Hello Martin,

I have looked at the theme template Martin and I think it's the edit_post_body thingy that needs altering. What do I need to do there? If it's the right one that is.

Cheers.

Bob

Back To Top PM Quote Reply  

 Posted: Wed May 5th, 2010 05:13 pm
  PM Quote Reply
4th Post
martin_wynne
Licence Holder


Joined: Sun May 25th, 2008
Location: West Of The Severn, United Kingdom
Posts: 1819
Status: 
Offline
Mana: 
User Gallery
Hi Bob,

To remove the "Edited by" line from all displayed posts, you need to edit the post_row1 and post_row2 templates.

In both of those, find this bit (near the end):

<P><I>$post_last_edited</I></P>

and delete all of it.

It may be part of a line, or on a line by itself. If part of a line, leave the rest of the line unchanged.

Repeat for all your other themes, if any.

regards,

Martin.

Last edited on Wed May 5th, 2010 05:31 pm by martin_wynne

Back To Top PM Quote Reply

 Posted: Wed May 5th, 2010 05:29 pm
  PM Quote Reply
5th Post
martin_wynne
Licence Holder


Joined: Sun May 25th, 2008
Location: West Of The Severn, United Kingdom
Posts: 1819
Status: 
Offline
Mana: 
User Gallery
Robert wrote: I have looked at the theme template Martin and I think it's the edit_post_body thingy that needs altering.
Hi Bob,

You can edit that template to make the tickbox appear for all members.

But I don't know if it will actually work for ordinary members. Over to Jim or David. :)

To remove the "Edited by" line from all displayed posts, see my previous post.

regards,

Martin.

Back To Top PM Quote Reply  

 Posted: Wed May 5th, 2010 06:28 pm
  PM Quote Reply
6th Post
Robert
Member


Joined: Fri Jul 18th, 2008
Location: Benidorm, Spain
Posts: 1320
Status: 
Online
Mana: 
User Gallery
Hello Martin,

I have looked in both of those places and nowhere does it have the line you mentioned in either of them. I am using the beige theme by the way.

I see that line is in post_row_print though.

Cheers.

Bob

Back To Top PM Quote Reply

 Posted: Wed May 5th, 2010 08:56 pm
  PM Quote Reply
7th Post
martin_wynne
Licence Holder


Joined: Sun May 25th, 2008
Location: West Of The Severn, United Kingdom
Posts: 1819
Status: 
Offline
Mana: 
User Gallery
Robert wrote: I have looked in both of those places and nowhere does it have the line you mentioned in either of them. I am using the beige theme by the way.
Hi Bob,

I've checked the original 1.15 files, and you should have a couple of lines looking something like this. Delete the red bit in both templates:

   <td class="postrow1" colspan="2" width="99%" style="border-bottom: none" valign="top"><A name="p$post_id"></A>$post_text<P>$post_attachment</P><P><I>$post_last_edited</I></P>

?user_signature('<br><br>____________________<br>$user_signature':'')
   </td>



If not, please post your actual code in post_row1 and 2.

regards,

Martin.

Back To Top PM Quote Reply  

 Posted: Wed May 5th, 2010 09:02 pm
  PM Quote Reply
8th Post

!button_set_end
</td>
<td width="30%" class="topr" align="right">$post_number %post</td>
</tr></table>
</td></tr>
<tr>
   <td valign="top" width="1%" class="postrow1" style="border-right: none; border-bottom: none">
!post_user_info
<img src="/forum/themes/beige/spacer.gif" width="170" height="1" border="0">
   </td>
   <td class="postrow1" colspan="2" width="99%" style="border-bottom: none" valign="top"><A name="p$post_id"></A>$post_text<P></P><P><I></I></P>
?user_signature('<br><br>____________________<br>$user_signature':'')
   </td>
</tr>
<tr><td class="bg" colspan="3" align="center" style="padding: 1px">
!button_set_start
!button1($button_caption='<A class="navbutton" href="#top">Back To Top</A>')


!button_set_end
</td></tr>
</table><br>
<table width="100%" cellpadding="3" cellspacing="0" border="1">


post_row2


<tr><td class="clean" colspan="3">
<table cellpadding="0" cellspacing="0" border="0" width="100%">
<tr>
<td width="30%" class="topl" nowrap style="padding: 1px" height="30">&nbsp;%posted: $post_date_time</td>
<td width="30%" class="topm" align="center" style="padding: 1px">
!button_set_start

!button_set_end
</td>
<td width="30%" class="topr" align="right">$post_number %post</td>
</tr></table>
</td></tr>
<tr>
   <td valign="top" width="1%" class="postrow2" style="border-right: none; border-bottom: none">
!post_user_info
<img src="/forum/themes/beige/spacer.gif" width="170" height="1" border="0">
   </td>
   <td class="postrow2" colspan="2" height="150" width="99%" style="border-bottom: none" valign="top"><A name="p$post_id"></A>$post_text<P></P><P><I></I></P>
?user_signature('<br><br>____________________<br>$user_signature':'')
   </td>
</tr>
<tr><td class="bg" colspan="3" align="center" style="padding: 1px">
!button_set_start
!button1($button_caption='<A class="navbutton" href="#top">Back To Top</A>')


!button_set_end
</td></tr>
</table><br>
<table width="100%" cellpadding="3" cellspacing="0" border="1">

Robert
Member


Joined: Fri Jul 18th, 2008
Location: Benidorm, Spain
Posts: 1320
Status: 
Online
Mana: 
User Gallery
post_row1

<tr><td class="clean" colspan="3">
<table cellpadding="0" cellspacing="0" border="0" width="100%">
<tr>
<td width="30%" class="topl" nowrap style="padding: 1px" height="30">&nbsp;%posted: $post_date_time</td>
<td width="30%" class="topm" align="center" style="padding: 1px">
!button_set_start
PM Quote Reply PM Quote Reply PM Quote Reply PM Quote Reply
Back To Top PM Quote Reply

 Posted: Wed May 5th, 2010 09:03 pm
  PM Quote Reply
9th Post
Robert
Member


Joined: Fri Jul 18th, 2008
Location: Benidorm, Spain
Posts: 1320
Status: 
Online
Mana: 
User Gallery
What happened there then?

Back To Top PM Quote Reply  

 Posted: Wed May 5th, 2010 09:08 pm
  PM Quote Reply
10th Post
martin_wynne
Licence Holder


Joined: Sun May 25th, 2008
Location: West Of The Severn, United Kingdom
Posts: 1819
Status: 
Offline
Mana: 
User Gallery
Hi Bob,

That contains (in the original) the two lines I posted in my previous email. Delete the bit I marked red.

(This forum has corrupted it as posted, by substituting some of the variables.)

regards,

Martin.

Last edited on Wed May 5th, 2010 09:10 pm by martin_wynne

Back To Top PM Quote Reply

 Posted: Wed May 5th, 2010 09:17 pm
  PM Quote Reply
11th Post
Robert
Member


Joined: Fri Jul 18th, 2008
Location: Benidorm, Spain
Posts: 1320
Status: 
Online
Mana: 
User Gallery
Hi Martin,

I'm afraid that's exactly how they read on my computer when I look at them. No sign of your red marked text and I know what it looks like because as I said I have seen it in pot_row_print.

Back To Top PM Quote Reply  

 Posted: Wed May 5th, 2010 09:19 pm
  PM Quote Reply
12th Post
Robert
Member


Joined: Fri Jul 18th, 2008
Location: Benidorm, Spain
Posts: 1320
Status: 
Online
Mana: 
User Gallery
Ignore the above post Martin. I didmn't see the scroll bar at the bottom of the page and now when I scroll sideways there it is. I'll delete and test now.

Back To Top PM Quote Reply

 Posted: Wed May 5th, 2010 09:26 pm
  PM Quote Reply
13th Post
martin_wynne
Licence Holder


Joined: Sun May 25th, 2008
Location: West Of The Severn, United Kingdom
Posts: 1819
Status: 
Offline
Mana: 
User Gallery
Robert wrote: I'm afraid that's exactly how they read on my computer when I look at them. No sign of your red marked text and I know what it looks like because as I said I have seen it in pot_row_print.
It is there Bob, at the end of the line. It came through uncorrupted in the Watched Forum email from you. This is what you actually posted:


<td class="postrow1" colspan="2" width="99%" style="border-bottom: none" valign="top"><A name="p$post_id"></A>$post_text<P>$post_attachment</P><P><I>$post_last_edited</I></P>

?user_signature('<br><br>____________________<br>$user_signature':'')



The first two lines above are one long line. It may be easier to see if you untick the Wrap option and scroll across to the end of the lines.

regards,

Martin.

Last edited on Wed May 5th, 2010 09:28 pm by martin_wynne

Back To Top PM Quote Reply  

 Posted: Wed May 5th, 2010 09:27 pm
  PM Quote Reply
14th Post
Robert
Member


Joined: Fri Jul 18th, 2008
Location: Benidorm, Spain
Posts: 1320
Status: 
Online
Mana: 
User Gallery
Hello Martin,

Apologies, again. You were right all along of course, as I should have known. I have deleted that section in both areas and then logged in as an ordinary member , posted a message and then edited it and sure enough, no sign of the "Edited by....." in the edited post.

Thanks once more Martin for solving another question that was bothering some of the members.

Cheers.

Bob

Back To Top PM Quote Reply

 Posted: Wed May 5th, 2010 09:34 pm
  PM Quote Reply
15th Post
martin_wynne
Licence Holder


Joined: Sun May 25th, 2008
Location: West Of The Severn, United Kingdom
Posts: 1819
Status: 
Offline
Mana: 
User Gallery
Robert wrote: Apologies, again.
Hi Bob,

That's ok. :)

We are still waiting for Jim or David to answer the question about what happens if you enable the tickbox for everyone. I'm reluctant to say "try it and see" in case it messes up something in the database. You don't want ordinary members to gain any admin permissions as a result.

If they say go ahead, you would need to put the bit you just deleted back again.

regards,

Martin.

Back To Top PM Quote Reply  

 Posted: Wed May 5th, 2010 09:47 pm
  PM Quote Reply
16th Post
Robert
Member


Joined: Fri Jul 18th, 2008
Location: Benidorm, Spain
Posts: 1320
Status: 
Online
Mana: 
User Gallery
Ok Martin, I'll keep an eye out for that and would be grateful if you could nudge me if and when the time comes, just in case I miss it.

All the best.

Bob

Back To Top PM Quote Reply

 Posted: Thu May 6th, 2010 03:15 pm
  PM Quote Reply
17th Post
Jim
I work here


Joined: Wed Apr 11th, 2007
Location:  
Posts: 6649
Status: 
Offline
Mana: 
User Gallery
The tick box was designed not to show for regular members so if a mod or admin altered their post everyone could see.

I would vote to leave it as is but add an admin/mod input for a "reason" why it was edited.

It isn't that I don't understand your logic, I well do. I understand all points of view. I haven't put everything requested into the current versions of ultra, just the ones requested frequently with a balance of what wouldn't take a complete recoding to accomplish. I didn't want friends and ignore, but it was popular so I did it. I want better view source options and code posting options, not too many other users care. Of course we would care more on this board because it's that kind of board. Most are not.

Back To Top PM Quote Reply  

Current time is 09:19 am  
UltraBB Forums > UltraBB > Software Assistance > Edited By : Top



Hosting

UltraBB 1.17 Copyright © 2007-2011 Data 1 Systems, INC.
Page processed in 0.2498 seconds (10% database + 90% PHP). 30 queries executed.