UBB.Dev
Posted By: Charles [6.6] [beta] smilie mod - 12/04/2003 2:46 AM
Modification Name: smilie mod

Author(s): DPK

Description: enables you to have dropdown and/or popup to offer more smilies to your members.

Demo: none

Requirements: mods wordlets

Download Link: 6.6 version | 6.7 version

Instructions / Other Info: Things to fix:
The mass add graemlin function is not yet integrated
The limit is set to 250 but you can change this in the file.
Posted By: Gizmo Re: [6.6] [beta] smilie mod - 12/04/2003 4:28 AM
WTG charles; your download link doens't work wink ... Nice mod, can't wait to see it back in it's full glory
Posted By: RandyM Re: [6.6] [beta] smilie mod - 12/04/2003 5:02 AM
I had to right click/save as. It's an MHP file, any chance of getting a text file for this?
Posted By: Ian Spence Re: [6.6] [beta] smilie mod - 12/04/2003 5:29 AM
now I'm no genius, but I think there's a problem with the install info.

Code
------------------------
Old Data:
------------------------
id => "graemlins",
title => $vars_wordlets_cp2{general_graemlins},
type => "tab",

------------------------
New Data:
------------------------
id => "graemlins",
title => $vars_wordlets_cp2{general_graemlins},
type => "tab",
find x, replace with exact same thing?
Posted By: RandyM Re: [6.6] [beta] smilie mod - 12/04/2003 5:41 AM
Al, can you export a text file for me?
Posted By: Ian Spence Re: [6.6] [beta] smilie mod - 12/04/2003 6:33 AM
https://www.ubbdev.com/ubb/upload/00020028/test.txt
Posted By: RandyM Re: [6.6] [beta] smilie mod - 12/04/2003 7:17 AM
Thanks!
Posted By: Charles Re: [6.6] [beta] smilie mod - 12/04/2003 1:52 PM
Quote
quote:
Originally posted by Weird Al:
now I'm no genius, but I think there's a problem with the install info.

Code
------------------------
Old Data:
------------------------
id => "graemlins",
title => $vars_wordlets_cp2{general_graemlins},
type => "tab",

------------------------
New Data:
------------------------
id => "graemlins",
title => $vars_wordlets_cp2{general_graemlins},
type => "tab",
find x, replace with exact same thing?
no, no problem smile just something I am trying to figure out but that doesn't work right now I left it so that I wouldn't have to dig it in the code later on tipsy
Posted By: Charles Re: [6.6] [beta] smilie mod - 12/04/2003 1:53 PM
Quote
quote:
Originally posted by Weird Al:
https://www.ubbdev.com/ubb/upload/00020028/test.txt
Randy will be missing the support files smile
Posted By: Ian Spence Re: [6.6] [beta] smilie mod - 12/04/2003 5:55 PM
meh tipsy

https://www.ubbdev.com/ubb/upload/00020028/Smilie66.zip
Posted By: Ian Spence Re: [6.6] [beta] smilie mod - 12/04/2003 7:08 PM
If anyone else is like me and only used this for the popup for quick reply, I wrote a much smaller mod that does only that. It's like 3 steps and one file to upload.

So if anyone wants it, just tell me
Posted By: Ian Spence Re: [6.6] [beta] smilie mod - 12/05/2003 6:11 AM
https://www.ubbdev.com/ubb/upload/00020028/popup.zip


for anyone who wants it
Posted By: Anrky Re: [6.6] [beta] smilie mod - 12/09/2003 5:56 AM
I think yer missing something in the Popup mod... like what to add to the vars_wordlets_mods.cgi

It's also adding a smile in addition to the smiley I click.

You can see it at Mac Magic

Also where can i control the background color of the popup box? right now it shows up with a red background.
Posted By: Ian Spence Re: [6.6] [beta] smilie mod - 12/09/2003 6:05 AM
well I didn't add any wordlets first of all tipsy

Secondly, I can't actually see quick reply without having an account, do you have a test account I could use?
Posted By: Anrky Re: [6.6] [beta] smilie mod - 12/09/2003 6:30 AM
I PM'ed you
Posted By: Ian Spence Re: [6.6] [beta] smilie mod - 12/09/2003 6:37 AM
bah, forgot a " when I was moving it to hardcoded colors.

Code
In public_smilie_popup.pl
FIND:

<td bgcolor="$vars_style{TableColorStrip}>

REPLACE WITH:

<td bgcolor="$vars_style{TableColorStrip}">
Zip updated
Posted By: RandyM Re: [6.6] [beta] smilie mod - 12/09/2003 7:01 AM
Al, I installed this at Netwerkin and it does add smile after the code for the smilie you click on.

