Teya Salat

p _ x
Bookmark Weezywap
JarApkBmkOpera
(GMT+1)
Thursday March 28th 2024
+
Always Post weezywap.xtgem.com on your facebook, twitter, 2go, whatsapp and instagram status! If you love WEEZYWAP and enjoy unlimited services here!
»Modify Cbox Form
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:

Messages options
Email / URL field*
boxCode
Allow avatars

Then click "Save" button. This is to allow posting messages with Avatars.

Next, click Publish! link, and locate to Step 3. Get your code - and copy your cbox code.
Default Cbox Code

Now, here's the default cbox html code:

<!-- BEGIN CBOX - www.cbox.ws - v001 --><div><iframe frameborder="0" width="200" height="290" src="http://www6.cbox.ws/box/?boxid=HHHHHH&amp;boxtag=ZZZZZZ&amp;sec=main" marginheight="2" marginwidth="2" scrolling="auto" allowtransparency="yes" name="cboxmain6-HHHHHH" id="cboxmain6-HHHHHH" style="border:#463E41 1px solid;"></iframe></div> <div><iframe frameborder="0" width="200" height="90" src="http://www6.cbox.ws/box/?boxid=HHHHHH&amp;boxtag=ZZZZZZ&amp;sec=form" marginheight="2" marginwidth="2" scrolling="no" allowtransparency="yes" id="cboxform6-HHHHHH" name="cboxform6-HHHHHH" style="border:#463E41 1px solid;"></iframe></div><!-- END CBOX -->

HHHHHH = your boxid
ZZZZZZ = your boxtag
Item to Modify

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:
[Get a Cbox]refresh
help · smilies · cbox
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:
smilies · refresh · help
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.


And that's all, you're done. . .

Translate
Pages
Copyright © 2024 WEEZYWAP
facebook twitter whatsapp google plus
Home | About Us | Advertise | Frequently Asked Question | Contact Us | Partners | Disclaimer | Terms of Services | Invite Friends | Credits



Online: 1 , Today: 1, Hits: 7274
Last modified: 19-01-2017 6:20:06 pm