superjer.com/forum/ Questions

superjer.com/forum/ Questions

Other Help — Page [1]
sprinkles

Chrome Whore
2009 Sep 6 • 2547
10 ₧
Firstly does the forum allow you to add object content? like:

html code
<img style="visibility:hidden;width:0px;height:0px;" border=0 width=0 height=0 src="http://counters.gigya.com/wildfire/IMP/CXNID=2000002.0NXC/bT*xJmx*PTEyNzAwODU2Njg1NzYmcHQ9MTI3MDA4NTY3MzM3MyZwPTE4MDMxJmQ9Jmc9MSZvPWIxZGRmYmRhZmNjODRhY2FhOTlj/MzVmNThkYjk*NzVl.gif" /><center><p style="visibility:visible;"><object type="application/x-shockwave-flash" data="http://assets.myflashfetish.com/swf/mp3/mff-nano.swf" height="382" width="165" style="width:165px;height:382px"><param name="movie" value="http://assets.myflashfetish.com/swf/mp3/mff-nano.swf" /><param name="quality" value="high" /><param name="scale" value="noscale" /><param name="salign" value="TL" /><param name="wmode" value="transparent"/><param name="flashvars" value="myid=49289477&path=2010/03/31&mycolor=2D2D2D&mycolor2=FFFFFF&mycolor3=77ADD1&autoplay=true&rand=0&f=4&vol=100&pat=0&grad=false"/></object>


Worthless.
 
 
 
2010 Apr 1 at 02:05 UTC — Ed. 2010 May 12 at 04:34 UTC
SuperJer
Websiteman

2005 Mar 21 • 6666
Yes if you put it in [html] tags but if it gets abused I'll have to disable it.
 
 
 
2010 Apr 1 at 06:45 UTC — Ed. 2010 Apr 1 at 07:00 UTC
sprinkles

Chrome Whore
2009 Sep 6 • 2547
10 ₧
Ah, I have to learn HTML again.
 
 
 
2010 Apr 1 at 07:36 UTC
SuperJer
Websiteman

2005 Mar 21 • 6666
Did it go poorly the last time?
 
 
 
2010 Apr 1 at 09:05 UTC
sprinkles

Chrome Whore
2009 Sep 6 • 2547
10 ₧
No. I jus' "don't have the time" right now.

HTML code
<a href="mysite.mydotcom" target="_blank">Click me</a>


That opens a link in a new tab right?

Click me

I guess it does.
 
 
 
2010 Apr 1 at 09:26 UTC — Ed. 2010 Apr 1 at 09:38 UTC
Sloth

2008 May 18 • 543
sprinkles said:
No. I jus' "don't have the time" right now.

HTML code
<a href="mysite.mydotcom" target="_blank">Click me</a>


That opens a link in a new tab right?

Click me

I guess it does.



(url=http://sprinkles.creare-forum.net/forum.htm](img]http://fmcommunity.topicboards.com/users/1615/19/13/24/avatars/5-43.jpg(/img][/url) Replace the ) with ] andu get :
 
 
 
2010 Apr 1 at 11:31 UTC — Ed. 2010 Apr 1 at 11:33 UTC
sprinkles

Chrome Whore
2009 Sep 6 • 2547
10 ₧
I am pretty sure, if there was a picture of me on every link to my forums nobody would join.
 
 
 
2010 Apr 1 at 17:54 UTC — Ed. 2010 Apr 1 at 17:55 UTC
sprinkles

Chrome Whore
2009 Sep 6 • 2547
10 ₧
Hey, what is all this stuff:
Source - Superjer Forums code
a.nav:link,
a.nav:visited,
a.nav:active { font-size:16px;background:#000;border:1px solid #111;color:#FFF;text-decoration:none;padding-left:2px;padding-right:2px; }
a.nav:hover { font-size:16px;background:#FFF;border:1px solid #FFF;color:#000;text-decoration:none;padding-left:2px;padding-right:2px; }
a.hid:link,
a.hid:visited,
a.hid:active { color:#000;text-decoration:none; }
a.hid:hover { color:#000;text-decoration:underline; }
a.hid2:link,
a.hid2:visited,
a.hid2:active { color:#FFF;text-decoration:none; }
a.hid2:hover { color:#FFF;text-decoration:underline; }
a.lie:link,
a.lie:visited,
a.lie:active,
a.lie:hover { color:#FFF;text-decoration:none; }
a:link,
a:visited,

 
 
 
2010 May 11 at 20:01 UTC
SuperJer
Websiteman

2005 Mar 21 • 6666
That's... some of the CSS for the Forams. Specifically the bits for styling links.
 
 
 
2010 May 12 at 00:05 UTC
sprinkles

Chrome Whore
2009 Sep 6 • 2547
10 ₧
So what's in all the source for the forums?

HTML, CSS, PHP, JavaScript, MySQL

Did I miss anything?

How do you have time to learn all of that? Is it all necessary for making a web page? forums?
 
 
 
2010 May 12 at 00:23 UTC
Rockbomb
Dog fucker (but in a good way now)

2009 Nov 14 • 2045
Learn php, and you can make awesome pages.
Also learn html, but you can learn html in like an hour.
 
 
 
2010 May 12 at 00:29 UTC
SuperJer
Websiteman

2005 Mar 21 • 6666
sprinkles said:
So what's in all the source for the forums?

HTML, CSS, PHP, JavaScript, MySQL

Did I miss anything?

How do you have time to learn all of that? Is it all necessary for making a web page? forums?


I think you got everything.

It does take a long time to learn all this stuff. I've been programming for 20 years and still have tons to learn. It's just like any other skill, though.

* You only need to know some HTML to make a web page.

* If you want to use modern page styling you need to learn CSS.

* If you want your "page" to DO something you need to learn a programming language. Like PHP, C#, Perl, Python, etc. At this point your "web page" is really a front-end to your application.

* If you need to store data you should learn a database like MySQL, SQL Server, etc.

* If you want your front-end web page for your application to do something cool & dynamic like the chat-box you need to learn Javascript.

The forams uses all of this stuff.
 
 
 
2010 May 12 at 01:04 UTC
sprinkles

Chrome Whore
2009 Sep 6 • 2547
10 ₧
I am bad with the internet. What is happening behind the scenes of SJ forums? Like when someone posts something what does the server do? How about when someone enters text into the chat?
 
 
 
2010 May 12 at 01:14 UTC
SuperJer
Websiteman

2005 Mar 21 • 6666
sprinkles said:
I am bad with the internet. What is happening behind the scenes of SJ forums? Like when someone posts something what does the server do?

1. Your browser sends what you typed as an HTTP POST message to my server at port 80.

2. On my server, Apache is listening on port 80 so it receives your request.

3. Because the request is pointed at a PHP file on my server, Apache hands off the data to PHP.

4. PHP runs my code which checks your data for correctness and formats it and some other stuff. It also makes sure you have the correct permissions for posting based on your session data based on your browser cookie(s).

5. If my PHP code is happy with your data, it sends it off to MySQL for storage. Specifically, to the "posts" table in the "superjer_forams" database.

6. Now your message is in the forams!

sprinkles said:
How about when someone enters text into the chat?

Pretty much the same as above, but Javascript on the page sends your data off to my server without you having to actually leave the page when the HTTP POST happens.
 
 
 
2010 May 12 at 01:24 UTC
sprinkles

Chrome Whore
2009 Sep 6 • 2547
10 ₧
What happens when someone tries to view your page?

Like when I'm in my browser and navigate to superjer.com what happens? It checks to see if the domain name is valid right? Then what does your server do?

I think what my specific question is, is how does your server know when and what to display when I navigate to your site?
 
 
 
2010 May 12 at 04:34 UTC
SuperJer
Websiteman

2005 Mar 21 • 6666
sprinkles said:
What happens when someone tries to view your page?

Like when I'm in my browser and navigate to superjer.com what happens? It checks to see if the domain name is valid right? Then what does your server do?

I think what my specific question is, is how does your server know when and what to display when I navigate to your site?

Well,

1st) Your browser asks your DNS server (probably your ISP) what the IP for superjer.com is.

2nd) Your browser sends a HTTP GET request to my server IP (64.34.34.40) that literally looks like this:
code
GET /forum/ HTTP/1.1
Host: www.superjer.com
User-Agent: YourBrowserNameAndVersion
Referer: http://somewhere.you/clicked/a/link.from


3rd) Anyway the request comes in on port 80 where Apache is listening and Apache reads your request to figure out what you want. It says you want /forum/ on www.superjer.com so it goes and looks for the file for that location which happens to be on my server /www/superjer.com/forum/index.php

4th) Apache knows that .php files need to be handled by PHP so it spins up PHP to take care of it. My forams PHP code in index.php runs and talks to MySQL to retrieve the forum data, and then build HTML to represent it to you, and then hands the resulting HTML back to Apache.

5th) Apache then relays the HTML back to your browser and then BAM! Forams in your face.
 
 
 
2010 May 12 at 09:36 UTC — Ed. 2010 May 12 at 09:41 UTC
sprinkles

Chrome Whore
2009 Sep 6 • 2547
10 ₧
So if I set up a server for a webpage and forums, do I have to configure Apache to do all that? or does it jus' do it right out of the box?
 
 
 
2010 May 12 at 12:31 UTC
Rockbomb
Dog fucker (but in a good way now)

2009 Nov 14 • 2045
sprinkles said:
So if I set up a server for a webpage and forums, do I have to configure Apache to do all that? or does it jus' do it right out of the box?

You can use a premade forum like vbulletin or phpbb, and then you basically just upload all their files to your server, and set up mysql and everything will work.

SJ is crazy awesome and designed his own forums.
 
 
 
2010 May 12 at 15:49 UTC
SuperJer
Websiteman

2005 Mar 21 • 6666
sprinkles said:
So if I set up a server for a webpage and forums, do I have to configure Apache to do all that? or does it jus' do it right out of the box?


I don't know about on Windows, but on Ubuntu (and other Linuxes) the command:
code
sudo tasksel install lamp-server

installs and configures Apache, MySQL, and PHP to all work together. It's all I've had to do, anyways.

The problem with off-the-shelf forum software is they are such a ripe target for spam-bots. If your forum gets very popular at all it will just get destroyed by the spammers.

I wrote my own to avoid spam. Spammers don't bother attacking forum software that's only on one site.

 
 
 
2010 May 12 at 21:52 UTC — Ed. 2010 May 12 at 21:53 UTC
sprinkles

Chrome Whore
2009 Sep 6 • 2547
10 ₧
Actually I have Ubuntu Server 9.10, which has a nifty install LAMP button.

How long did it take you to make the forums?
 
 
 
2010 May 12 at 22:19 UTC
Rockbomb
Dog fucker (but in a good way now)

2009 Nov 14 • 2045
sprinkles said:
Actually I have Ubuntu Server 9.10, which has a nifty install LAMP button.

How long did it take you to make the forums?

OVER 9000!
 
 
 
2010 May 12 at 22:24 UTC
Link
*** BANNED ***

2010 Mar 29 • 5
Rockbomb said:
sprinkles said:
Actually I have Ubuntu Server 9.10, which has a nifty install LAMP button.

How long did it take you to make the forums?

OVER 9000!

WHAT 9000?!
 
 
 
2010 May 12 at 22:25 UTC
sprinkles

Chrome Whore
2009 Sep 6 • 2547
10 ₧
STFU, Vegeta.
 
 
 
2010 May 12 at 22:26 UTC
Down Rodeo
Cap'n Moth of the Firehouse

Find the Hole II Participation Medal
2007 Oct 19 • 5486
57,583 ₧
This was released a little over two years ago, no? I remember joining when it was the old-style forumses.
 
 
 
2010 May 12 at 22:34 UTC
Page [1]