View Full Version: Website: Coding

Beyond Good & Evil Revolution > [Old Website Forum] > Website: Coding


Title: Website: Coding
Description: Making it happen!


Secundo - February 28, 2006 04:59 AM (GMT)
Here is where the back bone of the site will be created. Everyone who has signed up will be directly or indirectly responsible if the site is a success, or a failure. A good site can be made entirely in the coding category, in fact ANY site must be made through coding.

The Coding Team:
Secundo
daidalos
JerichoMccoy
The_Evil_Reaper

First off, though our numbers are few and workload is heavy, we can do this! The basic HTML will be done by me. I’ll create three site templates that will be the basic design for any page of the site. The variance between pages is mainly images, and image placement, but also, functionality . This requires more advanced coding and that is what the team is for!

To complete a task you can do one of a few things: post a link to a tutorial for how to do it (of course this only applies to copy and paste code like the Marquee code), or post the actual code (preferred method). For some more complicated things, like sql or php that requires knowledge of the server, then please ask and I’ll see what I can get you (It’ll take me a few days to buy the domain space)

Alright, feel free to work together to complete tasks in fact for the site intro and such, it is high recommended.

Again, good luck, sign up and ask for whatever you need!

Secundo - February 28, 2006 05:00 AM (GMT)
Flash
Flash Intro
[ ] Fast loading and visually stunning. It does not have to be flash just a movie or somesuch that shows off bg&e

Flash Links
[ ] While the user scrolls over the main categories of the site, a red (or green, or black, whatever) bar moves with the cursor as you scroll over it, example (http://www.mapleglobal.com/)

Scrolling Film
[ ] A flash movie with this effect: When the user clicks on one of the main links, then the “filmstrip” has an effect. Either it scrolls and reveals more pics. Maybe the screen “takes a picture” or maybe the film… whatever, you get some creative design here.

Code
Daily Fan Stuff
[ ] Make a code that will generate a new image everyday. A good example is: http://starmen.net/ (under “weird junk). The “awesome fan thing of the day” changes daily.

[X] Find the way to make a random code generator for the C&P handbook. An example is the quotes here: http://swgb.heavengames.com/

Content Features
Content BG Selection
[ ] A way to give the user an option to change which screen is used as the background for the content. From simple links, to a drop down menu, again, you have some creative style here.

Semi-trans
[ ] If you look at the mock up you will see how it has a semi-transparent region for the content. The problem with this is that HTML doesn’t display semi transparency THAT I KNOW OF! The question is, what file do we have to use to get that effect?

NOTE
[ ] When pasting content into any window make sure to allow 33% more room in case we decide to translate the website.

Minor Functions
Search Function
[ ] A basic search that’ll allow the user to quickly to navigate and search the site.

Login/Registration
[ ] This MAY not be possible as we have the forums at invisionfree. So it’ll require the user to register twice, once for the site, and another for the forums. The site to use the “assignment” part will require registration and that is why we’ll need this!

Assignment
[ ] See http://s6.invisionfree.com/BGE2_Revolution...p?showtopic=378 for a good idea about what our assignment’s page will do. The hard part is coding this! This’ll be a hard but vital part of the site! So, even links to tutorials about how to pull off something like this will be great.

Petition
[ ] Code to make a Petition. Think, “guestbook”

daidalos - February 28, 2006 02:24 PM (GMT)
Well I think I´ll take over the part of the C&P Handbook at first.
I don´t know how much passages of the text are known, though. It will be necessarie to do a little research on that. :)

What I alreay know is that I will make this script using perl, that means it is vital that pearl is installed on the webserver and that there is a cgi-bin directory (if it´s a *nix system the perl-programm will need following rights: 775 (I believe)).

I think the assignment part will be difficult. The coder, for the last page I worked on, needed to use PHP for this sort of stuff. I dunno whether it can be done using a different language.

[edit]
Would it be possible to use paypal for the donation thingy or did you think of something different?

[edit]
done

The_Evil_Reaper - February 28, 2006 08:02 PM (GMT)
I'm a bit busy right now, unfortunatly. Just mail whatever needs to be done, but mind my points of expertese....(don't give me assignments I can't do)

Secundo - March 1, 2006 12:11 AM (GMT)
LOL, the idea is NOT to make this "dreadful homework." Please do what YOU want to do! I won't know what you can do, until you actually do it!

Also, I'm checking an assignment off! Great work dai!

EDIT:
Also the "donation" code needs to be secure and it'll most likely be a paypal since that is something everyone t least knows about.

daidalos - March 1, 2006 12:17 PM (GMT)
Eh you marked that cross on the wrong section. My script is for the C&P handbook. Now I only have to find out how to include it into the code.