Edit, never mind. I just saw your post above me.
Posted By: Anrky Re: [6.6] [beta] smilie mod - 12/11/2003 5:09 AM
Doh... i didn't see it move to the next page...

Is there anything that needs to be done to get the change to appear... i'll start running through everything now making sure it's all good.

Hmmm there is a second one that needs to be changed

FIND:


now all is groovy... thanks Al for the help.
Posted By: Ian Spence Re: [6.6] [beta] smilie mod - 12/11/2003 7:33 PM
fixed
Posted By: Digital Boy Re: [6.6] [beta] smilie mod - 12/12/2003 4:52 PM
Did anyone get this to work in 6.6.1?
Posted By: Digital Boy Re: [6.6] [beta] smilie mod - 12/15/2003 9:00 PM
Also, is the current download for this the most up-to-date version or do I still need to go through the post to update the files?


Thanks,

- MT
Posted By: Ian Spence Re: [6.6] [beta] smilie mod - 12/15/2003 9:26 PM
Quote
quote:
Originally posted by Matt Torbin:
Also, is the current download for this the most up-to-date version or do I still need to go through the post to update the files?


Thanks,

- MT
I was worried this would happen. I'm gonna have to post my mod in another thread so that no one gets confused with questions.

If you are talking about mine, however, it is updated, so all you have to do is what is stated in the zip.
Posted By: Trekkie Re: [6.6] [beta] smilie mod - 02/10/2004 11:15 PM
Will this mod be updated for 6.7?
Posted By: Gizmo Re: [6.6] [beta] smilie mod - 02/10/2004 11:48 PM
good question, i second this point.
Posted By: Nightcrawler Re: [6.6] [beta] smilie mod - 02/11/2004 12:09 AM
Thirded. It blanks out the smilie box for the quick reply for 6.7.

Is there anyway to not delete the old Instant Graemlins block?
Posted By: Charles Re: [6.6] [beta] smilie mod - 02/12/2004 1:16 PM
for the quick reply box just update the popup javascript to use the mod's list.

I have a 6.7 version somewhere, just need to find it smirk
Posted By: Charles Re: [6.6] [beta] smilie mod - 02/13/2004 1:21 PM
I posted a link in first post for a 6.7 version but it has a bug, all smilies appear in the smilie box!!

so if someone wants to take a look you are welcome as i am a bit busy lately
Posted By: Nightcrawler Re: [6.6] [beta] smilie mod - 02/17/2004 4:23 PM
I'm not sure what changes you've made, Charles. But this is what I did and so far everything works fine.

In public_topic_page.pl -

