Site Links
Home
Features
Documentation
Pricing & Order
Members Area
Support Options
UBBDev.com
UBBWiki.com
Who's Online
2 registered (Gizmo, SteveS), 38 Guests and 14 Spiders online.
Key: Admin, Global Mod, Mod
Featured Member
Registered: 06/07/07
Posts: 4
Top Posters (30 Days)
Ruben 50
DennyP 24
Gizmo 23
Dunny 15
SteveS 13
AllenAyres 12
dbremer 10
SD 10
drkknght00 9
doug 8
Latest Photos
OK Corral Shoot Out
Testing
Basildon Train Station
Basildon Town Centre looking from the rounderbout
Basildon Town Square
Page 1 of 2 1 2 >
Topic Options
#248360 - 02/12/12 01:19 PM Edit Post
Bert Offline
member
Registered: 08/07/07
Posts: 147
When any user edits his or her post, the Mark As Edited option comes up. Is there any way to make the default unchecked rather than checked?
Top
Express Hosting
Express Hosting "We are the official hosting company of UBB.threads. Ask us about our free migration services to migrate your UBB.threads installation."
#248361 - 02/12/12 01:27 PM Re: Edit Post [Re: Bert]
Ruben Offline

Registered: 12/20/03
Posts: 4424
Loc: Lutz,FL
Did not do a lot of looking but it should be in the editpost.tpl file.
Search for edit and change it to 0 or null.
_________________________
Blue Man Group
Top
#248362 - 02/12/12 01:29 PM Re: Edit Post [Re: Bert]
Bert Offline
member
Registered: 08/07/07
Posts: 147
Hi Ruben,

Thanks for the quick reply. Where would I find the editpost.tpl file? Is it in the Control Panel somewhere?

Thanks
Top
#248363 - 02/12/12 01:52 PM Re: Edit Post [Re: Bert]
Ruben Offline

Registered: 12/20/03
Posts: 4424
Loc: Lutz,FL
You can get to it that way.
Display options>templates
select the file to edit
Find the form field markededit and delete
checked="checked"
_________________________
Blue Man Group
Top
#248364 - 02/12/12 02:01 PM Re: Edit Post [Re: Bert]
Mike L Offline
journeyman
Registered: 06/05/06
Posts: 88
Not directly via the CP.

However, it you want to live on the wild side...

Edit the file "editpost.tpl"

At around line 97 find...

Code:
<input type="checkbox" value="1" id="markedit" name="markedit" checked="checked" class="form-checkbox" /><label for="markedit">{$lang.MARK_EDIT}</label>


Remove
Code:
checked="checked"



Always make a copy of any files BEFORE doing any edits of them. That way if something blows up, you can revert back to the original.

Further, it is best to try any edits of your files on a test instance of your forums and verify it works before going live.
Top
#248365 - 02/12/12 02:09 PM Re: Edit Post [Re: Bert]
Bert Offline
member
Registered: 08/07/07
Posts: 147
Thanks Ruben and Mike,

So I have gotten to step 1: Found code checked="checked"

Haven't done step 2, yet, lol. >> Deleting it.

When you say copy the file, do you mean simply copying and pasting the entire code when you edit "editpost.tpl."

Thanks. Unfortunately, I don't have a sandbox one to play with although SD who helped set it up has always advocated I do.
Top
#248366 - 02/12/12 02:14 PM Re: Edit Post [Re: Mike L]
Ruben Offline

Registered: 12/20/03
Posts: 4424
Loc: Lutz,FL
Mike, thank you for making it more clear on what to edit.
And cautions to be aware of.
I was being lazy.
Quote:
Not directly via the CP.

If you are using version 7.x you can edit it via the control panel.
But there is one additional caveat in that when you upgrade then your changes will need to be edited again.
_________________________
Blue Man Group
Top
#248367 - 02/12/12 02:17 PM Re: Edit Post [Re: Bert]
Bert Offline
member
Registered: 08/07/07
Posts: 147
Lazy meets Newbie (scary combination)

I doubt we will update much. I may just ask SD to look at it as I am sure he will much less likely to screw it up. smile
Top
#248368 - 02/12/12 02:19 PM Re: Edit Post [Re: Bert]
gliderdad Offline
Registered: 06/08/06
Posts: 1466
Loc: NY
I always like to download the file make my changes than before I upload it back rename the file on the server side editpost_old.tpl than upload the new. This way if there is an issue you can delete editpost.tpl and rename the old back.


