vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Problem With VB? (https://vborg.vbsupport.ru/showthread.php?t=93688)

Gio~Logist 08-05-2005 05:08 PM

Problem With VB?
 
Ok i've noticed that in places such as myspace and stuff where you go to have a webpage.... if you but something like

HTML Code:

<body bgcolor="ff0000">
It will show as red, however, when i do it in my profile in vb.... it shows as white or some random color... unless i put the "#"... this only happens on netscape though.

Chris M 08-05-2005 05:18 PM

The correct usage is #FF0000 not FF0000 :p

Satan

Gio~Logist 08-05-2005 05:19 PM

I understand.. however, why would it work in some places and not others? Say a member on my forum doesnt know this and they put ff0000, then how would i make it so it still shows o_0?

Chris M 08-05-2005 05:41 PM

Quote:

Originally Posted by gio~logist
I understand.. however, why would it work in some places and not others? Say a member on my forum doesnt know this and they put ff0000, then how would i make it so it still shows o_0?

Some browsers (e.g. IE) do not need compliant code to render it, therefore meaning they interpret "ff0000" as "#ff0000"...

You could probably use some kind of regular expression to add a # infront of the 6 digit hexadecimal value if one does not exist, or you could limit the user using such a tag, and instead have an entry field, where you instruct them to only enter the 6 digit hexademical value, have the insert/update query automatically add a # to the front of the field value, after stripping any #'s that appear in the field that were entered by the user :)

Satan

Gio~Logist 08-05-2005 05:52 PM

It's not an entry field... it's a webpage..... :-x

KTBleeding 08-05-2005 05:54 PM

The problem is not with vB. It's with myspace.
I hate doing my profile cause I always do it the right way, which never works.

Gio~Logist 08-05-2005 06:03 PM

1 Attachment(s)
Oh i see.... another thing i noticed is with myspace they use <table border="1" bordercolor="#000000"> and stuff like that and it works looking fine....

When i do it it looks stupid lol... look at attatchments....


The first image is myspace... the second is me.....

On mines i used border="1" bordercolor="cc0000: for the misc part... for the bottom i used style="border: 2px #cc0000 solid"... which is why from the bottom of Misc. and down it looks fine... but i need to be able to use border="1" directly, so that it's easier for members to edit and make borders different colors and stuff through css....

rotfl now here's the weirder part... if you view the source of myspace and put it into and the html try it viewer in www.w3schools.com the borders still show messed up..... so in other words....... MYSPACE FOLLOWS ITS OWN RULES OF CODING !!!?!?!!!!!!!!!!

BigIke 08-05-2005 07:22 PM

MySpace is a buggy, flawed site. I have never been there without seeing some type of error message when trying to view profiles. :down:

Gio~Logist 08-05-2005 07:31 PM

Quote:

Originally Posted by bringindaruckus
MySpace is a buggy, flawed site. I have never been there without seeing some type of error message when trying to view profiles. :down:


which is why i am releasing a system just like it that will not have any errors or anything :-D and it will also have a journal and buddyprofile system :-D


MySpace is valued hi though

BigIke 08-05-2005 07:41 PM

Quote:

Originally Posted by gio~logist
which is why i am releasing a system just like it that will not have any errors or anything :-D and it will also have a journal and buddyprofile system :-D


MySpace is valued hi though

That's good news. Danny.VBT is releasing a vBSpace hack as well... Sounds like we'll have two interesting hacks in the near future ;)


All times are GMT. The time now is 11:37 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01011 seconds
  • Memory Usage 1,739KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_html_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete