vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   e-steki Smilie Maker 1.7 (https://vborg.vbsupport.ru/showthread.php?t=100043)

Lea Verou 11-03-2005 10:00 PM

e-steki Smilie Maker 1.7
 
This modification allows you to create personalized smilies by choosing eyes, mouth and face. The smilie set that was used for the graphics is one of the most popular and beautiful ones (see screenshots). It is possible to create up to 18000 different smilies for this so hours of fun are guaranteed! Additionaly, it includes plugins for custom WOL location, so that they don't show up as unknown and a handy bbcode (bbcode example: [smilie=1,2,3]) to put those smilies in posts. There is a field in the smilie maker which displays the bbcode that should be used so that the user can copy it from there. Every action is made via javascript so that the page does not reload. It is fully phrased so translations are now a piece of cake! :)

DEMO: http://www.e-steki.com/forum/smmaker.php (Note that the demo is in greek. However as there is not much text in this hack, you'll probably find your way :))

Important:You need GD enabled in your server to use this (and almost all image-creating-on-the-fly mods so you better tell them to enable it if they haven't already :p) Also this doesn't work in some forums that have the hack for transparent pngs in IE.

Installation

-1 product file which adds 5 plugins, 1 template, 4 AdminCP settings and 15 phrases.
-2 php file uploads
-1 folder with images upload
-1 small template edit
Detailed instructions are included in the accompanying zip file.

Please be kind and click
INSTALL if you have installed this mod. I *can* see this you know! :p

I hope you enjoy this mod as much as I enjoyed making it :)

Changelog:
Version 1.7
-Made the tables for the eyes, mouth and face collapsible
-Added 15 more eyes, 15 more mouths and 2 more faces
-Added text to show till a smilie is made so that the user doesn't think that nothing is happening. The text disappears after the creation of the smilie.
-Fixed the bug with the preview of the BBcode.

Version 1.6
-Added AdminCP option to hide the creation buttons to guests and show a message instead
-Added AdminCP option to hide the bbcode editbox so that forums with a lot of traffic don't get a big server load from many dynamic smilies. (to completely disable the functionality though you have to disable one plugin and not perform the suggested template edit)


Version 1.5

-Added Random Smilie button
-Added bbcode like [smilie=1,2,3] to use custom smilies in posts. Beware that this may be server-intensive in big forums.
-Editbox that displays the bbcode that should be copied, which also changes with javascript instantly.
-Fully phrased now
-Template and phrase addition is done with the attached product
-Link in the smilie popup to the smilie maker
-Custom WOL locations
-A lot shorter image URL

As english is not my native language I may have done some grammar mistakes. I would really appreciate it of you reported them in this thread :)

Thanks to KW802's mod for inspiring me on how to use the javascript. :)

Translations availiable

Omranic 11-04-2005 01:22 AM

1st installation :)

great jop

hope to see some thing else that makes write messege on these smilies

Lea Verou 11-04-2005 01:25 AM

Thanks! I'm glad you find it nice! :D
(I was really exited when I had the idea, lol)

For written message you can look on KW802's mod for 3.0.7 (it works in 3.5 as well). but the faces are predefined in his mod. The only thing that changes is the text and colours of it. Maybe I could make one that combines both features but I don't have that much php knowledge at the time :) I'm a fast learner though :p

KW802 11-04-2005 01:34 AM

I'll see what I can do about combining it with the other Smilie Creator.

Lea Verou 11-04-2005 01:36 AM

Quote:

Originally Posted by KW802
I'll see what I can do about combining it with the other Smilie Creator.

Probably it will be easy for you as the code in mine is very small and easy :)

Pleeease if you make that, include the fonts and not take them from the server so that it supports greek! :nervous:

yinyang 11-04-2005 01:38 AM

a combination would be awesome. this is great. how would i use this without vbadvanced?

Lea Verou 11-04-2005 01:40 AM

Quote:

