![]() |
Quote:
Quote:
|
Awesome, thanks Kevin...
Yes my forum is on a Windows server. I'll be here....so whenever you find something... |
Quote:
Please try replacing the "fps_smilie_creator.php" file on your server with the one attached instead. Thanks, Kevin |
K I uploaded the new one...same thing is happening.
|
OH gosh...take a look at this: http://www.yourlincolnpark.com/lpsforum/lpsforum.php
I moved the module to the center and look where it appears on the portal page LOL.... What's up with that? |
Quote:
Edit: OK, experiment #2 attached. Edit #2: YLP1, if it still doesn't work shoot me of a PM instead so I don't end up filling up the thread with experiments. :D |
Ok installed the new file and moved the module back to the right...no changes.
Oops...sorry..just sent this via pm...didn't see that before I posted this. |
Quote:
Attached is experiment #3. If this one still doesn't work let's take it to email (kw802@farpointstation.org) so I can send attachments. :D For everybody else reading this thread... sorry filling up the thread with this stuff. :o |
YEAH, You rock Kevin!!!! It worked...go see http://www.yourlincolnpark.com/lpsforum/lpsforum.php
Oops....it doesn't like two lines in the signage though... |
Quote:
Some experimenting later and you're absolutely correct, when it hits 33 characters or more it has problems. I'm seeing what I can do now.... We could always cheat and make the input limited to 32 characters but I'll have a solution for you. |
Working nice at our website, as a center module, thanks for this cool addon! ;)
|
Quote:
Today's learning lesson for me will be to find out why parsing an array in PHP works fine on the Unix/Linux boxes but not on a Windows box. Man, I guess I am a geek.... I love doing this kind of stuff. I think the time has also come for me to visit my local Barnes & Noble up for some PHP books. |
Here's a small & quick modification to the template for vBa CMPS users to help encourage your visitors to register!
What I've noticed on the sites that have installed the Smilie Creator is that they either leave the security settings wide open so that anybody can use it or they turn the page off for users not logged in. One of my goals with this (besides it being a learning experiment :p ) was to help encourage users to register but with security opened up to everybody visitors had no reason to register and even then they couldn't see what benefit registering would do for them. Plus for people who implemented this as a module, instead of page, they couldn't restrict access to it as easily as people who implemented it as a new page. The solution is a quick change to the template to use a vBulletin conditional to restrict access to the "create" button to only users logged in. Simple but I think it does the job so far. :) A screen shot of this modification showing the output to visitors not logged in is attached. To make this change find the following code in your template: Code:
<td align="center" valign="middle" colspan="2" class="alt1"> Code:
<td align="center" valign="middle" colspan="2" class="alt1"> IMPORTANT: If you're running the original 1.0.0 version of the template the command line has changed in the 1.0.1 template! You'll need to make the following modificatins only if you're using the original 1.0.0 template otherwise if you're using the newer version of the template use the code above. Only use the code below if you're using the original version of the template: Look for this code: Code:
<td align="center" valign="middle" colspan="2" class="alt1"> Code:
<br/> And change it to: Code:
<td align="center" valign="middle" colspan="2" class="alt1"> Code:
<br/> For some reason there keeps getting extra spaces inserted into the word "form" and "document" in the revised input command above. I've tried modifying it several times now and for some reason vBulletin keeps putting the spaces back in. In the revised code you'll need to remove the extra spaces before saving your template otherwise your page won't work and will display a script error message. :ermm: |
Quote:
|
Quote:
|
Thank so you much....I will patient....
|
Hey what is smilies.psd in the zip?
|
Quote:
It is a template smilie face so that new smilies can be created from it. It was part of the original VB2.x hack that this conversion was based upon. To create additional/new smilie faces use the PSD to make your smilie to how ever you'd like it and then when you upload it to your server just change the template to include it. As long as the new smilie is the same dimensions as the template then it'll work fine. Kevin |
I get it to work, but when you save image as, it saves it as .php
help |
Quote:
|
I just downloaded it a few minutes ago :|
|
Quote:
|
Excellent.
Thanks for the good work. |
<a href="http://www.blaminator.co.uk/cmps_index.php?page=smilie" target="_blank">www.blaminator.co.uk/cmps_index.php?page=smilie</a>
|
Quote:
|
Hmm, probably just Firefox 1.0PR messing things up
|
Quote:
|
Indeed it is
|
Quote:
Firefox is picking up the name of "fps_smilie_creator.php.png" but it isn't showing you the ".png" part because the extensions are turned off but it is properly trying to save it as a "PNG Image". Go ahead and save the file to your hard-drive and then double-click it; it should launch in your image viewer. Try viewing the same page with IE and you'll see just "fps_smilie_creator" as the file name and "PNG" as the file type. |
The thing is, file extensions are on o_O I hate them turned off
|
Quote:
|
yeah, thanks, that worked fine, m just worried that people might end up saving .php files and not .png files and get confused
|
Quote:
|
Oops, doesn't work for me *yet*.... the only thing I can think of is I saved the php file in the WRONG place. LOL
http://www.simply-baby.net/forum/vba...=smiliecreator Thank you ahead of time! :) |
Nevermind... I fixed it... hehe
|
Quote:
|
Hey that post at VBT not sure what that does?? Is it an addition to your hack? I would really like to use yours and allow people to click on the smilie created and have it place itself into the post? Forgive my ignorance!!
Mike |
The one at VBT is for only in the post its used it.. If they want one to take away they need this hack here...
|
Ok ya I am trying to get something that places the smilie in a post directly from the editor ;)
I am sure our buddy here can do that!! Mike |
Quote:
The VBT trick is a BB code that creates the allusion of a smilie holding a sign. It does this by creating table that is 1 column by 2 rows; the first row has a border with a white background & contains the text that is typed in while the second row has no border & contains the smilie centered. The end result is a very nice looking table that gives the appearance of a smilie sign. It's a very simple & cool bb code trick. But, as others have pointed out, you can't save the image because it really isn't an image. This hack creates an actual PNG file that the user can right-click save-as to their local PC. The problem appears to be that I was, to be candid, a bit short-sighted when I worked on it. To clarify that last remark when I was working on this hack I knew about the VBT trick so in my head I thought that it eliminated the need of the original hack that this is based on because the same end results could be achieved, a smilie holding a sign inside of a post. That is why when I approached this hack as a learning experience I geared it more towards generic usage that could be used on just about any HTML page rather than just the VB forums. After all, I figured, why would anybody want to put additional overhead on their server to create the graphics inline, or to save all of the images on their server eating up drive space, if they didn't have to. Well, based upon various feedback I was wrong. :ermm: If you guys & gals can bear with me and give me a little bit of time I have a few ideas in floating around in my head on how to integrate this smilie maker with the VB3 editor. Priority wise I want to finish up some changes I'm doing to another hack, a modified version of external.php (search for FPS_EXTERNAL.PHP for that hack), and then my wedding is in a few weeks so my free time these days is very little but I would like to come back to this smilie creator and make the revisions to it so that it can be integrated into the VB3 editor. :nervous: |
All times are GMT. The time now is 04:19 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:
|