It is currently August 17th, 2018, 5:04 pm



Post new topic Reply to topic  [ 13 posts ] 
Author Message
 Post subject: themaPoster various improvements.
PostPosted: December 13th, 2017, 7:54 pm 

Joined: October 4th, 2016, 12:39 am
Posts: 26
Hello Freddy.

I would like to suggest next improvements, so if you can made them it would be nice.

- Message trimming option - on some forums there is thread characters limit (20 000 characters in most cases).
- Title cutting - some forums allow title up to 70 or 85 chars and some up to 100. This option should be in other settings on forums tab.
- Smart tags - it would be nice if program can generate two (or three) word tags, for example: The Great Courses, Humana Press, Willey Blackwell etc. I know this is hard to implement, but this can be done if you create new option with a list where user can insert custom tags. When post come on queue for posting program should compare tags from title with tags from list and if they are the same progam should use full tag from predefined list. Example: If title is named like this: "Lonely Planet The World: A Traveller's Guide to the Planet (Travel Guide)" tags should be: Lonely Planet, World, Traveller, Planet, Travel Guide instead automatically one word tags.
- Indexing posted topics - instead of each row for topic posted on different forums, should be better if I see only on title for that topic and inside it list of forums where thread created.
- Selected rows counter - if you select several rows in active or history tab there is no counter of selected rows like one in the posts list section.
- Remembering columns width - in active tab I adjuct width each time I start program.


Those are my suggestions, I understand that some are easy to program and some are not. So you decide and write a code.


Top
 Profile  
Reply with quote  
 Post subject: Re: themaPoster various improvements.
PostPosted: December 14th, 2017, 8:35 am 
Site Admin
User avatar

Joined: March 10th, 2011, 11:14 pm
Posts: 8898
Location: Earth
Message trimming option - I never seen any forum with such limit, but you can already do that with replacement. But I don't think it's a good idea, the links are usually at the bottom of the message, you will cut your links out and post without any links. It's better to see error in that case and edit the message manually if really needed. It should not happen often anyway.

Title cutting - you can already do that with replacement.

Smart tags - you would need to add millions of entries for that be effective in any way. Forums just doesn't care if it's single or two word tags, as long as in tags it will be used when searching. Single words tags are fine (you can already automatically generate tags from subject).

Indexing posted topics - already in suggestions. Might add.

Selected rows counter - was already added from 3.00

Remembering columns width - might add.

_________________
themaPoster | themaManager | themaLeecher | themaRegister


Top
 Profile  
Reply with quote  
 Post subject: Re: themaPoster various improvements.
PostPosted: December 14th, 2017, 2:36 pm 

Joined: October 4th, 2016, 12:39 am
Posts: 26
How to trim long titles with replacement? For example on this on this forum https://www.tnctr.com title length limit is set to 70 characters. And on this one http://cowarez.org message limit is 20000 characters. Limits are different on some other, but in most cases limits are 10 or 20 thousand characters.
Message trimming can be done if you make new field for links. It is easy when I have to edit few posts, but when I need to trim message and titles for 50 or 100 posts that is a lot of work. Just consider my suggestions.


Top
 Profile  
Reply with quote  
 Post subject: Re: themaPoster various improvements.
PostPosted: December 14th, 2017, 3:04 pm 
Site Admin
User avatar

Joined: March 10th, 2011, 11:14 pm
Posts: 8898
Location: Earth
Search for:
Code:
^([^\n]{70}).+$


Replace with:
Code:
$1


Enable regex search.

Add in subject replacements for needed forums.

_________________
themaPoster | themaManager | themaLeecher | themaRegister


Top
 Profile  
Reply with quote  
 Post subject: Re: themaPoster various improvements.
PostPosted: January 17th, 2018, 7:04 pm 

Joined: October 4th, 2016, 12:39 am
Posts: 26
Thanks. How I can solve problem with message characters limit?


Last edited by paradajz on January 17th, 2018, 7:14 pm, edited 2 times in total.

Top
 Profile  
Reply with quote  
 Post subject: Re: themaPoster various improvements.
