I guess next time I'll just send you my code and you can post it!
I guess next time I'll just send you my code and you can post it!
Charles Linquist
Hey Dave,
I went into my PIC files and found that way back when... I had saved a copy of the LCDbargraphs thread as a "web page complete".
I looked at it and it looks complete. I have attached it. I wonder if you (or Darrel) can use it to rebuild that thread.
If NOT then others can down load this attachment and they should be able to get the gist of the LCD bargraphs from it.
(It coud be attached to that thread also as a downloadable file)
here ya go...
P.S. I had to zip it up because it was causing an error when I tried to upload the .mht file.
Last edited by Heckler; - 14th September 2011 at 21:39.
Dwight
These PIC's are like intricate puzzles just waiting for one to discover their secrets and MASTER their capabilities.
Anyone who wants to see it can unzip it and open it in Internet Explorer. It's probably viewable in other browsers - I just double-clicked and IE loaded the MHTML file.
In fact, one can probably convert it to PDF or any other desired form.
I normally use IE9. I'll try it with FireFox.
Charles Linquist
There are TWO issues being addressed in this thread:
The posting of clean readable code examples is clearly possible for the vast majority of users on this and out other forums. Mackrackit has shown by example above, that its possible to post clear text. And the use of BBCode will allow for additioanl text formatting.
- Use of HTML in posts
- posting clean readable code examples
Where the use of BBCode is too tiresome, a zip file can be uploaded - within the limits of file size allowed. If users would like a file repository into which files can be uploaded and linked to from the forum posts, i'll arrange that - just let me know.
The rest of this, rather long winded post, is related to HTML, an explaination of why we have an issue with HTML in posts.By way of further explaination; storing files in the forum database is OK when the forum is young and empty and the files are small, but when its as old and large as this forum and the files are many, it causes the database to grow to epic proportions - which is costly in storeage and more difficult to manage.
NO, i'm afraid that re enabling HTML is NOT an option. HTML was never actually allowed. For a relatively short period of time, an oversight did not dis-allow it in all forum areas. Thus we ended up with some HTML that killed some forum areas, which brought the issue to light, after which we ensured that HTML was dis-allowed in all areas.Would it be possible to re-enable HTML, for a short time, then copy the code that was posted and paste back in the code, without the HTML, then dis-able the HTML??
If we allow HTML now:
Note: The use of MS Word or MS Frontpage to generate MS proprietary HTML shoould be avoided at all costs, if you ever want compatibility accross browsers and systems.
- some of the HTML posted in the paste WILL break the forum display presented to the user whe the user views it.
- I cannot check that all HTML posted is clear of injection issues / malicious code / unintentional css references. Not all of the forum users are nice sensible people - we ahve a fair number of known pirates on this forum ! We dont trust them. I have a duty of care to the users , I will be held respnsible by the users (and others) if they fall foul of malicious code injected via raw HTML in posts.
- Many of the posts that include HTML code , are very badly formatted, referencing fonts and formating that is unsupported by the forum. These refernces may / maynot be handled correctly by the forum parser, thus we dont know what effect they will have. - remember the forum has undergone serveral updates since the posting of that poorly formatted code.
IF, the HTML posted is valid and compliant, there should be NO reason why it cannot be copied from the forum page and pasted into any html editor...viewed and exported into another format.Thus re-covering the VALUABLE code examples that have for now been lost.
A very good FREE HTML editor is KOMPOZER , KompoZer is a complete web authoring system that combines web file management and easy-to-use WYSIWYG web page editing.
The Editor developers could go a long way to assist in the production of forum ready code output, why not petition them? The forum system used here is the most popular in the world. The issues that you are experiencing affect ALL of the popular forum systems - i.e they dont allow raw HTML in posts because of the security issues, the editors on most of them are very similar to the editor on this forum. Supporting BB-Code.
Note:
- if you dont understand why HTML is avoided in forum posts 'Google' it.
- To enhance the readability of posts, with additional formatting, use BBCode NOT HTML.
Fixed
http://www.picbasic.co.uk/forum/show...2482#post12482
Thank you Dwight!
Another MS thing....P.S. I had to zip it up because it was causing an error when I tried to upload the .mht file.
Last edited by mackrackit; - 15th September 2011 at 09:31.
Dave
Always wear safety glasses while programming.
Bookmarks