Log in

View Full Version : Smilie Hack


Pseudomizer
05-02-2004, 10:00 PM
OR
How-To-manage many smilies in a nutshell

After getting more and more requests from administrators i decided to create one hack which should serve most of the requests. I got the request for a category hack for smilies and i got the request to manage many smilies very easy without creating multiple templates and html files.

Due to this i decided to create an extra page for smilies. This page reads out specific directories which you specify upfront. I also added category names which can be set up front for each specific folder.

So you edit the smilie_config.php just once and afterwards you just upload any smilie graphics into the appropriate folder. The rest is done via the script.

On top of this i added a single box at the top which is a small javascript. To make it very easy for your people to add the smilies into any thread or pm, they just have to click on any graphic and the appropriate link to this particular smilie will occur in the box. So they just have to cut and paste the link into any thread or pm.

Installation instructions are in the zip file. Install time estimated: 10 mins

And again: NO database changes are required and no modification of existing php files. If you wish i can post a code how to replace the link for more smilies in each thread or pm creation with a link to the new file but i added an additional link in my domain.

I will only give support if you click on the install button on the right upper corner or you click on this INSTALL (https://vborg.vbsupport.ru/vborg_miscactions.php?do=installhack&threadid=64671) link.

Known Bugs/Error Messages:
- if there are any other files then graphic files in the folder the script will not recognize this. This will be fixed in the next release.
- if you get the error message: Warning: Invalid argument supplied for foreach() in functions_smilies.php on line 40 then you specified a wrong path to your smilies in the smilie_config.php

Cheers,

Pseudomizer
05-02-2004, 10:26 PM
Hi @LL,

here are 2 screenshot where you can see what this hack does.

The yellow arrow shows the box where the link to the smilie will occur and it will be already in an [IMG] tag for cut and paste.

The green arrow shows the categories which can be defined.

Cheers,

msimplay
05-02-2004, 11:22 PM
hmm not quite what i was looking for
i would have prefered if it was intergrated with the existing smilie popup
ie catergory MSN , YAHOO , POSITIVE , NEGATIVE etc
and when u click on the catergory it would present the catergory in the same popup and the same smilie replacements as vbulletin

but this is completely different

Pseudomizer
05-03-2004, 12:05 AM
hmm not quite what i was looking for
i would have prefered if it was intergrated with the existing smilie popup
ie catergory MSN , YAHOO , POSITIVE , NEGATIVE etc
and when u click on the catergory it would present the catergory in the same popup and the same smilie replacements as vbulletin

but this is completely different

Sorry that this does not fit for you. Good luck in finding someone else for what you request.

Cheers,

msimplay
05-03-2004, 12:13 AM
Sorry that this does not fit for you. Good luck in finding someone else for what you request.

Cheers,
good hack none the less :D

Pseudomizer
05-03-2004, 12:15 AM
good hack none the less :D

Perhaps we can talk about the next version when i have finished my next hack. We could take your request as an enhancement request for the next version. Or i can offer a complete new version which solves your needs but he have to be very specific how you want it.

Cheers,

msimplay
05-03-2004, 12:27 AM
Perhaps we can talk about the next version when i have finished my next hack. We could take your request as an enhancement request for the next version. Or i can offer a complete new version which solves your needs but he have to be very specific how you want it.

Cheers,
your very kind obviosly i'd like this to be made
so i'll be as specific as i can

bare with me while i make a html demo of how i'd like it

msimplay
05-03-2004, 01:16 AM
Perhaps we can talk about the next version when i have finished my next hack. We could take your request as an enhancement request for the next version. Or i can offer a complete new version which solves your needs but he have to be very specific how you want it.

Cheers, ok got the demo made all u gotta do is unzip the files and keep them in their directory state and then open up smilie link.html for the smilie pop up and u'll see how i invisioned smilie catergories :D

Smilie_demo removed because it is done

here (https://vborg.vbsupport.ru/showthread.php?t=65394)

MindTrix
05-03-2004, 10:03 AM
Nice hack well done, but i agree with msimplay, his idea would be great :)

egyptsons
06-13-2004, 08:45 AM
Nice hack well done, but i agree with msimplay, his idea would be great :)
me too

msimplay
06-13-2004, 08:56 AM
its actually done @ Egyptsons check my signature