STUSK (Stupid site keeper)

Share your advanced PureBasic knowledge/code with the community.
User avatar
Fangbeast
PureBasic Protozoa
PureBasic Protozoa
Posts: 4789
Joined: Fri Apr 25, 2003 3:08 pm
Location: Not Sydney!!! (Bad water, no goats)

Re: STUSK (Stupid site keeper)

Post by Fangbeast »

rsts wrote:Thanks again.
No worries.
Last edited by Fangbeast on Sat Feb 13, 2010 7:19 am, edited 1 time in total.
Amateur Radio/VK3HAF, (D-STAR/DMR and more), Arduino, ESP32, Coding, Crochet
User avatar
Fangbeast
PureBasic Protozoa
PureBasic Protozoa
Posts: 4789
Joined: Fri Apr 25, 2003 3:08 pm
Location: Not Sydney!!! (Bad water, no goats)

Re: STUSK (Stupid site keeper)

Post by Fangbeast »

Current link in first post:

Program:

Added: Export to Text, CSV and XML.
Added: Import from Text, CSV and XML (slow).
Added: Save Editorgadget contents as RTF.
Removed: Graphic from Data form.
Changed: Data form note field enlarged.
Incremented: Version number

Notes:

About the RTF save. There are no formatting buttons in the note and won't be from me as I don't need it, it's a case of you being able to copy and paste RTF formatted data into the note box from elsewhere and being able to save it as rtf data.

Miscellaneous:

I've separated more of the modules to their own sudirectories to make it easier to see the program flow. The XML import routine needs to be optimised but I don't care about that for now as I am using code I don't really understand and could break it accidentally at any time.That's all I can remember for now.

Spare procedures:

There are some spare procedures in some of the module directories that I have plans for so they are not enabled for now. In case you were wondering why they were there:)

Bugs:

I haven't found any here yet, but you never know.

*EDIT* Forgot to mention, if you have a lot of wrist pain from practically living on the mouse, you can also press ENTER on a record to edit it, not just clicking or using Control + E.
Last edited by Fangbeast on Fri Mar 05, 2010 1:57 pm, edited 4 times in total.
Amateur Radio/VK3HAF, (D-STAR/DMR and more), Arduino, ESP32, Coding, Crochet
rsts
Addict
Addict
Posts: 2736
Joined: Wed Aug 24, 2005 8:39 am
Location: Southwest OH - USA

Re: STUSK (Stupid site keeper)

Post by rsts »

Fangbeast wrote:http://members.westnet.com.au/bangfeast ... .00.03.rar

Bugs:

I haven't found any here yet, but you never know.
Maybe the link?

cheers :D
User avatar
Fangbeast
PureBasic Protozoa
PureBasic Protozoa
Posts: 4789
Joined: Fri Apr 25, 2003 3:08 pm
Location: Not Sydney!!! (Bad water, no goats)

Re: STUSK (Stupid site keeper)

Post by Fangbeast »

Current link in first post:

Bugs:

I haven't found any here yet, but you never know.[/quote]

Maybe the link?

cheers :D[/quote]

