Jump to content
New account registrations are disabed. This website is now an archive. Read more here.

Marked

Content Manager
  • Content Count

    5,686
  • Joined

  • Last visited

  • Days Won

    108

Everything posted by Marked

  1. Yeah how did we miss this? Pretty sure it's a bot. A bot actually posted in the correct forum (sorta) and started a discussion here. I think that deserves a MOTM nomination. If the bots stayed we could have had BOTM :P Maybe not... I'm pretty sure how they are is what attracts to people. They have a show or something don't they? I'd say its in their best interest to keep acting how they act.
  2. Originally there was going to be a separate application, similar to the RGSS Scripts section, for showing off your projects. However since I started developing a clubs system which is mainly is going to be used to coordinate team projects, I thought I may as well add the functionality to display and present the project you're working on. This also allows clubs to be made for any and all projects. When you create your club you may click the 'Project Settings' button which will take you to the following form: As you can see every form element comes with its own switch, which are very nicely animated when you click them. So you can turn and off anything you don't want to show up on the clubs homepage, or just leave it blank. After submitting the form, the projects module will appear on the club homepage: NOTE: This is not the final design, this is demonstrating how the system works I left the little announcements box down below there on purpose. It has not been developed yet but you can switch around the modules so you can have either your announcements first, or your project, or any other module in that column. I'd love to go into the coding with this because its quite innovative, actually uses regex to display the content and even to generate the forms, but I guess I can leave that stuff out :P
  3. Thanks guys :) I'll keep you updated because while I'm trying to do design simultaneously, its more about the code and what you can do with this thing :D
  4. Nope, just getting it setup to write a tut. I'm not that mean :)
  5. The following is a simple tutorial to show how you can display a Youtube video on your website from using the URL. This is useful for when you have a form for your users of whatever and you want them to submit a youtube video, and the simplest way for them is to copy and paste the URL. This is a similar code that I am using in something im making, it currently looks something like this: Alright, firstly we are going to take the code that youtube gives us for posting youtube videos on other websites. Go into any youtube video and click the 'embed' button under the video and you will something similar to this: <iframe title="YouTube video player" class="youtube-player" type="text/html" width="480" height="390" src="http://www.youtube.com/embed/8VtUYvwktFQ" frameborder="0" allowFullScreen></iframe> This is the code we'll use to display the video. In it is the ID of the video, you'll see it in the src, in the code it is: src="http://www.youtube.com/embed/8VtUYvwktFQ". What we want to do is take this ID from our youtube links and place it into this code. How we are going to do this is with regular expression. The following code gets youtube ID's from URLs. <?php $regex='#(?<=v=)[a-zA-Z0-9-]+(?=&)|(?<=[0-9]/)[^&\n]+|(?<=v=)[^&\n]+#'; preg_match($regex, $YOUTUBE_URL, $id); ?> How this code works really isn't very important. Its complicated, and you should just be satsified that it works. The variable $YOUTUBE_URL is going to be your youtube url string, such as 'http://www.youtube.com/watch?v=8VtUYvwktFQ'. It may be a $_POST variable from your form or whatever. The ID is now stored the variable $id which an an array. Its array because it stores all matches. In this case it should only return one match, so our ID is accessible with this: $id[0] Now we simple plug in this ID into our embed code. Just mix this your way with html and PHP. I generally open and close php tags instead of doing something like this: echo ' '.$var.'', that just seems messy to me. Ok here's the final code. <?php //the youtube url string $youtube_url='http://www.youtube.com/watch?v=8VtUYvwktFQ'; //use regex to get the video ID $regex='#(?<=v=)[a-zA-Z0-9-]+(?=&)|(?<=[0-9]/)[^&\n]+|(?<=v=)[^&\n]+#'; preg_match($regex, $youtube_url, $id); //plug that into our html ?> <iframe title="YouTube video player" class="youtube-player" type="text/html" width="480" height="390" src="http://www.youtube.com/embed/<?=$id[0]?>" frameborder="0" allowFullScreen></iframe> Hope this helps someone. :) Ok, here's the final code.
  6. [plug]read my blog[/plug]

  7. Nick work Chief, I can you see you put a lot of effort into the first tut and it looks nice and organized. From reading it, I would also suggest a future tutorial on SEO. For example, including title='' and alt='' in the IMG tags. Also an idea for future tutorials could be a list of thingies you can use in the tags, so members can come back to the topics for reference. For example:
  8. If you buy me one, I'll get you a girl. Kiwi accent ok ? :D
  9. Hey guys, Today I'm going to show you the first glimpse at the clubs component I am working on for the website. What is the Clubs Component for? First of all there are two types of clubs you can create: Social and Project clubs. Social clubs are for whatever interests you have and are just a place for getting together and discussing that topic. For example, you could create a 'Movies' club and the creator of the club could write reviews for it. Secondly, the main focus of Project Clubs are to coordinate team projects. There will be many tools to help achieve this, but I am trying not to go into details about any features just yet. At the moment however it does look like its worth while making this the central projects system where members show off their projects. Another main goal with the projects clubs is to promote recruitment. There is going to a filter system where you can quickly and Ajaxly find any and all types of projects. Customization A major focus with this component is allowing the creator (we need a better for the person who makes the club, perhaps president?) to customize his/her club to how they like it. I have only just touched on themes but members can choose themes and this will be used throughout the entire clubs component, but club owners may also chose their own theme to override individual members chosen themes. It took me an entire day to create an effective module system, but its pretty cool. When you create your club it is given all the available modules and they are all enabled by default. Then you can go in and chose what modules you want and where. There are two types of modules: Main Modules which are basically for the main column of your clubs homepage, and then there are Sidebar Modules, which is you can see below. A cool feature with the modules is drag and drop. The creator of the club can simply click any module and changes its position right on the page without having to refresh or anything, and this screenshot shows a module being dragged (the cursor is obviously invisible): Team Project Hierarchy I haven't started this yet but I thought I'd throw it into this entry. The club creator is an administrator within his club. The creator has the option of promoting his club members to various positions (eg moderator, manager, etc.). This will open up new permissions to the features of the club to its members, for example, assigning and managing tasks within the team project. This allows multiple members of the club to do take on various management tasks. As you can see its only started development, but I have spent a lot of time of effective and proper coding. More to come :)
  10. ajax is sexy

    1. Marked

      Marked

      read my blog for more D:

    2. isaacsol

      isaacsol

      I didn't know you had posted it in there >.<

       

      Sowwy Mark.

    3. Marked

      Marked

      oh i posted that after all these comments lol

    4. Show next comments  441 more
  11. I am very pleased with the turn out. It is a little too positive though. Its hard to know what to improve on. I think I came close to the limit of the amount of questions can use on a poll, there should be a lot more questions.
  12. A while indeed. Changed it for you, topic closed
  13. I followed the iframe and found they use this tileset: And this RMXP looking sprite ]] I say we make one that connects to our database to get the players. D:
  14. Will you teach javascript functions inside of HTML? Like totally Click This. I so wrote that without reference. You should do simple javascript as well.
  15. finished my summer job today, now what am i going to do for 3 weeks...

    1. Enigma

      Enigma

      Forum Project

       

    2. Bob423

      Bob423

      enhance the awesomness of rmxpu, or make sandwich and watch the mold grow

    3. madanchi

      madanchi

      model a small island out of clay or plasticine, then make model characters and make a small animated stop-motion scene

    4. Show next comments  441 more
  16. Sweet. What software did you end up choosing? I use like, camstasia studio or something. Suggestions depend on what your skills are. We all know you're an eventer but could you do mapping tutorials and things too?
  17. Why choose a forum with 600k posts? I know heaps with millions. I'm glad we got to 50k :) It has taken as a while and I'm sure we can get a few more.
  18. If the only options are do it and don't do it.. its kinda obvious. But you need to narrate!
  19. Haha me too (good at it that is). Back in highschool we played 2 on 2 touch rugby on a basketball court across the width (so the shorter length). It's the ultimate stepping test :P I used to be pretty good at touch too, when I was 15 we did these tests in PE and I was timed at 2.36s over 20m.
  20. I hope you don't mean to say that 'all' americans dislike people with different cultures/views. If its not american, its bad? D: I dont think so :) Why do so many crazy stories come out of the US. Actually I think its mostly related to the law/court system.
  21. I'll participate for fun :P Off the list of course. Pretty sure I know this stuff :angel: I didn't know you were doing the student thing. It usually doesn't pick up on this forum so I hope that you are able to both write your lessons and take on students.
  22. Haha you get warned enough (or I should say have been) but it was not you. The member has gone inactive now, probably was a troll. Anyway this topic is dead, I'll close it.
  23. Yeah his role here isn't exactly a moderation one. Personally I'd like him to post more but he does plenty behind the scenes for us :) Topic Closed.
  24. we have killed the new bots.. the old ones we forgot to ban are posting. Shouldn't be long till they're gone

    1. Marked

      Marked

      a while? Who's this kid.

    2. isaacsol

      isaacsol

      キリアシさん― 知らない。

    3. Kiriashi

      Kiriashi

      At least SOME people know who I am..

    4. Show next comments  441 more
×
×
  • Create New...