Previous Thread
Next Thread
Print Thread
Hop To
Anonymous
Unregistered
Anonymous
Unregistered
Just upgraded to v6.3.2

A user goes to edit their own post
[ ]Mark as edited

^^ I don't want this to be optional! If they edit, it MUST show they edited it.

------------------------------------

The 'thread rating' column... on the list of threads. I've commented out all lines/columns referencing "Rat*" yet still the column appears on the main threads page. Ideas ? (why isn't this an OPTION already ?? )


------------------------

6.2.3 we had 'added' an additional 'continue' button, RIGHT below the (reply) text input box. Im reading through the template for newreply, but I'll be darned if I can find where & what to add to do this.

Anonymous
Unregistered
Anonymous
Unregistered
Hi Karen,

Though you can't turn off the ability to choose to mark the post as edited or not, you can edit this out of the templates. It's fairly easy - here's how to do it.
</font>
  • <font size="" face="">Access your server via FTP</font></li>
  • <font size="" face="">Go into your "ubbthreads" directory</font></li>
  • <font size="" face="">Locate and enter your "templates directory</font></li>
  • <font size="" face="">Find the files called editpost_withpoll.tmpl and editpost_nopoll.tmpl</font></li>
  • <font size="" face="">Open the files and locate this bit:
    <pre>
    $markeditselect
    <input type="checkbox" name="preview" value="1" $PSelected />
    </pre></font></li>
  • <font size="" face="">Comment this out, by adding HTML comment tags around it, so that the end result is:
    <pre>
    <!--$markeditselect
    <input type="checkbox" name="preview" value="1" $PSelected />-->
    </pre></font></li>
<font size="" face="">

Next question - without looking at exactly what you've commented out, it's hard to say why this column is still appearing (can you give us a link to where it appears?).

If I'm following you correctly, you want to add the button above the instant graemlins table, but below the posting box? In the newreply.tmpl file, look for this:

<pre>
{$ubbt_lang['POST_TEXT']}
<br />
<textarea cols="$TextCols" rows="$TextRows" name="Body" onkeyup="storeCaret(this);" onclick="storeCaret(this);">$QuoteBody</textarea>
</pre>

And you'll want to add the line that's used for the button, which looks like:

<pre>
<input type="submit" name="textcont" value="{$ubbt_lang['TEXT_CONT']}" />
</pre>

