friendsterTalk - Friendster Forum

friendsterTalk - Friendster Forum

Welcome guest! Please Login or Register.

  • Multiply
  •  » Now in Antiposer CBOX (SideBar)

#1  2008-01-07 23:37:26

xavierkym
» Retired Moderator
The Sinister
Class-S
Location: London, England
Registered: 2007-06-10
Posts: 5370
Reputation: 129
Friendster

Now in Antiposer CBOX (SideBar)

UPDATED!! Now, in anti-poser CBox..
What is anti-poser?
- The Name is automatically provided by the pageVieweFName variable
- The URL of the Page to Visit is automatically submitted =)

:arrow: CLICK HERE FOR PREVIEW

Code:

/* ONLOAD HANDLER */
if (!addEvent(function() { CHATBOX.init();})) { window.onload = function() { CHATBOX.init();};}
/* END ONLOAD HANDLER */


/* CHATBOX OBJECT */
if (typeof CHATBOX == "undefined") { CHATBOX = {}; }
CHATBOX = {
        module: [],

        cbox: {
                source: "www4", //edit this to your own source
                boxid: "1234567", //edit this to your own boxid
                boxtag: "8910" //edit this to your own boxtag
        },

        style: {
                width: "90%",  //edit if necessary
                mainheight: "125px", //edit if necessary
                border: "0" //edit if necessary
        },

        textarea: {
                rows: "2", //edit if necessary
                cols: "15",  //edit if necessary
        },
        
        frame: {
                width: "100%",
                overflow: "hidden"
        },
        //edit below and your brain will explode
        init: function() {
                var sty = "";
        for (val in this.frame) {
                     sty += val +":"+ this.frame[val]+";";
                }
                     this.module = document.createElement("DIV");
                     this.module.setAttribute("align","center");
                     this.module.setAttribute("style",""+sty+"");
                     this.module.innerHTML = "<iframe frameborder='"+this.style.border+"' width='"+this.style.width+"' height='"+this.style.mainheight+"' src='http://"+this.cbox.source+".cbox.ws/box/?boxid="+this.cbox.boxid+"&boxtag="+this.cbox.boxtag+"&sec=main' marginheight='2' marginwidth='2' scrolling='auto' allowtransparency='yes' name='cboxers' id='cboxers' style=\"border:#000000 1px solid;\"></iframe>"+
                                             "<br><form name='chat' width='"+this.style.width+"' target='cboxers' action='http://"+this.cbox.source+".cbox.ws/box/?boxid="+this.cbox.boxid+"&boxtag="+this.cbox.boxtag+"&sec=submit' method='post'>"+
                                             "<input type='hidden' name='nme' value='"+pageViewerFName+"'><input type='hidden' name='eml' value='http://"+pageViewerFName+".multiply.com/'>"+
                                             "<textarea style='overflow:hidden' class='cboxMsgArea' cols='"+this.textarea.cols+"' rows='"+this.textarea.rows+"' name='pst'></textarea><br />"+
                                             "<input type='submit' class='cboxButtons' value='Post' name='asa' onmouseover=\"this.className='cboxButtons cboxButtonshov'\" onmouseout=\"this.className='cboxButtons'\">"+
                                             "<input class='cboxButtons' type='reset' value='Clear' onClick='reset()' onmouseover=\"this.className='cboxButtons cboxButtonshov'\" onmouseout=\"this.className='cboxButtons'\">"+
                                             "<input type='button' class='cboxButtons' value='Reload' name='cboxers' onClick='window.cboxers.location.href=document.getElementById(\"cboxers\").src' onmouseover=\"this.className='cboxButtons cboxButtonshov'\" onmouseout=\"this.className='cboxButtons'\"></form>";
                     document.getElementById("rail").appendChild(this.module);
        }

};

/* END CHATBOX OBJECT */

What part shall you edit?

Uhmm.. Look for this part..

cbox: {
                source: "www4",
                boxid: "1234567",
                boxtag: "8910"
        },

Edit your it to your own code in CBox. Coz those digits are not yours LOL.
You can also edit the styles... =)
Save it in your JS File.

Enjoy! :eh:


If the chatbox doesn't appear:

1.) Check if your boxtag, source, and boxid are all correct
2.) Check that you don't have a code like this in your CSS

Code:

.iframe {display:none}

Instead... use this..

Code:

div.ads iframe{display:none!Important}

3.) Just post any problems here. :wallbash:

Just click the Preview above to check if it's working.. Just checked it in IE6+ and FF2+

Goodnight. :drool:

Last edited by xavierkym (2008-01-10 01:55:37)


#2  2008-01-08 00:35:43

ezil2007
» Moderator
ezil2007's display avatar
Loomis Etlune
Class-S
Location: Neo Venezia
Registered: 2007-06-28
Posts: 4017
Last visit: Today
Reputation: 31

Re: Now in Antiposer CBOX (SideBar)

Thanks xave , nice new structure/style of that cbox code.. :)



Embrace each morning as your last, so you may die in the evening free of regret.

#3  2008-01-08 00:49:48

xavierkym
» Retired Moderator
The Sinister
Class-S
Location: London, England
Registered: 2007-06-10
Posts: 5370
Reputation: 129
Friendster

Re: Now in Antiposer CBOX (SideBar)

Haha.. Coz I'm oweiz amazed on Feruzz's way of coding.. I just studied i in few hours.. And I got the concept.. =)

It also makes the editing easier for newbies. =) Am I right? :D


#4  2008-01-08 01:16:30

ezil2007
» Moderator
ezil2007's display avatar
Loomis Etlune
Class-S
Location: Neo Venezia
Registered: 2007-06-28
Posts: 4017
Last visit: Today
Reputation: 31

Re: Now in Antiposer CBOX (SideBar)

Yes... and not for newbies but for all. :)



Embrace each morning as your last, so you may die in the evening free of regret.

#5  2008-01-08 06:04:35

dale
» Moderator
dale's display avatar
Clique Mee
Location: G.Lagro.subd.
Registered: 2007-05-24
Posts: 7196
Last visit: 2008-11-29
Reputation: 67
Friendster

Re: Now in Antiposer CBOX (SideBar)

thanks xave.. :cool:


#6  2008-01-08 09:03:49

emokiztah
» FriendsterManiac
emokiztah's display avatar
this conversation is over
Location: Cebu City
Registered: 2007-08-06
Posts: 805
Last visit: 2008-06-28
Reputation: ~
???

Re: Now in Antiposer CBOX (SideBar)

amazing tnx for sharing the code




My flesh is burning from the embers but still the brilliant tale of my utopia survives, beg me to make this easier and listen as my hopeless cries send stares into your meaningless eyes, a beautiful last goodbye.

#7  2008-01-08 11:06:48

kryzzia_08
» FriendsterAddict
kryzzia_08's display avatar
woot?
Registered: 2007-07-07
Posts: 328
Last visit: Yesterday
Reputation: 7

Re: Now in Antiposer CBOX (SideBar)

thx for sharing^^  :thumbsup:  :thumbsup:

#8  2008-01-08 12:26:33

Lyas-rowkz
» Moderator
Lyas-rowkz's display avatar
Location: Mesia ♥
Registered: 2007-11-27
Posts: 10507
Reputation: 100
Friendster

Re: Now in Antiposer CBOX (SideBar)

thx xave..
i will use it.. :eh:  :thumbsup:  :thumbsup:



| p/s: i love you :P |

#9  2008-01-08 15:32:13

karuro72002
» Promoter
karuro72002's display avatar
My Monster Cousin! ^^
Class-S
Registered: 2007-05-02
Posts: 4041
Reputation: 111

Re: Now in Antiposer CBOX (SideBar)

nice thanks Pekz...ahahah ill try this! XD




physical is the Illusion

#10  2008-01-08 15:35:09

Ellakoi
» FriendsterTalker
Ellakoi's display avatar
Do you feel better now?:D
Laymakers Society
Location: 643-KSW
Registered: 2007-09-26
Posts: 247
Last visit: 2008-11-12
Reputation: 1

Re: Now in Antiposer CBOX (SideBar)

Wow~
Thanks for sharing!



#11  2008-01-08 16:41:13

Ranran
» Cursed Member
Ranran's display avatar
Registered: 2008-01-01
Posts: 67
Last visit: 2008-01-09
Reputation: -1

Re: Now in Antiposer CBOX (SideBar)

thanks for sharing. ;d

#12  2008-01-08 17:24:10

karuro72002
» Promoter
karuro72002's display avatar
My Monster Cousin! ^^
Class-S
Registered: 2007-05-02
Posts: 4041
Reputation: 111

Re: Now in Antiposer CBOX (SideBar)

OFFTOPIC:BTW pipol! this section & threads are just new...avoid spamming & posting single words okay?!XD

TOPIC:Thanks for the share, nice having you here




physical is the Illusion

#13  2008-01-08 17:25:22

xavierkym
» Retired Moderator
The Sinister
Class-S
Location: London, England
Registered: 2007-06-10
Posts: 5370
Reputation: 129
Friendster

Re: Now in Antiposer CBOX (SideBar)

Haha. Other than CBox you can also put mp3 and other stuffs. I'll make a thread later. =)


#14  2008-01-08 17:38:39

karuro72002
» Promoter
karuro72002's display avatar
My Monster Cousin! ^^
Class-S
Registered: 2007-05-02
Posts: 4041
Reputation: 111

Re: Now in Antiposer CBOX (SideBar)

^gud...ill add mine too...later! ahahahha XD




physical is the Illusion

#15  2008-01-09 07:21:50

sahabat.peterpan
» SuperFriendster
sahabat.peterpan's display avatar
Rockstars
Registered: 2007-10-31
Posts: 8431
Reputation: 58

Re: Now in Antiposer CBOX (SideBar)

thanks sir Xave  :cool:  :thumbsup:


#16  2008-01-09 13:30:51

Ephemeral
» Moderator
Ephemeral's display avatar
L'Interdit
Class-S
Location: Perdido Paraíso
Registered: 2006-10-20
Posts: 10253
Reputation: 281
Friendster

Re: Now in Antiposer CBOX (SideBar)

This will solve the hide ads iframe problem...

Code:

.railbody iframe {display:none!Important}

Hides the iframe on rail but will keep chatbox due to the addbox function is added in the railend  =D  :thumbsup:


#17  2008-01-09 15:36:16

karuro72002
» Promoter
karuro72002's display avatar
My Monster Cousin! ^^
Class-S
Registered: 2007-05-02
Posts: 4041
Reputation: 111

Re: Now in Antiposer CBOX (SideBar)

^thanks ephe for adding those codes! :D




physical is the Illusion

#18  2008-01-09 15:50:39

xavierkym
» Retired Moderator
The Sinister
Class-S
Location: London, England
Registered: 2007-06-10
Posts: 5370
Reputation: 129
Friendster

Re: Now in Antiposer CBOX (SideBar)

Ephemeral wrote:

This will solve the hide ads iframe problem...

Code:

.railbody iframe {display:none!Important}

Hides the iframe on rail but will keep chatbox due to the addbox function is added in the railend  =D  :thumbsup:

Uhmm not sure if that will work bro.. :wallbash:
Hehe.. Because the cbox also belongs to the railbody ..
But I think it will work.. I'll try. =)


edited....

Just viewed the source of Multiply and saw that a new div class for advertisement has been added :o
So now, we can hide the ads :D :thumbsup:

Code:

div.ads iframe {display:none!Important}

That's in your CSS

Last edited by xavierkym (2008-01-09 18:26:17)


#19  2008-01-09 23:18:25

Ephemeral
» Moderator
Ephemeral's display avatar
L'Interdit
Class-S
Location: Perdido Paraíso
Registered: 2006-10-20
Posts: 10253
Reputation: 281
Friendster

Re: Now in Antiposer CBOX (SideBar)

^ahh ok  =)

Anyway I tried

Code:

.railbody iframe {display:none!Important}

in my multiply and works well hehe, it works due to specific allocation

your code ads on rail and the advertisements shows up on railbody area.  =D


#20  2008-01-10 01:51:35

xavierkym
» Retired Moderator
The Sinister
Class-S
Location: London, England
Registered: 2007-06-10
Posts: 5370
Reputation: 129
Friendster

Re: Now in Antiposer CBOX (SideBar)

Now in Antiposer CBox with the Viewer's URL. =)


  • Multiply
  •  » Now in Antiposer CBOX (SideBar)

Search Friendstertalk

Moderated by Ephemeral, blurrycloud, dale

Board footer

FriendsterTalk is not affiliated with Friendster.com
Copyright © 2002–2008 PunBB

[ 28 queries - 0.565 second ]

Pay Per Click Ads by pay per click advertising by Kontera

FriendsterTalk.com x

Welcome to FriendsterTalk! You'll need to login in order to fully use all the features and view all the sections of this site.

Please register if you're not yet a member. =)