This simple tutorial will help you to learn how to modify a cbox form from www.cbox.ws.
Objective:
• Provide your own cbox form with your own Avatar select box.
Requirements:
• A cbox account, you must register at www.cbox.ws to get one.
• A blogsite, forumsite, website or wapsite - because if you have no any site, where would you place your cbox?
Instructions
First, you must logged in to your Cbox account. At your Control Pannel, click Options > Posting options > then browse at the bottom page, look for the "Message options" part and mark these boxes:
Cbox have two <iframe> tags (see the code above), one that's in gray <iframe> tag is for cboxmain to display the lists of messages, and the blue <iframe> tag is for cboxform which actually display the form and enables the users to post a message on your cbox, which will be look like this:
We will have to change that <iframe> tag to <form> and replace this url input field to dropdown menu (select avatar box) and the final output must be something like this:
Modified Cbox Form
And here's the <form> tag we are going to use:
Note:
• For HHHHHH value change it with your own boxid and for ZZZZZZ value change it with your own boxtag.
• Also, pay much attention from this line at form action and links http://www6.cbox.ws/box/?boxid. Sometimes it's http://www2.cbox.ws/box/?boxid whatever depending on code generated by cbox for you, so use what's you have cause it may results an installation error if you use wrong url. The same thing as > name="cboxform6-HHHHHH" target="cboxmain6-HHHHHH"
• For <option value=" http://image.url /avatar1.png">Avatar 1</option> change http:// value to your own image url you want to select as an Avatar, you can add as many as you want and edit "Avatar 1" to your Avatar description.
• You can place the form either above or below the message list, but I recommend to put this form above messages, this may make more sense with Post order set to "Newest at top".
Suggested Avatars
If you don't have an images to insert at your <select> tag, feel free to use my suggested Avatars:
Outcome:
You may remove and select Avatars that you are only wanted to use, it's all yours.
Editing Cbox Styles
To change you cbox form colors and styles, copy/paste this code at your page where you want your cbox to appear, and edit as you want.