(Also, you'll want to add a break so that the button appears below the post box) So your final product looks like this:

<pre>
{$ubbt_lang['POST_TEXT']}
<br />
<textarea cols="$TextCols" rows="$TextRows" name="Body" onkeyup="storeCaret(this);" onclick="storeCaret(this);">$QuoteBody</textarea>
<br />
<input type="submit" name="textcont" value="{$ubbt_lang['TEXT_CONT']}" />
</pre>

Kate Sloan
Customer Care/Account Management
Infopop Corporation
Moderator: Community Management Forum

<img src="http://kate.infopop.cc/pictures/Powered_by_caffeine.gif" alt=" - " />

Anonymous
Unregistered
Anonymous
Unregistered
Ok, thread rating column I did get to disappear with one of Josh's instructional posts.

The 'additional button' we also got put back.

Last is editing for the 'edit' option <img border="0" title="" alt="[Smile]" src="images/icons/smile.gif" /> working on that now.

Anonymous
Unregistered
Anonymous
Unregistered
Actually Kate, that string isn't found in "editpost_withpoll.tmpl" ... now I know why. You cannot edit posts with polls in them. That string is only in the editpost_nopoll.tmpl <img border="0" title="" alt="[Big Grin]" src="images/icons/grin.gif" />

Almost all better now !

[This message was edited by Karen on September 03, 2003 at 09:08 AM.]

Anonymous
Unregistered
Anonymous
Unregistered
Actually you just want to comment out

$markeditselect


The next line is the checkbox to preview your post.

ThreadsDev.com Admin | xDev Admin | JoshuaPettit.com Beta Test Site
Visit ThreadsDev for UBB.Threads Modifications, Addons, Templates and Stylesheets.
My UBB.Threads abilities are for hire for upgrades, installs and custom modifications.

Anonymous
Unregistered
Anonymous
Unregistered
Oooh, two errors in one morning. If I told you it was before the first cup of coffee, would you let it slide? <img border="0" title="" alt="[Wink]" src="images/icons/wink.gif" />

I'm so glad you all are so forgiving...

Kate Sloan
Customer Care/Account Management
Infopop Corporation
Moderator: Community Management Forum

<img src="http://kate.infopop.cc/pictures/Powered_by_caffeine.gif" alt=" - " />

Anonymous
Unregistered
Anonymous
Unregistered
Only you promise not to tell anyone about all my mistakes today. <img border="0" title="" alt="[Wink]" src="images/icons/wink.gif" />

It'll be our secret. LOL

ThreadsDev.com Admin | xDev Admin | JoshuaPettit.com Beta Test Site
Visit ThreadsDev for UBB.Threads Modifications, Addons, Templates and Stylesheets.
My UBB.Threads abilities are for hire for upgrades, installs and custom modifications.

Anonymous
Unregistered
Anonymous
Unregistered
Ok, we did this, but the default is to show the edit unmarked, rather than marked... how do I change that?

Anonymous
Unregistered
Anonymous
Unregistered
Replace the checkbox with a hidden form field whose value is 1. Something like this:

<input type="hidden" value="1" ...

-----
UBB.threads beta tester / threadsdev.com moderator
Software consulting services including UBB.threads problem resolution / installs / upgrades / customization.

Anonymous
Unregistered
Anonymous
Unregistered
Looks like it's working, many thanks... <img border="0" title="" alt="[Smile]" src="images/icons/smile.gif" />

Anonymous
Unregistered
Anonymous
Unregistered
When I removed the line $markeditselect the post is not marked as edited, so I reinstated the template back to its original state. I've looked and looked but don't know where I do this (or how I do this):</font>
  • <font size="" face="">Replace the checkbox with a hidden form field whose value is 1. Something like this:
    <input type="hidden" value="1" ...</font></li>
<font size="" face="">
Where do I insert/create the hidden form field - is it somewhere around here:-</font>
  • <font size="" face="">$instant_ubbcode
    $markeditselect
    <input type="checkbox" name="preview" value="1" $PSelected />
    {$ubbt_lang['DOPREVIEW']}</font></li>
<font size="" face="">Our board is www.funtrivia.com
Many thanks for your help.

Anonymous
Unregistered
Anonymous
Unregistered
After doing a View Source on the edit screen and looking at the code, I removed the line $markeditselect and replaced it with:
<INPUT class=formboxes type=hidden CHECKED value=1 name=markedit>
which fixed it (doh)!

Anonymous
Unregistered
Anonymous
Unregistered
Although that works, for XHTML compliancy it should be:

<input type="hidden" value="1" name="markedit" />

The class and checked attributes aren't applicable, since it's a hidden field.

-----
UBB.threads beta tester / threadsdev.com moderator
Software consulting services including UBB.threads problem resolution / installs / upgrades / customization.

Anonymous
Unregistered
Anonymous
Unregistered
gotcha, and understood (finally)
as you've no doubt gathered, I'm still a novice at this
thanks mate!


Link Copied to Clipboard
ShoutChat
Comment Guidelines: Do post respectful and insightful comments. Don't flame, hate, spam.
Recent Topics
spam issues
by ECNet - 03/19/2024 11:45 PM
Looking for a forum
by azr - 03/15/2024 11:26 PM
Editing Links in Post
by Outdoorking - 03/15/2024 9:31 AM
Question on barkrowler and the like
by Mors - 02/29/2024 6:51 PM
Member Permissions Help
by domspeak - 02/27/2024 6:31 PM
Who's Online Now
3 members (rootman, Gizmo, Nightcrawler), 562 guests, and 186 robots.
Key: Admin, Global Mod, Mod
Random Gallery Image
Latest Gallery Images
Los Angeles
Los Angeles
by isaac, August 6
3D Creations
3D Creations
by JAISP, December 30
Artistic structures
Artistic structures
by isaac, August 29
Stones
Stones
by isaac, August 19
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20230217)