Skip to content
View in the app

A better way to browse. Learn more.

Web Designer Forum

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

question about script programming please .

Featured Replies

hello,

 

i have a small hard question , i really wish to find the answer soon here because iam look for that answer

for 3 days and i got no success ,

 

well , iam not a professional in the php programming but iam trying to be good as i can on it

 

so about the question , just iam trying to complete my second script programming , i want to make adding topics system

, i want to let the visitor be able to add any mount of pictures inside his topic between any words line he want

like the topics result on the vBulletin adding topics system

 

just like that form :-

 

words , words , words , words , words

words , words , words , words , words

picture

words , words , words , words , words

picture

words , words , words , words , words

words , words , words , words , words

picture

words , words , words , words , words

 

 

but i want to let the visitor be able to put any mount of words and pictures inside his topic , i think u got what i mean now

 

i wish to got the explain to make it from the professional programmers or just if any one have small topics system working like iam asking for

it will be great if he can share it for teach us and to let us know the way to make it and to being better .

 

thanks every body

  • Author

thank you very much Mihai Georgescu :rolleyes::good:

 

but i wanna ask u for one more favor , it will be from your kind to doing it and i will be thankful for it .

 

just i dont know any thing about the javascript , so can u just send to me small topic system like the one that iam asking for

if u have one ,just for studying it and to know the way from it to do what iam asking for .

 

iam very glad with ur reply and your help too and thank you very much

Just read the documentation ... it's really easy, here's a quick intro to how it works:

 

- you have a HTML page with a form and a textarea;

- you insert a piece of javascript that loads the TinyMCE script;

- the script transforms the textarea into an editor similar to the one that you see in this forum;

- the user does X, Y inside the textarea (the editor handles everything);

- the user clicks Submit and the content is posted to your PHP handling file (just like a normal form);

- you save that data in a database;

- you have another page that loads that data from the database;

- all done.

TinyMCE is what you need.

 

Make sure you check out the documentation like Mihai Georgescu has said.

 

Its not too heavy.

  • Author

i downloaded the editor and i made normal simple texarea and i made the steps in the installtion but it didnt work

, so here is my full code and please tell me what is the error . thanks

 

 

 

<script type="text/javascript" src="tiny_mce/tiny_mce_gzip.js"></script>

<script type="text/javascript">

tinyMCE_GZ.init({

plugins : 'style,layer,table,save,advhr,advimage,advlink,emotions,iespell,insertdatetim

,preview,media,'+

'searchreplace,print,contextmenu,paste,directionality,fullscreen,noneditable,

isualchars,nonbreaking,xhtmlxtras',

themes : 'simple,advanced',

languages : 'en',

disk_cache : true,

debug : false

});

</script>

 

<html >

 

<head>

<title>New Page 1</title>

</head>

 

<body>

 

<form method="POST" action="submit.php">

<p> </p>

<p> </p>

<p><textarea rows="15" name="world" cols="56"></textarea></p>

<p><input type="submit" value="Submit" name="B1"><input type="reset" value="Reset" name="B2"></p>

</form>

 

<!-- Needs to be seperate script tags! -->

<script type="text/javascript">

tinyMCE.init({

.. your normal init ..

});

</script>

 

</body>

</html>

Create an account or sign in to comment

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.