Page 1 of 1
Text File Reader - Extension Updated ***31/03/2012***
Posted: Wed Jun 01, 2011 11:45 am
by madebyibloo
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
Re: Text File Reader - Extension
Posted: Wed Jun 01, 2011 1:34 pm
by BaconFries
Nice Scott...
Re: Text File Reader - Extension
Posted: Wed Jun 01, 2011 4:07 pm
by protectourlands
I can really use this. Excellent work Scott.
Plus I really like your website. Very professional looking. Love the color.
Re: Text File Reader - Extension
Posted: Wed Jun 01, 2011 7:01 pm
by madebyibloo
BaconFries wrote:Nice Scott...
Thanks BF! appreciated again!
Cheers,
Scott
Re: Text File Reader - Extension
Posted: Wed Jun 01, 2011 7:02 pm
by madebyibloo
protectourlands wrote:I can really use this. Excellent work Scott.
Plus I really like your website. Very professional looking. Love the color.
Thanks Protectourlands! its appreciated, glad you can use it in something usefull and thanks for the compliments.
Cheers,
Scott
Re: Text File Reader - Extension
Posted: Mon Jun 27, 2011 8:11 pm
by SteveMann
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:
Re: Text File Reader - Extension
Posted: Mon Jun 27, 2011 8:16 pm
by madebyibloo
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
Re: Text File Reader - Extension
Posted: Mon Jun 27, 2011 10:20 pm
by SteveMann
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
Re: Text File Reader - Extension
Posted: Mon Jun 27, 2011 10:47 pm
by madebyibloo
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
Hi, this could be one of a couple of things..
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
Re: Text File Reader - Extension
Posted: Tue Jun 28, 2011 12:58 am
by SteveMann
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
Re: Text File Reader - Extension
Posted: Tue Jun 28, 2011 1:42 am
by madebyibloo
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
Excellent!
glad you got it working!
BTW, How did you format your sample text? Is it basic HTML?
Sorry I dont understand, do you mean the 'start text' and 'end text' in the actaul extension? if so, yes its just font styling.
Cheers,
Scott
Re: Text File Reader - Extension
Posted: Thu Jan 19, 2012 12:12 pm
by madebyibloo
LoneWolf1038 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.
Hi LoneWolf, not a problem at all, we was all at the beginning at some point
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
Re: Text File Reader - Extension
Posted: Thu Jan 19, 2012 5:27 pm
by madebyibloo
LoneWolf1038 wrote:Worked like a charm, Scott! Thank you soooooooo much!
Awesome! glad you got it to work
Cheers,
Scott
Re: Text File Reader - Extension
Posted: Fri Mar 30, 2012 7:57 pm
by zinc
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>
Re: Text File Reader - Extension
Posted: Fri Mar 30, 2012 11:39 pm
by madebyibloo
bendigo 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>
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 you
Cheers,
Scott
Re: Text File Reader - Extension
Posted: Sat Mar 31, 2012 3:06 pm
by madebyibloo
bendigo wrote:Just one question:
How do I get it to read multiple lines? <BR>
Hi B! the extension has been updated with some new features, this includes line breaks when displayed as html.
Please see first post.
Cheers,
Scott
Re: Text File Reader - Extension Updated ***31/03/2012***
Posted: Sat Mar 31, 2012 3:57 pm
by zinc
As always great work Scott. Thank you so much. Will try it tonight.
Re: Text File Reader - Extension Updated ***31/03/2012***
Posted: Sat Mar 31, 2012 4:14 pm
by docdoc
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
Re: Text File Reader - Extension Updated ***31/03/2012***
Posted: Sat Mar 31, 2012 4:23 pm
by madebyibloo
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
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.
Great minds think alike.
Cheers,
Scott
Re: Text File Reader - Extension Updated ***31/03/2012***
Posted: Tue Apr 03, 2012 8:35 am
by zinc
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
Re: Text File Reader - Extension Updated ***31/03/2012***
Posted: Tue Apr 03, 2012 8:59 am
by madebyibloo
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
Hi B, the only way for now is to include this html in the text file...
Code: Select all
 
example: Special Deal           £200
I've added it on the demo page if you want to see the outcome.
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
Re: Text File Reader - Extension Updated ***31/03/2012***
Posted: Tue Apr 03, 2012 9:07 am
by zinc
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.
Re: Text File Reader - Extension Updated ***31/03/2012***
Posted: Tue Apr 03, 2012 9:15 am
by madebyibloo
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.
You too B!
Re: Text File Reader - Extension Updated ***31/03/2012***
Posted: Fri Jul 15, 2016 2:28 pm
by vec_tra
Hi,
unfortunately
http://www.funky5.co.uk is not available - right ?
Best regards
Re: Text File Reader - Extension Updated ***31/03/2012***
Posted: Sat Jul 16, 2016 8:54 am
by madebyibloo
Hi,
Sorry, its not available anymore, I will be updating extensions on my new site that is coming soon.
Thanks for your interest.
Re: Text File Reader - Extension Updated ***31/03/2012***
Posted: Sun Jul 17, 2016 4:11 pm
by vec_tra
Hi,
thanks for info
Short question:
the 'Text File Reader': is it still available - and is it compatiple to WWB 11?
Best Regards