PDA

View Full Version : Help With Html Needed



drumgodmaggott
09-24-2007, 02:44 PM
ight so i took mike and smartfools advice and went 2 the online school and ive actually learned how 2 write basic things with html

my problem is that i made a perfectly good qwhore code with dropboxes and piture link 2 my myspace and it all worked on w*schools but when i posted it in a bulliten on myspace the pic didnt show up and the color codes didnt work...

why is this happenng when myspace is basically all html xhtml xml and ccs codes???

if anyone can help lemme kno and i saved the code so i can show u it if needed

Moonbat
09-24-2007, 03:21 PM
Err, can you post your code?

BTW, Vbulletin uses BBcode, not HTML.

drumgodmaggott
09-24-2007, 04:50 PM
yea heres the code

<html>
<body>
<p style="color:red"<I><b>ADD WILL</p>
<a href="http://collect.myspace.com/index.cfm?fuseaction=invite.addfriend_verify&friendID=4*5577*0&MyToken=b6bc6845-ec66-425a-*62d-da62**566*7*">
<img border="0" src="newhure*.jpg" width="*00" height="*50">
</a>
<br>
<p style="color:red"<i><B>CLICK PICTURE TO ADD</p>



<P style="color:blue"<i><b> REASONS TO ADD</P>
<form action="">
<select name="reasons to add">
<option value="hes funny"> hes funny</option>
<option value="hes random">hes random</option>
<option value="hes just awesome yo">hes just awesome yo</option>
<option value="he will W4W"> he will W4W</option>
<option value=" he will PC4PC"> he will PC4PC</option>
<option value=" he knows how to use HTML,XHTML,XML,AND CCS CODES"> he knows how to use HTML,XHTML,XML,AND CCS CODES</option>
<br>
</select>
</form>

<p style="color:blue"<i><b> REASONS NOT TO ADD</p>
<form action="">
<select name="reasons not to add">
<option value="there isnt any reaon not to add">there isnt any reason not to add</option>
<option value="there isnt any reaon not to add">there isnt any reason not to add</option>
<option value="there isnt any reaon not to add">there isnt any reason not to add</option>
<option value="there isnt any reaon not to add">there isnt any reason not to add</option>
<option value="there isnt any reaon not to add">there isnt any reason not to add</option>
<option value="there isnt any reaon not to add">there isnt any reason not to add</option>
</select>
</form>
<p style="color:red" <i><b> ****** TO WILL FOR MAKING THIS FOR HIMSELF </P>


</body>
</html>

and does myspace use vbulletin??

SyntaXmasteR
09-24-2007, 11:14 PM
drumgodmaggott

Took a look at it for a couple seconds and a few red flags went up.

*. You forgot to close all of your paragraph, bold, and italic tags <p><b><i>. You open them, but forgot to close them:
YOUR CODE


<p style="color:red"<I><b>ADD WILL</p>

CORRECTED CODE


<p style="color:red"><I><b>ADD WILL</b></i></p>

MY VERSION USING ONLY STYLE ATTRIBUTE


<p style="color:#FF0000; font-style:italic; font-weight:bold;">ADD WILL</p>


2. Your forms action and method are left blank. You need to specify both. The action should be the page you want to submit the data to. Ex: index.php
YOUR CODE


<form action="">

CORRECTED CODE


<form action="index.php" method="get">

You can use "get" or "post" methods when creating a form. Not a really big difference except "get" variables are visible in the url and post variables are not. I think "get" has a smaller limit of bytes that can be transfered through the url than the "post" method.

*. Your image is not showing up because the path to it changes as soon as you move the html to myspace.com. It works fine on your local machine because you have the image newhure.jpg sitting in the same folder as the html file you created. If you move that image anywhere else, it will not show up. You can easily change to code to reflect this:

YOUR CODE


<img border="0" src="newhure*.jpg" width="*00" height="*50">


CORRECTED CODE


