Previous Thread
Next Thread
Print Thread
Rate Thread
Page 1 of 2 1 2
#201783 12/03/2003 7:46 PM
Joined: Oct 2000
Posts: 2,667
Veteran
Veteran
Offline
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?
Sponsored Links
#201784 12/03/2003 9:28 PM
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 wink ... Nice mod, can't wait to see it back in it's full glory


UBB.Dev - Putting Dev into UBB.threads
Company: VNC Web Services - UBB.threads Scripts and Scripting, Install and Upgrade Services, Site and Server Maintenance.
Forums: A Gardeners Forum, Scouters World, and UGN Security
UBB.Threads: My UBB Themes, My UBB Scripts
#201785 12/03/2003 10:02 PM
Joined: Jun 2001
Posts: 2,849
Spotlight Winner
Spotlight Winner
Offline
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?

#201786 12/03/2003 10:29 PM
Joined: Jan 2003
Posts: 3,456
Likes: 2
Master Hacker
Master Hacker
Offline
Joined: Jan 2003
Posts: 3,456
Likes: 2
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?

#201787 12/03/2003 10:41 PM
Joined: Jun 2001
Posts: 2,849
Spotlight Winner
Spotlight Winner
Offline
Joined: Jun 2001
Posts: 2,849
Al, can you export a text file for me?

Sponsored Links
#201788 12/03/2003 11:33 PM
Joined: Jan 2003
Posts: 3,456
Likes: 2
Master Hacker
Master Hacker
Offline
Joined: Jan 2003
Posts: 3,456
Likes: 2

#201789 12/04/2003 12:17 AM
Joined: Jun 2001
Posts: 2,849
Spotlight Winner
Spotlight Winner
Offline
Joined: Jun 2001
Posts: 2,849
Thanks!

#201790 12/04/2003 6:52 AM
Joined: Oct 2000
Posts: 2,667
Veteran
Veteran
Offline
Joined: Oct 2000
Posts: 2,667
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


Do you believe in love at first sight,
or should I walk by again?
#201791 12/04/2003 6:53 AM
Joined: Oct 2000
Posts: 2,667
Veteran
Veteran
Offline
Joined: Oct 2000
Posts: 2,667
Quote
quote:
Originally posted by Weird Al:
https://www.ubbdev.com/ubb/upload/00020028/test.txt
Randy will be missing the support files smile


Do you believe in love at first sight,
or should I walk by again?
#201792 12/04/2003 10:55 AM
Joined: Jan 2003
Posts: 3,456
Likes: 2
Master Hacker
Master Hacker
Offline
Joined: Jan 2003
Posts: 3,456
Likes: 2

Sponsored Links
#201793 12/04/2003 12:08 PM
Joined: Jan 2003
Posts: 3,456
Likes: 2
Master Hacker
Master Hacker
Offline
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

#201794 12/04/2003 11:11 PM
Joined: Jan 2003
Posts: 3,456
Likes: 2
Master Hacker
Master Hacker
Offline
Joined: Jan 2003
Posts: 3,456
Likes: 2

#201795 12/08/2003 10:56 PM
Joined: Dec 2003
Posts: 10
Junior Member
Junior Member
Offline
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 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.

#201796 12/08/2003 11:05 PM
Joined: Jan 2003
Posts: 3,456
Likes: 2
Master Hacker
Master Hacker
Offline
Joined: Jan 2003
Posts: 3,456
Likes: 2
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?

#201797 12/08/2003 11:30 PM
Joined: Dec 2003
Posts: 10
Junior Member
Junior Member
Offline
Joined: Dec 2003
Posts: 10
I PM'ed you

#201798 12/08/2003 11:37 PM
Joined: Jan 2003
Posts: 3,456
Likes: 2
Master Hacker
Master Hacker
Offline
Joined: Jan 2003
Posts: 3,456
Likes: 2
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

#201799 12/09/2003 12:01 AM
Joined: Jun 2001
Posts: 2,849
Spotlight Winner
Spotlight Winner
Offline
Joined: Jun 2001
Posts: 2,849
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.

