friendsterTalk - Friendster Forum

friendsterTalk - Friendster Forum

Welcome guest! Please Login or Register.

  • JavaScript
  •  » AntiPoser Cbox With Smilies Updated 14 Sep

#1  2007-08-13 10:05:59

Rushdiey
» FriendsterNewbie
FF 3 vs IE 8
Location: UnDeRgRoUnD
Registered: 2007-04-27
Posts: 67
Last visit: 2008-10-12
Reputation: ~
Friendster

AntiPoser Cbox With Smilies Updated 14 Sep

Go to http://h1.ripway.com/Pre5h/Generator.htm
For Generator
Update 14 September v1.2
Make Generator

Update 28 August v1.1.1
Make Sample of Url Image

Update 19 August v1.1
Now Works IE4+ and FF1+
Change Open/Close With Smilies Only
Fixed The Link Cannot Show When Post
Change CboxTag & CboxId Instead My Code
Change Name To Antiposer Instead Antispam

Put This Below On JScript

Code:

function showForm()
{
    var div = document.getElementById("hide");
    var show = document.getElementById("show");
    var close = document.getElementById("close");
        
    if(div.style.display!="none")
    {
        hideForm();
    }
    else
    {
        div.style.display = "block";
        show.style.display = "none";
        close.style.display = "block";
    }
}
function hideForm()
{
    var div = document.getElementById("hide");
    var show = document.getElementById("show");
    var close = document.getElementById("close");
    
    div.style.display = "none";
    show.style.display = "block";
    close.style.display = "none";
}

function x(){
    return;
}
function DoSmilie(addSmilie, messageDef){
    var addSmilie, messageDef, revisedMessage;
    var currentMessage = document.cbox.pst.value;
    if(currentMessage==messageDef){currentMessage='';}
    revisedMessage = currentMessage+addSmilie;
    document.cbox.pst.value=revisedMessage;
    document.cbox.pst.focus();
    return;
}

And Paste This

Code:

<a href=\"javascript:DoSmilie('SMILIES CODE')\"><img src='URL OF SMILIES IMG'>

Sample SMILIES CODE is :) or whatever u want
Sample URL OF SMILIES IMG is
http://cbox.ws/smilies/1/smile.gif Blue
http://cbox.ws/smilies/2/smile.gif Orange
http://cbox.ws/smilies/3/smile.gif Yellow

Sample

Code:

if (!attachOnLoadHandler(function(){antiposer()})) parent.onload = function(){antiposer()};
function attachOnLoadHandler(func){
if(parent.attachEvent){

//win 5.0-6.0
parent.attachEvent('onload',func);       
return true;}   
if(parent.addEventListener){

//moz,opera & safari
parent.addEventListener('load',func,false);       
return true;}   
return false;}  

function antiposer() {
var cbox="<div align='center' id='cboxdiv'>"+
"<iframe frameborder='0' width='100%' height='300' src='http://WWW.cbox.ws/box/?boxid=CBOXID&boxtag=CBOXTAG&sec=main' marginheight='2' marginwidth='2' scrolling='auto' allowtransparency='yes' name='sbox' id='sbox'></iframe><br/>"+
"<form name='cbox' method='post' target='sbox' action='http://WWW.cbox.ws/box/?boxid=CBOXID&boxtag=CBOXTAG&sec=submit'>"+
"<input type='hidden' name='nme' value='"+pageViewerFName+"'>"+
"<input type='hidden' name='eml' value='http://www.friendster.com/"+pageViewerID+"'>"+
"<input type='text' name='pst' class='cboxMsgArea'><br>"+
"<input type='submit' class='cboxButtons' value='Send' target='sbox' name='sub'>"+
"<input type='reset' class='cboxButtons' value='Clear' maxlength='25'><br>"+
"<div id='show' style='display: inline'><a href='javascript:showForm()' title='Open Smilies Menu'>Smilies</a></div>"+
"<div id='close' style='display: none'><a href='javascript:showForm()' title='Close Smilies Menu'>Smilies</a></div>"+
"<div id='hide' style='display: none'>"+
"<table width='100%' border='0'><td align='center'>"+
"<a href=\"javascript:DoSmilie(':SMILIES CODE:')\"><img src='URL OF IMAGE'></a>"+
"</td></div></tr></table></form></div>";
addSideBar(pageOwnerFName+"'s Chatbox",cbox,"ul_cbox_content");}

function addSideBar(head,htm,div_id) {
var innerHtm=htm;
var cont="<div id='"+div_id+"' class='commonbox "+div_id+"'>"+
"<h2>"+head+"</h2>"+
"<div id='content_"+div_id+"'>"+
innerHtm+
"</div>"+
"</div>";
try {
var obj=document.createElement("<li>");
} catch(e) {
var obj=document.createElement("li");
}
var x=document.getElementById("2");
x.parentNode.parentNode.appendChild(obj);
obj.innerHTML=cont;
}

