Jump to content


  • Content Count

  • Joined

  • Last visited

Community Reputation

0 Neutral

About DjDTM

  • Rank
  • Birthday 03/14/1989

Contact Methods

  • AIM
  • MSN
  • Website URL
  • ICQ

Profile Information

  • Location
    The Internet
  • Interests
  1. DjDTM

    Website looks off.

    Here is my screenshot.See, it looks just fine in IE7, and then it looks funky in firefox.DjDTM Browsers ScreenshotsEDIT: I had to remove the id="basic_image" because it was invalid xhtml1.0 strict, besides it didn't change the way it looked anyway.The reason why I use graphical navigations is because, since I enjoy graphics and webdesign, I wanted to show both being incorporated at the same time.NOTE: screenshots were taken AFTER I removed all of the id="basic_image" attributes although it looked the same with it.
  2. DjDTM

    Website looks off.

    All suggestions added, and still looking the same. Man I am at a loss of words.Why would firefox do this to me?
  3. DjDTM

    Website looks off.

    Still no luck, with any of your suggestions...
  4. DjDTM

    Website looks off.

    Here is my website:http://www.djdtm.comThe layout is off in some places, with some gaps in between the images. (3 pixels)It was when I was trying to make my site XHTML 1.0 strict validated. (Which I've accomplished)If you look at the source code you'll see I tried coding everything with use of the CSS "style" attribute.Some help would be greatly appreciated.Thanks!EDIT:Also, it looks fine in Internet Explorer.But for me it looks messed up in firefox.
  5. DjDTM

    BBCode to HTML

    I put the include up at the top before my connection code, still got nothing.I put in your code and got nothing.I put quotes around "post_text", and still got nothing.Doesn't anyone else know PHP? Jesus.Again:I tested again, If I removed the line: $post_body = markup($post_body); The post shows up propperly without the code replacement.So the problem lies with in that line of code, or the markup function...EDIT:Ok progress, I moved the return $post_body; inside the brackets.And the post loads, without breaks, or correct replacement of the BBCODE.Then I changed the: $post_body=$rows2["p
  6. DjDTM

    BBCode to HTML

    I did, you just didn't look hard enough.Ok so I removed the space from the include.But it still doesn't change a thing.Current Code of forumrules: <table align="center" border="0" cellspacing="0" cellpadding="0" width="95%"><tr><td height="216" align="center"><?php $conn = mysql_connect("db213.perfora.net","dbo139021429", "3.YcQYTJ") or die("Could not connect: " . mysql_error()); //echo("Connection Successful<br/>"); mysql_select_db("db139021429", $conn); $result = mysql_query("SELECT * from phpbb_topics WHERE forum_id=25 AND topic_vote != 1 order by topic_id de
  7. DjDTM

    BBCode to HTML

    Umm it kind of does, but it still doesn't work.All you told me to do was to put the code in a different document, but how does that affect way it shows?This is what I've got so far:in post2sitefunction.php I have this code: <?php function markup($post_body){ $find = array("<", ">"); $replace = array("<", ">"); $post_body=str_replace($find, $replace, $post_body); $find=array("/\[img\](.+?)\[\/img]/","/\[link name=(.+?)\](.+?)\[\/link\]/","/\[link\](.+?)\[\/link\]/","/\[b\]([^$]*)\[\/b\]/","/\[u\]([^$]*)\[\/u\]/","/\[i\]([^$]*)\[\/i\]/","/\[quote\]\[originator=(.+?)\]([^$]*)\[\/
  8. DjDTM

    BBCode to HTML

    So far I narrowed down all the useless code to this, which still seems to get me what I want, and thats JUST the post. <table align="center" border="0" cellspacing="0" cellpadding="0" width="95%"><tr><td height="216" align="center"><?php $conn = mysql_connect("CENSORED","CENSORED", "CENSORED) or die("Could not connect: " . mysql_error()); //echo("Connection Successful<br/>"); mysql_select_db("CENSORED", $conn); $result = mysql_query("SELECT * from phpbb_topics WHERE forum_id=25 AND topic_vote != 1 order by topic_id desc LIMIT 0, 1") or die("Invalid query: " . my
  9. DjDTM

    BBCode to HTML

    Nice find, thanks, but how and where would I put this in my script?
  10. DjDTM

    BBCode to HTML

    Ok, so.I have a script that displays posts in a certain forum on the page that its in.Its my news script, that if I post posts in the news forum, it shows on my main website.It really sucks, and I was wondering if anyone can help me revise it and make it so it replaces all bbcode to html, so I can post urls and images on the forum and have it load on the website.Because what currently happens is if i have a bbcode tag, it shows the tag up on the site.Heres my code: <table align="center" border="0" cellspacing="0" cellpadding="0" width="95%"><tr><td height="216"><?php $con
  11. http://www.w3schools.com/flash/flash_inhtml.aspthat should help..
  12. Yea, I used transparent backgrounds because I use a picture background in some of my table cells.Thanks for the help! I guesse I'll just accept it.
  13. DjDTM

    FLASH Versus HTML

    Actually, a friend of mine made an all flash website, for some reason it doesn't work in firefox.http://www.immortaldawn.comAll flash can be good in ways if it was ALL GOOD LOOKING, and using flash to the best of its abilities.Like 2advanced and such.
  14. If you want them streamed what you can do is import the avi into your flash library.from there you can set it up to stream in the flash add controls, theres alot of stuff you can do. But mainly if you really want it to be a flash, just import it.
  15. Well you might want to change this part of the code: <embed src="http://www.url.com/yahoo.swf" quality=high width="250" height="100" name="yahoo" align=""type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer"> to <embed src="HTTP://YOURWEBSITELINK/DIRECTORY/FLASH.SWF" quality=high width="250" height="100" name="yahoo" align="center"type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer"> Change the embed src attribute to where the flash is located and then add the align center, just a few errors to
  • Create New...