Nitpicking scmuck!! (No idea what a schmuck actually is, but I forget words I haven't used in a while) :D :) :evil: :twisted: 8) :lol: :mrgreen:

Works fine here. When I encode the URL with the board message editor, it puts the %20 in place of the space. This works fine with FlashGet and Firefox, what are you using?
Last edited by Fangbeast on Fri Mar 05, 2010 1:58 pm, edited 1 time in total.
Amateur Radio/VK3HAF, (D-STAR/DMR and more), Arduino, ESP32, Coding, Crochet
rsts
Addict
Addict
Posts: 2736
Joined: Wed Aug 24, 2005 8:39 am
Location: Southwest OH - USA

Re: STUSK (Stupid site keeper)

Post by rsts »

As per usual, I have no idea what I'm doing. Somehow the link in the post I quoted from is different than the link in the post now. The one there now works fine, the one from the quote doesn't.

Must be ie. Couldn't possibly be you or me :D

cheers
User avatar
Fangbeast
PureBasic Protozoa
PureBasic Protozoa
Posts: 4789
Joined: Fri Apr 25, 2003 3:08 pm
Location: Not Sydney!!! (Bad water, no goats)

Re: STUSK (Stupid site keeper)

Post by Fangbeast »

As per usual, I have no idea what I'm doing
I've heard that!!
Somehow the link in the post I quoted from is different than the link in the post now. The one there now works fine, the one from the quote doesn't.
After you said that, I went back to edit the post, re-pasted the link again. But when I used the URL tags, it put the %20 instead pf the space in the filename again. Despite that, I could still download it with Firefox/Flashget
Must be ie. Couldn't possibly be you or me :D
definately not me. Must be that KKC character again :mrgreen: :mrgreen: :mrgreen: :mrgreen: :mrgreen: :mrgreen:
Amateur Radio/VK3HAF, (D-STAR/DMR and more), Arduino, ESP32, Coding, Crochet
User avatar
Fangbeast
PureBasic Protozoa
PureBasic Protozoa
Posts: 4789
Joined: Fri Apr 25, 2003 3:08 pm
Location: Not Sydney!!! (Bad water, no goats)

Re: STUSK (Stupid site keeper)

Post by Fangbeast »

Anyone have anything they want me to add or fix except the multi-language (Sorry neotoma, that's too big a job right now) as I don't have anything else I need in this.
Amateur Radio/VK3HAF, (D-STAR/DMR and more), Arduino, ESP32, Coding, Crochet
User avatar
Fangbeast
PureBasic Protozoa
PureBasic Protozoa
Posts: 4789
Joined: Fri Apr 25, 2003 3:08 pm
Location: Not Sydney!!! (Bad water, no goats)

Re: STUSK (Stupid site keeper)

Post by Fangbeast »

Current link in first post:

Minor updates.

Added: Sort by click on column header (Michael Vogel).
Changed: Colours in each item in the list (I liked it, daughter hated it:)).
Added: Current time update in the title bar.
Added: Turn time update on and off hotkey.
Added: Turn time on and off INI option.
Added: Turn time on and off popup menu option.
Deleted: Four routines that had nothing to do with this code:):)
Removed: Any unused RTF routines so they don't get compiled.
Changed: All long parameters changed to .i for 64 bit system compatibility.
Changed: Titles in list changed to reflect that sites or products can be stored.
Changed: Data form resized for longer labels to match list titles.
Changed: Spurious comment on one procedure wrongly shows that it is not used.
Changed: Some procedures were lacking descriptions.
Added: Record number field to edit data form and coloured heading.
Added: Projected new record number add data form based on record count.
Changed: Incremented project version number. Change your INI and database versions.
Last edited by Fangbeast on Fri Mar 05, 2010 1:59 pm, edited 1 time in total.
Amateur Radio/VK3HAF, (D-STAR/DMR and more), Arduino, ESP32, Coding, Crochet
User avatar
Fangbeast
PureBasic Protozoa
PureBasic Protozoa
Posts: 4789
Joined: Fri Apr 25, 2003 3:08 pm
Location: Not Sydney!!! (Bad water, no goats)

Re: STUSK (Stupid site keeper)

Post by Fangbeast »

Current link in first post:

*Update*

A friend asked for categories so I had to add them in. Not a treegadget, just a drop down selector.

1. Categories are regenerated 'on-the-fly' from record contents when they are saved

a. When you start the program, the category box is filled alphabetically, there are no duplicates

b. Any records not containing a category will cause the category selector to contain the string "[Empty]".

c. The first category in the selector box is displayed and all records matching that are listed.

d. If there are records containing no categories, the first display in the category selector box will be the string "[Empty]" before all other category names and all records without a category are listed.

2. When you add a new record, the data form category box is autofilled with the same behaviour as on the main form.

You can select an existing category or overtype the one in the box which will be "[Empty]" to begin with.

3. When you edit an existing record, the data form category box is autofilled with the same behaviour as on the main form and the category selector is set to the one contained in the record itself.

You can select an existing category, overtype the one in the box or type in a new one.

4. Once all records have a category, the string "[Empty]" will no longer appear in the category selector. Use the searchbox to display more records based on strings of characters.

5. All forms altered to accomodate the new field.

6. Using the category selector to display records overides the search box selector and vice versa.

7. All the usual SQL search types have been added. E.g. Sounds like, greater than, equals etc.
Last edited by Fangbeast on Fri Mar 05, 2010 1:59 pm, edited 2 times in total.
Amateur Radio/VK3HAF, (D-STAR/DMR and more), Arduino, ESP32, Coding, Crochet
User avatar
Fangbeast
PureBasic Protozoa
PureBasic Protozoa
Posts: 4789
Joined: Fri Apr 25, 2003 3:08 pm
Location: Not Sydney!!! (Bad water, no goats)

Re: STUSK (Stupid site keeper)

Post by Fangbeast »

Okay, that's all I need. The rest is up to you feral hamsters!
Amateur Radio/VK3HAF, (D-STAR/DMR and more), Arduino, ESP32, Coding, Crochet
User avatar
Fangbeast
PureBasic Protozoa
PureBasic Protozoa
Posts: 4789
Joined: Fri Apr 25, 2003 3:08 pm
Location: Not Sydney!!! (Bad water, no goats)

Re: STUSK (Stupid site keeper)

Post by Fangbeast »

Current link in first post:

Okay, I lied. A couple of little things had to be done.

Added: Category mode includes Show empty category records, show all category records and records in selected category.

Added: Last category displayed is saved on exit and restored on startup.

Fixed: A couple of minor bugs.

Hmm, have I got to everything yet???
Last edited by Fangbeast on Fri Mar 05, 2010 1:59 pm, edited 1 time in total.
Amateur Radio/VK3HAF, (D-STAR/DMR and more), Arduino, ESP32, Coding, Crochet
User avatar
happer66
User
User
Posts: 33
Joined: Tue Jan 12, 2010 12:10 pm
Location: Sweden

Re: STUSK (Stupid site keeper)

Post by happer66 »

Just wanted to say thanks, great piece Fangbeast!
I always wanted to do something like this myself, now I know I shouldn't even attempt to :oops:
But as a beginner I'm betting there's a lot to learn from browsing through the code.

Btw, you forgot to include your SiteList.txt in the archive *cough* *cough*
Image If your code isn't clean atleast make sure it's pure!
rsts
Addict
Addict
Posts: 2736
Joined: Wed Aug 24, 2005 8:39 am
Location: Southwest OH - USA

Re: STUSK (Stupid site keeper)

Post by rsts »

Sorry I haven't been more responsive, but I'm trying to get a package ready for release and it's taking longer than expected (anyone ever had that happen before?).

I'll spend more time as I have some.

Thanks.


cheers
User avatar
Fangbeast
PureBasic Protozoa
PureBasic Protozoa
Posts: 4789
Joined: Fri Apr 25, 2003 3:08 pm
Location: Not Sydney!!! (Bad water, no goats)

Re: STUSK (Stupid site keeper)

Post by Fangbeast »

Just wanted to say thanks, great piece Fangbeast!
Grteat peice of what though?? (evil grin)
I always wanted to do something like this myself, now I know I shouldn't even attempt to :oops:
Not true. I am a rank beginner compared to others. But where others have great logic, they may lack in imagination, technique and lots of other things. Someone told me not to reinvent the wheel the other day and that's BS as you should always try to see if you can and learn from it.
But as a beginner I'm betting there's a lot to learn from browsing through the code.
I am still learning.
Btw, you forgot to include your SiteList.txt in the archive *cough* *cough*
Give up cigarettes, that smoker's cough is so bad.

I did not forget anything. That file is CREATED when you EXPORT the list of YOUR sites to a text file. You will just have to read my code properly:):):):)
Amateur Radio/VK3HAF, (D-STAR/DMR and more), Arduino, ESP32, Coding, Crochet
User avatar
Fangbeast
PureBasic Protozoa
PureBasic Protozoa
Posts: 4789
Joined: Fri Apr 25, 2003 3:08 pm
Location: Not Sydney!!! (Bad water, no goats)

Re: STUSK (Stupid site keeper)

Post by Fangbeast »

Sorry I haven't been more responsive, but I'm trying to get a package ready for release and it's taking longer than expected (anyone ever had that happen before?).
Didn't know you were my one man STUSK appreciation society??? But thanks for the thought.
I'll spend more time as I have some.
I'm surprised I finish anything in between fits of coding, self pity and then bursts of feature creep!
Amateur Radio/VK3HAF, (D-STAR/DMR and more), Arduino, ESP32, Coding, Crochet
Post Reply