CBOXTAG - YOUR CBOXTAG
CBOXID - YOUR CBOXID
SEE SAMPLE AT WWW.FRIENDSTER.COM/RUSHDIEY

Last edited by Ephemeral (2008-03-02 03:17:49)

#2  2007-08-19 09:14:31

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: AntiPoser Cbox With Smilies Updated 14 Sep

how about for IE:paranoid:

Last edited by dale (2007-08-19 09:14:53)


#3  2007-08-20 06:24:11

Rushdiey
» FriendsterNewbie
FF 3 vs IE 8
Location: UnDeRgRoUnD
Registered: 2007-04-27
Posts: 67
Last visit: 2008-10-12
Reputation: ~
Friendster

Re: AntiPoser Cbox With Smilies Updated 14 Sep

it also work on ie

#4  2007-08-20 07:13:53

rexis28
» FriendsterAddict
rexis28's display avatar
Certified Lazy . . .
Location: Philippines
Registered: 2007-05-15
Posts: 346
Last visit: 2008-11-29
Reputation: ~
Friendster

Re: AntiPoser Cbox With Smilies Updated 14 Sep

Is this code working on the Anti-poster cbox on ShoutoutBOx???




#5  2007-08-20 15:49:41

feruzz
» Retired Moderator
feruzz's display avatar
X-Mod
Class-S
Location: Malaysia
Registered: 2007-02-18
Posts: 8262
Reputation: 134
???

Re: AntiPoser Cbox With Smilies Updated 14 Sep

what does antiposer mean? pls answer my question

#6  2007-08-20 19:44:04

shakiro214
» FriendsterGeek
shakiro214's display avatar
[ Epik WinRawr ]
Class-S
Location: al rescate~! >.<
Registered: 2007-08-12
Posts: 1390
Reputation: 101
Friendster

Re: AntiPoser Cbox With Smilies Updated 14 Sep

I had a really really sort of hard time implementing this code  :lol:  bcoz I already had an addbox feature for a regular cbox.  In the end, i still found my conflicts.  great code!  :thumbsup:  I like the smilies box feature at the bottom.  mine has a dancing bananana.  :lol:

for the form, i needed to add an index.php?and my www has a 2 after it.

e.g.

Code:

http://www2.cbox.ws/box/index.php?boxid=BOXID=BOXTAG&sec=submit

as for the form main i used cboxes normal code since it wouldn't appear, then just changed the class & id to "sbox"

e.g.

Code:

"<iframe frameborder='0' width='300' height='290' src='http://www2.cbox.ws/box/?boxid=BOXID&amp;boxtag=BOXTAG&amp;sec=main' marginheight='2' marginwidth='2' scrolling='auto' allowtransparency='yes' name='sbox' style='border:#333333 1px solid;' id='sbox'></iframe><br/>"+

btw, the anti-poser mechanism only works for regular viewer names.  It won't work with names with special characters in it  (e.g. ` ` ` Shakiro)  It doesnt work on mine anyways.


#7  2007-08-21 04:43:24

jagcopra
» FriendsterAddict
jagcopra's display avatar
Let me guess??
Location: Where I belong..
Registered: 2007-03-14
Posts: 572
Last visit: 2008-11-13
Reputation: 4

Re: AntiPoser Cbox With Smilies Updated 14 Sep

feruzz wrote:

what does antiposer mean? pls answer my question

antiposer means, no one gonna post another person instead of him/herself. example, If ephe have no antiposer cbox. I can type feruzz on ephe's page and act like i am really feruzz.. if he does have an antiposer, my friendster name will be posted in name and cannot be changed.. thats the beauty of it.. =3


Get Firefox now!
Features:
>Tabbed browsing make reading webpages easier.
>It's more secure against viruses and spyware
>It keeps Microsoft from controlling the future of the internet
>It's better for web designers and developers

#8  2007-08-21 21:37:32

cip6192
» Promoter
cip6192's display avatar
[ Plaifer Cipher ]
Class-S
Location: Nagareyama, Chiba
Registered: 2007-05-13
Posts: 1553
Last visit: 2008-08-06
Reputation: 7
Friendster

Re: AntiPoser Cbox With Smilies Updated 14 Sep

i like this code you don't need pop ups to use smilies, it will appear automatically at the bottom of your cbox if you like it to appear at the bottom its up to you lol, then when i click a smilie it will automatically add it in the text form.

good job  :thumbsup:


#9  2007-08-22 04:51:32

parlay
» FriendsterGeek
parlay's display avatar
The (un)special One
Location: East Siberia
Registered: 2007-05-28
Posts: 1045
Last visit: 2008-09-11
Reputation: 18
Friendster

Re: AntiPoser Cbox With Smilies Updated 14 Sep

i use a popup page for smilies
can this code implemented to it

#10  2007-08-22 11:11:13

feruzz
» Retired Moderator
feruzz's display avatar
X-Mod
Class-S
Location: Malaysia
Registered: 2007-02-18
Posts: 8262
Reputation: 134
???