Edited by gliderdad (02/12/12 02:20 PM)
Top
#248369 - 02/12/12 02:23 PM Re: Edit Post [Re: Bert]
Bert Offline
member
Registered: 08/07/07
Posts: 147
Yeah, that was the first post where I actually find the file rather than open it in CP.
Top
#248370 - 02/12/12 02:23 PM Re: Edit Post [Re: Bert]
Ruben Offline

Registered: 12/20/03
Posts: 4424
Loc: Lutz,FL
You can do it either way.
But Mark and Gliderdad are on the right track.
If you download it, save the original then upload a edited file.
Then if you hose it up you can just upload the original.
If you do it via the control panel there is not a original anymore unless you have a virgin copy of your install zip file.

But it is a very easy modification.
_________________________
Blue Man Group
Top
#248371 - 02/12/12 02:37 PM Re: Edit Post [Re: Bert]
Mike L Offline
journeyman
Registered: 06/05/06
Posts: 88
Bert,

Having SD do any upgrades for you is a smart move if you are not comfortable with such things.

Just remember to keep a log of any Mods to the stock code you might implement so that you (or SD) will know what to do after an upgrade.

A very important thing to keep in mind is that the stock code is undergoing rather radical changes and so a Mod such as this, though still likely possible, may well require editing of a different file, or the appropriate line of code might be on a different line number within the file after an update.

The next release will bring LOTS of changes.

Another consideration is that little Mods such as this one just might make it into the stock code as an option within the CP on a future release. wink

Top
#248373 - 02/12/12 03:25 PM Re: Edit Post [Re: Bert]
Bert Offline
member
Registered: 08/07/07
Posts: 147
Thanks Mike,

That is great advice. SD has had to bail us out before. smile
Top
#248379 - 02/13/12 02:00 PM Re: Edit Post [Re: Bert]
Bert Offline
member
Registered: 08/07/07
Posts: 147
All set. Thanks to everyone for the help. SD took care of it.
Top
#248380 - 02/13/12 02:02 PM Re: Edit Post [Re: Bert]
Bert Offline
member
Registered: 08/07/07
Posts: 147
I may have read Mike's post incorrectly yesterday, but I was rather sure that "wild" was "wide" Therefore, he would have had to edit it and chose not to add the "Mark as Edited?"

Originally Posted By: Mike L
However, it you want to live on the wild side...

Top
#248386 - 02/13/12 04:26 PM Re: Edit Post [Re: Bert]
Mike L Offline
journeyman
Registered: 06/05/06
Posts: 88
You caught me grin

Yes, I did fat-finger it the first time and only saw my error after posting. This happened in a short time frame and so I thought I could sneak an edit in by un-checking the box.

Flag thrown for an illegal edit. 10 yard penalty. Repeat first down. wink
Top
#248387 - 02/13/12 06:40 PM Re: Edit Post [Re: Bert]
SD Offline
Registered: 04/19/07
Posts: 4056
Loc: SoCal, USA
ninja edits are legal, if not caught wink
_________________________

Threads tutorials . Threads & Wordpress experts . UBB resume

If I you, click this link as to why
Top
#248388 - 02/13/12 08:45 PM Re: Edit Post [Re: SD]
Gizmo Online   cat

Registered: 06/05/06
Posts: 14995
Loc: Portland, OR; USA
Originally Posted By: SD
ninja edits are legal, if not caught wink
I do it all the time... lol
_________________________
Forums: UGN Security & VNC Web Design & Development
UBB.Threads: UBB.Wiki, My UBBSkins, UBB.Sitemaps
Longtime UBB Supporter, UBB Beta Tester & Resident Post-A-Holic.
UBB Modifications, Styling, Coding Services, Disaster Recovery, and more!
Top
#248389 - 02/13/12 08:47 PM Re: Edit Post [Re: Bert]
Bert Offline
member
Registered: 08/07/07
Posts: 147
Me as well. And, about 95% of the users on our board.
Top
Page 1 of 2 1 2 >



Moderator:  AllenAyres, Harold, Ian, Ron M 
Shout Box

Today's Birthdays
No Birthdays
Recent Topics
Temporary Password email not being received
by
05/24/12 10:02 PM
Ability to "like" individual posts (not Facebook "likes)
by doug
05/23/12 09:03 AM
Island Permissions
by ThreadsUser
05/22/12 03:03 PM
streaming video
by prkrgrp
05/20/12 07:02 PM
New Posts Corrupted? Can someone help?
by PianoWorld
05/19/12 09:41 AM
Forum Stats
10492 Members
36 Forums
33842 Topics
181709 Posts

Max Online: 978 @ 06/24/07 11:19 PM
Random Image