Product Page Coding Help -- Resolution has been announced!
Goto page 1, 2, 3 ... 18, 19, 20  Next
 
Post new topic   This topic is locked: you cannot edit posts or make replies.    IMVU Forum Index -> Homepage Building and Design
View previous topic :: View next topic  
Author Message

Moderator
IMVU Moderator BLINGALICIOUS! DA5 My "Thank you"! Not requestable! The Perpetual Family KD! The Badge Survivors Guide Registered Resellers Directory


Joined: 13 Mar 2007
Posts: 10138
Location: USA

PostPosted: Sat Jun 13, 2009 3:31 pm    Post subject: Product Page Coding Help -- Resolution has been announced! Reply with quote

The Product Detail Page Update has been announced! Check your product pages now to preview the resolution to this issue before it rolls out to the general users on July 15th. Thank you for your forbearance and all the assistance while this was being worked out.


We have started this thread to clarify and provide help for any confusion or difficulties arising from the recent Product Page Coding changes.

IMVU Blog wrote:
We have resolved the issue affecting Product Pages. We are now working on implementing a new policy for Product Pages that will ensure flexibility for our Creators as well as safety for everyone.

For now, all previously submitted Product Pages with dynamic content and JavaScript currently in the Product Catalog will continue to function. However, any new submissions or edits to existing Product Pages can no longer include any dynamic content. This may include code that you obtained from a third party website to customize your page, such as Youtube videos or JavaScript.

We will automatically reject product submissions that violate these terms, so you will know immediately if your page includes any dynamic content.

As mentioned above, this is not the final solution. We’re still working on a longer term policy that combines flexibility and safety, and we’ll make sure to keep you updated. Please be assured that any future changes should not result in issues similar to those experienced over the past few days.

Again, we truly apologize for the inconvenience caused by this issue, and we appreciate your patience as we worked to correct the issue.

Update with additional clarification:
To clarify for those of you requesting more explanation around what can no longer be used in your Product Pages, please see the good/bad examples below. The bad will result in your submission being rejected:

GOOD:
<img src=”http://www.myhost.com/this-is-good/please-do-this.jpg”>
<img src=”http://www.myhost.com/this is bad/do not use spaces.jpg”>

<style>
body, html {
background-image: url ('http://static.flickr.com/my_picture.jpg');
background-color: Black;
}

body, #product-details h1 {
color: White;
}

a:link {
color: White !important;
}
</style>

<A HREF=”http://avatars.imvu.com/shop/product.php?products_id=3633837″
TARGET=”_blank”><IMG
SRC=”http://farm4.static.flickr.com/3326/number_assigned_to_me.gif”
BORDER=”0″></A><br>

Animated gifs are okay!

BAD:

<img src=”http://www.myhost.com/this%20is%20bad/use%20spaces.jpg”>
(this is bad because it uses %20 instead of a real space.)

<script>
<object>
<iframe>
<embed>
<frame>
<frameset>
<applet>
<title>
<head>
<html>
<body>

Thank you,
Jami
Sr. Community Manager


Unravel wrote:
Rejected: Sad

Codes within double paragraphing
Code:
<p><b>This will be rejected</b>
<p> Sad</p>


Titles!

Code:
<title></title>
Attention to those who use Dreamweaver to code!


Heads!
Code:
<head></head>


HTML!
Code:
<html></html>


Body!
Code:
<body></body>


Embed
Code:
<embed></embed>
(No flash, Youtube or Slideshows)


Non-breaking Space
Code:
&nbsp;


&
Code:
&amp;


Frame and Framesets
Code:
<frame></frame>
<frameset></frameset>


Anything with Scripts
Code:
<script type="text/javascript">
</script>


Anything that Changes IMVU Page Scheme
(e.g. buttons, header...)


Meta Codes
Code:
<meta></meta>
(Also, you can't use words with the letters 'meta' in it)


%20
Any image code with %20
(Typing %20 without any codes will not work either)
Code:
<img src=”http://www.myhost.com/this%20is%20bad/use%20spaces.jpg”>


Object
Code:
<object></object>


Iframe Layouts

Code:
<iframe></iframe>


Applets
Code:
<applet></applet>








Accepted:
Very Happy

Image with widths
Code:
<img src="" width="***" height="***" />


Listing
Code:
<li>


Table Codes
Code:
<td></td>
<tr></tr>


Forms
Code:
          <form name="form" id="form">
            <select name="jumpMenu" id="jumpMenu" onchange="MM_jumpMenu('parent',this,0)">
                           <option value="http://www.imvu.com/shop/web_search.php?manufacturers_id=13121059" selected="selected">My Products</option>


Style Script for Text
Code:
<style type="text/css">
<!--
body,td,th {
   font-family: Verdana, Arial, Helvetica, sans-serif;
   font-size: 12px;
   color: #FFFFFF;
}
body {
   background-color: #000000;
   background-image: url(http://i392.photobucket.com/albums/pp4/millicentspears/imvu/pattern_28.gif);
   background-repeat: repeat;
   margin-left: 0px;
   margin-top: 0px;
   margin-right: 0px;
   margin-bottom: 0px;
}
a {
   font-size: 12px;
   color: #660000;
}
a:visited {
   color: #FFFFCC;
}
a:hover {
   color: #FF0000;
}
a:active {
   color: #FFFFCC;
}
a:link {
   color: #FFFFCC;
}
-->
</style>


IMVU Style + ('') URL Code
Code:
<style> #imvustylez_style {display: none;}
   body { background: url('sad.gif'); background-color: Black !important; }</style>


Paragraphing and Breaks
Code:
<p></p>
<br>



DarkAngel5 wrote:
Here is a useable product pic, page back ground and banner solution ***If you create folders in Photobucket and name them with a space you will get the 20%. Example "My Pictures" To avoid the 20% please do not name your Photobucket folders with spaces:

Those using websites that gen a code for you will need to learn how to code pages until IMVU gets the product page lay out ready for every level.

It’s very easy. Copy the code below. Save it. Use it to add pics. Each time you need to add a pic replace the old “direct link” with the new one.

<img src="Paste direct link here">




Page back grounds are really easy to. Host your desired background on photobucket. Save this code and direct link your picture code below.

Page backgrounds: <center><style>
body { background: url('Direct Link here'); }
.pageHeading { background: #ffffff; padding: 2px; border: 3px solid #000000; }
</style

Banners are done the same way. Just type your manufacturers id below and host your picture on photobucket then paste in your direct link.

Banners: <center><A HREF="http://www.imvu.com/catalog/index.php/manufacturers_id/PUT your number here" TARGET="_blank"><IMG SRC="Direct Link here "></A>


DelicateAutumnBloom wrote:
Also, here's the code for the try it button, thanks to Rudgar originally and Taterbugz for pointing me in the right direction.

Code:
<a id="tryitfurniture" href="imvu:PeerReview?mcg=0&pid=item#here" title="3D-Preview of this product - works even with rooms and furniture">
  <img src="uploadedTRYITbuttongifhere" alt="3D-Preview" />
</a>


Hellstrong wrote:

http://www.w3schools.com/ is a nice place to start.
Theres many ways to code the same result, familiarize yourself with the most effective ways


Will add more to this as we receive it.
_________________

Think twice before hotlinking images.


Last edited by on Tue Jul 14, 2009 9:07 pm; edited 5 times in total
Back to top
View user's profile Send private message  


IMVU Master Content Creator Badge The Sketchup users Badge Cass Credits (big)


Joined: 27 Oct 2007
Posts: 3206

PostPosted: Sat Jun 13, 2009 3:40 pm    Post subject: Reply with quote

Good post MinhyrdinWindrose =D

Also id like to say im almost done with my new salespage Gen =D
have some new feature on it too ^^
and its compatible with new imvu rules, well probably more layouts to come, keep an eye on group, site or homepage =D it will be up by tomorrow (unless i fall asleep and sleep all day long....)

oh and maybe handy for people that have trouble with some coding, this whas a try out when i had trouble submitting my salespages,
it got a lot of css in it, banner code, and stuff, so you can look at the source if you have trouble with one of those things to see an example
Salespage<--
Iframe<--
_________________

MY NAME DOES NOT HAVE A CAPITAL "S" ! !
Back to top
View user's profile Send private message  


Geo & Co Pty Ltd Lysa Payday Creations Loved! Realm of Shayaiden DAHRKSYDE Angel Hugs! Inferno Badge *Equal Opportunity for ALL Devs*


Joined: 31 May 2007
Posts: 162
Location: USA

PostPosted: Sat Jun 13, 2009 3:49 pm    Post subject: Reply with quote

Thank you very much, Min Smile Centralizing new information as it becomes available is a good thing!
_________________
Back to top
View user's profile Send private message  


Triad3 Silver Bling FXDesigns Fx World Of Designs Nymphadora74 grumpydwarf Dp TheTwitches Kikidee58 FanTasyWorlDoFDeSigN
58


Joined: 16 Mar 2007
Posts: 16
Location: New Zealand

PostPosted: Sat Jun 13, 2009 3:57 pm    Post subject: Reply with quote

Hellstrong wrote:
Good post MinhyrdinWindrose =D

Also id like to say im almost done with my new salespage Gen =D
have some new feature on it too ^^
and its compatible with new imvu rules, well probably more layouts to come, keep an eye on group, site or homepage =D it will be up by tomorrow (unless i fall asleep and sleep all day long....)

oh and maybe handy for people that have trouble with some coding, this whas a try out when i had trouble submitting my salespages,
it got a lot of css in it, banner code, and stuff, so you can look at the source if you have trouble with one of those things to see an example
Salespage<--
Iframe<--


Cant wait hellstrong Smile thank you
Back to top
View user's profile Send private message  


IMVU Stylez Girl Triad3 Silver Bling BB Bling Krissyangl2 Asian Designs Nan Titan Productions HairStore-For The Fun Of it xox Princess Piggy xox WWGinger LaLilianne


Joined: 02 Nov 2008
Posts: 2499
Location: USA

PostPosted: Sat Jun 13, 2009 4:23 pm    Post subject: Reply with quote

The following common codes are compliant XHTML and CSS codes according to World Wide Web Consortium (W3C) and will adhere to IMVU restrictions:

First off some of the No Nos (non-standard XHTML web-codes):
Code:

<center>

While centering will work it's bad form.
Code:

target="_blank"

Not compliant to W3C standards. Just tell people to press "shift + left click" to open a new tab or window.
Code:

<br /><br />

Instead use the <p>content here</p> paragraph tags for double spacing.
Code:

<img src="img_url_here">

While the above image code works, it is non-compliant to W3C standards. For proper image tag look down below and the examples. Smile

=====================
=====================

The Yes codes:

CSS:

The use of !important is used to override an existing code. It's not necessary for general CSS codes. Example:
Code:

<style type="css/text">
body {
background-color:#ff0000 !important;
}
</style>

Using "!important" will replace whatever background color that existed. Again, it's not necessary unless you're overriding a code.



Images with no borders:
Code:

<style type="text/css">
img {
border:0;
}
</style>

Background Color within Product Page (no image):
Code:

<style type="text/css">
body {
background-color:#000000;
}
</style>

#000000 = black. Change the value to another color.

Background image within the Product Page:
Code:

<style type="text/css">
body {
background:#000000 url(your_img_url_here) no-repeat top left;
}
</style>

#000000 = black. Change the value to another color.

no-repeat = Image will display one time. If you want it to repeat horizontally replace it with "repeat-x"; if vertically replace with "repeat-y"; to repeat horizontally and vertically replace with "repeat".

top left: Where the background image will start from. For complete list try w3schools.


=====================
=====================

Image:
Code:

<img src="your_img_url_here_no_spaces" alt="add_text_here" />

Image with Link:
Code:

<a href="your_url_here"><img src="your_img_url_here_no_spaces" alt="add_text_here" /></a>

Line break:
Code:

<br />


=====================
=====================

Div + CSS (basics):

Make use of the <div> tag whenever possible. It's less code than using <table> tags and recommended.

Example of a img code using <div>:

Code:

<div>
<img src="your_img_url_here_no_spaces" alt="add_text_here" />
</div>

*Note there is an opening and closing <div> tag.

Down below is an example how to apply a <div> tag with CSS:

The CSS:

Code:

<style type="text/css">
.text_here {
margin:0 auto;
text-align:center;
border:0;
}
</style>

Note the ".text_here". Using a specific name you can basically control elements of individual tags. The class names should not contain spaces.

With the attributes above, I'm telling the image to align center and without the "purple/bluish" border.

To complete the code here is the second half of it using <div> tags:

Code:

<div class="text_here">
<img src="your_img_url_here_no_spaces" alt="add_text_here" />
</div>


=====================
=====================

Banner Code:

Code:

<div id="banner_code">
<a href="http://www.imvu.com/shop/web_search.php?manufacturers_id=31132891" target="_blank" title="SubtlyCharmed Products"><img width="335px" height="110px" src="http://i433.photobucket.com/albums/qq52/SubtlyCharmed/catalog/catalog_banner_1.png" border="0" alt="SubtlyCharmed Products" /></a><br />
<input type="text" value='<a href="http://www.imvu.com/shop/web_search.php?manufacturers_id=31132891" target="_blank" title="SubtlyCharmed Products"><img width="335px" height="110px" src="http://i433.photobucket.com/albums/qq52/SubtlyCharmed/catalog/catalog_banner_1.png" border="0" alt="SubtlyCharmed Products" /></a>' readonly onclick="this.focus();this.select();" style="width:335px" />
</div>

Change:

1. The URL to point to your Catalog (2 times)
2. Image URL to your banner's URL (2 times)
3. "SubtlyCharmed Products" to whatever you want (4 times)
4. width="335px" to your banner's width (3 times)
4. height="110px" to your banner's height (2 times)

*Please note: While target="_blank" and border="0" are not XHTML compliant, I left them in since people prefer it that way.


=====================
=====================

Metallic Text Inside Product Page Description Area:

Code:

<span>Met</span>allic

or

<span>met</span>allic


With the <span> tags the word "Metallic" will display as is:

Quote:

Metallic

or

metallic








I'll add more later. Hopefully this will help. Very Happy
_________________
0‾o żuʍop ǝpısdn pǝuɹnʇ plɹoʍ ǝɥʇ sɐɥ



Last edited by on Mon Jul 06, 2009 3:35 am; edited 10 times in total
Back to top
View user's profile Send private message  


FSM Pastafarian Tiny C Monster Not  scary J.A.K. Geena BOOOOMMMMBBB! 0pticon Scarlett loves you LuckZombie


Joined: 08 Nov 2008
Posts: 5439
Location: Isle of Man

PostPosted: Sat Jun 13, 2009 5:48 pm    Post subject: Reply with quote

/is not amused but will cope
Back to top
View user's profile Send private message  


Portugal Community MW Creations :-:baraq:-: Alliekitten(AKCreations) Liziaah 2 Almito Productions cass MTheadz Gear Heart of Gold IMVU Supermodels


Joined: 16 Oct 2006
Posts: 32
Location: Portugal

PostPosted: Sat Jun 13, 2009 5:48 pm    Post subject: Thanks for Help Reply with quote

Omg how can I join all of this correct information if I don't understand almost nothing about codes, I'm trying to join but I'm afraid will not work..I'm just following my feeling...omg! thank you so much! Hi SubtlyCharmed, How are you hun? I would like my background changed too, but the background out of the boxes...I mean the main background of the page catalog! sorry my bad english...but I'm so anxious and sad at the same time...and confused too!!
_________________
Back to top
View user's profile Send private message  


IMVU Stylez Girl Triad3 Silver Bling BB Bling Krissyangl2 Asian Designs Nan Titan Productions HairStore-For The Fun Of it xox Princess Piggy xox WWGinger LaLilianne


Joined: 02 Nov 2008
Posts: 2499
Location: USA

PostPosted: Sat Jun 13, 2009 5:53 pm    Post subject: Reply with quote

Hey, WMaggyMW Smile : Unfortunately, how we code our Product pages will change from now on. We'll have to make an adjustment because we won't be able to code outside the Product Description. IMVU is working on it and maybe in the future we will be able to. However, as of right now our codes will be strictly inside the Product page. Smile

For more information take a look at IMVU's Blog. Smile

_________________
0‾o żuʍop ǝpısdn pǝuɹnʇ plɹoʍ ǝɥʇ sɐɥ

Back to top
View user's profile Send private message  


Portugal Community MW Creations :-:baraq:-: Alliekitten(AKCreations) Liziaah 2 Almito Productions cass MTheadz Gear Heart of Gold IMVU Supermodels


Joined: 16 Oct 2006
Posts: 32
Location: Portugal

PostPosted: Sat Jun 13, 2009 6:20 pm    Post subject: Reply with quote

[b]Thank you so much hun..ok! So I just need place thr url of the background inside the box of the product description! I'm using the long good code that is in green letters (from Unravel)! well on that code I need to put the url pic in two places right??
And i'm using another shorts codes from DarkAngel5 (thank you sweetie)...

This one:

<style> #imvustylez_style {display: none;}
body { background: url('sad.gif'); background-color: Black !important; }</style>

But what for if I can't use the IMVUStylez anymore? thank you for your help Subtlycharmed that it means that we can't change the font colors of the catalog too? right? ok, sad yet but better now!

_________________
Back to top
View user's profile Send private message  


Tazznazz Creations www.devcredits.com Willowbabie Eternitybliss Certified Authentic Vampire Bexbrat AvatarAwards Top3 What will she think of next? OUTFITTER PRIDE MEDAL! - Alessandra


Joined: 18 Dec 2007
Posts: 102
Location: New Zealand

PostPosted: Sat Jun 13, 2009 6:29 pm    Post subject: Reply with quote

bleah.. imma put on my dunce hat and stop deving.. i dont understand any of it..lol.. such is life.. stupid codes
_________________
If you put your foot in it, be sure it's your best foot.
Back to top
View user's profile Send private message  


Portugal Community MW Creations :-:baraq:-: Alliekitten(AKCreations) Liziaah 2 Almito Productions cass MTheadz Gear Heart of Gold IMVU Supermodels


Joined: 16 Oct 2006
Posts: 32
Location: Portugal

PostPosted: Sat Jun 13, 2009 6:29 pm    Post subject: Just one more guidline Reply with quote

and if We want only a black background in the background of the product description?? What We can do here in this code?? I need all balck by now!! thank you so much

This one:

<style type="text/css">
<!--
body,td,th {
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 12px;
color: #FFFFFF;
}
body {
background-color: #000000;
background-image: url(http://i392.photobucket.com/albums/pp4/millicentspears/imvu/pattern_28.gif);
background-repeat: repeat;
margin-left: 0px;
margin-top: 0px;
margin-right: 0px;
margin-bottom: 0px;
}
a {
font-size: 12px;
color: #660000;
}
a:visited {
color: #FFFFCC;
}
a:hover {
color: #FF0000;
}
a:active {
color: #FFFFCC;
}
a:link {
color: #FFFFCC;
}
-->
</style>





_________________
Back to top
View user's profile Send private message  


IMVU Stylez Girl Triad3 Silver Bling BB Bling Krissyangl2 Asian Designs Nan Titan Productions HairStore-For The Fun Of it xox Princess Piggy xox WWGinger LaLilianne


Joined: 02 Nov 2008
Posts: 2499
Location: USA

PostPosted: Sat Jun 13, 2009 6:31 pm    Post subject: Reply with quote

Add the code below at the top of your page. Oh, make sure to replace "your_img_url_here" with your image URL. Very Happy

SubtlyCharmed wrote:

Background within the Product Page:
Code:

<style type="text/css">
body {
background:#000000 url(your_img_url_here) no-repeat top left;
color:#ffffff;
font-size:.9em;
}

img {
border:0;
}
</style>

#000000 = black. You can change the value to another color.

no-repeat = Image will display one time. If you want it to repeat horizontally replace it with "repeat-x"; if vertically replace with "repeat-y"; to repeat horizontally and vertically replace with "repeat".

top left: Where the background image will start from. For complete list try w3schools.

color = whatever font color you want. Smile

font-size = size of the font. I like .9em but try 1em or whatever. You can also use pixels like "11px" or "13px". Smile



Hopefully that'll work. Smile
_________________
0‾o żuʍop ǝpısdn pǝuɹnʇ plɹoʍ ǝɥʇ sɐɥ

Back to top
View user's profile Send private message  


Geo & Co Pty Ltd Lysa Payday Creations Loved! Realm of Shayaiden DAHRKSYDE Angel Hugs! Inferno Badge *Equal Opportunity for ALL Devs*


Joined: 31 May 2007
Posts: 162
Location: USA

PostPosted: Sat Jun 13, 2009 6:32 pm    Post subject: Reply with quote

bexbrat wrote:
bleah.. imma put on my dunce hat and stop deving.. i dont understand any of it..lol.. such is life.. stupid codes


Bex hon.. if you need/want help, just holler for some Smile *hugs*
_________________
Back to top
View user's profile Send private message  


IMVU Stylez Girl Triad3 Silver Bling BB Bling Krissyangl2 Asian Designs Nan Titan Productions HairStore-For The Fun Of it xox Princess Piggy xox WWGinger LaLilianne


Joined: 02 Nov 2008
Posts: 2499
Location: USA

PostPosted: Sat Jun 13, 2009 6:32 pm    Post subject: Re: Just one more guidline Reply with quote

WMaggyMW wrote:
[color=darkblue]and if We want only a black background in the background of the product description?? What We can do here in this code?? I need all balck by now!! thank you so much

This one:

<style type="text/css">
body {
background-color: #000000;
}
</style>


That is really all you need to make your background black. Smile
_________________
0‾o żuʍop ǝpısdn pǝuɹnʇ plɹoʍ ǝɥʇ sɐɥ

Back to top
View user's profile Send private message  




Joined: 22 Apr 2008
Posts: 48
Location: Australia

PostPosted: Sat Jun 13, 2009 6:35 pm    Post subject: Reply with quote

SubtlyCharmed,

I tried the following code on a product page, because having a background colour is the thing that is most important to me.


<style type="text/css">
body {
background:#000000 url(your_img_url_here) no-repeat top left;
}
</style>

The code was accepted but it didn't change the colour of any part of the product page.

I replaced each of the following characters with my img code but the picture didn't appear either.

(your_img_url_here)
_________________
All it takes for evil to prevail is for good men to remain silent
Back to top
View user's profile Send private message  
Display posts from previous:   


Hide ads? Get VIP!
Post new topic   This topic is locked: you cannot edit posts or make replies.    IMVU Forum Index -> Homepage Building and Design All times are GMT - 8 Hours
Goto page 1, 2, 3 ... 18, 19, 20  Next
Page 1 of 20

 
Jump to:  
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


 FAQFAQ   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister  ProfileProfile   Log in for private messagesLog in for private messages 

Search the forums:


Powered by phpBB