• Announcements

    • Morrigan

      Please don't PM me questions   05/18/2017

      This is a very important thing that I need to express to the members of the Initiative a little more clearly so you understand why I'm posting this message as I get a lot of PMs and random support requests regarding things on this site and it is extremely overwhelming to get these PMs.   There is a lot of stuff on the site that I manage solo. From the spotlight challenges, to the challenges (when I'm able to get to them), to archiving items, to approving items etc. We have a lot of cool features and trust me when I say I'm not saying we need to reduce because I feel everything that we have has it's place and purpose however I do, do  it all alone. (Shamelessly plugs staff wanted stuff 😉 )   So with that explained I have to explain why I'm asking that members stop PMing me questions. First off, we provide many different places that probably already answer your questions including our FAQ and our Ask Us fourm. We also provide forum avenues for you to contact the staff (in general instead of a single staff member) via our forums through the "Staff Contact Center" where you can either contact the staff publicly or privately. While it is your preference which one you put out there these avenues are more quick for you to get a response.   When you PM me (first off you'll get an auto reply with this information reiterated in it) but it's very likely I will dismiss it and get to it later. PMs are not my priority as they are used for private messages between myself and a member and not something site related which will be explained below as to how my priorities work for managing as I go:   Priorities listed in order from top to bottom regarding sites: Site/Server Down Site/server slowness Hosting issues (any of the initiative hostees having a problem) Payment issues Reported content Staff Contact Center Contact (and of the forums there) Chat Approvals Site checks (looking through forums) Roll outs of any kid that I have created (challenges, content etc) PMs Distant Fantasies   This isn't to say that your PM won't get answered however all of those other things take precedence over a PM and as you can see I'll answer you in the Staff Contact Center before I even check my PMs to see what you need.

Recommended Posts

I'm not going to lie, I bork up my coding all the time. It happens typically when I'm coding late at night, which is basically always.

 

I get really frustrated and start talking to my code: "Why the heck you actin' like that? Huh? Who authorized you to do that? It certainly wasn't me! Where do you think you're going? Get back here!"

 

And then after we fight for a while I realize that nothing is showing up how it is supposed to because I made the thing an id but wrote it in the HTML as a class.

 

Amazing.

 

So! What are some times when you've borked up your code?

  • LOL 2

Share this post


Link to post
Share on other sites
Awards

By putting in a pic behind the categories and having no clue how to change the text colour so I can see it through the pic *headwall*

  • Like 1
  • Have a Cookie! 1

Share this post


Link to post
Share on other sites
Awards

What are you talking about? I never mess up my code.....

 

Okay, maybe sometimes but don't tell anyone.

 

I always save backups of my code so I can hide my mistakes as quickly as possible. However I've borked things a lot. Doesn't matter if I'm wide awake, sober, tired or not sober. I fuck things up all of the time! It's why I love things that tell me when I've borked things as it saves me a lot of time.

 

I can't remember a specific time that I've done it but I am like @Gothams Reckoning and I will talk and swer at my code when it isn't cooperating. I get near table flip all the time.

  • Like 1
  • LOL 2

Share this post


Link to post
Share on other sites

On 2/23/2017 at 10:01 AM, Gothams Reckoning said:

And then after we fight for a while I realize that nothing is showing up how it is supposed to because I made the thing an id but wrote it in the HTML as a class.

Guess who did this all weekend?

  • LOL 1

Share this post


Link to post
Share on other sites
Awards

Little context... in MyBB when working on a plugin you have to follow a specific naming scheme for 5 functions or else things won't work. The scheme is pretty simple... if your plugin is named file.php then you have to include file_ in front of those functions. If not named this way it will prevent your plugin from showing in MyBB for testing. So most people just put the name on every function for uniform consistency. 

 

There are also set calls you use to add parts into MyBB so you don't have to make core edits. 

 

Last time I was working on a plugin, for whatever reason I had named my function "list_admin_forum_modules" because I was adding a link to the sidebar on the left in the forum settings... Except I added an extra "s" and it was throwing errors in all kinds of places. Once I figured it out it stopped throwing errors there.

 

But that just means I now can find the other errors.

 

Yay.

  • Like 1
  • Awesome 1

Share this post


Link to post
Share on other sites

I do pretty much exactly what you do, except with more colorful language. 2am in the morning, I'm tired, I just want to finish up [insert whatever] before I go to bed and it's "What the ****? Why the **** are you doing that? M*****f****r! Son of a *****!!!" growl.

 

Well, you get the picture. Typically when most of my language is profanity I end up calling it quits because I'm too tired. Then, I come back to it the next day and realize that I forgot to close a div. Yeeeep fun times.

 

I find that making little mistakes like typos in the class or id name in the HTML is a pretty common mistake for me, but surprisingly, it's forgetting to close the div that is it more often than not!

  • Like 1
  • LOL 1
  • Preach it! 1

Share this post


Link to post
Share on other sites

Once upon a time I deleted my skin while trying on another one. If it hadn't been for John being able to pull it from my backup I wouldn't have been able to recover it. At the time I was just starting really and used Bonbon's templates sure, but damn that was hard!!!

  • Like 1
  • Cheers 1
  • Have a Cookie! 1

Share this post


Link to post
Share on other sites
Awards

Using a premade skin and putting a lot of time into it so it's looks and feels exactly what you want for your site genre, only to find out it's seriously flawed and much of the expected essentials had been removed and had to be put back in.

It's going to take too much time to start over since you wanted the site up and running by the end of your vacation (and you are not confident enough to code from scratch) but now you are limited to what you can add to it because of these underlying flaws in the code. 

Oh, let's do this! ...board breaks

How bout this? ...board breaks

That's a great idea, I'll test it out ...board breaks.

 

Runs away from the computer screaming!

 

  • Like 1
  • Love 1
  • Awesome 1

Share this post


Link to post
Share on other sites

There's a property in the default MyBB theme, white-space: nowrap.

 

I learnt what it does after I frowned at a div that just didn't want to end.

 

Leaving off the border style is a favourite of mine too.

  • Like 1

Share this post


Link to post
Share on other sites
Awards

Lately I've had a habit of not transferring names from CSS classes and ids over to HTML properly. For example:

.forums-holder

becomes div class="forums-holders" and you know what happens then?

THINGS DON'T WORK

Share this post


Link to post
Share on other sites
Awards

I've done that before.  I sometimes think I need to go and copy each class name from the CSS and paste it in the HTML so I know they match.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


  • Recently Browsing   0 members

    No registered users viewing this page.