Originally Posted by yinyang
a combination would be awesome. this is great. how would i use this without vbadvanced?

I'm planning on making it not need vbadvanced. I write that in the readme file if you noticed :)

KW802 11-04-2005 01:42 AM

Quote:

Originally Posted by Loukrhtia
Pleeease if you make that, include the fonts and not take them from the server so that it supports greek! :nervous:

HHmm.... I hadn't thought about different fonts before.

OK, challenge accepted! :p Is there a Greek truetype font?

PS: You missed one of the HTML comments. ;)
Code:

<!-- END: FPS Smilie Creator -->


Lea Verou 11-04-2005 01:48 AM

Quote:

Originally Posted by KW802
HHmm.... I hadn't thought about different fonts before.

OK, challenge accepted! :p Is there a Greek truetype font?

A lot but only some work with gd as I noticed. However all the preinstalled fonts in windows work with GD AND greek so something like comic sans ms, times, arial etc would work.
I can send you some. However the good thing of not taking the fonts from the server is that the user can change them so that he can put whatever he wants. For example in MpDev's graffiti wall it needed only an iconv() function to convert the sent values to UTF-8 and the replacement of the graffiti fonts of the package with greek ones.
So this way it would support any given language I guess ;) You don't need to specifically make it work with greek ;)
However I don't know how it would be possible to make the box be resized to fit the writing if the user had changed the font... I tried to change the code of your existing hack to support greek (with the help of a friend of mine that knows php very well) and the box was messed up and he told me that it needed lots of coding to make it resize corrtectly... :confused:

Lea Verou 11-04-2005 01:54 AM

Quote:

Originally Posted by KW802
PS: You missed one of the HTML comments. ;)
Code:

<!-- END: FPS Smilie Creator -->


Woops you catched me! :nervous::o lol
Yep, I started from your template but I erased most of the stuff there so that I only had the module shell and some similar things and also I took a look of how the javascript worked to understand how I should make mine, is that bad? You can see that there aren't many similarities ;) Also the php file is completely different... I hope you aren't accusing me of stealing because of some html comments! :speechless:

KW802 11-04-2005 02:05 AM

Quote:

Originally Posted by Loukrhtia
.... is that bad? You can see that there aren't many similarities ;) Also the php file is completely different... I hope you aren't accusing me of stealing because of some html comments! :speechless:

I was pretty happy with myself the night I figured out how to get the image to refresh without a page load so if somebody else was able to make use of that code then even cooler. :cool:

Going back to the fonts though... I'll have to experiment to see I come up with. I've never really worked with non-Latin fonts before so it'll be a learning experience for me. Did your friend keep any of his experimental changes? I'd be curious to see how far he got.

Lea Verou 11-04-2005 02:11 AM

Quote:

Originally Posted by KW802
I was pretty happy with myself the night I figured out how to get the image to refresh without a page load so if somebody else was able to make use of that code then even cooler. :cool:

Going back to the fonts though... I'll have to experiment to see I come up with. I've never really worked with non-Latin fonts before so it'll be a learning experience for me. Did your friend keep any of his experimental changes? I'd be curious to see how far he got.

Yep, I have the changed php file but I have it in a backup DVD as I had to format the pc due to a problem it had and if I start searching for the backup DVD at 6 in the morning the people in the house will yell at me :p :p :p
So, I'll send it to you tomorrow :) How should I send it? PM, e-mail or posting it here? :)
I remember that it worked nicely with greek but the box was bigger than it should be :confused:

KW802 11-04-2005 02:17 AM

I'll send you a PM with an email address. I'll tackle in a two-step process.... (1) get sign maker version working with Greek and then (2) combine the sign maker code with this new code.

I love new challenges. :D

Lea Verou 11-04-2005 02:20 AM

Quote:

Originally Posted by KW802
I'll send you a PM with an email address. I'll tackle in a two-step process.... (1) get sign maker version working with Greek and then (2) combine the sign maker code with this new code.

I love new challenges. :D

