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 / adding smileys to my website

Author
Message
Lukas W
21
Years of Service
User Offline
Joined: 5th Sep 2003
Location: Sweden
Posted: 3rd Sep 2005 20:06
hi there i am currently updating my website and i wanted to add smileys i know that is really easy to do: : ) ; ) : O etc. etc. but i wanted to add images etc. etc.

how would i do this?

i know of one method: <img src="happy.gif"> but that is just to much writing
is it possible to add a Java script/css or something similar and probably get a function like: addSmiley( ) or just [] or something?

also im considering rewriting the website into PHP but i know nothing about that, and i cant even install it

thanks for the help

thinkdigital
21
Years of Service
User Offline
Joined: 18th Oct 2003
Location:
Posted: 3rd Sep 2005 21:16 Edited at: 3rd Sep 2005 21:17
You can't make a page like:

...blah,
<body>
Hi everybody, : )!
</body>
</html>

And get:
Hi everybody, !

The forums use PHP to do this, and the system is different.

The easiest way would be to program the page like this:

...blah
<body>
Hi everybody, [happy]!
</body>
</html>

and make yourself a program in DB that replaced everything in brackets as an image (e.g., [happy] would get converted by your program to <img src="smilies/happy.gif" alt="(Happy)" />

Then you'd just use that program before uploading.
DBAlex
20
Years of Service
User Offline
Joined: 4th Oct 2004
Location: United Kingdom
Posted: 3rd Sep 2005 21:53
Youre in luck!

My freind (also from norway ) Recently wrote a tutorial for smilies for your site, Although you need PHP, heres the link:

http://www.n1studios.net/?1=viewtut&2=2

That should be useful (If you get PHP working...) Why not just use a host that has PHP allready installed ?


AMD 64 3000 + 512mb RAM + 80GB HD + Radeon 9600se 128mb
http://www.dbastudios.cjb.net
Phaelax
DBPro Master
21
Years of Service
User Offline
Joined: 16th Apr 2003
Location: Metropia
Posted: 3rd Sep 2005 22:42
Here\'s a snippet from my forum code:



Your signature has been erased by a mod because it's larger than 600x120...
thinkdigital
21
Years of Service
User Offline
Joined: 18th Oct 2003
Location:
Posted: 3rd Sep 2005 22:44
It's a nice tutorial, except that you'd have to make the whole site as PHP. Not that I can see anything wrong with that, it's just annoying.
Lukas W
21
Years of Service
User Offline
Joined: 5th Sep 2003
Location: Sweden
Posted: 4th Sep 2005 12:53
thanks for the help guys. i will look into the tutorials

i need to get php working on my computer so i see what im doing, then ill just upload the page to a host with PHP suport. isn't that what everyone does?

anyway, do you think tgc would mind if i used some of their smileys on my page. if i add a "Smileys are created and © by [link]the game creators[/link]"??

Lukas W
21
Years of Service
User Offline
Joined: 5th Sep 2003
Location: Sweden
Posted: 4th Sep 2005 18:23
ok, noone answered.. so who should i email and ask for permission?

DBAlex
20
Years of Service
User Offline
Joined: 4th Oct 2004
Location: United Kingdom
Posted: 4th Sep 2005 18:47
Richard Davey?




AMD 64 3000 + 512mb RAM + 80GB HD + Radeon 9600se 128mb
http://www.dbastudios.cjb.net
Megaton Cat
21
Years of Service
User Offline
Joined: 24th Aug 2003
Location: Toronto, Canada
Posted: 4th Sep 2005 18:58
Smilies on websites look plain silly...


The future is here, and I can't afford it.
Phaelax
DBPro Master
21
Years of Service
User Offline
Joined: 16th Apr 2003
Location: Metropia
Posted: 4th Sep 2005 19:20
yea, i hate smileys!



Your signature has been erased by a mod because it's larger than 600x120...
Lukas W
21
Years of Service
User Offline
Joined: 5th Sep 2003
Location: Sweden
Posted: 4th Sep 2005 19:25
Quote: " Richard Davey?"

thanks

like, smileys aren't evil species from space you know (or are they )

Megaton Cat
21
Years of Service
User Offline
Joined: 24th Aug 2003
Location: Toronto, Canada
Posted: 4th Sep 2005 19:30
All I'm saying is, they look cool and everything on a forum, but childish on a website.


The future is here, and I can't afford it.
Lukas W
21
Years of Service
User Offline
Joined: 5th Sep 2003
Location: Sweden
Posted: 8th Sep 2005 12:37
ok, i've finally installed php4, and i've finally learned it
the website is converted to PHP and to access a page like downloads, you needed to write: lukasw.bizhat.com/down.html and that would lead you wrong, because you miss the index.html if you do so.
so ive changed that to: lukasw.bizhat.com/index.php?page=1

anyway, i have not uploaded the website yet and i dont have time now.
ill be off to pick up my new glasses soon

RegenProZ
19
Years of Service
User Offline
Joined: 20th Aug 2005
Location:
Posted: 8th Sep 2005 12:57
Eww Smileys, Can't say I like them that much, yet I use them all the time o.0

Final Fantasy Fan
Lukas W
21
Years of Service
User Offline
Joined: 5th Sep 2003
Location: Sweden
Posted: 9th Sep 2005 16:02
i dont mind smileys, but when there are too many... hmm

anyway, i asked darkproject.com and im allowed to use them. yay

Kangaroo2 BETA2
21
Years of Service
User Offline
Joined: 23rd Aug 2003
Location: Somerset / UK
Posted: 14th Sep 2005 20:55
someone asked about using the smileys before and Rich said no because they were made especially for the forums by somebody and he couldn't give permission. However, there are MANY royalty free smily and animated gif sites out there, just make sure you search for them in Firefox with a heavy viruss scanner on

RegenProZ
19
Years of Service
User Offline
Joined: 20th Aug 2005
Location:
Posted: 14th Sep 2005 22:35
I didn't know their was a 'Copyright' for smileys

Oh dear me, better make sure my smiles are copyright free and all.

Next thing you know, you'll be arreasted for smiling without permission.


MGSolids Messenger - WIP Forum
Lukas W
21
Years of Service
User Offline
Joined: 5th Sep 2003
Location: Sweden
Posted: 15th Sep 2005 08:50
i know, copyright on smileys suck. but if anyone used my smileys (if i had some) i would like people to give me credit for it

XpProUser,
i looked at your webpage, it is really great.
the messenger thing looks really cool and its written in dbp. that's even better
and did you write the forum yourself? it looks guuud

[href]lukashangout.tk[/href] Zombie Hunter This is a map editor
RegenProZ
19
Years of Service
User Offline
Joined: 20th Aug 2005
Location:
Posted: 15th Sep 2005 10:23
Hi Lukas, thanks for the compliment, not anyone really seems to care that much

Yea I did write the forum myself, after I got bored of using BBforum I thought what better than to write my own eh?

Anyway thx

Kangaroo2 BETA2
21
Years of Service
User Offline
Joined: 23rd Aug 2003
Location: Somerset / UK
Posted: 15th Sep 2005 13:14
I'm confused, you wrote "EasyForum"? I've seen lots of people use it I thought it was a major free Easy to use PHP thing - if you programed that yourself and allowed others to use it free, well good on ya

Dodo
20
Years of Service
User Offline
Joined: 8th Aug 2004
Location: eating lunch
Posted: 15th Sep 2005 20:50
actually - if you look at the smiley list where it says "more" you can scroll down and find out who made the smilies. I'm sure if you went to the appropriate website and asked nicely, you could use these smilies too.

Part of solving the problem is actually noticing that the problem is there in the first place

Login to post a reply

Server time is: 2024-11-15 18:49:31
Your offset time is: 2024-11-15 18:49:31