[u][b]Production: Class-S[/b][/u]

[b]Edited:[/b]
[i]Fixed some errors in firefox, i just disabled the onkeypress, to disabled the enter press at the keybord in the switch user form[/i]
[i]i edited some parts[/i]
[spoiler]
i removed this code
<">and i replaced it with this one
<">and i edited this part too ([i]just replace the black part[/i]):
[quote]<form name="searchForm"><input name="searchText" type="text" id="PasswordTextS" size="30" value="Friendster ID" onFocus="if (this.value == 'Friendster ID') this.value = '';" onBlur="if (this.value == '') this.value = 'Friendster ID';" onkeypress="[b]return disableEnterKey(event)[/b]"/><select name="whichEngine" style="background:#ffffff;display:none;"></select>[/quote]
remove the orange part:
[quote]<a href="#" class="login" onClick="checkPassword();[color=orange][b]document.getElementById('switchbutton').style.display='none';[/b][/color]" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Image63','','ARROWHOVER.PNG',1);"><img src="ARROW.PNG" name="Image63" width="35" height="35" border="0" id="Image63" /></a>[/quote]
and i moved the blue part to the red:
[quote]//function to check if the password entered is valid
function checkPassword(){
enteredPassword = document.getElementById('loginPassword').value;
if (enteredPassword == "YOUR PASSWORD"){
document.getElementById('myaccountlogin').style.display='none';
document.getElementById('loggingin').style.display='block';
[color=red]document.getElementById('switchbutton').style.display='none';[/color]
coolRedirect('http://profiles.friendster.com/user.php?uid=USERID');
}else{
alert('Wrong Password');
[color=blue]document.getElementById('switchbutton').style.display='none';[/color]
document.getElementById('hintpass').style.display='block';
}
}[/quote]
just edit what it said above

for those only who already tried the code.
[/spoiler]
Preview: [url]http://profiles.friendster.com/cip6192[/url]
[b]Objectives[/b]
to make your viewer log-in before he/she enters your profile.
you can switch which profile you must enter, just type the friendster id at the switch user form
[b]Credits[/b]
Tzarmaine - for the enter page trick :rose:
Google Search - for showing me the right thing
Friendstertalk Forum - for the post
IE and FF - for some little comparisson
Adobe Photoshop - for helping me with vista graphics
Keybord - i cant type without that

"[i]And i post this code to all of my age, for this are the questions we got to face, for in this cycle that we called tribes, we are the one who are next in dashed line[/i]"

wtf
okey lets start.......
[b]Step One:[/b]
put this code in your js file
[quote]var myplace = document.location.href;
if (myplace == "http://profiles.friendster.com/user.php?uid=[b]USERID[/b]"){
}
else if (myplace == "http://profiles.friendster.com/user.php?uid=[b]USERID[/b]"){
}
else {
location.href = "[b]LOGIN.HTML[/b]";
}[/quote]
we will edit the black text later......
[b]Step Two:[/b]
create a new text file in your ripway account name it [b]login.html[/b] then put this code:
<">edit the capitalize text that you can found in step one and step two codes
[u]in step one:[/u]
[b]USERID[/b] - your user id ([i]numbers only[/i])
[b]LOGIN.HTML[/b] - the url of your created html file [b]login.html[/b]
[u]in step two:[/u]
[b]USERID[/b] - your user id ([i]numbers only[/i])
[b]YOUR PASSWORD[/b] - your password for your login trick
[b]YOUR BACKGROUND URL[/b] - the background for your login page - 1152 X 750 resolution will fit or lower
[b]YOUR CURSOR URL[/b] - your cursor
[b]LOADING.GIF[/b] - the loading image before they can log in to your profile > [url=http://h1.ripway.com/cip6192/fs%20log%20in%20pack/loading.gif]Image here[/url]
[b]WINDOWSVISTALOGO.PNG[/b] - the logo that can be found at the top left of your screen > [url=http://h1.ripway.com/cip6192/fs%20log%20in%20pack/windowsvistalogo.png]Image here[/url]
[b]SWITCHBUTTONHOVES.PNG[/b] - the switch button when it hoves > [url=http://h1.ripway.com/cip6192/fs%20log%20in%20pack/switchbuttonhoves.png]Image here[/url]
[b]SWITCHBUTTON.PNG[/b] - the normal switch button > [url=http://h1.ripway.com/cip6192/fs%20log%20in%20pack/switchbutton.png]Image here[/url]
[b]ARROWHOVER.PNG[/b] - the arrow button when it hoves > [url=http://h1.ripway.com/cip6192/fs%20log%20in%20pack/arrowhover.png]Image here[/url]
[b]ARROW.PNG[/b] - the normal arrow button > [url=http://h1.ripway.com/cip6192/fs%20log%20in%20pack/arrow.png]Image here[/url]
[b]ADMINISTRATION.PNG[/b] - your avatar > [url=http://h1.ripway.com/cip6192/fs%20log%20in%20pack/Administration.png]Image here[/url]
[b]SWITCHUSERPIC.PNG[/b] - switch uder avatar > [url=http://h1.ripway.com/cip6192/fs%20log%20in%20pack/Switchuserpic.png]Image here[/url]
[b]ALERT.PNG[/b] - the triangle alert image when the password is wrong > [url=http://h1.ripway.com/cip6192/fs%20log%20in%20pack/alert.png]Image here[/url]
or if you want to upload it in your own heres the image pack(zip file) = [url=http://h1.ripway.com/cip6192/fs%20log%20in%20pack/FsLoginPack.zip]Download Here[/url]
done!!!

and btw... this trick is dedicated to miss bratinela of ftalk for her birthday

and the other birthday celebrants this coming june.
and god blessed to all ftalk members.
[b]Edited[/b]
heres the avatar collection from the avatars of yahoo messenger edited by adobe photoshop
[url=http://h1.ripway.com/cip6192/fs%20log%20in%20pack/avatars/avatar1.png]avatar1[/url] | [url=http://h1.ripway.com/cip6192/fs%20log%20in%20pack/avatars/avatar2.png]avatar2[/url] | [url=http://h1.ripway.com/cip6192/fs%20log%20in%20pack/avatars/avatar3.png]avatar3[/url] | [url=http://h1.ripway.com/cip6192/fs%20log%20in%20pack/avatars/avatar4.png]avatar4[/url] | [url=http://h1.ripway.com/cip6192/fs%20log%20in%20pack/avatars/avatar5.png]avatar5[/url] | [url=http://h1.ripway.com/cip6192/fs%20log%20in%20pack/avatars/avatar6.png]avatar6[/url] | [url=http://h1.ripway.com/cip6192/fs%20log%20in%20pack/avatars/avatar7.png]avatar7[/url] | [url=http://h1.ripway.com/cip6192/fs%20log%20in%20pack/avatars/avatar8.png]avatar8[/url] | [url=http://h1.ripway.com/cip6192/fs%20log%20in%20pack/avatars/avatar9.png]avatar9[/url] | [url=http://h1.ripway.com/cip6192/fs%20log%20in%20pack/avatars/avatar10.png]avatar10[/url] | [url=http://h1.ripway.com/cip6192/fs%20log%20in%20pack/avatars/avatar11.png]avatar11[/url]
Last edited by cip6192 (2008-06-01 11:54:10)