For the "awesome thing of the day" we will need database like mysql and some sort of script (maybe in PHP), so the admin can add a picture every to the database every day (through a special panel).
Any other ideas?

JFSOCC - March 1, 2006 04:12 PM (GMT)
forgive me for intruding in the coders den, but i was wondering about the petition, how would you do it?

if you want to have credibility you will have to allow only one signature per person, and no chat
so my idea was that you are forced to (with the promise that we will not do anything with that info, sell ti or make it public) give your full name, and e-mail. and are allowed a little text box by which you can motivate why, if you want.

also i was wondering, will paypal be the only way people can donate? wouldn't it be okay to give a bank account as well?

daidalos - March 4, 2006 06:25 PM (GMT)
I think I´ll take this over:
Petition
[ ] Code to make a Petition. Think, “guestbook”

To code a guestbook is typical for Perl and I think I´ll do it that way:
You will be able to type in his name and then it will be stored on the server in a text-file, in a single line. To prevent double entries, the program will have a sub-routine that will compare the sent data with all the entries in the file.
As said before, every name will be written onto one single line so another program can count all the lines and display the amount of signatures on the page.

That´s the theory, now I´ll have to think about how to implement this.

Secundo - March 5, 2006 02:18 AM (GMT)
I have since changed my mind about a LOT of things… because of past… “Issues” the Revolution has had with web hosting I decided to play it safe.

I’ve recently contacted a trusted and very successful webmaster about ways to run a secure website. I can’t afford to be hacked, have the website blocked, whatever. I’ve now chosen a course of action that’ll assure that we have a safe, secure, and legal… yes legal website.

One concern with running a legal site is having a “family friendly environment.” I won’t go into all the legal, financial, and specific details about the legal issues at the present, but I will go through how it affects the petition portion of the website.

The petition can no longer just be automatic; nor can the “submissions.” Why? Because we we’ll have to “screen” ALL content of the website. We can not have our petition crawling with foul language, pron, or any mature or offensive content. If out guestbook is “automatic” then we won’t be able to screen it. BASICALLY, we have two options…

One is to create an entire sub-program that the staff can use to easily allow or ban the message. The other, and more practical approach, is an e-mail system.

Have an email address, such as petition@bgerevolution.com, that the form is automatically sent to. Then have the staff update the petition manually. YES it’s a little more work, but we’ll still get the same amount of signatures! Also, because of this form of manual update we can do a LOT more! So, here are the blueprints for the petition.

We will accept any form of signature. If you want to include a funny comic strip or any kind of image, go ahead! If you simply want to sign, go ahead! And if you want to mail in your real John Hancock, Go Ahead! That’s right; the same P.O. Box that’ll be available for check and money orders can also be used to to send in your signature!

This obviously opens up a lot we can do with this. One vision that I want to do is to reach 30,000 signatures… wait a second, absorb that… yes we’ll shoot for a LONG TERM goal. It may take a couple of years but we need an impressive amount : ) Now, we could put all our signatures into a bunch of pages, take the real signatures and put them together, then the sigs with images and put them together, print out our best fan fics and art and bind it all up it to a “petition BOOK!” Because that’ll be the size! Then send it to Ubisoft, Ancel, basically, ANYBODY WIH INFLUENCE (Although 3-6 major offices would be best I think!)

How could that NOT influence somebody : P

Now that you get the idea, write that code!

JFSOCC - March 5, 2006 02:33 AM (GMT)
http://www.petitiononline.com/petition_FAQ.html

maybe we can host or petition there (too) they seem to be rather well organised, so they'd have the spamfilters and such.
off course we could also link to/from there.

Secundo - March 5, 2006 03:29 AM (GMT)
AAAAAAAAAHHHHHHHHHHHHHHHHHH!!!!!!!!!!!!!!


THIS is what inspired me to do the petition the way I stated...

Petition online is THE DEMISE OF PETITIONS AS WE KNOW IT!!!!

You can find a "I think Legend of Zelda Graphics are terrible" with entries by a bunch of 13 year olds that are... AAAAAAAAAHHHHHHHHHH!!!!!!1

That's why I want it done tis way. To show that this is NOT an ordinary petition! This will not just be a collection of signatures. It will be proffesional and personal. It'll be a different kind of pettition that goes against the stereotypical "petition." This will represent a lot of hard work on behalf of the Revolution and will catch attention of the passer byer.

SO, I hope yall see why I feel this way is the best way. Not practically and functionally, but effectivley.

daidalos - March 5, 2006 11:20 AM (GMT)
Yes, I see.
I thought about making the program send an email to one of the accounts so we can approve it, but then I discarded the idea because we'd need some kind of sendmail-server for this.
We will need EITHER sendmail installed on the webserver, or I'll need to include some kind of sub-routine which will login into an account of a mail-provider.
I think the local sendmail-server thingy will be easier.
And it's also possible cipher the content of the mail with PGP.

Secundo, what will be the operating system of the webserver, do you already know that?

Secundo - March 5, 2006 09:48 PM (GMT)
It's Windows.

I debated a Linux host but just decided on a windows server since they were the same price. Also, there are just more progrms for Windows servers so... well, I won't bore you with the details, that's the info you need!

daidalos - March 5, 2006 09:57 PM (GMT)
Windows, eh?
Nevertheless we will need perl and sendmail installed - unfortuanetly I don't know how to install either on a Windows machine.
As I said, I could try to include a login script so it would use someons mail-account but it would be better to use a local sendmail program.
Would that be possible, or not?

JerichoMccoy - March 6, 2006 11:23 PM (GMT)
Sorry I'm late. Traffic was insane!

So I have no clue how to do any HTML stuff. However, I believe I do have Dreamweaver and Flash MX so I can do something with those two programs.

However, I'm gonna need a little bit of help here. What can I do with these two programs?

Dreamweaver I can create the site and link to different pages.

And with Flash I can possibly do the Intro.

But is that all?

Alexa - March 7, 2006 03:24 PM (GMT)
Uh,erm...*COUGH,COUGH**EGHRM*wha-*EHRM*

So...Secundo told you about the flash project or no? :huh:

JerichoMccoy - March 8, 2006 01:32 AM (GMT)
Flash? Project? The?

I read on the recent posts about using Flash but I mean, how to use it. What would be needed, etc. etc.

I'll clarify tommorow.

Thinking about Paikia and the Minorai Tribe...

Alexa - March 8, 2006 02:01 PM (GMT)
Great!So watch out for PM flying around... :D

Secundo - March 8, 2006 05:56 PM (GMT)
Clearly that day I tried to mass pm it didn't quite work...

Also, "HTML and Flash... that's all?"

Well no, right now I'm looking at flash, pearl, html, php, sql, java, CSS, coldfusion and XHTML. That's 9 different languages, (granted some have similar functions...) that we could potentially use. I am only good with one of them and know a little about the others.

Anyway, Alexa has graciously volunteered to wok on the Intro to the site. However, she would like some help and I agree that the best way to work on this is as a team. I know Jericho you enjoy Flash and possible others so if you want to be a part of the Intro sub team. have at it.

Also, as I've stated in another topic, I play for the HSAA a homeschool basketball team out of North Texas and we advanced to Nationals. So, I'll be in Oklahoma playing and hopefully winning the 5A division bracket!

Anyway, I know some things here relly on knowledge of the server so, that's fine. You can either try to work through it, or take a break until I get back to the boards on the 18th.

Also, if somesome at this time wants to step up to the plate a a section leader... go for it! That way we can stay on track. If not, I under stand. Remember, this work is not like "homework" or something to dread. So just do as you lease the next week.

Well, that's it! If you have any questions pm me or post, I'll won't be leavng for a while yet.

Secundo - April 10, 2006 03:48 AM (GMT)
Alright, thanks to denden we've got a LOT of content for the site. Images for the site exist thanks to myself and the site mockup AND everyone that's contributed a screenshot.

I just relized how much I really didn't need done. inf fact, "production" has made progress without an help until...

Well, I've got one thing more to do to finish out he site template. This is a navigation system. Now there are two ways to do out type of navigation, javascript or Macromedia Fireworks (which simply makes javascript).

If you are god at javascript, would like to try and work on it, know how to use fire workd or just wanna help PLEASE pm me or post here. For an example of hat I need done see:

http://www.illycollectioncups.com/collection.htm

Basically, we'll scroll over the "home" buttons. They'll change colors, and the photos will ALSO change. And they too will toggle when you mouse over them. Basically, EXACTLY what that page does (I just can't figure out how they do it...)

Anyway, please contact me soon. This is the last thing holding up the website.


For those who don't know, we own a domain name and space. I'll start really uploading stuff once I get the template done but for now this is holding me up... well and one more thing. Which I'll discuss in the image gallery.

G.A.Pster - April 10, 2006 06:42 AM (GMT)
QUOTE (Secundo @ Mar 8 2006, 11:56 AM)
Also, as I've stated in another topic, I play for the HSAA a homeschool basketball team out of North Texas and we advanced to Nationals. So, I'll be in Oklahoma playing and hopefully winning the 5A division bracket!


Are you home schooled?

Denden666Piek - April 10, 2006 01:38 PM (GMT)
QUOTE (Secundo @ Apr 9 2006, 09:48 PM)
Alright, thanks to denden we've got a LOT of content for the site.

Thanks to the team, Secundo. I just collected the stuff and did my part in the writing just like everyone else.

The_Evil_Reaper - April 10, 2006 03:00 PM (GMT)
QUOTE (Secundo @ Mar 8 2006, 11:56 AM)
Clearly that day I tried to mass pm it didn't quite work...

Also, "HTML and Flash... that's all?"

Well no, right now I'm looking at flash, pearl, html, php, sql, java, CSS, coldfusion and XHTML. That's 9 different languages, (granted some have similar functions...) that we could potentially use. I am only good with one of them and know a little about the others.

Anyway, Alexa has graciously volunteered to wok on the Intro to the site. However, she would like some help and I agree that the best way to work on this is as a team. I know Jericho you enjoy Flash and possible others so if you want to be a part of the Intro sub team. have at it.

Also, as I've stated in another topic, I play for the HSAA a homeschool basketball team out of North Texas and we advanced to Nationals. So, I'll be in Oklahoma playing and hopefully winning the 5A division bracket!

Anyway, I know some things here relly on knowledge of the server so, that's fine. You can either try to work through it, or take a break until I get back to the boards on the 18th.

Also, if somesome at this time wants to step up to the plate a a section leader... go for it! That way we can stay on track. If not, I under stand. Remember, this work is not like "homework" or something to dread. So just do as you lease the next week.

Well, that's it! If you have any questions pm me or post, I'll won't be leavng for a while yet.

I donno Flash, PHP & HTML but I'm willing to learn these 3.
I'm pretty much known with Mysql(about making and searching in databases) & java and willing to improve these skills.
I'm not familiar with CSS, coldfusion and XHTML, and am not sure if I want to learn them.

So, I need to know, with my knowledge, what I can do from the assignments...

I know it's not supposed to be like homework, but I need a little guidance here, what needs to be done in what language???

Secundo - April 10, 2006 05:19 PM (GMT)
Alright, I simplt been making an XHTML webspage template. But, I'm stuck and I need java script coding to bail me out. I've ever read a thing on jvascript so I simply can't utilize it beyond basic cut-and-paste.

Alright, I'll describe the effect:

http://www.beyond-revolution.com/

If you scroll over game, fan network or about us I need it to create a rollover image. The rollover image is siply that same text, except with an underline.

Then, if you scroll over "game" I want the pictures to change. And they'll change to labeled b/w images with the site sections. When the user scrolls over these, then the'll change to color images. Alright, that's the effect. The closest I've come to finding a god example is:

http://www.illycollectioncups.com/collection.htm

This links navigation is the effect same as what I want. You rollover a main link and it changes and brings up a sub-nav, which you can also rollover.

CODE

<a href="home.htm" onMouseOut="MM_swapImgRestore();MM_startTimeout()" onMouseOver="MM_showMenu(window.mm_menu_0514130715_0,-52,40,null,'home');MM_swapImage('home','','images/home_f2.jpg',1)"><img name="home" src="images/home.jpg" width="53" height="37" border="0" alt="">


That's the code part from that lily site that I want to replicate. It's simple but I can't figure out how it works. Normally Javascript has some code to paste into the header part of the html, what would that be?

Actually, I do know how to make rollover buttons, that's not the problem. It's basically making "rollovers within a rollover." If that makes sence. When I make a rollover out of... the Game link. The image don't swap when scrolled over. The only javascript command I'm puzzled by here (an I'm no javascript master) is the
CODE

MM_showMenu

cammand that makes the second layer of links appear.

If it's any help...

I've got all the files that is images and their rollover states done. If you'd like them and want to make the entire code that'd be great. I linked to beyond-revolution.com just rip the HTML from there and trhow it togther if you think you can.

If that's not enough information, just tell me what more you need and I'll be happy to supply it.

Secundo - April 10, 2006 05:23 PM (GMT)
Now to answer the off-topic q:

Yes, I'm homeschooled. I love it, lots of freetime especially it rocks. Not to mention you can work at your own pace. I'll be done with school next year. And then I'll have to wait another 6 months to turn 18!

Oh and, we did... aweful at nationals. Not even worth mentioning. there were about 50 teams and we were somewhere in the middle 23-28 place...

Apparently, having a 6 foot 7 freshmen just doesn't win games...

G.A.Pster - March 27, 2007 04:08 AM (GMT)
Wow I actually understand most of this section now before it was like a bowl of alphabet soup CSS, XHTML, Java etc. now I know what it means. ^_^



Hosted for free by InvisionFree