Find:
Code
function Graems () {
graems = window.open(
"$ULTIMATEBB{FORM}?ubb=graemlin_list",
"graems",
Change to:
Code
function Graems () {
graems = window.open(
"$ULTIMATEBB{FORM}?ubb=smilie_legend",
"graems",
Posted By: Charles Re: [6.6] [beta] smilie mod - 02/18/2004 2:45 AM
yep thats what i did, do not forget to do the same for pms
Posted By: Nightcrawler Re: [6.6] [beta] smilie mod - 02/18/2004 4:03 PM
Quote
Originally posted by Charles:

yep thats what i did, do not forget to do the same for pms
Cool! Thanks!
Posted By: Poopy Pants Re: [6.6] [beta] smilie mod - 03/01/2004 8:00 AM
Is it possible to get a text version for 6.7?
Posted By: ADWOFF Re: [6.6] [beta] smilie mod - 03/01/2004 9:44 AM
For what it's worth, here is a text file for this mod ... that I generated from the multihack program.

http://adwoff.com/smilie.txt
Posted By: Gizmo Re: [6.6] [beta] smilie mod - 03/01/2004 10:27 AM
it have CP functionality for 6.7 yet?
Posted By: Charles Re: [6.6] [beta] smilie mod - 03/01/2004 5:48 PM
same as 6.6 the cp part only configures the actual mod. we are still missing the mass importer.
Posted By: Gizmo Re: [6.6] [beta] smilie mod - 03/02/2004 2:22 AM
cry I liked that! lol...
Posted By: Poopy Pants Re: [6.6] [beta] smilie mod - 03/20/2004 10:25 PM
Quote
Originally posted by Weird Al:

If anyone else is like me and only used this for the popup for quick reply, I wrote a much smaller mod that does only that. It's like 3 steps and one file to upload.

So if anyone wants it, just tell me
I'll take it.
Posted By: Ian Spence Re: [6.6] [beta] smilie mod - 03/20/2004 10:30 PM
That popup is builtin to 6.7. Also, it's posted earlier in this thread
Posted By: d-talk Re: [6.6] [beta] smilie mod - 03/24/2004 12:10 AM
Hello,

I have three questions

1. I see nothing new at the admin CP, I have rehack cp2_lib.cgi several times...

2.What have I to change to chage the height and wide of the pop up....

3. What can I do, that all Smilies have theire own height and wide...

At polls, the smilieshack does not work... confused
Posted By: Charles Re: [6.6] [beta] smilie mod - 03/24/2004 1:02 PM
the CP page is in the normal graemlin page, just look for a tab at the bottom to access the config page. You should be able to do everything you ask there smile

for polls you will have to duplicate the steps that are done in the reply template, in the poll template. I don't have access to the files right now so I can't be more precise
Posted By: d-talk Re: [6.6] [beta] smilie mod - 03/24/2004 1:23 PM
Hi Charles,

the public_polls.pl is different to the reply template, can I send you the file and you have a look at it?

The smilie pop-up width and height you can not change at cp, but where?
Posted By: Charles Re: [6.6] [beta] smilie mod - 03/24/2004 4:02 PM
not really I don't have anything to access ubbfile and i would rather not use notepad.

as soon I find some time I will post a fixed mhp file for pms and polls
Posted By: d-talk Re: [6.6] [beta] smilie mod - 03/24/2004 4:35 PM
hmmmmmm, is there somebody else who can post the code for public_polls.pl?

pleaaaaaaaaaaaaaase...
Posted By: d-talk Re: [6.6] [beta] smilie mod - 03/25/2004 3:50 PM
I can not find the line where I can build in this code at public_polls.pl frown

&smilie_generate("smilie_js");
&smilie_generate("smilie_dropdown");
Posted By: d-talk Re: [6.6] [beta] smilie mod - 03/26/2004 1:57 PM
This hack is totaly incomplete....

Why is there nobody who can post the code for polls? mad frown
Posted By: Ian Spence Re: [6.6] [beta] smilie mod - 03/26/2004 5:00 PM
Check in the old version and see if that had it, if so, use that.

Otherwise, wait.
Posted By: d-talk Re: [6.6] [beta] smilie mod - 03/27/2004 4:26 PM
...so I have to wait.... public_calendar.pl have also to rehack... tipsy
Posted By: Ian Spence Re: [6.6] [beta] smilie mod - 03/27/2004 11:57 PM
Anyone who wants to "mass add" graemlins, here's a small script that might help.

https://www.ubbdev.com/ubb/upload/00020028/graemlins.txt

Save as graemlins.cgi and upload to your cgi-bin. CHMOD 755 and run it from your browser.

It will scan your graemlins directory and output a page that will show exactly what you need to add to your vars_graemlins.cgi to have them all added. (Copy/Paste, I haven't been able to get it to write to the file itself.)

Keep in mind that this work could be undone if you have more graemlins in your noncgi/graemlins folder than the allowed limit (this mod makes it 250, so there shouldn't be any worries).

Once you updates your vars_graemlins.cgi, upload it and you can edit the graemlin settings in your CP
Posted By: ADWOFF Re: [6.6] [beta] smilie mod - 03/28/2004 8:26 PM
I have another tweak that I'd like to see done for this hack ... I think it's relatively *easy* to do laugh ... but I have no idea how to do it! tipsy

Currently, if you click on the instant graemlin, UBB.classic will place it where your cursor is; thus, if you go back to edit in smilies, it's relatively easy to do.

With this hack, it always places it at the end of the text ... making it more of a hassle to add in smilies after you've typed your text.

So I need help in making it so that the smilie will appear where the cursor is at ... anyone? laugh
Posted By: d-talk Re: [6.6] [beta] smilie mod - 04/12/2004 2:02 PM
Hi,

becouse this is a hack that makes sense, when you use pretty much smilies (I use over 100) is there nobody out there who can ad the functions of this hack to public_polls.pl and public_calendar.pl? confused
Posted By: ADWOFF Re: [6.6] [beta] smilie mod - 05/20/2004 7:40 PM
Just an FYI--when Allen suggested that the javascript from this hack might be in conflict with other hacks and/or the code to UBB.Classic--and thus, the cause of my board's white pages, I finally removed this hack from my board.

Knock on wood, but the white page issue has seemed to have gone away--including in the pages where the white pages first happened.

So it's a good news for me (knock on wood), but it makes me wonder if someone can look into the code and tell what makes it have problems that result in the infamous white pages.

As it is, I have no links or pulldown menus or anything to the *instant graemlins*--but I still can manually input them into posts, which is all I really need. smile
Posted By: Vtec44 Re: [6.6] [beta] smilie mod - 07/09/2004 8:55 AM
I downloaded the multi-hack file for v6.7, but it's actually a wordlet mod and not smilie mod. Anyone has the correct link for it? Thanks.
© UBB.Developers