Yes... We got an [b]addbox function [/b] now my fellow multipliers ... LMAO but seriously bcoz of my hard research and lots of pack of cigarette

that i smoked this is the fruit of my labor...

Just like in friendster

remember the [b]addbox("RIGHT","THIS IS ADDBOX",add,"addbox",null)?[/b]
that is the application for friendster right?
This is how we tweak Multiply for Addbox Function.....
Requirements: [b]Focus.. use ur taijitsu and ninjitsu [/b]

Read and Fallow Instruction Below.
[b]1.[/b] This is the arrangements of your boxes should be..

[img]http://img444.imageshack.us/img444/2807/88356450qf2.jpg[/img]
[quote]:idea:
welcome box = mainbox_1
photo box = mainbox_2
blog box = mainbox_3
guestbook = mainbox_4[/quote]
[quote]Q: Why fallow?
A: Because we're going to need the id of each boxes in this addbox function[/quote]
[b] 3.[/b] You will need to fill the content of your photobox, welcome box, and blog box..
For Example:

In Welcome Box(Message Area) : You can type [b]HELLO WORLD[/b] or type anything you want

In Photobox: Upload your picture or any kind of picture

In BlogBox: Write anything in your Blog
[quote]Q: What's the use of filling its contents
A: Because your page viewer will not see any of your boxes if it doesn't have a content and the result your tweaks will not take effect.[/quote]
Make sure you fallow my instruction about the arrangement of your boxes
Ok Lets start with the code
Insert this inside your JS FILE /* ADDBOX FUNCTION */
<">Using the addbox Function in Friendster we only got 2 types/positions, the [b]Mainbar and the Sidebar[/b]

[quote]But in multiply i discovered 4 types/positions isn't that cool?

so many positions to choose from.
Below are the following types/positions.
1. Top Position = Rectangular boxes just like photobox and welcome box
2. Bottom Left = Square Boxes in bottom left position
3. Bottom Right = Square Boxes in bottom right position
4. Rail = Possible small square boxes that can be put under your rail.

[/quote]
This is the application of each boxes positions
:idea: TOP application
[quote]var addbox1="[b]PUT ANYTHING HERE[/b]";
addBox("[b]top[/b]","TITLE HEADER",addbox1,"addbox1");[/quote]
:idea: BOTTOM LEFT application
[quote]var addbox1="[b]PUT ANYTHING HERE[/b]";
addBox("[b]bottoml[/b]","TITLE HEADER",addbox1,"addbox1");[/quote]
:idea: BOTTOM RIGHT application
[quote]var addbox1="[b]PUT ANYTHING HERE[/b]";
addBox("[b]bottomr[/b]","TITLE HEADER",addbox1,"addbox1");[/quote]
:idea: UNDER RAIL application
[quote]var addbox1="[b]PUT ANYTHING HERE[/b]";
addBox("[b]siderail[/b]","TITLE HEADER",addbox1,"addbox1");[/quote]
Ok This is how to apply the addbox function in 4 types/positions
[quote]function addBox (type,head,htm,id,sibling) {
//by blurrycloud multiply version 2008-3000
//credits to marfillaster friendster version
//type "top" | "bottoml" | "bottomr" | "siderail"
//head header string
//htm innerHTML string
//id css_id string
/* Available default Siblings
Coming Soon
*/
try {
var br=document.createElement("li");
} catch(e) {
var br=document.createElement("<br>");
}
if(type=="top") {
var ul=document.getElementById("mainbox_1");
htm="<div class='itemboxsub'>"+htm+"</div>";
}
else if(type=="bottomr") {
var ul=document.getElementById("mainbox_4");
}
else if(type=="siderail") {
var ul=document.getElementById("rail");
}
else var ul=document.getElementById("mainbox_3");
br.innerHTML="<br><div id='"+id+"' class='itemboxsub "+id+"'>"+
"<h2>"+head+"</h2>"+
"<div id='content_"+id+"'>"+htm+
"</div>"+
"</div>";
if(sibling==null) ul.appendChild(br);
else {
sibling=document.getElementById(sibling);
ul.insertBefore(br,sibling);
}
}
//ONLOAD HANDLER
if (!addEvent(function() { onPageLoad();})) { window.onload = function() { onPageLoad();};}
function onPageLoad() {
//TOP application
var addbox1="[b]PUT ANYTHING HERE[/b]";
addBox("[b]top[/b]","TITLE HEADER",addbox1,"addbox1");
//BOTTOM LEFT application
var addbox2="[b]PUT ANYTHING HERE[/b]";
addBox("[b]bottoml[/b]","TITLE HEADER",addbox2,"addbox2");
//BOTTOM RIGHT application
var addbox3="[b]PUT ANYTHING HERE[/b]";
addBox("[b]bottomr[/b]","TITLE HEADER",addbox3,"addbox3");
//UNDER RAIL application
var addbox4="[b]PUT ANYTHING HERE[/b]";
addBox("[b]siderail[/b]","TITLE HEADER",addbox4,"addbox4");
//OTHER BOXES YOU LIKE TO ADD
}//END OF ONLOAD HANDLER
//OTHER SCRIPTS HERE
[color=green]//EX: Random Images Script[/color][/quote]
[b]Assuming this is the new boxes you added in your multiply profile[/b]

Preview for Bottom Left Position and Bottom Right Position
[img]http://img261.imageshack.us/img261/6505/45197710rl6.jpg[/img]

Preview for Top Position and Rail Position
[img]http://img257.imageshack.us/img257/3403/85792238rw0.jpg[/img]
Ex of finish code: <">That's it you got a newbox... MULTIPLY VERSION

[quote]Ps: My fellow friends you can give advice about this function ... let's help each other we're all new in multiply tweaking thankyou...
Hurry up guys... put your friendster TWEAK in multiply...[/quote]
[quote]Q and A...
multiplytweaker: Why the heck my page viewer can't see my addbox but i can see it in my own eyes?
blurrycloud:

I suggest, fallow my first instruction about arrangement of boxes...[/quote]
[quote]Changelog:
Fix for division/spaces between new boxes 01/15/08
Added Onload Handler 01/16/08
Added two new types/positions 01/16/08[/quote]
Last edited by blurrycloud (2008-05-17 02:04:37)