15 years on The Web
miniBB ® miniBB®
miniBB Support Forums
 | Forums | Register | Reply | Search | Statistics | Manual |
The Other miniBB Support Forums / The Other /   

java buttons needed? Php replacement possible...?

Author epicsff
#1 | Posted: 22 May 2005 18:17 
Why are the message buttons inserted with java? Two questions on this. First, wouldnt it be faster just to put the buttons directly into the template instead of have java call for them and insert them? And two, would it be possible to change the java includes code to php includes code?

Author realitybytes
#2 | Posted: 22 May 2005 18:55 | Edited by: realitybytes 
you mean javascript?

what buttons.

if you mean the bbcode buttons then the use of javascript here is ideal, why poll the server each time to perform a string replace, when the client side can do it when javascript is enabled. If javascript is disabled in most cases this points to an above average user who can still use bbcodes by using the tags.

Not sure if those are the buttons you mean, if it is then I personally would not want to use server side language for this.

Author epicsff
#3 | Posted: 22 May 2005 19:04 
Yes, the BB Code buttons.. If not php, wouldn't it be atleast better to put the button codes into the template, rather than call upon them with includes code?


Author Team
#4 | Posted: 23 May 2005 15:57 
Sorry, I did not understand you. Java and JavaScript are different things; client-side and server-side are incompatible moments. PHP is server-side language, and using it on client side is, at last, unprofessional.

The Other miniBB Support Forums / The Other / java buttons needed? Php replacement possible...? Top

Your Reply Click this icon to move up to the quoted message

 Short link for this topic:

You are welcome to post anonymously, by entering a nickname with no password (if the similar Username has not been taken yet), or by leaving both fields empty. If you have a forums account, you can also sign in from this page without posting a message, or sign in and post at once.

Before posting, make sure your message is compliant with our forum posting rules. If not, it may be locked or deleted with no explanation.
miniBB Support Forums Powered by Forum Software miniBB ® Features  Requirements  Demo  Download  Showcase  Gallery of Arts
Compiler  Premium Extensions  Premium Support  License  Contacts
Try the Captcha add-on: protect your miniBB-forums from the automated spam and flood.
Captcha Addon for miniBB