Advertisement:

Author Topic: Drafts  (Read 139980 times)

Offline Ninja ZX-10RR

  • SMF Hero
  • ******
  • Posts: 2,141
  • Gender: Male
  • Sniper Legends
    • Flavio93Zena on Facebook
    • Virtual Interactive Games Entertainment Forum
Re: Drafts
« Reply #360 on: November 04, 2014, 02:02:02 AM »
edit: problem solved.
« Last Edit: November 22, 2014, 12:57:17 PM by ? Ninja ZX-10RR ? »
Quote from: BeastMode topic=525177.msg3720020#msg3720020
It's so powerful that on this post and even in the two PMs you sent me,you still answered my question very quickly and you're apologizing for the delay. You're the #1 support I've probably ever encountered man, so much respect for that. Thank you, and get better soon.

I'll keep this in my siggy for a while just to remind me that someone appreciated what I did while others didn't.
♥ Jess ♥

STOP EDITING MY PROFILE

Offline Ninja ZX-10RR

  • SMF Hero
  • ******
  • Posts: 2,141
  • Gender: Male
  • Sniper Legends
    • Flavio93Zena on Facebook
    • Virtual Interactive Games Entertainment Forum
Re: Drafts
« Reply #361 on: November 22, 2014, 12:57:41 PM »
:)
« Last Edit: November 22, 2014, 02:05:42 PM by ♦ Ninja ZX-10RR ♦ »
Quote from: BeastMode topic=525177.msg3720020#msg3720020
It's so powerful that on this post and even in the two PMs you sent me,you still answered my question very quickly and you're apologizing for the delay. You're the #1 support I've probably ever encountered man, so much respect for that. Thank you, and get better soon.

I'll keep this in my siggy for a while just to remind me that someone appreciated what I did while others didn't.
♥ Jess ♥

STOP EDITING MY PROFILE

Offline ebola

  • Newbie
  • *
  • Posts: 1
Re: Drafts
« Reply #362 on: November 30, 2014, 02:50:59 PM »
Hi, Just want to report, installed latest version of this mod on SMF 2.0.2.
Everyone can see others' drafts, they can even post others' drafts.
Also 'Save as Draft' in Quick Reply doesn't show.

Hi, I get same error using Draft 2.0.5 / SMF 2.0.9. Everyone can view others draft title (not content) and post others' drafts. How to fix this?

Offline Ninja ZX-10RR

  • SMF Hero
  • ******
  • Posts: 2,141
  • Gender: Male
  • Sniper Legends
    • Flavio93Zena on Facebook
    • Virtual Interactive Games Entertainment Forum
Re: Drafts
« Reply #363 on: November 30, 2014, 03:06:51 PM »
Indeed that's true... I hope live will start to reply back again since he is not replying anywhere...
Quote from: BeastMode topic=525177.msg3720020#msg3720020
It's so powerful that on this post and even in the two PMs you sent me,you still answered my question very quickly and you're apologizing for the delay. You're the #1 support I've probably ever encountered man, so much respect for that. Thank you, and get better soon.

I'll keep this in my siggy for a while just to remind me that someone appreciated what I did while others didn't.
♥ Jess ♥

STOP EDITING MY PROFILE

Offline live627

  • SMF Friend
  • SMF Hero
  • *
  • Posts: 5,272
  • Gender: Male
  • Cat: Destroy!
    • live627 on Facebook
    • live627 on GitHub
    • live627 on LinkedIn
    • @live627 on Twitter
    • livemods
Re: Drafts
« Reply #364 on: December 01, 2014, 03:34:06 AM »
2.1
================================================================================
! Users could see each others' drafts in the profile area
- Remove support for SMF 1.1.x
+ Added it_it (thanks Flavio93Zena)
! Wrong variable used (thanks TourFL)
+ Added pt_br (thanks DSystem)
Try not to become a man of success, but rather try to become a man of value.
- Albert Einstein

Offline Ninja ZX-10RR

  • SMF Hero
  • ******
  • Posts: 2,141
  • Gender: Male
  • Sniper Legends
    • Flavio93Zena on Facebook
    • Virtual Interactive Games Entertainment Forum
Re: Drafts
« Reply #365 on: December 01, 2014, 07:59:55 AM »
Awesome :D live... Is alive :P

Anyway it seems to work like a charm, thank you for the fix! It's much appreciated.
Quote from: BeastMode topic=525177.msg3720020#msg3720020
It's so powerful that on this post and even in the two PMs you sent me,you still answered my question very quickly and you're apologizing for the delay. You're the #1 support I've probably ever encountered man, so much respect for that. Thank you, and get better soon.

I'll keep this in my siggy for a while just to remind me that someone appreciated what I did while others didn't.
♥ Jess ♥

STOP EDITING MY PROFILE

Offline live627

  • SMF Friend
  • SMF Hero
  • *
  • Posts: 5,272
  • Gender: Male
  • Cat: Destroy!
    • live627 on Facebook
    • live627 on GitHub
    • live627 on LinkedIn
    • @live627 on Twitter
    • livemods
Re: Drafts
« Reply #366 on: December 01, 2014, 06:38:13 PM »
np :)
Try not to become a man of success, but rather try to become a man of value.
- Albert Einstein

Offline Justyne

  • SMF Friend
  • Sophist Member
  • *
  • Posts: 1,399
Re: Drafts
« Reply #367 on: December 05, 2014, 03:30:04 AM »
Did the German translation that was provided not work? If something is missing let me know and I can fix it.
Ever tried. Ever failed. No matter. Try Again. Fail again. Fail better.

Offline khamseen

  • Jr. Member
  • **
  • Posts: 170
  • Gender: Male
    • Holo Federation Community
Re: Drafts
« Reply #368 on: July 27, 2015, 07:39:38 AM »
First off, great mod! I'd been wanting something like this for a while but kept forgetting to check and see if it existed, eventually got around to it during my massive overhaul of our site.

One thing though that I'm confused by, you mentioned that you'd added a "save draft" option to the quick reply box but it doesn't appear to be there and from looking at the install xml file, you don't modify the display.template at all to even attempt to insert the button so is that a feature you haven't actually implemented or did you forget to include the code for it?
"In hope we find despair and in despair we find truth." - Myself

Offline live627

  • SMF Friend
  • SMF Hero
  • *
  • Posts: 5,272
  • Gender: Male
  • Cat: Destroy!
    • live627 on Facebook
    • live627 on GitHub
    • live627 on LinkedIn
    • @live627 on Twitter
    • livemods
Re: Drafts
« Reply #369 on: July 27, 2015, 08:23:11 PM »
I do? Where?

Perhaps you confused this with the one by Arantor...
Try not to become a man of success, but rather try to become a man of value.
- Albert Einstein

Offline khamseen

  • Jr. Member
  • **
  • Posts: 170
  • Gender: Male
    • Holo Federation Community
Re: Drafts
« Reply #370 on: July 28, 2015, 08:01:50 AM »
I do? Where?

Perhaps you confused this with the one by Arantor...

Hmm, perhaps. Though I thought it because this was on page 14...


+ Added "Save as Draft" button to Quick Reply

Though I'm now suspecting that he's not related to this mod and thus shouldn't really have been posting updates about what exists in this mod's thread? Clearly I wasn't the only one confused by that post though as I ran a search of the topic looking for details of a quick reply save function and did see a lot of people quoting that post asking why it wasn't working haha.

Do you have any plans on adding it to the quick reply box? The only other drafts mod on the mods page seems to add it, but it has other short comings which are greater such as the inability to save polls and it doesn't seem to have any permissions for who can use it.

"In hope we find despair and in despair we find truth." - Myself

Offline khamseen

  • Jr. Member
  • **
  • Posts: 170
  • Gender: Male
    • Holo Federation Community
Re: Drafts
« Reply #371 on: July 29, 2015, 09:06:46 AM »
Just saw that you've pushed an update to GitHub with the option added to quick reply, thank you very much for that I'll go give it a try! :)
"In hope we find despair and in despair we find truth." - Myself

Offline Obcy

  • Semi-Newbie
  • *
  • Posts: 28
Re: Drafts
« Reply #372 on: July 29, 2015, 10:24:22 AM »
Conflict with Unread PM Favicon
http://custom.simplemachines.org/mods/index.php?mod=3389
If I click delete the drafts.

How to fixit ?

Offline KungFuJoe

  • Semi-Newbie
  • *
  • Posts: 58
Re: Drafts
« Reply #373 on: October 15, 2015, 11:01:32 AM »
On a more serious note, I just install the 2.0.5 version and every time you try to delete a draft it goes to a new page with the following:


Quote

This XML file does not appear to have any style information associated with it. The document tree is shown below.

<smf>
    <shoutbox>11</shoutbox>
    <updated>0</updated>
</smf>


As you hit the back button in the browser the actual draft message has been deleted, so it works, but is is just that screen with the text that comes up.

Can someone help?

Thanks

Hello,

I wanted to bump this issue because I'm having the same problem with Drafts 2.2 (previously had 2.0.5 and 2.1).  And it appears the conflicting mod is Shoutbox (and Shoutbox Pro).  If I disable Shoutbox, I'm able to delete drafts with no issue.


Offline Geor'G

  • Semi-Newbie
  • *
  • Posts: 62
Re: Drafts
« Reply #374 on: December 04, 2015, 07:34:08 PM »
Error saving option: "Post new topics, but hide until approved"

Offline nend

  • SMF Friend
  • SMF Hero
  • *
  • Posts: 1,755
  • 2 deep n2 the code
    • sicommnend on GitHub
    • SIComm.us
Re: Drafts
« Reply #375 on: September 27, 2016, 11:09:09 PM »
Just got done stylizing this to my needs. Looks like I have some more code to play around with.

Thanks to all that have contributed to this modifications development.

Offline nend

  • SMF Friend
  • SMF Hero
  • *
  • Posts: 1,755
  • 2 deep n2 the code
    • sicommnend on GitHub
    • SIComm.us
Re: Drafts
« Reply #376 on: September 29, 2016, 07:56:14 AM »
This line is causing issues in the post template.
Code: [Select]
is where it's at!
if (!isset($context['draft_saved']) || $context['draft_saved'] !== true)
echo '

What is happening here is the preview section is excluded after saving a draft. If a member decides to preview, the page is reloaded. Afterwords if they save again a duplicate is created.

A simple fix would be to just exclude the content of the preview div or display:none instead of excluding the entire div. This would give the JavaScript something to hook onto if the user decides to preview after saving.

Offline alexetgus

  • Full Member
  • ***
  • Posts: 539
  • Gender: Male
    • alexetgus on Facebook
    • alexetgus on GitHub
    • @alexetgus on Twitter
    • Chez oim, forum libre !
Re: Drafts
« Reply #377 on: May 17, 2018, 08:26:19 PM »
Hello,

French translation.