Ok!
If you need any graphics for it don't hesitate to ask me :)

I love new challenges a lot too but if they aren't very far from my abilities and this one is as I only started learning php some days ago :nervous:

Lea Verou 11-04-2005 02:30 AM

I almost figured out how to make it work without vbadvanced! I hear an update coming... :p

Lea Verou 11-04-2005 02:50 AM

Now availiable for users without vbadvanced.
Also fixed an file error in the zip which made the mod unusable as there was no e-steki_smilie_creator folder to upload to smilies as the instructions stated. I'm forgetful, I know :p

Zachariah 11-04-2005 03:05 AM

Fun fun.

Good going Team :D

Lea Verou 11-04-2005 03:08 AM

Quote:

Originally Posted by TTG
Installed the non vbadvanced version :-

"you do not have permission to access this page" .. where are the permission settings ?

That's really weird cause... there are no permission settings!
Are you sure you were pointing to the correct url? It's www.yourdomain.com/forums/smmaker.php

Anyway, I did this too fast due to demand and is very possible I overlooked something... I'll have a look when I fix something in the look of the template. :)
I'll send an update when I sort those issues out :)

TTG 11-04-2005 03:17 AM

Sorry .. must have been deleting post as you posted .. problem solved.
Had initially installed the vba version and not set permissions for the new page.

.Tim 11-04-2005 03:18 AM

I tried both and I get a red x instead of the created smilie. :(

Lea Verou 11-04-2005 03:26 AM

Quote:

Originally Posted by .Tim
I tried both and I get a red x instead of the created smilie. :(

Can you right click the red X and paste here the url that the browser is searching to find the image in? :)

Btw the zip file of the non-vba version is now updated to contain a slightly better template (see screenshots)
Also now the screenshots are from an english, default version of vbulletin :)

.Tim 11-04-2005 03:28 AM

Quote:

Originally Posted by Loukrhtia
Can you right click the red X and paste here the url that the browser is searching to find the image in? :)

Btw the zip file of the non-vba version is now updated to contain a slightly better template (see screenshots)
Also now the screenshots are from an english, default version of vbulletin :)

HTML Code:

http://www.mywasteoftime.net/modules/e-steki_smilie_creator.php?face=http://www.mywasteoftime.net/images/smilies/e-steki_smilie_creator/faces/yellow.png&eyes=http://www.mywasteoftime.net/images/smilies/e-steki_smilie_creator/eyes/1.png&mouth=http://www.mywasteoftime.net/images/smilies/e-steki_smilie_creator/mouth/1.png

Lea Verou 11-04-2005 03:31 AM

Quote:

Originally Posted by .Tim
HTML Code:

http://www.mywasteoftime.net/modules/e-steki_smilie_creator.php?face=http://www.mywasteoftime.net/images/smilies/e-steki_smilie_creator/faces/yellow.png&eyes=http://www.mywasteoftime.net/images/smilies/e-steki_smilie_creator/eyes/1.png&mouth=http://www.mywasteoftime.net/images/smilies/e-steki_smilie_creator/mouth/1.png

It's correct... Are you sure you have GD enabled in your server? :)

.Tim 11-04-2005 03:36 AM

Quote:

Originally Posted by Loukrhtia
It's correct... Are you sure you have GD enabled in your server? :)

Yes, I do.

Lea Verou 11-04-2005 03:57 AM

Quote:

Originally Posted by .Tim
Yes, I do.

Version? I'm not sure but I think it requires 1.6 or more for some of the functions used...

If you go at the image's url you'll see a bunch of php warnings.
The problem is that the script for some reason, cannot use the images and all the other warnings come from that issue. What I can't determine is WHY it cannot open the images... It could be a fault chmod but since I can see them they are readable and do exist. :confused:
I'll think about it more and post when I think something that could be causing this apart from an old gd version... Btw I know there are more important issues about the smilie maker than looks but there is a template update, you are having the old template :)

