News:

Join the Facebook Fan Page.

Main Menu

Drafts

Started by Arantor, July 26, 2010, 05:07:17 AM

Previous topic - Next topic

FrizzleFried

Quote from: WantSome on September 14, 2012, 10:56:33 AM
Hi Spoogs...

I have the following mods installed:

Drafts    1.1.4
Change All Subjects    1.1.2     
SMF Gallery Lite    3.1.1     
SimplePortal    2.3.5   
SMF 2.0.2 Update    1.0     
Spoiler BBCode    1.1.3     
Pretty URLs    1.0RC5.2     
6 Custom buttons / tabs with Sub Menus (4)    0.5     
SMF 2.0.1 Update    1.0     
Ad Managment    3.0.1     
Display Signatures Only Once Per Page    1.0.3     
SMFShop    3.2     
Ohara YouTube Embed    1.0

Of that list I have Spoiler BBCode,  Display Signatures Only Once Per Page, and Simple Portal....


FrizzleFried

This mod screams for a "REMOVE ALL DRAFTS" option.  I am up to over 10 pages of drafts (somehow) and removing each one individually is a real PITA.   Is there even a snowballs chance in "heck" that this mod would be updated to include a remove all drafts option?

Thanks!

Arantor

Yeah, stupidest thing I ever did not including that when I originally wrote it. I don't remember the code enough to fix it though, it's been a couple of years since I wrote it.

There are various other things that are really needed, since as improving the logic about when drafts should be saved, not using the hideous top banner, and providing auto pruning facilities too, but I've long since forgotten how I wrote it in this incarnation.
Holder of controversial views, all of which my own.


Mr. Pedram

