Search found 3234 matches

by jacek
Tue May 21, 2013 6:19 pm
Forum: CSS / Styling
Topic: Image Size Definition
Replies: 2
Views: 2302

Re: Image Size Definition

That way is fine, like you say the reason people say you should include the dimensions is because if you don't the browser has to work it out.

I think there is some rendering fail with old versions of IE too but that is not really something to worry about any more.
by jacek
Tue May 14, 2013 5:53 pm
Forum: Code
Topic: JQuery Chat
Replies: 6
Views: 3151

Re: JQuery Chat

I think we trust you enough to make the scan a bit pointless ;)
by jacek
Sun May 12, 2013 1:35 pm
Forum: Suggestions
Topic: Any more?
Replies: 4
Views: 2099

Re: Any more?

Currently being worked on for another site though ;)
by jacek
Sat May 11, 2013 8:08 pm
Forum: Other
Topic: GET and robots.txt
Replies: 1
Views: 1215

Re: GET and robots.txt

Bit late, but you can use wildcards

[syntax=text]Disallow: /view_video.php?v=*[/syntax]
which most search engine bots should support.
by jacek
Thu Apr 18, 2013 3:48 am
Forum: General Chat
Topic: Advertising
Replies: 6
Views: 5282

Re: Advertising

I honestly don't like how it is the first thing you see here. What you might want to do is put it as a footer on the forum because then you get A LOT of page views Or as a "First post separator". I see a lot of forums using that now and it seems to be working. The problem with those is th...
by jacek
Tue Mar 26, 2013 2:30 pm
Forum: Introductions
Topic: Good morning!
Replies: 2
Views: 18501

Re: Good morning!

Nice to hear :P Welcome.
by jacek
Tue Mar 26, 2013 2:18 pm
Forum: General Chat
Topic: Chrome Maze
Replies: 4
Views: 4393

Re: Chrome Maze

Very cool ! Horrifically slow on my netbook though :(
by jacek
Sun Mar 10, 2013 9:06 pm
Forum: General Chat
Topic: Advertising
Replies: 6
Views: 5282

Advertising

Since I previously said that the website would never have any ads on it and it now does I thought I would take a moment to clarify what happened The ads on the main site replace the ads on the YouTube embed videos, so you don't get interrupted mid-video. They will also not be visible to logged in us...
by jacek
Sun Mar 10, 2013 9:02 pm
Forum: JavaScript
Topic: Autoscroll
Replies: 1
Views: 1249

Re: Autoscroll

Still <3 self-solving topics.
by jacek
Wed Mar 06, 2013 5:58 pm
Forum: Tutorials
Topic: big problem,need help..[blog]
Replies: 5
Views: 1168

Re: big problem,need help..[blog]

You will need a new table to hold the list of blogs, call it `blogs` for now then you can add a `blog_id` column to the posts table to link each post to a specific blog. The comments are link to the posts so that is not a problem since they will only show up on their posts. You then need to add a UR...
by jacek
Wed Mar 06, 2013 5:43 pm
Forum: PHP
Topic: Check if a string contains an item in an array
Replies: 3
Views: 797

Re: Check if a string contains an item in an array

So you have a string and an array of letters, you want to check if the string contains anything that is not in that array ? If that is correct I would go for a regex approach instead [syntax=php]if (!preg_match('#^[ATUGC]+$#', $string)){ // um }[/syntax] You could probably do it with some combinatio...
by jacek
Wed Mar 06, 2013 5:38 pm
Forum: CSS / Styling
Topic: Height and Width really wonky
Replies: 2
Views: 1370

Re: Height and Width really wonky

padding is added to the width do you want to set the width of the #main element to 880px for it to be the same width. For a bit of reading google "css box model"
by jacek
Wed Mar 06, 2013 5:33 pm
Forum: General Chat
Topic: Cryptocurrencies
Replies: 23
Views: 12151

Re: Cryptocurrencies

It's a very interesting idea, I don't like the idea of all that wasted computer time though. That much calculation power could be put to so much better use :(
by jacek
Sat Mar 02, 2013 8:54 pm
Forum: General Chat
Topic: "Spam link poster"
Replies: 3
Views: 4010

Re: "Spam link poster"

Ironically I found their site on page 8 of Google :P
by jacek
Fri Mar 01, 2013 7:39 pm
Forum: Suggestions
Topic: Javascript tutorials
Replies: 1
Views: 1841

Re: Javascript tutorials

I did one :P The problem is that it's hard not to get stuck explaining browser issues :/ But I will think of some :P
by jacek
Fri Mar 01, 2013 7:31 pm
Forum: Feedback
Topic: SMS
Replies: 1
Views: 7773

Re: SMS

Never try to make something by combining tutorials. Use information from both to come up with a new separate thing that has all the features you want. If you try to "combine" things you'll end up with a mess.
by jacek
Sun Feb 24, 2013 2:09 pm
Forum: Tutorials
Topic: blog with BBcodes
Replies: 3
Views: 857

Re: blog with BBcodes

I would create a new function for this that converts the BBCode to HTML [syntax=php]function parse_bbcode($input){ // do things return $input; }[/syntax] Then use it before the create post/comment function [syntax=php]$message = parse_bbcode($_POST['message']);[/syntax] something like that anyway.
by jacek
Sun Feb 24, 2013 2:06 pm
Forum: Tutorials
Topic: Basics: MySQL - MySQLi
Replies: 4
Views: 1002

Re: Basics: MySQL - MySQLi

You can use it OO style or procedural style. I prefer the OO version but it is possible to just add an "i" to all the function names.
by jacek
Sun Feb 24, 2013 2:04 pm
Forum: PHP
Topic: Fatal error exception thrown without a stack
Replies: 2
Views: 611

Re: Fatal error exception thrown without a stack

The culprit this entire time was register_globals in the PHP.ini. It was turned off on my local server but it was turned on, on my host.

:o You need a new host !
by jacek
Sun Feb 24, 2013 2:02 pm
Forum: PHP
Topic: photo gallery
Replies: 46
Views: 6565

Re: photo gallery

Robbedoesie wrote:Am I on the right track to solve this problem, what am I doing wrong here?

Basically no. $images is not defined at the point you are trying to use it.
by jacek
Fri Feb 22, 2013 6:39 pm
Forum: General Chat
Topic: How to set up a SMTP in Ubuntu
Replies: 13
Views: 5968

Re: How to set up a SMTP in Ubuntu

Please post support questions in a new topic :)