Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

HTML Forum


You are currently viewing our HTML Forum as a guest. Please register to participate.
Login



Post a Project »

Find a Professional HTML Freelancer!

Find a Freelancer to help you with your HTML projects

FREE Outsourcing eBook!

Closed Thread
Facebook status style updater for website?
Old 01-30-2009, 01:24 AM Facebook status style updater for website?
Junior Talker

Posts: 2
Trades: 0
Hello all-

Mods, move this thread to a better category if needed, hopefully i'll find it!

I was wondering if there is such a service out there yet, or software that allows you to embed a box or something in your site, where you can easily change the text in it, for your website, much like the 'status' on facebook, how you can update that so easily from a phone...does that make sense?

if there isn't, does anyone know how to do that, and how much would you charge? I think that's a great thing, and would love to be able to update a section of my site like that, so easily...

thanks!
cigam83 is offline
View Public Profile
 
 
Register now for full access!
Old 01-30-2009, 09:59 AM Re: Facebook status style updater for website?
stevej's Avatar
Professional Multitasker

Posts: 996
Location: Not positive
Trades: 0
I'm not entirely sure if there is a software that does it, but I know how I'd make it. Since a database would simply be overkill for a function as simple as this, I would contain the information into a text file. I would make an 'admin' section with php that allows you to edit the text file, and then a 'frontend' that would take the contents of the text file. So... here's some code that you can use. Not entirely sure if it'll work on a phone, but it's easy to modify.
First of all, create a .txt file called 'info'. Then create a new file with a .php extension (name doesn't matter) and put in the following code:
PHP Code:
<?php
$file 
"info.txt";
if(
$_POST['submit']){
$open fopen($file,"w+");
$content $_POST['content'];
fwrite($open$content);
fclose($open); ?>
File updated
<?php }else{ ?>
<form method="post">
<input type="text" Name="content" value="<?php include('info.txt'); ?>">
<input name="submit" type="submit" value="Edit"/>
</form>
<?php ?>
And then you can post the following code into another file with a .php extension (again, name doesn't matter).
PHP Code:
<?php include('info.txt'); ?>
And I believe that will work for you. If you have any questions, ask!

- Steve
stevej is offline
View Public Profile
 
Old 02-01-2009, 05:36 PM Re: Facebook status style updater for website?
Junior Talker

Posts: 2
Trades: 0
hey Steve,

thank you so much!! I can't wait to try it out on my site! One additional question, since I don't think I can work with txt files on my iphone, surprisingly haha, is there php or other code ability to send an email, in order to update the text file? sounds like that wouldn't really be possible to me, probably because anyone that knows the address can send and get their info on a site, which probably is not a good thing...

Well thank you again!

-Andrew
cigam83 is offline
View Public Profile
 
Old 02-01-2009, 06:40 PM Re: Facebook status style updater for website?
stevej's Avatar
Professional Multitasker

Posts: 996
Location: Not positive
Trades: 0
I've never heard of anything that could be updated by sending an email to an email address, most likely because it would be so insecure.

I don't know why the form wouldn't work, really. Seeing that you don't even have to fiddle around with the text file, and just enter in information in the form using php, it seems like it would work just fine. But I honestly don't know, seeing that I don't have an iPhone.

- Steve
stevej is offline
View Public Profile
 
Old 02-03-2009, 12:52 PM Re: Facebook status style updater for website?
thefandango's Avatar
Extreme Talker

Posts: 215
Trades: 0
Joomla and drupal have free plugins that are facebook status clones - so if you happen to have your site on either of those then you are in luck!
__________________

Please login or register to view this content. Registration is FREE

thefandango is offline
View Public Profile
 
Old 02-04-2009, 10:20 AM Re: Facebook status style updater for website?
chrishirst's Avatar
Missing! presumed drunk.

Posts: 42,380
Name: Chris Hirst
Location: Blackpool. UK
Trades: 0
closing thread because it's now on a spammer list somewhere
__________________
Chris. ->>
Please login or register to view this content. Registration is FREE
<<-

A foolish consistency is the hobgoblin of little minds
Thought for today:- Is SEO the only industry where all the cowboys are Indians?
chrishirst is offline
View Public Profile Visit chrishirst's homepage!
 
Closed Thread     « Reply to Facebook status style updater for website?
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 2.66279 seconds with 12 queries