Search found 798 matches

Actual Results

Post Posted: March 14th, 2014, 3:20 pm

Looks like you pretty much have this figured out by now, but for anyone who wan't to know, you have to register your image display sizes in your functions.php file:

add_image_size

Post Posted: March 14th, 2014, 10:43 am

Example:
JAVASCRIPT Code: [ Select ]
 var a = ['give', 'receive', 'give', null, undefined], b = 'give', i = 0, keyword; for(i; i < a&#46;length; i++) { keyword = a[i] | b; // returns one if exists, otherwise returns the other&#46; someFunc(keyword); }
Herein we set a default of "...

Post Posted: March 14th, 2014, 10:31 am

No real need for jQuery here, as there isn't a lot of advanced DOM manipulation in the script, just replacing text with other text. As for what you're trying to do, I have no idea. Could you please clarify? Also, I'm not sure if there are many people that are willing or able to read through 450 line...

Post Posted: February 14th, 2014, 8:44 am

A great plugin we've been using here at the agency I work for is "Better wp security". High rated, does most of what you talked about, highly recommended by professionals.
Better WP Security

Post Posted: February 14th, 2014, 8:40 am

My mistake, I suppose I was talking about logical operators. As far as manipulating bits...way over my head at this point - but still wondering if there is a way to return one var or the other, in which if the first is set, then it is returned, otherwise return the other.

Post Posted: February 13th, 2014, 3:46 pm

A couple other ways: After defining, trim the trailing slash:
PHP Code: [ Select ]
 $include_path = rtrim($include_path, '/'); $main_path = rtrim($main_path, '/');
Or, use single quotes to avoid interpretation: [code=php] $include_path = 'C:/xampp/htdocs/keleobasi/includes/'; $main_path = 'C:/x...

Post Posted: February 13th, 2014, 3:39 pm

I also really like this online app for regex:
http://www.regexr.com/

Post Posted: February 13th, 2014, 3:36 pm

I feel like there should be a shortcut for something like this:
PHP Code: [ Select ]
 $a = ("check if $b exists") ? "return $b" &#58; "return $c";
Bitwise "OR" operators only return true or false: [code=php] $a = $b | $c; 'aka' if( isset($b) ) { return true; } el...

Post Posted: January 29th, 2013, 4:15 pm

Totally agree spork - unfortunately the rubber ducky debugging method hasn't worked for me. Apparently needs to be a real person for some reason. Even someone who has absolutely no idea what I'm talking about. Seems to work well for me nearly every time.

Post Posted: January 24th, 2013, 4:29 pm

Nevermind...I just figured it out. It's because I was using single quotes rather than double quotes in my foreach statement.

Why is it I get stuck on something for 2 days, and then post here and figure it out in seconds? I should post on here more often hahaha.

Post Posted: January 24th, 2013, 4:23 pm

I've tried everything I can personally think of to create a new line in my email being sent from php. "\n", "\r", "<br>" all end up being part of the email text rather than new lines. Anyone know what the issue is? Here's the part of the script that sends the mess...

Post Posted: August 12th, 2012, 12:31 am

I'm working on a pretty large project right now and will need to send a large amount of data to a php script to be parsed and entered into a database. The data will be generated by a java applet (not javascript, java - just to be clear). There will be somewhere around 800 - 1000 points of informatio...

Post Posted: August 7th, 2012, 2:33 pm

Not a problem at all, delta. This kind of stuff happens to every programmer a LOT! Best thing you can do when you can't find the issue is to step away for 15 minutes or so and come back to it. If that doens't help, that's what we're here for.

Glad it's all worked out, happy coding!

Post Posted: August 7th, 2012, 11:19 am

As far as I can tell, there is no "anna" in your case statement, so your setting $image[0] = 'img_active'. That's all the script is doing when clicking on anything that isn't in the case statement. Is that what you want to happen?

Post Posted: August 7th, 2012, 10:56 am

Looks good. I'd suggest a visual horizontal divider of some sort between each area under "What can I do with Living Junction". A simple light-green <hr> tag between them with plenty of margin above and below it would probably do the trick. See below: Screen Shot 2012-08-07 at 12.00.4...

Post Posted: August 5th, 2012, 11:09 am

I've been using dreamweaver pretty much since I started doing web development. No I don't use it as a WYSIWYG, only the code view. But sometimes it bugs me. There's only 1 feature that keeps me from learning the ins and outs of a different IDE - dynamic files. When I open an HTML or PHP file in Drea...

Post Posted: July 30th, 2012, 6:36 pm

awesome. Thanks a ton BWM!

Post Posted: July 30th, 2012, 2:30 pm

okay cool. Just wanted to make sure I had the right idea. There are several places where I'll be using this structure on the database so I was wondering if you would mind giving me an example query of how to select all items that a user has destroyed / created including the item name and the user na...

Post Posted: July 30th, 2012, 12:24 pm

all users will have a record of all items. Item 1 can be created any number of times, and destroyed any number of times by the owner of the item. There is an instance of item 1 for each user. Each user can create or destroy their instance of item 1 as many times as they want. Items have set names, b...

Post Posted: July 29th, 2012, 8:36 pm

simply use html instead of php and wrap it in a code and pre tag: [code] <pre><code> //Let us ensure that you only make between 1 to 10 fields. if (($fields > 0) && ($fields <= 10)) { echo "<h3>Your form has been created, please customise it for your needs...

Post Posted: July 29th, 2012, 10:04 am

Then I'd probably set it up as an intranet website where the student can login. Add a small content management system that the teacher can log into and set up the tests.

Post Posted: July 29th, 2012, 9:08 am

Anyone?

Post Posted: July 29th, 2012, 9:06 am

What's your programming experience level? What programming languages are you most comfortable with developing in? The reason I ask is because you could pretty much do this in just about any programming language from C#, visual basic, C++, all the way down to linux scripts and all the way over to php...

Post Posted: July 28th, 2012, 11:09 pm

yep, z-index is the right direction. In order to use z-index, the rule that you're applying it to has to also have postion of either absolute or relative applied to it.
Code: [ Select ]
.profile { position: relative; z-index: 1; } .menubar { position: relative; z-index: 0; }

Post Posted: July 28th, 2012, 10:41 pm

So I have a table with user information such as email, username, etc. as well as a user_id auto_inc primary key I also have a table that lists a little over a hundred items. I want to record how many times a user has destroyed each of these items, as well as how many times a user has created each of...

Post Posted: July 24th, 2012, 7:14 am

If that's the case, then wouldn't that make the "Personal Use" plan for docusign ineligible for anyone and everyone? Why would it even exist if it serves no purpose to anyone?

Post Posted: July 23rd, 2012, 11:54 am

Yeah, I realize that's probably the best advice, but I'd rather have an opinion. The reason I want the opinion instead is because I'd like to know peoples thoughts in general what is considered fair use and what is not, not only in this instance but overall. Personal Use doesn't really have a lot of...

Post Posted: July 23rd, 2012, 10:41 am

My friend and I are in the process of writing some pretty heavy code for a project. My contribution to this software is HUGE and I want to create a cotnract between him and I about it's licence and use. The license will more than likely include an NDA with an expiration date and a "can't sell s...

Post Posted: June 29th, 2012, 9:54 am

any of these clients: Clients from hell
  • Sort by
 
 

© 1998-2014. Ozzu® is a registered trademark of Unmelted, LLC.