Go Back   vb.org Archive > vBulletin 3 Discussion > vB3 General Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 08-05-2005, 05:08 PM
Gio~Logist's Avatar
Gio~Logist Gio~Logist is offline
 
Join Date: Jun 2004
Location: San Francisco
Posts: 2,575
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default 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.
Reply With Quote
  #2  
Old 08-05-2005, 05:18 PM
Chris M's Avatar
Chris M Chris M is offline
 
Join Date: Dec 2001
Location: Northampton, England
Posts: 6,186
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

The correct usage is #FF0000 not FF0000

Satan
Reply With Quote
  #3  
Old 08-05-2005, 05:19 PM
Gio~Logist's Avatar
Gio~Logist Gio~Logist is offline
 
Join Date: Jun 2004
Location: San Francisco
Posts: 2,575
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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?
Reply With Quote
  #4  
Old 08-05-2005, 05:41 PM
Chris M's Avatar
Chris M Chris M is offline
 
Join Date: Dec 2001
Location: Northampton, England
Posts: 6,186
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #5  
Old 08-05-2005, 05:52 PM
Gio~Logist's Avatar
Gio~Logist Gio~Logist is offline
 
Join Date: Jun 2004
Location: San Francisco
Posts: 2,575
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It's not an entry field... it's a webpage..... :-x
Reply With Quote
  #6  
Old 08-05-2005, 05:54 PM
KTBleeding's Avatar
KTBleeding KTBleeding is offline
 
Join Date: Feb 2004
Location: Tooele, UT
Posts: 756
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #7  
Old 08-05-2005, 06:03 PM
Gio~Logist's Avatar
Gio~Logist Gio~Logist is offline
 
Join Date: Jun 2004
Location: San Francisco
Posts: 2,575
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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 !!!?!?!!!!!!!!!!
Attached Images
File Type: gif 2.gif (1.5 KB, 0 views)
File Type: gif one.gif (1.3 KB, 0 views)
Reply With Quote
  #8  
Old 08-05-2005, 07:22 PM
BigIke's Avatar
BigIke BigIke is offline
 
Join Date: Aug 2004
Location: Norfolk, VA
Posts: 143
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

MySpace is a buggy, flawed site. I have never been there without seeing some type of error message when trying to view profiles. :down:
Reply With Quote
  #9  
Old 08-05-2005, 07:31 PM
Gio~Logist's Avatar
Gio~Logist Gio~Logist is offline
 
Join Date: Jun 2004
Location: San Francisco
Posts: 2,575
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #10  
Old 08-05-2005, 07:41 PM
BigIke's Avatar
BigIke BigIke is offline
 
Join Date: Aug 2004
Location: Norfolk, VA
Posts: 143
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 01:29 PM.


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.07122 seconds
  • Memory Usage 2,277KB
  • Queries Executed 14 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (1)bbcode_html
  • (3)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (10)postbit
  • (2)postbit_attachment
  • (10)postbit_onlinestatus
  • (10)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • postbit_attachment
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete