![]() |
I have installed this hack.... and well it looks great... just doesnt work... all i get is a cute little red x where the created smilie should be... i dont even get the "your new smilie will appear here" bit before you start... just a red x
|
Quote:
Have a URL I can check out? What version of PHP are you running and on Linux or windows? Kevin |
PHP Ver 4.3.9.. On Linux server
I send you PM with URL in |
Quote:
|
I take it there is no way to fix then as u have not responded???
|
Quote:
I'm at work right now (it's 11:51AM EDT) and as such can't really experiment that much right now to see what's going on with your server. When I get home I can send you a small PHP file to create a PNG file on the fly to rule out whether it's the server settings or this particular hack and we can go from there. I know that your server is capable of producing JPG files using GD so it's just a matter of figuring out if your server has issues with PNG files or this particular PHP script and if turns out to be this script then it's just a matter of seeing if a solution can be found. |
Quote:
|
Quote:
Would you mind an experiment? Attached is a version of the script that will create the new image as a JPEG instead of a PNG. If this version works for you then we know that the problem is with your server handling PNG images. If this version doesn't work then we know the problem is somewhere with the script. Thanks, Kevin PS: I'm writing this here in the thread because I can't attach files in PM. |
i hope i did this right... i uploaded that file to the modules dir replacing the old file... but exactly the same thing occurs...
|
Quote:
|
tis the same except the action is 'p' instead of 'page' so it will be 'index.php?p=smilie'
|
Quote:
Great hack BTW, my members are gonna love this. [high]* Chazz Layne clicks install.[/high] |
Mitsuaki: I haven't forgotten about you, I just haven't been home much lately. I'm getting married in less than 4 weeks and my free time has been reduced further than I thought it was going to be. :(
Chazz: Getting it to save the images is just a matter changing the PHP file. What I'm picturing in my head for the next version is an option to pass in whether to save the file to the server or not. I'll have to take a look to see if there is an easy way of looping through the previously created images to build the page on the fly (I haven't done something like that before yet so it's now on my list of 'things to learn how to do' :D ). The first part shouldn't be a problem but the second part will require me to do some quick learning. If either of you guys don't hear back from me within a few days hit me up with a PM. :) |
OK, is there anybody who is not using this with VB3? How about anybody who has access opened up to everybody including guests?
I'm working on saving the images to the server but need to come up with a naming convention. For my own purposes I'm thinking of using "{userid}_{YYYYMMDD}{HHMISS}_{file name of smileyselected}" -- Essentially I need to ensure that the file name is unique when saved to the server. The format I mentioned would result in a name like "1_20041011164111_vorlange1.png" which is a bit unwieldy but unique. I wouldn't want to use the user name since it might contain characters like spaces, etcetra. The date & time ensure uniqueness and the source name would be just a nice thing to have in there. For people who have access opened up to non-guests then there might be an issue with having the userid in there because on a larget site it could happen that multiple guests are creating a smiley from the same source image at the same second. :ermm: Thoughts? Bueller? |
That's exactly the way I was doing it, minus the userid. I have a PotD running the same way. I figured a paginated gallery (like avatars) would work best for retrieving them. The 2 problems I hit were both from not knowing the workings of vB well enough to get the filename to pass back to the template via variable to show the image after it's created (or the list of older images)... wish I had more time to read up on it.
OT: Congrats on the upcoming wedding. :D |
Quote:
|
Great job! :)
*Clicks Install |
Hm nice hack, but what is the matter with: "Please do not link directly to the smilie." As I see it works fine and the user doesn't have to save and upload it himself, if you link directly to the smilie. So where is the problem?
|
Quote:
|
Hm yes thats right. Would be nice to modify the script, that it saves the generated picture automatically in a forum directory and shows the user the link, because most people don't have their own webspace and it is too much work to save and upload it.
|
Quote:
The number one thing I've learned this summer is this: If you're getting married, hire a wedding planner! Doing the arrangements ourselves has ended up taking so much time away from us that nearly any time away from work, and even some time during, is taken up with working on the arrangements. Two more weeks and it'll all be over though. :lick: |
Is there a way to change the background "outside" the banner to a colour other than white...? I notice the png files used are transparent initially in that spot
|
The Mozilla Firefox browser does not recognise the smilies as images, IE does...I am using Mozilla FF 1.0.
Also: If someone knows the direct image link, they could keep visiting it, causing a load of work for the server, and possibly crashing it. People can ask directly link to the images putting them on their websites, and posting them to other boards, etc. Shouldn't this possibility be eliminated? While I have installed this, it is not currently under use. Mainly because of the FF issue, but also because of those other issues I mentioned. The image should be saved temporarily to the server, and a scheduled task should remove saved images. Now, a bonus would be for users to create their own selection of smilies, which they could use in postings. It would be wise, of course, to limit the amount of smilies a user can make. |
How can I create a new Page for the Creator? I don“t want the Smilie Creator on the Portal Side!
|
Can nobody help?
|
Paulmjno: FF recognizes it fine for me and other sites that I've seen it on. :confused:
HarryBO: Do you mean a seperate page without using CMPS? |
Does anyone know how I can add more color selections to the font color and sign background colors?
What code changes would I need to make (I have no clue even where to start). Thank you! :) |
my guess would be to go into the fps_smilie_creator_template.html and then just add more colors after the white part before </select>
HTML Code:
<!-- START: Text color --> |
Quote:
In a line like.... PHP Code:
|
Oh okay...that definitely seems easy enough! Thank you eva01 and KW802!!! :D
|
OK, I guess Im not understanding the install on this. I have installed alot of hacks, but Im not getting how to do it for vB....
Im lookin for members to be able to create a smiles and once done, click it to add right into a thread, just like you would do with the regular smilies....Am I missing something here and can anyone PLEASE point me in the right directoin on installing this and doing this.. Thanks Guys....Love to have this hack workin soon! Vman |
this hack only generates smillies with the little text at the top of it... users have to save them to their computer and then use them wherever they want... however what you want to do is a little more complex, but would definetly be something cool... maybe a coder would like to do that... but for now.. is only the default way ;)
|
got it to all show up on my site but where the smilies are created is a red x...any help is appreciated
http://www.fragtraders.com/modules.php?name=smilies |
Quote:
|
wow this has been around for awhile.
I just got done adding it but I am also getting the broken image where the created smilie should be. Here is a link: http://www.cecilcountyx.com/index.php?page=smilies& |
Judge, does the .php file have execute permissions in the modules folder?
|
Quote:
This is a first I have heard of this. What is it that I need? |
Hey KW802 you still with me?
|
Very good idea and nice implementation! :up:
- Sid |
This looks nice. Is there any chance it will be ported for 3.5? :)
|
All times are GMT. The time now is 08:32 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|