<img border="0" src="http://www.myspace.com/where/ever/your/file/is/located/newhure*.jpg" width="*00" height="*50">


This should help you get started.

SyntaX

Ezekiel
09-25-2007, 03:27 AM
Relative and absolute paths -- can be hard to grasp in the early stages of learning.

Syntax pretty much said it all, so what he said.

Moonbat
09-25-2007, 05:42 AM
drumgodmaggot, if you're just learning the ins and outs of HTML, I wouldn't s***est doing forms, least for now. In order to forms to have any useful purpose, you need to learn another language known as PHP, which, if you haven't learned HTML really well, will be a huge challenge.

Try to learn a good bit more about HTML (tables, titles, etc.) then come back to forms.

drumgodmaggott
09-25-2007, 02:42 PM
oooo ok i knew something was weird about the bold and italics thknx i forgot 2 close them...

i looked at php and it was like crazy hard 2 understand

i hope 2 learn all the languages eventually

i tyhought that a whore code for myspace wouldnt be that hard but i guess i was wrong

so would this revised code work??

<html>
<body>
<p style="color:red"<I><b>ADD WILL</i></b></p>
<a href="http://collect.myspace.com/index.cfm?fuseaction=invite.addfriend_verify&friendID=4*5577*0&MyToken=b6bc6845-ec66-425a-*62d-da62**566*7*">
<img border="0" src="http://viewmorepics.myspace.com/index.cfm?fuseaction=viewImage&friendID=4*5577*0&albumID=*0*6*04&imageID=*5*27722" width="*00" height="*50">
</a>
<br>
<p style="color:red"<i><B>CLICK PICTURE TO ADD</i></b></p>



<P style="color:blue"<i><b> REASONS TO ADD</i></b></P>
<form action="index.php" method="get">
<select name="reasons to add">
<option value="hes funny"> hes funny</option>
<option value="hes random">hes random</option>
<option value="hes just awesome yo">hes just awesome yo</option>
<option value="he will W4W"> he will W4W</option>
<option value=" he will PC4PC"> he will PC4PC</option>
<option value=" he knows how to use HTML,XHTML,XML,AND CCS CODES"> he knows how to use HTML,XHTML,XML,AND CCS CODES</option>
<br>
</select>
</form>

<p style="color:blue"<i><b> REASONS NOT TO ADD</i></b></p>
<form action="index.php" method="get">
<select name="reasons not to add">
<option value="there isnt any reaon not to add">there isnt any reason not to add</option>
<option value="there isnt any reaon not to add">there isnt any reason not to add</option>
<option value="there isnt any reaon not to add">there isnt any reason not to add</option>
<option value="there isnt any reaon not to add">there isnt any reason not to add</option>
<option value="there isnt any reaon not to add">there isnt any reason not to add</option>
<option value="there isnt any reaon not to add">there isnt any reason not to add</option>
</select>
</form>
<p style="color:red" <i><b> ****** TO WILL FOR MAKING THIS FOR HIMSELF </i></b></P>


</body>
</html>

SyntaXmasteR
09-25-2007, 04:41 PM
:cool:

Close. You did not open your paragraph tag correctly!
THIS IS WRONG


<p style="color:blue"

THIS IS RIGHT


<p style="color:blue">


I know this is probably over your head at this point and might be meaningless but never put spaces in the names or values of form elements. Example:


<select name="reasons to add">


This will make the url very messy because a space will turn into &#*7;20 in the url. This represents the hexadecimal value. Use "friendly" names such as this:


<select name="reasons_to_add">


When you do learn php you will simply grab the variable name in the file index.php


if(isset($_GET['reasons_to_add'])){ DO THIS }else{ DO THIS }

drumgodmaggott
09-25-2007, 06:57 PM
ok i changed it and also put the underscore instead of spaces ima go try it out


thknx a lot

Ezekiel
09-26-2007, 03:17 AM
:cool:

Close. You did not open your paragraph tag correctly!
THIS IS WRONG


<p style="color:blue"

THIS IS RIGHT


<p style="color:blue">


The style attribute should have a semicolon after each statement as well, i.e. "color: blue;".


I know this is probably over your head at this point and might be meaningless but never put spaces in the names or values of form elements. Example:


<select name="reasons to add">


This will make the url very messy because a space will turn into %20 in the url. This represents the hexadecimal value. Use "friendly" names such as this:


<select name="reasons_to_add">


When you do learn php you will simply grab the variable name in the file index.php


if(isset($_GET['reasons_to_add'])){ DO THIS }else{ DO THIS }


If he used POST it wouldn't be such a problem, but this is good practise anyway.

drumgodmaggott
09-26-2007, 02:45 PM
whut do u mean by post??

did u mean using post as your method instead of using get??

Ezekiel
09-26-2007, 02:52 PM
whut do u mean by post??

did u mean using post as your method instead of using get??

Yeah.

&#82*;&#82*;&#82*;&#82*;&#82*;&#82*;&#82*;

drumgodmaggott
09-26-2007, 03:24 PM
i replaced it and ive made all the changes that were needen but it still wont post in myspaces bullitens

i can put it on my page and everything will work except the color and pic but thats still gay lol

maybe i shud just start simple and work my way up 2 whore codes

Ezekiel
09-26-2007, 03:43 PM
maybe i shud just start simple and work my way up 2 whore codes

Whore codes?

o_O

I knew Myspace was bad, but lowering itself to the level of prostitution...

drumgodmaggott
09-27-2007, 05:36 PM
a they call it whore codes and whore trains because they get u a lot of frends by posting them.. almost like how a whore has a lot of ********s whorecodes get you a lot of frends on myspace

but yea apperentley myspace wont allow my drop boxes so i took them out...

the only problem i am finding now is that it will italicize and bold words but it wont change the font color its just left black

Moonbat
09-27-2007, 08:07 PM
Due to many XSS vulnerabilities, MySpace had to patch up and/or disable a lot of HTML tags for users. That's probably why your code isn't working.

drumgodmaggott
09-28-2007, 06:16 PM
Due to many XSS vulnerabilities, MySpace had to patch up and/or disable a lot of HTML tags for users. That's probably why your code isn't working.

i found another color code and fixed the ccode and now it works fine

Ezekiel
09-29-2007, 04:07 AM
a they call it whore codes and whore trains because they get u a lot of frends by posting them.. almost like how a whore has a lot of ********s whorecodes get you a lot of frends on myspace


Yeah, but they're not really friends if they only added you due to spam.

drumgodmaggott
09-29-2007, 07:22 PM
Yeah, but they're not really friends if they only added you due to spam.


no its not spam ... ok heres whut happens u giv yur code 2 someone and they put it in a bulliten and other people open the bullitens and see u and if they want 2 add u then they can but if they dont want 2 asdd u then they dont

~~smart~fool~~
09-29-2007, 07:41 PM
no its not spam ... ok heres whut happens u giv yur code 2 someone and they put it in a bulliten and other people open the bullitens and see u and if they want 2 add u then they can but if they dont want 2 asdd u then they dont

You seriously need to speak english, you are either *2 yrs old or lazy. :p

Ezekiel
09-30-2007, 05:00 AM
no its not spam ... ok heres whut happens u giv yur code 2 someone and they put it in a bulliten and other people open the bullitens and see u and if they want 2 add u then they can but if they dont want 2 asdd u then they dont

That's still spam in my opinion.

It must get pretty frustrating to use Myspace when everyone is doing this.

drumgodmaggott
09-30-2007, 09:43 PM
That's still spam in my opinion.

It must get pretty frustrating to use Myspace when everyone is doing this.

nah not really because you dont have to open the bullitens all u see is someones screen name and their title to the post unless you open it