PostPosted: January 17th, 2018, 7:09 pm 
Site Admin
User avatar

Joined: March 10th, 2011, 11:14 pm
Posts: 8898
Location: Earth
You can add replacement for message text (just change the 70 to needed number).

Search for:
Code:
(?s)^([\w\W]{70}).+$


Replace with:
Code:
$1


Enable regex search.

But it will cut off your message text end if your message will be longer.

20000 is really high limit and message text shouldn't really be that long in the first place.

_________________
themaPoster | themaManager | themaLeecher | themaRegister


Top
 Profile  
Reply with quote  
 Post subject: Re: themaPoster various improvements.
PostPosted: January 17th, 2018, 7:15 pm 

Joined: October 4th, 2016, 12:39 am
Posts: 26
On some forums message limit is 10 000 characters. And if I add that replacement will it cut off links from the bottom?


Top
 Profile  
Reply with quote  
 Post subject: Re: themaPoster various improvements.
PostPosted: January 17th, 2018, 8:11 pm 
Site Admin
User avatar

Joined: March 10th, 2011, 11:14 pm
Posts: 8898
Location: Earth
Yes, the message will be trimmed from the bottom.

I would just suggest to keep seeing the error and on that case -> right click on status -> "Edit message" -> remove what you want -> "Update and retry".

I don't think auto trimming from the bottom is very good.

_________________
themaPoster | themaManager | themaLeecher | themaRegister


Top
 Profile  
Reply with quote  
 Post subject: Re: themaPoster various improvements.
PostPosted: January 22nd, 2018, 12:29 am 

Joined: January 22nd, 2018, 12:24 am
Posts: 6
Freddy wrote:
You can add replacement for message text (just change the 70 to needed number).

Search for:
Code:
(?s)^([\w\W]{70}).+$


Replace with:
Code:
$1


Enable regex search.

But it will cut off your message text end if your message will be longer.

20000 is really high limit and message text shouldn't really be that long in the first place.


It all depends on what's being posted. I have thread posts that regularly exceed 20K characters due to the content being posted.


Top
 Profile  
Reply with quote  
 Post subject: Re: themaPoster various improvements.
PostPosted: February 18th, 2018, 11:16 pm 

Joined: October 4th, 2016, 12:39 am
Posts: 26
avalanch07 wrote:
Freddy wrote:
You can add replacement for message text (just change the 70 to needed number).

Search for:
Code:
(?s)^([\w\W]{70}).+$


Replace with:
Code:
$1


Enable regex search.

But it will cut off your message text end if your message will be longer.

20000 is really high limit and message text shouldn't really be that long in the first place.


It all depends on what's being posted. I have thread posts that regularly exceed 20K characters due to the content being posted.

Did you solve long message problem?


Top
 Profile  
Reply with quote  
 Post subject: Re: themaPoster various improvements.
PostPosted: February 19th, 2018, 7:39 am 
Site Admin
User avatar

Joined: March 10th, 2011, 11:14 pm
Posts: 8898
Location: Earth
You can already trim your message with replacement if needed. So yes, it's solved.

_________________
themaPoster | themaManager | themaLeecher | themaRegister


Top
 Profile  
Reply with quote  
 Post subject: Re: themaPoster various improvements.
PostPosted: February 21st, 2018, 11:32 am 

Joined: October 4th, 2016, 12:39 am
Posts: 26
Freddy wrote:
You can already trim your message with replacement if needed. So yes, it's solved.

Trimming you suggested will cut links also. So your solution is not appropriate.


Top
 Profile  
Reply with quote  
 Post subject: Re: themaPoster improvements.
PostPosted: February 21st, 2018, 1:14 pm 
Site Admin
User avatar

Joined: March 10th, 2011, 11:14 pm
Posts: 8898
Location: Earth
What do you suggest?

I can't magically guess what to remove what not to remove.

The best option is to see the error, right click -> "Edit" -> make needed changes -> "Update and retry" button.

So you could remove what you want. You can already do that.

_________________
themaPoster | themaManager | themaLeecher | themaRegister


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 13 posts ] 

Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Theme designed by stylerbb.net © 2008
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
All times are UTC