|
Joined: Oct 2000
Posts: 2,667
Veteran
|
Veteran
Joined: Oct 2000
Posts: 2,667 |
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.
Do you believe in love at first sight, or should I walk by again?
|
|
|
|
Joined: Jan 2000
Posts: 5,833 Likes: 20
UBBDev / UBBWiki Owner Time Lord
|
UBBDev / UBBWiki Owner Time Lord
Joined: Jan 2000
Posts: 5,833 Likes: 20 |
WTG charles; your download link doens't work ... Nice mod, can't wait to see it back in it's full glory
|
|
|
|
Joined: Jun 2001
Posts: 2,849
Spotlight Winner
|
Spotlight Winner
Joined: Jun 2001
Posts: 2,849 |
I had to right click/save as. It's an MHP file, any chance of getting a text file for this?
|
|
|
|
Joined: Jan 2003
Posts: 3,456 Likes: 2
Master Hacker
|
Master Hacker
Joined: Jan 2003
Posts: 3,456 Likes: 2 |
now I'm no genius, but I think there's a problem with the install info. ------------------------ 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?
|
|
|
|
Joined: Jun 2001
Posts: 2,849
Spotlight Winner
|
Spotlight Winner
Joined: Jun 2001
Posts: 2,849 |
Al, can you export a text file for me?
|
|
|
|
Joined: Jan 2003
Posts: 3,456 Likes: 2
Master Hacker
|
Master Hacker
Joined: Jan 2003
Posts: 3,456 Likes: 2 |
|
|
|
|
Joined: Jun 2001
Posts: 2,849
Spotlight Winner
|
Spotlight Winner
Joined: Jun 2001
Posts: 2,849 |
|
|
|
|
Joined: Oct 2000
Posts: 2,667
Veteran
|
Veteran
Joined: Oct 2000
Posts: 2,667 |
quote: Originally posted by Weird Al: now I'm no genius, but I think there's a problem with the install info.
------------------------ 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 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
Do you believe in love at first sight, or should I walk by again?
|
|
|
|
Joined: Oct 2000
Posts: 2,667
Veteran
|
Veteran
Joined: Oct 2000
Posts: 2,667 |
Randy will be missing the support files
Do you believe in love at first sight, or should I walk by again?
|
|
|
|
Joined: Jan 2003
Posts: 3,456 Likes: 2
Master Hacker
|
Master Hacker
Joined: Jan 2003
Posts: 3,456 Likes: 2 |
|
|
|
|
Joined: Jan 2003
Posts: 3,456 Likes: 2
Master Hacker
|
Master Hacker
Joined: Jan 2003
Posts: 3,456 Likes: 2 |
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
|
|
|
|
Joined: Jan 2003
Posts: 3,456 Likes: 2
Master Hacker
|
Master Hacker
Joined: Jan 2003
Posts: 3,456 Likes: 2 |
|
|
|
|
Joined: Dec 2003
Posts: 10
Junior Member
|
Junior Member
Joined: Dec 2003
Posts: 10 |
I think yer missing something in the Popup mod... like what to add to the vars_wordlets_mods.cgi It's also adding a 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.
|
|
|
|
Joined: Jan 2003
Posts: 3,456 Likes: 2
Master Hacker
|
Master Hacker
Joined: Jan 2003
Posts: 3,456 Likes: 2 |
well I didn't add any wordlets first of all Secondly, I can't actually see quick reply without having an account, do you have a test account I could use?
|
|
|
|
Joined: Dec 2003
Posts: 10
Junior Member
|
Junior Member
Joined: Dec 2003
Posts: 10 |
|
|
|
|
Joined: Jan 2003
Posts: 3,456 Likes: 2
Master Hacker
|
Master Hacker
Joined: Jan 2003
Posts: 3,456 Likes: 2 |
bah, forgot a " when I was moving it to hardcoded colors. In public_smilie_popup.pl FIND:
<td bgcolor="$vars_style{TableColorStrip}>
REPLACE WITH:
<td bgcolor="$vars_style{TableColorStrip}"> Zip updated
|
|
|
|
Joined: Jun 2001
Posts: 2,849
Spotlight Winner
|
Spotlight Winner
Joined: Jun 2001
Posts: 2,849 |
Al, I installed this at Netwerkin and it does add after the code for the smilie you click on. Edit, never mind. I just saw your post above me.
|
|
|
|
Joined: Dec 2003
Posts: 10
Junior Member
|
Junior Member
Joined: Dec 2003
Posts: 10 |
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.
| |
|
|
|
Joined: Jan 2003
Posts: 3,456 Likes: 2
Master Hacker
|
Master Hacker
Joined: Jan 2003
Posts: 3,456 Likes: 2 |
|
|
|
|
Joined: May 2000
Posts: 1,168
Member
|
Member
Joined: May 2000
Posts: 1,168 |
Did anyone get this to work in 6.6.1?
|
|
|
|
Joined: May 2000
Posts: 1,168
Member
|
Member
Joined: May 2000
Posts: 1,168 |
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
|
|
|
|
Joined: Jan 2003
Posts: 3,456 Likes: 2
Master Hacker
|
Master Hacker
Joined: Jan 2003
Posts: 3,456 Likes: 2 |
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.
|
|
|
|
Joined: May 2001
Posts: 27
Junior Member
|
Junior Member
Joined: May 2001
Posts: 27 |
Will this mod be updated for 6.7?
-Trekkie To point, click and boldly go...
|
|
|
|
Joined: Jan 2000
Posts: 5,833 Likes: 20
UBBDev / UBBWiki Owner Time Lord
|
UBBDev / UBBWiki Owner Time Lord
Joined: Jan 2000
Posts: 5,833 Likes: 20 |
good question, i second this point.
|
|
|
|
Joined: Dec 2003
Posts: 49
User
|
User
Joined: Dec 2003
Posts: 49 |
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?
|
|
|
|
Joined: Oct 2000
Posts: 2,667
Veteran
|
Veteran
Joined: Oct 2000
Posts: 2,667 |
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
Do you believe in love at first sight, or should I walk by again?
|
|
|
|
Joined: Oct 2000
Posts: 2,667
Veteran
|
Veteran
Joined: Oct 2000
Posts: 2,667 |
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
Do you believe in love at first sight, or should I walk by again?
|
|
|
|
Joined: Dec 2003
Posts: 49
User
|
User
Joined: Dec 2003
Posts: 49 |
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: function Graems () { graems = window.open( "$ULTIMATEBB{FORM}?ubb=graemlin_list", "graems", Change to: function Graems () { graems = window.open( "$ULTIMATEBB{FORM}?ubb=smilie_legend", "graems",
|
|
|
|
Joined: Oct 2000
Posts: 2,667
Veteran
|
Veteran
Joined: Oct 2000
Posts: 2,667 |
yep thats what i did, do not forget to do the same for pms
Do you believe in love at first sight, or should I walk by again?
|
|
|
|
Joined: Dec 2003
Posts: 49
User
|
User
Joined: Dec 2003
Posts: 49 |
Originally posted by Charles:
yep thats what i did, do not forget to do the same for pms
Cool! Thanks!
|
|
|
|
Joined: Aug 2001
Posts: 103
Member
|
Member
Joined: Aug 2001
Posts: 103 |
Is it possible to get a text version for 6.7?
|
|
|
|
Joined: May 2001
Posts: 794
Content Queen
|
Content Queen
Joined: May 2001
Posts: 794 |
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
Sue adwoff.com
|
|
|
|
Joined: Jan 2000
Posts: 5,833 Likes: 20
UBBDev / UBBWiki Owner Time Lord
|
UBBDev / UBBWiki Owner Time Lord
Joined: Jan 2000
Posts: 5,833 Likes: 20 |
it have CP functionality for 6.7 yet?
|
|
|
|
Joined: Oct 2000
Posts: 2,667
Veteran
|
Veteran
Joined: Oct 2000
Posts: 2,667 |
same as 6.6 the cp part only configures the actual mod. we are still missing the mass importer.
Do you believe in love at first sight, or should I walk by again?
|
|
|
|
Joined: Jan 2000
Posts: 5,833 Likes: 20
UBBDev / UBBWiki Owner Time Lord
|
UBBDev / UBBWiki Owner Time Lord
Joined: Jan 2000
Posts: 5,833 Likes: 20 |
I liked that! lol...
|
|
|
|
Joined: Aug 2001
Posts: 103
Member
|
Member
Joined: Aug 2001
Posts: 103 |
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.
|
|
|
|
Joined: Jan 2003
Posts: 3,456 Likes: 2
Master Hacker
|
Master Hacker
Joined: Jan 2003
Posts: 3,456 Likes: 2 |
That popup is builtin to 6.7. Also, it's posted earlier in this thread
|
|
|
|
Joined: May 2001
Posts: 684
Code Monkey
|
Code Monkey
Joined: May 2001
Posts: 684 |
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...
|
|
|
|
Joined: Oct 2000
Posts: 2,667
Veteran
|
Veteran
Joined: Oct 2000
Posts: 2,667 |
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 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
Do you believe in love at first sight, or should I walk by again?
|
|
|
|
Joined: May 2001
Posts: 684
Code Monkey
|
Code Monkey
Joined: May 2001
Posts: 684 |
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?
|
|
|
|
Joined: Oct 2000
Posts: 2,667
Veteran
|
Veteran
Joined: Oct 2000
Posts: 2,667 |
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
Do you believe in love at first sight, or should I walk by again?
|
|
|
|
Joined: May 2001
Posts: 684
Code Monkey
|
Code Monkey
Joined: May 2001
Posts: 684 |
hmmmmmm, is there somebody else who can post the code for public_polls.pl?
pleaaaaaaaaaaaaaase...
|
|
|
|
Joined: May 2001
Posts: 684
Code Monkey
|
Code Monkey
Joined: May 2001
Posts: 684 |
I can not find the line where I can build in this code at public_polls.pl &smilie_generate("smilie_js"); &smilie_generate("smilie_dropdown");
|
|
|
|
Joined: May 2001
Posts: 684
Code Monkey
|
Code Monkey
Joined: May 2001
Posts: 684 |
This hack is totaly incomplete.... Why is there nobody who can post the code for polls?
|
|
|
|
Joined: Jan 2003
Posts: 3,456 Likes: 2
Master Hacker
|
Master Hacker
Joined: Jan 2003
Posts: 3,456 Likes: 2 |
Check in the old version and see if that had it, if so, use that.
Otherwise, wait.
|
|
|
|
Joined: May 2001
Posts: 684
Code Monkey
|
Code Monkey
Joined: May 2001
Posts: 684 |
...so I have to wait.... public_calendar.pl have also to rehack...
|
|
|
|
Joined: Jan 2003
Posts: 3,456 Likes: 2
Master Hacker
|
Master Hacker
Joined: Jan 2003
Posts: 3,456 Likes: 2 |
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
|
|
|
|
Joined: May 2001
Posts: 794
Content Queen
|
Content Queen
Joined: May 2001
Posts: 794 |
I have another tweak that I'd like to see done for this hack ... I think it's relatively *easy* to do ... but I have no idea how to do it! 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?
Sue adwoff.com
|
|
|
|
Joined: May 2001
Posts: 684
Code Monkey
|
Code Monkey
Joined: May 2001
Posts: 684 |
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?
|
|
|
|
Joined: May 2001
Posts: 794
Content Queen
|
Content Queen
Joined: May 2001
Posts: 794 |
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.
Sue adwoff.com
|
|
|
|
Joined: Feb 2003
Posts: 22
Junior Member
|
Junior Member
Joined: Feb 2003
Posts: 22 |
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.
|
|
|
Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.
Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.
|
|
Posts: 5,833
Joined: January 2000
|
|
Forums63
Topics37,573
Posts293,925
Members13,849
|
Most Online5,166 Sep 15th, 2019
|
|
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
|
|
|
|