#201800 12/10/2003 10:09 PM
Joined: Dec 2003
Posts: 10
Junior Member
Junior Member
Offline
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.
#201801 12/11/2003 12:33 PM
Joined: Jan 2003
Posts: 3,456
Likes: 2
Master Hacker
Master Hacker
Offline
Joined: Jan 2003
Posts: 3,456
Likes: 2
fixed

#201802 12/12/2003 9:52 AM
Joined: May 2000
Posts: 1,168
Member
Member
Offline
Joined: May 2000
Posts: 1,168
Did anyone get this to work in 6.6.1?

#201803 12/15/2003 2:00 PM
Joined: May 2000
Posts: 1,168
Member
Member
Offline
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

#201804 12/15/2003 2:26 PM
Joined: Jan 2003
Posts: 3,456
Likes: 2
Master Hacker
Master Hacker
Offline
Joined: Jan 2003
Posts: 3,456
Likes: 2
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.

#201805 02/10/2004 4:15 PM
Joined: May 2001
Posts: 27
Junior Member
Junior Member
Offline
Joined: May 2001
Posts: 27
Will this mod be updated for 6.7?


-Trekkie
To point, click and boldly go...
#201806 02/10/2004 4:48 PM
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.


UBB.Dev - Putting Dev into UBB.threads
Company: VNC Web Services - UBB.threads Scripts and Scripting, Install and Upgrade Services, Site and Server Maintenance.
Forums: A Gardeners Forum, Scouters World, and UGN Security
UBB.Threads: My UBB Themes, My UBB Scripts
#201807 02/10/2004 5:09 PM
Joined: Dec 2003
Posts: 49
User
User
Offline
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?

#201808 02/12/2004 6:16 AM
Joined: Oct 2000
Posts: 2,667
Veteran
Veteran
Offline
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 smirk


Do you believe in love at first sight,
or should I walk by again?
#201809 02/13/2004 6:21 AM
Joined: Oct 2000
Posts: 2,667
Veteran
Veteran
Offline
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?
#201810 02/17/2004 9:23 AM
Joined: Dec 2003
Posts: 49
User
User
Offline
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:
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",

#201811 02/17/2004 7:45 PM
Joined: Oct 2000
Posts: 2,667
Veteran
Veteran
Offline
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?
#201812 02/18/2004 9:03 AM
Joined: Dec 2003
Posts: 49
User
User
Offline
Joined: Dec 2003
Posts: 49
Quote
Originally posted by Charles:

yep thats what i did, do not forget to do the same for pms
Cool! Thanks!

#201813 03/01/2004 1:00 AM
Joined: Aug 2001
Posts: 103
Member
Member
Offline
Joined: Aug 2001
Posts: 103
Is it possible to get a text version for 6.7?

#201814 03/01/2004 2:44 AM
Joined: May 2001
Posts: 794
Content Queen
Content Queen
Offline
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
#201815 03/01/2004 3:27 AM
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?


UBB.Dev - Putting Dev into UBB.threads
Company: VNC Web Services - UBB.threads Scripts and Scripting, Install and Upgrade Services, Site and Server Maintenance.
Forums: A Gardeners Forum, Scouters World, and UGN Security
UBB.Threads: My UBB Themes, My UBB Scripts
#201816 03/01/2004 10:48 AM
Joined: Oct 2000
Posts: 2,667
Veteran
Veteran
Offline
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?
#201817 03/01/2004 7:22 PM
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
cry I liked that! lol...


UBB.Dev - Putting Dev into UBB.threads
Company: VNC Web Services - UBB.threads Scripts and Scripting, Install and Upgrade Services, Site and Server Maintenance.
Forums: A Gardeners Forum, Scouters World, and UGN Security
UBB.Threads: My UBB Themes, My UBB Scripts
#201818 03/20/2004 3:25 PM
Joined: Aug 2001
Posts: 103
Member
Member
Offline
Joined: Aug 2001
Posts: 103
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.

