UnlimitedMB.comUnlimitedMB.com
Home    |    About Us    |    Forums    |    Signup    |    Login    |    Support
UnlimitedMB.com


 
UnlimitedMB.com



Go Back   UnlimitedMB.com Forums > General Forums > Scripting
FAQ Members List Calendar Search Today's Posts Mark Forums Read

Reply
 
Thread Tools Display Modes
How do i make a text box...
  #1  
Old 06-06-2007
habboleaders habboleaders is offline
Member
 
Join Date: Mar 2007
Posts: 57
Default How do i make a text box...

How do I make a text box only people in the edditor can change whats inside. So it has a scroll bar
__________________
Call Me The Joker! Im a walking ball of fire. Watch Your Back!
Reply With Quote
  #2  
Old 06-08-2007
nuweb nuweb is offline
Junior Member
 
Join Date: May 2007
Posts: 15
Exclamation

depends on what u got going.

To Display Comments
PHP Code:
if($editor 1){
//Shows Form for Editor
   
echo '';
   echo 
''.$edittext.'';
   echo 
'';
} else {
//Shows Just Text to visitors
   
echo $edittext

So now, For every user.
If they are a editor, you need to set $editor to 1:
PHP Code:
$editor 1
You also need a mysql query, to get text that you want to be able to be edited from your mysql database. Set that text to:
$edittext

Also you then need to create a "editorcommentsubmit.php" that when you Submit a form it goes to that page, and updates the database.

----------------------------------

Its not easy, lol.
Good Luck With It! ..
Reply With Quote
  #3  
Old 3 Weeks Ago
habboleaders habboleaders is offline
Member
 
Join Date: Mar 2007
Posts: 57
Default

No I mean in HTML and example - www.habboaddicts.net
__________________
Call Me The Joker! Im a walking ball of fire. Watch Your Back!
Reply With Quote
  #4  
Old 3 Weeks Ago
arenlor arenlor is offline
Senior Member
 
Join Date: Aug 2006
Location: Jaa, kore da.
Posts: 348
Send a message via ICQ to arenlor Send a message via AIM to arenlor Send a message via MSN to arenlor Send a message via Yahoo to arenlor
Default

After viewing the source, they use an iframe, I don't know anything about it as I don't use it, but I'm sure someone will come along with help.
__________________
FAQ
Reply With Quote
  #5  
Old 3 Weeks Ago
habboleaders habboleaders is offline
Member
 
Join Date: Mar 2007
Posts: 57
Default

What's an Iframe?
__________________
Call Me The Joker! Im a walking ball of fire. Watch Your Back!
Reply With Quote
  #6  
Old 3 Weeks Ago
Tyler Tyler is offline
Administrator
 
Join Date: Jun 2006
Posts: 931
Default

To let them change it dynamically on the web like you seem to want your going to have to use php. You might want to use a pre built script like "cute news" or something like that.
__________________
Tyler,
Admin

Please do not PM me unless I ask you to.
Reply With Quote
  #7  
Old 2 Weeks Ago
zidian zidian is offline
Junior Member
 
Join Date: Apr 2007
Posts: 9
Send a message via MSN to zidian
Default

I think that the idea you have is pointing towards AJAX. It is a very complicated code that you may have to spend a few months working on before you fully understand it. It is kinda of like the script this forum uses. If I understand you correctly, you want to be able to click on something, type in text, press enter, and It change automatically without going to another page like with php.
Reply With Quote
  #8  
Old 2 Weeks Ago
habboleaders habboleaders is offline
Member
 
Join Date: Mar 2007
Posts: 57
Default

No, what I mean is if i have a text box. And only people that are ADMINS to my site can click on it and add what ever. But when I save it people that just visit the page cannot edit it
__________________
Call Me The Joker! Im a walking ball of fire. Watch Your Back!
Reply With Quote
  #9  
Old 2 Weeks Ago
habboleaders habboleaders is offline
Member
 
Join Date: Mar 2007
Posts: 57
Default

Example! - http://www.w3schools.com/html/tryit....link_locations One on the right!!
__________________
Call Me The Joker! Im a walking ball of fire. Watch Your Back!
Reply With Quote
  #10  
Old 1 Week Ago
cr0wonline cr0wonline is offline
Senior Member
 
Join Date: Sep 2006
Posts: 203
Default

That's an iframe, not a textbox
__________________
[-|Support ULMB, use a minibanner.|-]

To use
https://unlimitedmb.com" title="UnlimitedMB">
Reply With Quote
Reply

« Previous Thread | Next Thread »

Thread Tools
Show Printable Version Show Printable Version
Email this Page Email this Page
Display Modes
Linear Mode Linear Mode
Hybrid Mode Switch to Hybrid Mode
Threaded Mode Switch to Threaded Mode

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

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT. The time now is 11:53 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2007, Jelsoft Enterprises Ltd.







 



UnlimitedMB.com © 2006
Terms of Use | Report Abuse