Text File Reader - Extension Updated ***31/03/2012***
- madebyibloo
-
- Posts: 366
- Joined: Fri Mar 27, 2009 3:58 pm
- Location: East Yorkshire, United Kingdom
- Contact:
Text File Reader - Extension Updated ***31/03/2012***
Text File Reader
Description
Reads and displays a .txt file from server.
What does it do?
This extension will read and display a text file. For use with hit counters, click counters and other uses that require text files.
Features
Read a text (.txt) file and display as html.
Select either ‘Full Text File’ or ‘Specific Text Line’.
Choice of ‘Beginning Text’ and ‘Ending Text’ Optional.
How to use…
Drag and drop this extension, double click to enter the properties and select your ‘Text Type’ to display then choose your ‘text file name’ and Font display options. (.txt file extension not needed on input, e.g. counter)
IMPORTANT:
To use this extension, you must set your page to .php
When selecting to read the 'Specific Text Line' option, please remember that the top line of a .txt file is '0' and the second line is '1' and so on...
Download & Demo
http://www.funky5.co.uk
UPDATE 31/03/2012
Added: You can now select to read a 'Full Text File' and display as html. (this includes line breaks)
Added: You can now select to read 'Specific Text Lines' from any .txt file.
More WYSIWYG Web Builder Extensions available at http://www.funky5.co.uk
Cheers,
Scott
Description
Reads and displays a .txt file from server.
What does it do?
This extension will read and display a text file. For use with hit counters, click counters and other uses that require text files.
Features
Read a text (.txt) file and display as html.
Select either ‘Full Text File’ or ‘Specific Text Line’.
Choice of ‘Beginning Text’ and ‘Ending Text’ Optional.
How to use…
Drag and drop this extension, double click to enter the properties and select your ‘Text Type’ to display then choose your ‘text file name’ and Font display options. (.txt file extension not needed on input, e.g. counter)
IMPORTANT:
To use this extension, you must set your page to .php
When selecting to read the 'Specific Text Line' option, please remember that the top line of a .txt file is '0' and the second line is '1' and so on...
Download & Demo
http://www.funky5.co.uk
UPDATE 31/03/2012
Added: You can now select to read a 'Full Text File' and display as html. (this includes line breaks)
Added: You can now select to read 'Specific Text Lines' from any .txt file.
More WYSIWYG Web Builder Extensions available at http://www.funky5.co.uk
Cheers,
Scott
Last edited by madebyibloo on Sat Mar 31, 2012 3:03 pm, edited 3 times in total.
Cheers,
Scott
www.madebyibloo.com - a creative design studio.
Scott
www.madebyibloo.com - a creative design studio.
- BaconFries
-
- Posts: 5640
- Joined: Thu Aug 16, 2007 7:32 pm
Re: Text File Reader - Extension
Nice Scott...
- protectourlands
-
- Posts: 426
- Joined: Sat May 24, 2008 2:16 am
- Contact:
Re: Text File Reader - Extension
I can really use this. Excellent work Scott.
Plus I really like your website. Very professional looking. Love the color.
Plus I really like your website. Very professional looking. Love the color.
- madebyibloo
-
- Posts: 366
- Joined: Fri Mar 27, 2009 3:58 pm
- Location: East Yorkshire, United Kingdom
- Contact:
Re: Text File Reader - Extension
BaconFries wrote:Nice Scott...
Thanks BF! appreciated again!
Cheers,
Scott
Cheers,
Scott
www.madebyibloo.com - a creative design studio.
Scott
www.madebyibloo.com - a creative design studio.
- madebyibloo
-
- Posts: 366
- Joined: Fri Mar 27, 2009 3:58 pm
- Location: East Yorkshire, United Kingdom
- Contact:
Re: Text File Reader - Extension
Thanks Protectourlands! its appreciated, glad you can use it in something usefull and thanks for the compliments.protectourlands wrote:I can really use this. Excellent work Scott.
Plus I really like your website. Very professional looking. Love the color.
Cheers,
Scott
Cheers,
Scott
www.madebyibloo.com - a creative design studio.
Scott
www.madebyibloo.com - a creative design studio.
Re: Text File Reader - Extension
I have a problem with "Text File Reader" from Funky5 is that it appears that it can't find the text file.
Where do I put the text file on my server?
Thanks,
Steve
Here's my setup:
And here's the results:
Where do I put the text file on my server?
Thanks,
Steve
Here's my setup:
And here's the results:
- madebyibloo
-
- Posts: 366
- Joined: Fri Mar 27, 2009 3:58 pm
- Location: East Yorkshire, United Kingdom
- Contact:
Re: Text File Reader - Extension
Hi Steve, place the text file in your root dir, the same as your index.html or index.php
also make sure you have something in your text file thats readable e.g if its for a counter put 0
Hope his helps, lemme know how you get on
Cheers,
Scott
also make sure you have something in your text file thats readable e.g if its for a counter put 0
Hope his helps, lemme know how you get on
Cheers,
Scott
Cheers,
Scott
www.madebyibloo.com - a creative design studio.
Scott
www.madebyibloo.com - a creative design studio.
Re: Text File Reader - Extension
I tried putting a single line of text into the root, and in the folder where the test page is located. No difference.
Is there something that could be missing from my server?
Thanks
Seve
Is there something that could be missing from my server?
Thanks
Seve
- madebyibloo
-
- Posts: 366
- Joined: Fri Mar 27, 2009 3:58 pm
- Location: East Yorkshire, United Kingdom
- Contact:
Re: Text File Reader - Extension
Hi, this could be one of a couple of things..SteveMann wrote:I tried putting a single line of text into the root, and in the folder where the test page is located. No difference.
Is there something that could be missing from my server?
Thanks
Seve
Before you try anything, please make sure your page has the .php extension e.g. index.php or test.php
now try this...
1) place the 'text file reader' extension in wb and choose your text file in the properties section, for example: test (not test.txt).
2) now place a 'file publisher' object from the advanced section in wb, browse and select your desired text file. (This will place the text file in the same dir of your index page)
3) this should now display your text file.
Other
Make sure your server has php enabled (contact your hosting provider to clarify this, it should have because most do nowadays, but just incase)
Check what the chmod of the text file is set to once uploaded to the server, try changing it to 755. (change chmod in ftp program)
apart from that, it should work fine, i just did a re-test and it worked first time on my server.
Lemme know how you get on,
Cheers,
Scott
Cheers,
Scott
www.madebyibloo.com - a creative design studio.
Scott
www.madebyibloo.com - a creative design studio.
Re: Text File Reader - Extension
DOH!
should have recognized that the errant output was a PHP command. Anyway, changed the page type in the project properties to PHP and it works. Thanks
BTW, How did you format your sample text? Is it basic HTML?
Thanks again,
Steve
should have recognized that the errant output was a PHP command. Anyway, changed the page type in the project properties to PHP and it works. Thanks
BTW, How did you format your sample text? Is it basic HTML?
Thanks again,
Steve
- madebyibloo
-
- Posts: 366
- Joined: Fri Mar 27, 2009 3:58 pm
- Location: East Yorkshire, United Kingdom
- Contact:
Re: Text File Reader - Extension
Excellent! glad you got it working!SteveMann wrote:DOH!
should have recognized that the errant output was a PHP command. Anyway, changed the page type in the project properties to PHP and it works. Thanks
Sorry I dont understand, do you mean the 'start text' and 'end text' in the actaul extension? if so, yes its just font styling.BTW, How did you format your sample text? Is it basic HTML?
Cheers,
Scott
Cheers,
Scott
www.madebyibloo.com - a creative design studio.
Scott
www.madebyibloo.com - a creative design studio.
- madebyibloo
-
- Posts: 366
- Joined: Fri Mar 27, 2009 3:58 pm
- Location: East Yorkshire, United Kingdom
- Contact:
Re: Text File Reader - Extension
Hi LoneWolf, not a problem at all, we was all at the beginning at some pointLoneWolf1038 wrote:Hi Scott!
I'm still learning all these neat things, and as usual...I've run into a problem. I know it's not the extension, it is ME! Anyway, I unzipped the invisible counter and installed it with no problem. Then I unzipped the Text file reader and put that in the extension folder also. Went to WYSIWYG where I am working on my website and sure enough...there it was, so I dragged it over and put it at the bottom of the page next to the invisible counter. Changed the page properties to from html to php. Published to the local publish folder and then uploaded the lot. Now I have 2 index pages...one html and one php? Is that what I'm supposed to have? The page itself also displays "There has been 2 page hits". When I double clicked on the "counter.txt" file, it showed just the number 2 (which would correspond with the number of hits), but I thought the "There has been..." text was supposed to be in the counter text doc and NOT on the website where everyone sees it. What am I doing wrong and how do I fix it? Please be gentle...I'm still new at this. Thanks in advance.
First of all, you need to remove index.html from your server and just keep the index.php
Secondly, the aim of the 'text file reader' is to read the .txt file only, the beginning and after text (there has been...) is html side and has nothing to do with the .txt file, you can remove this text(s) by leaving them blank in the 'text file reader' extension properties.
A good solution for this extension is to be used like this...
1) Place the 'hit counter extension' on the index.php (and set to invisible).
2) Place the 'text file reader extension' on another page, maybe something like admin.php or somewere thats maybe page protected so only you can view.
3) In the 'text file reader' extension properties set it to read the .txt file that you created in the hit counter properties.
4) Make sure the .txt file is in the same dir (folder) as the page you are displaying it on.
Hope this helps, let me know how you get on.
Cheers,
Scott
Cheers,
Scott
www.madebyibloo.com - a creative design studio.
Scott
www.madebyibloo.com - a creative design studio.
- madebyibloo
-
- Posts: 366
- Joined: Fri Mar 27, 2009 3:58 pm
- Location: East Yorkshire, United Kingdom
- Contact:
Re: Text File Reader - Extension
Awesome! glad you got it to workLoneWolf1038 wrote:Worked like a charm, Scott! Thank you soooooooo much!
Cheers,
Scott
Cheers,
Scott
www.madebyibloo.com - a creative design studio.
Scott
www.madebyibloo.com - a creative design studio.
Re: Text File Reader - Extension
Scott;
It only dawned on me today what little gem you have created here. I needed something whereby the user can update a set of prices via a text file and bingo!!!!
Great piece of work!!! Well done
Just one question:
How do I get it to read multiple lines? <BR>
It only dawned on me today what little gem you have created here. I needed something whereby the user can update a set of prices via a text file and bingo!!!!
Great piece of work!!! Well done
Just one question:
How do I get it to read multiple lines? <BR>
Running WYSIWYG Web Builder since 2007...
- madebyibloo
-
- Posts: 366
- Joined: Fri Mar 27, 2009 3:58 pm
- Location: East Yorkshire, United Kingdom
- Contact:
Re: Text File Reader - Extension
Thanks B!! yeh, its crazy what you can acheive with this extension, I use it for a number of things, it does alot more than it says on the tin! i'll take a look at the multiple line thing for you and see what I can come up with for youbendigo wrote:Scott;
It only dawned on me today what little gem you have created here. I needed something whereby the user can update a set of prices via a text file and bingo!!!!
Great piece of work!!! Well done
Just one question:
How do I get it to read multiple lines? <BR>
Cheers,
Scott
Cheers,
Scott
www.madebyibloo.com - a creative design studio.
Scott
www.madebyibloo.com - a creative design studio.
- madebyibloo
-
- Posts: 366
- Joined: Fri Mar 27, 2009 3:58 pm
- Location: East Yorkshire, United Kingdom
- Contact:
Re: Text File Reader - Extension
Hi B! the extension has been updated with some new features, this includes line breaks when displayed as html.bendigo wrote:Just one question:
How do I get it to read multiple lines? <BR>
Please see first post.
Cheers,
Scott
Cheers,
Scott
www.madebyibloo.com - a creative design studio.
Scott
www.madebyibloo.com - a creative design studio.
Re: Text File Reader - Extension Updated ***31/03/2012***
As always great work Scott. Thank you so much. Will try it tonight.
Running WYSIWYG Web Builder since 2007...
Re: Text File Reader - Extension Updated ***31/03/2012***
I like this extension. Good idea!
Maybe a .txt file writer would be great 'behind' a login system this way users could update that file without 'messing around' with the server...
docdoc
Maybe a .txt file writer would be great 'behind' a login system this way users could update that file without 'messing around' with the server...
docdoc
- madebyibloo
-
- Posts: 366
- Joined: Fri Mar 27, 2009 3:58 pm
- Location: East Yorkshire, United Kingdom
- Contact:
Re: Text File Reader - Extension Updated ***31/03/2012***
Thanks Doc! have you got camera's on me? hehe, cause thats the next thing i'm onto , I've got that setup here but need to publish it as an extension.docdoc wrote:I like this extension. Good idea!
Maybe a .txt file writer would be great 'behind' a login system this way users could update that file without 'messing around' with the server...
docdoc
Great minds think alike.
Cheers,
Scott
Cheers,
Scott
www.madebyibloo.com - a creative design studio.
Scott
www.madebyibloo.com - a creative design studio.
Re: Text File Reader - Extension Updated ***31/03/2012***
Hi Scott;
Is there any way to maintain the tab space that is saved within the txt file? What I mean is for example:
You type
Special Deal ---------------------------> £200
Now if I have this there should a that space between the £200 and Deal but the extension shows Deal £200
Take a look at this
http://bit.ly/HjjKS2
Is there any way to maintain the tab space that is saved within the txt file? What I mean is for example:
You type
Special Deal ---------------------------> £200
Now if I have this there should a that space between the £200 and Deal but the extension shows Deal £200
Take a look at this
http://bit.ly/HjjKS2
Running WYSIWYG Web Builder since 2007...
- madebyibloo
-
- Posts: 366
- Joined: Fri Mar 27, 2009 3:58 pm
- Location: East Yorkshire, United Kingdom
- Contact:
Re: Text File Reader - Extension Updated ***31/03/2012***
Hi B, the only way for now is to include this html in the text file...bendigo wrote:Hi Scott;
Is there any way to maintain the tab space that is saved within the txt file? What I mean is for example:
You type
Special Deal ---------------------------> £200
Now if I have this there should a that space between the £200 and Deal but the extension shows Deal £200
Take a look at this
http://bit.ly/HjjKS2
Code: Select all
 
example: Special Deal           £200
I'll take a look at the extension and try to implement it, but it might be a week or so cause i've got the kids on school hols and going away for a few days
Cheers,
Scott
Cheers,
Scott
www.madebyibloo.com - a creative design studio.
Scott
www.madebyibloo.com - a creative design studio.
Re: Text File Reader - Extension Updated ***31/03/2012***
Oh Joys of Easter & Kids. I am on the same boat mate. Not to worry. I shall see what I can do manually and do what you have done. Enjoy the hols.
Running WYSIWYG Web Builder since 2007...
- madebyibloo
-
- Posts: 366
- Joined: Fri Mar 27, 2009 3:58 pm
- Location: East Yorkshire, United Kingdom
- Contact:
Re: Text File Reader - Extension Updated ***31/03/2012***
You too B!bendigo wrote:Oh Joys of Easter & Kids. I am on the same boat mate. Not to worry. I shall see what I can do manually and do what you have done. Enjoy the hols.
Cheers,
Scott
www.madebyibloo.com - a creative design studio.
Scott
www.madebyibloo.com - a creative design studio.
- madebyibloo
-
- Posts: 366
- Joined: Fri Mar 27, 2009 3:58 pm
- Location: East Yorkshire, United Kingdom
- Contact:
Re: Text File Reader - Extension Updated ***31/03/2012***
Hi,
Sorry, its not available anymore, I will be updating extensions on my new site that is coming soon.
Thanks for your interest.
Sorry, its not available anymore, I will be updating extensions on my new site that is coming soon.
Thanks for your interest.
Cheers,
Scott
www.madebyibloo.com - a creative design studio.
Scott
www.madebyibloo.com - a creative design studio.
Re: Text File Reader - Extension Updated ***31/03/2012***
Hi,
thanks for info
Short question:
the 'Text File Reader': is it still available - and is it compatiple to WWB 11?
Best Regards
thanks for info
Short question:
the 'Text File Reader': is it still available - and is it compatiple to WWB 11?
Best Regards