#201819 03/20/2004 3:30 PM
Joined: Jan 2003
Posts: 3,456
Likes: 2
Master Hacker
Master Hacker
Offline
Joined: Jan 2003
Posts: 3,456
Likes: 2
That popup is builtin to 6.7. Also, it's posted earlier in this thread

#201820 03/23/2004 5:10 PM
Joined: May 2001
Posts: 684
Code Monkey
Code Monkey
Offline
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... confused


Webmaster of d-talk & Kabel-Forum.com
#201821 03/24/2004 6:02 AM
Joined: Oct 2000
Posts: 2,667
Veteran
Veteran
Offline
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 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


Do you believe in love at first sight,
or should I walk by again?
#201822 03/24/2004 6:23 AM
Joined: May 2001
Posts: 684
Code Monkey
Code Monkey
Offline
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?


Webmaster of d-talk & Kabel-Forum.com
#201823 03/24/2004 9:02 AM
Joined: Oct 2000
Posts: 2,667
Veteran
Veteran
Offline
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?
#201824 03/24/2004 9:35 AM
Joined: May 2001
Posts: 684
Code Monkey
Code Monkey
Offline
Joined: May 2001
Posts: 684
hmmmmmm, is there somebody else who can post the code for public_polls.pl?

pleaaaaaaaaaaaaaase...


Webmaster of d-talk & Kabel-Forum.com
#201825 03/25/2004 8:50 AM
Joined: May 2001
Posts: 684
Code Monkey
Code Monkey
Offline
Joined: May 2001
Posts: 684
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");


Webmaster of d-talk & Kabel-Forum.com
#201826 03/26/2004 6:57 AM
Joined: May 2001
Posts: 684
Code Monkey
Code Monkey
Offline
Joined: May 2001
Posts: 684
This hack is totaly incomplete....

Why is there nobody who can post the code for polls? mad frown


Webmaster of d-talk & Kabel-Forum.com
#201827 03/26/2004 10:00 AM
Joined: Jan 2003
Posts: 3,456
Likes: 2
Master Hacker
Master Hacker
Offline
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.

#201828 03/27/2004 9:26 AM
Joined: May 2001
Posts: 684
Code Monkey
Code Monkey
Offline
Joined: May 2001
Posts: 684
...so I have to wait.... public_calendar.pl have also to rehack... tipsy


Webmaster of d-talk & Kabel-Forum.com
#201829 03/27/2004 4:57 PM
Joined: Jan 2003
Posts: 3,456
Likes: 2
Master Hacker
Master Hacker
Offline
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

#201830 03/28/2004 1:26 PM
Joined: May 2001
Posts: 794
Content Queen
Content Queen
Offline
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 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


Sue
adwoff.com
#201831 04/12/2004 7:02 AM
Joined: May 2001
Posts: 684
Code Monkey
Code Monkey
Offline
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? confused


Webmaster of d-talk & Kabel-Forum.com
#201832 05/20/2004 12:40 PM
Joined: May 2001
Posts: 794
Content Queen
Content Queen
Offline
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. smile


Sue
adwoff.com
#201833 07/09/2004 1:55 AM
Joined: Feb 2003
Posts: 22
Junior Member
Junior Member
Offline
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.

Page 1 of 2 1 2

Link Copied to Clipboard
Donate Today!
Donate via PayPal

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.
Recommended Hosts
We have personally worked with and recommend the following Web Hosts:
Stable Host
bluehost
InterServer
Visit us on Facebook
Member Spotlight
Gizmo
Gizmo
Portland, OR, USA
Posts: 5,833
Joined: January 2000
Forum Statistics
Forums63
Topics37,573
Posts293,925
Members13,849
Most Online5,166
Sep 15th, 2019
Today's Statistics
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
Top Posters
AllenAyres 21,079
JoshPet 10,369
LK 7,394
Lord Dexter 6,708
Gizmo 5,833
Greg Hard 4,625
Top Posters(30 Days)
Top Likes Received
isaac 82
Gizmo 20
Brett 7
WebGuy 2
Morgan 2
Top Likes Received (30 Days)
None yet
The UBB.Developers Network (UBB.Dev/Threads.Dev) is ©2000-2024 VNC Web Services

 
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20221218)