Automatic Drafts was ok but not working today anymore..., what's the problem?
i think there is a Java Script Imbalance..
i set time to 10 Secs but not working... :(
My Modifications:
» Loading For SMF
» Buddies Block
» Redirect Links
» Birthdate On Registration
» PM Warning
» Instagram
» Add Table,Td,Tr Button
» Search Topic & Board Button
Browse All...

Arantor

Then you've added some JavaScript that doesn't work properly with the JS in this. Without more information (like the actual error that the browser reports), it's impossible to fix this.
Holder of controversial views, all of which my own.


Mr. Pedram

Well,
now i figure it out that work fine with fire fox, but problem is not working in my fav browser :( "Google Chrome" although it worked on chrome heretofore!

here is error console:

Timestamp: 2/5/2013 12:29:11 AM
Error: TypeError: XMLDoc.getElementsByTagName is not a function
Source File: http://xxxxx.com/Themes/default/scripts/draft_autosave.js?rc3
Line: 58

line 58 is:

var oNote = XMLDoc.getElementsByTagName('lastsave')[0];


and:

Timestamp: 2/5/2013 12:29:13 AM
Error: TypeError: datos is undefined
Source File: http://xxxx.com/Themes/default/scripts/tags.js
Line: 189
My Modifications:
» Loading For SMF
» Buddies Block
» Redirect Links
» Birthdate On Registration
» PM Warning
» Instagram
» Add Table,Td,Tr Button
» Search Topic & Board Button
Browse All...

Arantor

Funny, it was originally *built* in Chrome...

But that implies something went wrong with the XML coming back from the server to start with. Anything in the forum error log?

The other error is not related to this mod.
Holder of controversial views, all of which my own.


Mr. Pedram

it is, but i think not related to this problem, like:

Other FireFox Error Console:

QuoteTimestamp: 2/5/2013 12:39:29 AM
Warning: Unknown property 'box-sizing'.  Declaration dropped.
Source File: http://xxx.com/alan-wake/2-8/?action=post;last_msg=14
Line: 0

or

QuoteTimestamp: 2/5/2013 12:39:28 AM
Warning: Unknown property '-moz-box-shadow'.  Declaration dropped.
Source File: http://xx.com/Themes/InsidiousV2_12/css/index.css?fin20
Line: 3762

and this:

QuoteTimestamp: 2/5/2013 12:39:23 AM
Error: [Exception... "Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsIWebNavigation.sessionHistory]"  nsresult: "0x80004005 (NS_ERROR_FAILURE)"  location: "JS frame :: chrome://global/content/bindings/browser.xml ::  :: line 716"  data: no]
Source File: chrome://global/content/bindings/browser.xml
Line: 723

QuoteCould not read chrome manifest 'file:///C:/Program%20Files/Mozilla%20Firefox/extensTimestamp: 2/5/2013 12:39:23 AM
Warning: XUL box for _moz_generated_content_after element contained an inline #text child, forcing all its children to be wrapped in a block.
Source File: chrome://browser/content/browser.xul
Line: 0ions/%7B972ce4c6-7e08-4474-a285-3208198ce6fd%7D/chrome.manifest'.


QuoteTimestamp: 2/5/2013 12:41:23 AM
Error: [Exception... "Component returned failure code: 0x80520012 (NS_ERROR_FILE_NOT_FOUND) [nsIJumpListShortcut.app]"  nsresult: "0x80520012 (NS_ERROR_FILE_NOT_FOUND)"  location: "JS frame :: resource://gre/modules/WindowsJumpLists.jsm :: WTBJL__getHandlerAppItem :: line 424"  data: no]
Source File: resource://gre/modules/WindowsJumpLists.jsm
Line: 424

QuoteTimestamp: 2/5/2013 12:43:23 AM
Error: [Exception... "Component returned failure code: 0x80520012 (NS_ERROR_FILE_NOT_FOUND) [nsIJumpListShortcut.app]"  nsresult: "0x80520012 (NS_ERROR_FILE_NOT_FOUND)"  location: "JS frame :: resource://gre/modules/WindowsJumpLists.jsm :: WTBJL__getHandlerAppItem :: line 424"  data: no]
Source File: resource://gre/modules/WindowsJumpLists.jsm
Line: 424

-
the funny matter is, chrome get one error only!

QuoteUncaught TypeError: Cannot call method 'split' of undefined

for tags.js

confused!  ???


-

Is it need i list my installed MOD?
My Modifications:
» Loading For SMF
» Buddies Block
» Redirect Links
» Birthdate On Registration
» PM Warning
» Instagram
» Add Table,Td,Tr Button
» Search Topic & Board Button
Browse All...

Arvacon

Hi.
A member wanted to delete his account, so his delete was pending at my "awaiting approval" list.
After I accepted his request and deleted the account, I received the bellow error:

Unknown column 'id_member' in 'where clause'
Αρχείο: /home/www/******/*******/www/Sources/Subs-Members.php
Line: 373


(The note of this error is at Greek language, so I will try to translate it as best I can)
Note: Your data base probably needs update. The forum's files are in version SMF 2.0.4, while the database is in version 2.0.2. The above error probably it will be fixed if you run the last version of the upgrade.php.

The member's account seems to deleted, but this error needs a solution as I see from the log file.

The line 373 at "Subs-Member.php" file is the " ); " text.

   if (file_exists($sourcedir . '/Drafts.php'))
{
$smcFunc['db_query']('', '
DELETE FROM {db_prefix}drafts
WHERE id_member IN ({array_int:users})',
array(
'users' => $users
)
);
}



As it seems, this must be affected from the "Drafts" mod.
How can we fix this problem?

Arantor

You have the wrong drafts mod.

This mod does not have a Drafts.php file, nor does it use a table called drafts (it has one called post_drafts).
Holder of controversial views, all of which my own.


Arvacon

Oups, I think you have right, I must confused the topics.  ;D
I must have the other mode that has the same name too, from here http://www.simplemachines.org/community/index.php?topic=246151.0

Arantor

Well, I checked before I posted, but when I originally wrote this, I didn't remember putting in a check like that because I didn't use external code files for this mod. ;)
Holder of controversial views, all of which my own.


Arvacon

Well it seems I had problem with this mod, that is why I had installed the other outdated mod (that it was working).

The problem with this mod is that the installation process goes well and everything seems installed fine, but afterwards you don't see any change at the forum.
I install this in compatibility mode though, as the mod has not been upgraded.
Is there any way to make it work?

Arantor

Well, did you check it's all enabled like the mod page says? Are you using a theme with a custom Display.template.php?
Holder of controversial views, all of which my own.


Arvacon

What should I check? I don't see anything at the profile or post/reply places.
No the theme I use, it is using the default display.template.php file

Arantor

Hmm, could have sworn I put it in the first post.

Anyway. Admin > Forum > Posts and Topics > Post Settings should have some extra settings.
Holder of controversial views, all of which my own.


Arvacon

#76
Yep, now it seems to work.
I was missing a small important detail finally!  :)

Dhayzon

not working auto saving


TheListener

Quote from: Geroku on June 09, 2013, 10:08:40 AM
not working auto saving



Errors in the forums error log?

smf version?

Dhayzon

#79
Quote from: Old Fossil on June 10, 2013, 07:44:38 PM
Quote from: Geroku on June 09, 2013, 10:08:40 AM
not working auto saving



Errors in the forums error log?

smf version?

the error log this empty

smf version 2.0.4
http://club-dhayzone.net/

demo account

REMOVED


Advertisement: