Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Geek Culture / Structuring a website?

Author
Message
Neuro Fuzzy
17
Years of Service
User Offline
Joined: 11th Jun 2007
Location:
Posted: 7th Apr 2011 02:39 Edited at: 7th Apr 2011 02:44
So... I want to start getting more website traffic, so that when I actually make a program people will pay for, it'll be found.

Anyways, I have this random page script on my website. It shows a random image every time you visit the page. Now, I want to have a facebook "like" button, and a stumbleupon "thumb up" button for each individual image. My question is... How do you do that?!

What I'm thinking about doing is this:
(1) Create a separate page for every image I want displayed.
(2) Create a "randpage" script that redirects you to one of the image pages.

I could write a program to do this, so I guess it wouldn't be all that tedious, but... It still seems repetitive. Is that really the best way to do it?


Tell me if there's a broken link to images in a thread I post, and I'll fix 'em.
Fatal Berserker
14
Years of Service
User Offline
Joined: 2nd Jul 2010
Location:
Posted: 7th Apr 2011 03:22
you can integrate facebooks like system into your site, it will help pull in visitors from facebook.

Neuro Fuzzy
17
Years of Service
User Offline
Joined: 11th Jun 2007
Location:
Posted: 7th Apr 2011 03:31
Ah, well yeah, but the problem is that - if I slapped a like button on randpage.php the way it is - you would "like" something, and when someone else went to look at it, they would see a different picture!


Tell me if there's a broken link to images in a thread I post, and I'll fix 'em.
Destrugter 1
18
Years of Service
User Offline
Joined: 26th Oct 2006
Location:
Posted: 7th Apr 2011 03:48
Maybe that could be the hook?
PrimalBeans
14
Years of Service
User Offline
Joined: 14th Oct 2010
Location: The sewer.... hunting alligatiors.
Posted: 7th Apr 2011 09:46 Edited at: 7th Apr 2011 09:47
may be you could use tags in your html to get ppl to view your site... lol

and register with search engines...

Phaelax
DBPro Master
22
Years of Service
User Offline
Joined: 16th Apr 2003
Location: Metropia
Posted: 7th Apr 2011 23:39
You need to associate an ID with each image, then you can just randomize the ID and put it in the address.

http://www.neurofuzzydev.com/img/randpage.php?id=12345

You can either build an associative array linking ID's to filenames, simply incrementing the ID with each image or create a hash of the filename to use as the ID instead.

The Internet: Where men are men, women are men, and children are federal agents
Neuro Fuzzy
17
Years of Service
User Offline
Joined: 11th Jun 2007
Location:
Posted: 8th Apr 2011 05:50
Ahh k. I was just being stupid - I thought about doing that a *tiny* bit, but kinda passed it off thinking you couldn't use that to like stuff for individual arguments. I realize now that you can lol.


Tell me if there's a broken link to images in a thread I post, and I'll fix 'em.
MrValentine
AGK Backer
14
Years of Service
User Offline
Joined: 5th Dec 2010
Playing: FFVII
Posted: 8th Apr 2011 07:10 Edited at: 8th Apr 2011 07:17
Why not use an iframe load the page with the image in there run the random script inside the named iframe (use id tags for the iframe) and that way because you have a separate php/html file for the images you can place the like and thumb up buttons on those pages and have the links direct back to the individual php/html page and then have a link going back to your main home page (or related page for that item).

This way you can shape the iframe to not have scroll enabled, and be vertically shorter than where the link to go back to your website is and still show the like and thumb up icons in view below the image on your main site...

Just my input, forget what I said if you have worked it out already...

If you need me to explain in more detail,, just shout.

MrValentine

Hi there! /all

EDIT

@ Neuro Fuzzy

Had a look at your site... need a lot of SEO'ing done, must look into it if you want search engines to like your site, one fre tip I will give you is, do not submit your site to a search engine until you are 100% finished with initial design and have some SEO implemented, else it counts as a neg for you, I do this professionally so TMWFI ^^ see my wiki slang for the meaning ^^, GL.

Neuro Fuzzy
17
Years of Service
User Offline
Joined: 11th Jun 2007
Location:
Posted: 8th Apr 2011 08:12
Hmmm... Could you give me any tips about search engine optimization? It seems like one of those topics where there's a LOT of crap about it and a LOT of people trying to make money by optimizing peoples sites or selling e-books on the subject. All I got out of reading the basics on it was make titles related to the page content (Which I've skimped out on ), and use html tags the way they're intended to be used. The only pages with real content on them are the ones in the /papers/ section... what could I do to improve those pages?


Tell me if there's a broken link to images in a thread I post, and I'll fix 'em.
MrValentine
AGK Backer
14
Years of Service
User Offline
Joined: 5th Dec 2010
Playing: FFVII
Posted: 8th Apr 2011 10:19 Edited at: 8th Apr 2011 10:21
What browser you using? if your using IE, go to a well designed website, right click, view source ^^ have a butchers >.<

You should find the google tracking script too,

umm, we HAVE to charge for SEO while we still can I reckon it will become common knowledge in a few more years... as SEO is what makes a web-site tick and generate BILLIONS not millions for some companies... so Money = yes please, free = theres the door...

But yeah just rip apart any good looking website and see what you can learn from it, I could just tell you here, but then hha you get the point >.<

But a hint would be, <META> (aka Meta tags)

EDIT

your on the ball about relavent information though, titles screw those but reflective content is a must, and remember to submit once your happy with your initial design and code

Neuro Fuzzy
17
Years of Service
User Offline
Joined: 11th Jun 2007
Location:
Posted: 8th Apr 2011 11:12 Edited at: 8th Apr 2011 11:13
OHHH. I read that meta tags were completely ignored by all major search engines, however after reading this google blog post:
http://googlewebmastercentral.blogspot.com/2009/09/google-does-not-use-keywords-meta-tag.html
I see that's only partially true.

Ahah, I suppose you're right about that teaching SEO and "losing" money thing xD
I guess once I'm done with this whole random image thing, I'll do what you said and tear apart a website (hmm... what's a major website. Oh yeah! I'll look at the SEO on google.c- oh wait)


Also, I decided to take the fancy route for this. I have a .txt file with a simple syntax (here). So there are a list of entries. Each entry has tags, (like [anim] or [math]), and three "parameters" which, in order, are filepath, title (So if the title was "banana" the website title would be "banana - NFdev"), and comment (like: "This is a picture of a banana!"). My plan is to learn a bit more javascript, and make it so you can get a random image matching one or more tags (because things like the [math] related [anim]ations on my site are way more interesting looking than just the [math] related pictures).

Fancy shtuff!


Tell me if there's a broken link to images in a thread I post, and I'll fix 'em.
Neuro Fuzzy
17
Years of Service
User Offline
Joined: 11th Jun 2007
Location:
Posted: 8th Apr 2011 13:51 Edited at: 8th Apr 2011 13:57
Alright, I have almost all of the PHP code done, now it's just for the javascript and niceties. The tag system isn't hardly implemented yet.
http://www.neurofuzzydev.com/img/

The idea is that at the bottom there'll be a little check box next to all of the tags (listed at the start of the text file), and "random", "next", and "previous" buttons. They will find the next/the previous/a random image that has all of the "checked" tags. Boxes will stay checked from page to page, each time you go to the next page, unless there are no images that match all of those tags, in which case a "sorry" message will appear, and you can adjust the checkboxes.

I haven't done much javascript before, and I might only need to use it for the "check none" functionality, but... well Iunno. I haven't really worked with forms or javascript before, and certainly not php, javascript, and forms all at the same time. xD I'll try to get it finished tomorrow though.

[edit]
note to self: replace all comment links with ones to index.php, instead of the direct image link. add a "perma link" and "embed" thing. if IE is detected, there should be a warning on all [anim] tagged images, because IE sucks with animated gifs. also, get rid of the blue image border.


Tell me if there's a broken link to images in a thread I post, and I'll fix 'em.
Phaelax
DBPro Master
22
Years of Service
User Offline
Joined: 16th Apr 2003
Location: Metropia
Posted: 9th Apr 2011 05:50
Quote: "and that way because you have a separate php/html file for the images you can place the like and thumb up buttons on those pages and have the links direct back to the individual php/html page and then have a link going back to your main home page (or related page for that item)."

That sorta defeats the purpose of using PHP, since you want to avoid creating a separate html page for every single image.

I had some SEO training from a google rep a few years back, it was rather boring!


Quote: " if IE is detected, there should be a warning on all [anim] tagged images, because IE sucks with animated gifs. also, get rid of the blue image border."

What do you mean? And also, to get rid of the border on linked image simply add this to your CSS:
img{border:0}

The Internet: Where men are men, women are men, and children are federal agents
Neuro Fuzzy
17
Years of Service
User Offline
Joined: 11th Jun 2007
Location:
Posted: 9th Apr 2011 05:55
go on IE an run this animation, it's slow, but on all other browsers it displays fine.
http://www.neurofuzzydev.com/img/comp1.gif


Tell me if there's a broken link to images in a thread I post, and I'll fix 'em.
TechLord
22
Years of Service
User Offline
Joined: 19th Dec 2002
Location: TheGameDevStore.com
Posted: 9th Apr 2011 14:16 Edited at: 9th Apr 2011 14:24
Quote: "So... I want to start getting more website traffic, so that when I actually make a program people will pay for, it'll be found."
If your program is good, people will seek out your website. Your domain name is extremly important. It has to be easy-to-remember, so you can blast it anytime, anywhere (cyberspace and real-world). Thanks to the Harry Potter craze my domain www.hpquest.com gets massive hits. Too bad I don't currently have any products/services for sale at the moment.

MrValentine
AGK Backer
14
Years of Service
User Offline
Joined: 5th Dec 2010
Playing: FFVII
Posted: 9th Apr 2011 14:56
depending on the application, your better going to review sites and submitting it, as TechLord said, if they like it, they shall seek you out (and buy you some candy if your lucky) ^^

Kevin Picone
22
Years of Service
User Offline
Joined: 27th Aug 2002
Location: Australia
Posted: 9th Apr 2011 15:50 Edited at: 10th Apr 2011 07:50
Quote: "Thanks to the Harry Potter craze my domain www.hpquest.com gets massive hits. Too bad I don't currently have any products/services for sale at the moment."


If visitors are following inbound links, hoping to find a HP site (and finding HP content) then yeah it'd be handy, but if they get there only to discover it's not relevant to them, then it's white noise in terms of traffic.



Quote: "So... I want to start getting more website traffic, so that when I actually make a program people will pay for, it'll be found."


Content, Content, Content.. It's no great mystery, the more useful stuff you put up, news / blogs / articles etc the more this becomes search engine fodder.

But really, you need sites linking into your material, this is like a vote for any piece of content. The more links in, the more important the content is and ultimately the better the ranking.

MrValentine
AGK Backer
14
Years of Service
User Offline
Joined: 5th Dec 2010
Playing: FFVII
Posted: 9th Apr 2011 15:59
Quote: "If the visitors are following inbound links in hoping to find HP site (and finding HP content) then yeah it'd be handy, but if they get there only to discover it's not relevant to them, then it's white noise in terms of traffic."


Seconded

crispex
17
Years of Service
User Offline
Joined: 22nd Jun 2007
Location:
Posted: 9th Apr 2011 22:25
Quote: "Why not use an iframe"


Why not put broken tags in while you're at it? Seriously, never EVER use iframes.

Anyway, as for web standards, use http://validator.w3.org/, it'll tell you how to fix it. Generally, once you get all of your issues fixed, your site *should* look the same in all browsers, give or take a rare one. You'll find that Internet Explorer is one of the worst in terms of optimization.

I just now realized I've had a typo in my signature for the past 3 years.
TechLord
22
Years of Service
User Offline
Joined: 19th Dec 2002
Location: TheGameDevStore.com
Posted: 10th Apr 2011 00:39 Edited at: 10th Apr 2011 00:40
Neuro Fuzzy, you could also consider using a Freeware CMS or Forum Application. These can save you tons of work and with a little modification shape them into the unique look you desire for your site. There are many advantages to using these applications. They offer security, multi-user support, themes and styles and large online communities.

I really like phpBB. Its chock full of features which can be used to manage your: forum, blogs, papers, galleries, etc. I operate for 4 separate forums from a centralized Forum I call the ORB.

crispex
17
Years of Service
User Offline
Joined: 22nd Jun 2007
Location:
Posted: 10th Apr 2011 02:03
Or you could use a good forum software.

http://simplemachines.org

I just now realized I've had a typo in my signature for the past 3 years.
MrValentine
AGK Backer
14
Years of Service
User Offline
Joined: 5th Dec 2010
Playing: FFVII
Posted: 10th Apr 2011 02:05
Or get decent hosting with one-click applications...

*INSERT HYPERLINK BELOW* ^^

Login to post a reply

Server time is: 2025-05-21 21:54:41
Your offset time is: 2025-05-21 21:54:41