Re: AntiPoser Cbox With Smilies Updated 14 Sep

jagcopra wrote:

antiposer means, no one gonna post another person instead of him/herself. example, If ephe have no antiposer cbox. I can type feruzz on ephe's page and act like i am really feruzz.. if he does have an antiposer, my friendster name will be posted in name and cannot be changed.. thats the beauty of it.. =3

thank you for your info  :)

#11  2007-08-23 01:38:05

uzie
» FriendsterNewbie
Registered: 2007-08-20
Posts: 8
Last visit: 2007-08-26
Reputation: ~

Re: AntiPoser Cbox With Smilies Updated 14 Sep

hi room..its all screw up after i added YM offline/online on my profile..suddenly my WVM is gone and never come back.. :crybaby:  well..any other way i've been tryin to get it back but never does..anyone help me pls? how to put cbox anti-poser, YM offline/online sign and WVM in my profile properly??well the other unnecessary but make nicer profile too such as map location etc if you hav it..THX THX a lot 4 helpin me..
this is my FS id: 13521577
my YM : dazzlefun13

#12  2007-08-25 03:58:35

loquitor
» FriendsterElite
loquitor's display avatar
Location: Biovalley
Registered: 2007-07-19
Posts: 4462
Last visit: 2008-11-13
Reputation: 12

Re: AntiPoser Cbox With Smilies Updated 14 Sep

<img src='URL OF SMILIES IMG'>

where to get this thingy?



"Kelate The Best There Is, The Best There Was & The Best There Ever Will Be"

#13  2007-08-25 05:41:30

Rushdiey
» FriendsterNewbie
FF 3 vs IE 8
Location: UnDeRgRoUnD
Registered: 2007-04-27
Posts: 67
Last visit: 2008-10-12
Reputation: ~
Friendster

Re: AntiPoser Cbox With Smilies Updated 14 Sep

u can get the image by clicking properties on the image
in your cbox

#14  2007-08-25 13:56:24

beacalceta
» FriendsterNewbie
Registered: 2007-08-05
Posts: 1
Last visit: 2008-07-06
Reputation: ~

Re: AntiPoser Cbox With Smilies Updated 14 Sep

where can i find the CBOXTAG and CBOXID?
sorry..i am quite confused..

#15  2007-08-27 07:37:02

Rushdiey
» FriendsterNewbie
FF 3 vs IE 8
Location: UnDeRgRoUnD
Registered: 2007-04-27
Posts: 67
Last visit: 2008-10-12
Reputation: ~
Friendster

Re: AntiPoser Cbox With Smilies Updated 14 Sep

u can get by login it to cbox.ws

#16  2007-08-27 08:03:00

blueflux
» FriendsterTalker
Registered: 2007-07-30
Posts: 110
Last visit: 2007-11-07
Reputation: -1

Re: AntiPoser Cbox With Smilies Updated 14 Sep

Excuse me..IF my cbox is in my css, i mean not in my sidebar..all i need to do is put the above code in my javascript and it will take effect for the my cbox??

#17  2007-08-27 08:08:36

mdirwan
» FriendsterManiac
mdirwan's display avatar
Main kau burong!!
Location: Sandakan, Sabah MY
Registered: 2007-05-18
Posts: 941
Last visit: 2008-11-26
Reputation: 7
Friendster

Re: AntiPoser Cbox With Smilies Updated 14 Sep

huhu.. CSS?


#18  2007-08-27 08:17:06

blueflux
» FriendsterTalker
Registered: 2007-07-30
Posts: 110
Last visit: 2007-11-07
Reputation: -1

Re: AntiPoser Cbox With Smilies Updated 14 Sep

nah,,need to correct that.. i mean my cbox is just purely embeded in my media box..and not in my WVM or not as part of JS for sidebar...will this code work..? Or just for the cbox in sidebars???

#19  2007-08-27 15:47:03

loquitor
» FriendsterElite
loquitor's display avatar
Location: Biovalley
Registered: 2007-07-19
Posts: 4462
Last visit: 2008-11-13
Reputation: 12

Re: AntiPoser Cbox With Smilies Updated 14 Sep

Code:

<img src='URL OF SMILIES IMG'>

sample plz!!!  :)



"Kelate The Best There Is, The Best There Was & The Best There Ever Will Be"

#20  2007-08-29 07:54:16

Rushdiey
» FriendsterNewbie
FF 3 vs IE 8
Location: UnDeRgRoUnD
Registered: 2007-04-27
Posts: 67
Last visit: 2008-10-12
Reputation: ~
Friendster

Re: AntiPoser Cbox With Smilies Updated 14 Sep

loquitor wrote:

Code:

<img src='URL OF SMILIES IMG'>

sample plz!!!  :)

u can view my first reply

  • JavaScript
  •  » AntiPoser Cbox With Smilies Updated 14 Sep

Search Friendstertalk

Board footer

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

[ 28 queries - 0.930 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. =)