TJFweb 11-04-2005 04:03 AM

What's the difference between: vba e steki smilie creator.zip and smmaker.zip?

I tried both but both are for vbadvanced (which I don't have)...

I think I'll wait for the vBulletin standalone version.

Lea Verou 11-04-2005 04:06 AM

ermm smmaker is supposed to be for boards without vbadvanced... Did I forget to change the readme?

yinyang 11-04-2005 04:13 AM

Quote:

Originally Posted by KW802
I love new challenges. :D

can you toilet train my cat? i heard it can be done...

Lea Verou 11-04-2005 04:14 AM

Quote:

Originally Posted by yinyang
can you toilet train my cat? i heard it can be done...

Just "it can be done"?? That's one of the easiest things that exist!
I guess you don't mean a human toilet but that box with sand inside right?

yinyang 11-04-2005 04:28 AM

Quote:

Originally Posted by Loukrhtia
Just "it can be done"?? That's one of the easiest things that exist!
I guess you don't mean a human toilet but that box with sand inside right?

no, no, no, i meant on the toilet. so i can save money on litter.

https://vborg.vbsupport.ru/

but the one thing i can't seem to figure out is how to make the cat flush the toilet...? :ermm:

SORRY guys, i'll go back on topic now...

Lea Verou 11-04-2005 04:38 AM

Quote:

Originally Posted by yinyang
no, no, no, i meant on the toilet. so i can save money on litter.

http://www.citikitty.com/images/cat_toilet_trained.gif

but the one thing i can't seem to figure out is how to make the cat flush the toilet...? :ermm:

SORRY guys, i'll go back on topic now...

Wow man, that's awsome!!! Is it difficult? Have you had any progress?

Lea Verou 11-04-2005 04:46 AM

Quote:

Originally Posted by .Tim
Yes, I do.

Btw where can I find that "banned list"? Is it your mod or it's released here? It's great!

lairnoc 11-04-2005 04:51 AM

OK going for it. i just think a lot of people love this one :)

krvaricp 11-04-2005 04:52 AM

Oh guys, I enabled the GD in my server ( included Thumbsnail for the PNG ) but it won't work at all :(

Lea Verou 11-04-2005 04:53 AM

Tell me how it went lairnoc :)

Btw if anyone has a feature to suggest don't hesitate! :)

Lea Verou 11-04-2005 04:56 AM

Quote:

Originally Posted by krvaricp
Oh guys, I enabled the GD in my server ( included Thumbsnail for the PNG ) but it won't work at all :(

It seems that it works in some sites and not in others... I have to find why... :confused:
When you say that it doesn't work at all? It shows the template, right? You just don't see the image? Can you paste the url of the "image" please or tell the url so I can test it out?

krvaricp 11-04-2005 05:00 AM

I got this error :

Code:

Warning: imagecreatefrompng(): URL file-access is disabled in the server configuration in /home/.lasso/forum/forum.com/forum/modules/e-steki_smilie_creator.php on line 11

Warning: imagecreatefrompng(http://forum.com/forum/images/smilies/e-steki_smilie_creator/faces/yellow.png): failed to open stream: no suitable wrapper could be found in /home/.lasso/forum/forum.com/forum/modules/e-steki_smilie_creator.php on line 11

Warning: imagecreatefrompng(): URL file-access is disabled in the server configuration in /home/.lasso/forum/forum.com/forum/modules/e-steki_smilie_creator.php on line 12

Warning: imagecreatefrompng(http://forum.com/forum/images/smilies/e-steki_smilie_creator/eyes/1.png): failed to open stream: no suitable wrapper could be found in /home/.lasso/forum/forum.com/forum/modules/e-steki_smilie_creator.php on line 12

Warning: imagecreatefrompng(): URL file-access is disabled in the server configuration in /home/.lasso/forum/forum.com/forum/modules/e-steki_smilie_creator.php on line 13

Warning: imagecreatefrompng(http://forum.com/forum/images/smilies/e-steki_smilie_creator/mouth/1.png): failed to open stream: no suitable wrapper could be found in /home/.lasso/forum/forum.com/forum/modules/e-steki_smilie_creator.php on line 13

Warning: imagecolorat(): supplied argument is not a valid Image resource in /home/.lasso/forum/forum.com/forum/modules/e-steki_smilie_creator.php on line 15

Warning: imagecolortransparent(): supplied argument is not a valid Image resource in /home/.lasso/forum/forum.com/forum/modules/e-steki_smilie_creator.php on line 15

Warning: imagecolorat(): supplied argument is not a valid Image resource in /home/.lasso/forum/forum.com/forum/modules/e-steki_smilie_creator.php on line 16

Warning: imagecolortransparent(): supplied argument is not a valid Image resource in /home/.lasso/forum/forum.com/forum/modules/e-steki_smilie_creator.php on line 16

Warning: imagecolorat(): supplied argument is not a valid Image resource in /home/.lasso/forum/forum.com/forum/modules/e-steki_smilie_creator.php on line 17

Warning: imagecolortransparent(): supplied argument is not a valid Image resource in /home/.lasso/forum/forum.com/forum/modules/e-steki_smilie_creator.php on line 17

Warning: imagecopymerge(): supplied argument is not a valid Image resource in /home/.lasso/forum/forum.com/forum/modules/e-steki_smilie_creator.php on line 21

Warning: imagecopymerge(): supplied argument is not a valid Image resource in /home/.lasso/forum/forum.com/forum/modules/e-steki_smilie_creator.php on line 22

Warning: Cannot modify header information - headers already sent by (output started at /home/.lasso/forum/forum.com/forum/modules/e-steki_smilie_creator.php:11) in /home/.lasso/forum/forum.com/forum/modules/e-steki_smilie_creator.php on line 24

Warning: imagepng(): supplied argument is not a valid Image resource in /home/.lasso/forum/forum.com/forum/modules/e-steki_smilie_creator.php on line 25

Warning: imagedestroy(): supplied argument is not a valid Image resource in /home/.lasso/forum/forum.com/forum/modules/e-steki_smilie_creator.php on line 27

Warning: imagedestroy(): supplied argument is not a valid Image resource in /home/.lasso/forum/forum.com/forum/modules/e-steki_smilie_creator.php on line 28

Warning: imagedestroy(): supplied argument is not a valid Image resource in /home/.lasso/forum/forum.com/forum/modules/e-steki_smilie_creator.php on line 29

Warning: imagedestroy(): supplied argument is not a valid Image resource in /home/.lasso/forum/forum.com/forum/modules/e-steki_smilie_creator.php on line 30

Too many error, right ? :disappointed:

Lea Verou 11-04-2005 05:03 AM

Quote:

Warning: imagecreatefrompng(): URL file-access is disabled in the server configuration in /home/.lasso/forum/forum.com/forum/modules/e-steki_smilie_creator.php on line 11
That's pretty self-explanatory I guess... I think you should ask your host for that since it's a server problem :(

The other warnings are caused by only 3 of the first ones similar to the one I quoted. Since the file doesn't load, each time the script uses the variable that contains it's contents you get an error ;)

TJFweb 11-04-2005 06:30 AM

Quote:

Originally Posted by Loukrhtia
That's pretty self-explanatory I guess... I think you should ask your host for that since it's a server problem :(

The other warnings are caused by only 3 of the first ones similar to the one I quoted. Since the file doesn't load, each time the script uses the variable that contains it's contents you get an error ;)

You know what would be great? If users could create a smilie and have it save on the server so that it appears in their smilie panel to the right when posting a message.

rb290 11-04-2005 06:57 AM

the template-english.html has nothing for me to copy to a new template


All times are GMT. The time now is 04:08 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01549 seconds
  • Memory Usage 1,863KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (3)bbcode_code_printable
  • (2)bbcode_html_printable
  • (22)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete