Previous Thread
Next Thread
Print Thread
Rate Thread
#198646 01/13/2003 11:24 PM
Joined: Mar 2000
Posts: 21,079
Likes: 3
I type Like navaho
I type Like navaho
Joined: Mar 2000
Posts: 21,079
Likes: 3
Name: DPK's SmilieMod.

Description: Minor update to 6.4, this will scan your graemlin directory, allowing you to choose which smilies to add. You'll also have the option of drop-down lists of your smilies, clickable smilies (a la default ubb), or a combo of both. Very handy if your forum uses many smilies.

Link: MultiHack File

Demo: none

Requirement: UBBâ„¢ 6.4-6.5


- Allen wavey
- What Drives You?
Sponsored Links
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
allen, you cheater lol... No one wanted to "port" this cas the 6.3 worked just fine :-x...


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
Joined: Nov 2001
Posts: 1,080
Member
Member
Offline
Joined: Nov 2001
Posts: 1,080
Actually most hacks seem to work with a few revisions to newer UBB versions. It's nice to have things ported to make our lives much easier and so we can spend more time on things such as template hacking. Cool job Allen! laugh

Anyway, you can add more smilies without limit and the hack excluding the dropdown just by editing the cp_graemlins.cgi file. Where it says "25" (two times) just change it to whatever number or just delete it. smile

Joined: May 2001
Posts: 794
Content Queen
Content Queen
Offline
Joined: May 2001
Posts: 794
Allen, you are a sweetie! Thank you!

I have one more deal, though. I need to install the vars_wordlets_mods.cgi hack ... and I can't seem to find the info for that ... can anyone direct me to the correct thread?

Thanks!


Sue
adwoff.com
Joined: Mar 2000
Posts: 21,079
Likes: 3
I type Like navaho
I type Like navaho
Joined: Mar 2000
Posts: 21,079
Likes: 3
https://www.ubbdev.com/ubbcgi/ultimatebb.cgi?ubb=get_topic&f=33&t=000021 - I believe it's the same as for 6.3.1, it worked for me but I can't remember if I had updated it or not wink

Please analyze it with multihack and let me know... if it's different, I'll upload the one I used earlier today smile


- Allen wavey
- What Drives You?
Sponsored Links
Joined: May 2001
Posts: 794
Content Queen
Content Queen
Offline
Joined: May 2001
Posts: 794
Allen, I'll repeat myself! You're a sweetheart! It worked without problems! Thank you!


I do have one question about the smilie mod in regard to polls; this mod doesn't take into account starting a thread with a poll and having the option of placing instant graemlins in the message (via either the drop-down or smilie box).

Is it easy to fix this? I just tried replacing the

Code
[/code]with 

[code]
and it didn't work! laugh tipsy


[edit to add in this]

One other "little thing" -- with the regular Instant Graemlins, whenever you click on them, it'll insert the smilie wherever you've left your cursor. I like that. laugh

With the pulldown menu, however, it always puts the smilie at the end of the message. frown

It's just a little thing, but it bugs me. How can I go about fixing that? Thanks!


Sue
adwoff.com
Joined: Mar 2000
Posts: 21,079
Likes: 3
I type Like navaho
I type Like navaho
Joined: Mar 2000
Posts: 21,079
Likes: 3
hmmmm.... that was the thing needed done for the older version, I forgot about shocked For most, polls are used pretty sparingly, so I forget to take them into account. I'll see what I can do this week smile


- Allen wavey
- What Drives You?
Joined: May 2001
Posts: 794
Content Queen
Content Queen
Offline
Joined: May 2001
Posts: 794
Quote
quote:
Originally posted by AllenAyres:
For most, polls are used pretty sparingly, so I forget to take them into account.
This is true, Allen.

I guess I'm kinda obsessive-compulsive when it comes to stuff like this! tipsy

Thank YOU for your help. It's appreciated!


Sue
adwoff.com
Joined: Nov 2001
Posts: 1,080
Member
Member
Offline
Joined: Nov 2001
Posts: 1,080
Hmm...Ok. From my understanding the smilie hack had a few issues with the polls. I don't know if anyone resolved it but I never did a follow up on it so I can't say.

Unfortunately on 6.3.1.1 when I had the Smilie hack installed the smilies did not stick to the area of my cursor which was a disappointment.

Hey ADWOFF?...What do you mean by?

Quote
quote:
Is it easy to fix this? I just tried replacing the


code:
--------------------------------------------------------------------------------

$instant_ubbcode_block

--------------------------------------------------------------------------------

with


code:
--------------------------------------------------------------------------------

$TBTthe_message&smilie_generate("smilie_box");print <
--------------------------------------------------------------------------------

and it didn't work!
It doesn't show up or the table is misaligned? If it doesn't show up you will need to go into your CP and enable the smilie list in the Smilies option.

Joined: Nov 2001
Posts: 1,080
Member
Member
Offline
Joined: Nov 2001
Posts: 1,080
I posted this in another thread but in case anyone who uses both Smilie (DPK) and Quick Reply (Greg Hard & LK) hacks and wants to have smilies with their Quick Reply do this:

You will need both Smilie hack (or inserts of) and Quick Reply hack.

##In public_topic_page.pl

Find:

Code
[/code]Add after:

Code
</pre></div></div>**You will need to change the popup window variables (e.g., width, height, left and top) to the size works best for you.  <br><br>Now Find (for Quick Reply w/smilie):<br><br><div class="ubbcode-block"><div class="ubbcode-header">Code</div><div class="ubbcode-body ubbcode-pre" ><pre>
Add this after:

[code]
Now when you click on the link the smilie legend will popup for you to use. smile

Sponsored Links
Joined: Sep 2000
Posts: 441
Member
Member
Offline
Joined: Sep 2000
Posts: 441
actually, does this hack also work for 6.5 ?

Joined: Sep 2000
Posts: 441
Member
Member
Offline
Joined: Sep 2000
Posts: 441
Hello, anyone alive? Or did all users leave that board and installed phpboard already? :-) Just wanted to know if i can use this smiley-hack also for 6.5 ?

Joined: Mar 2000
Posts: 21,079
Likes: 3
I type Like navaho
I type Like navaho
Joined: Mar 2000
Posts: 21,079
Likes: 3
thanks for the bugfixes PT smile

hey Chris smile I just checked, it looks like it should work just fine for 6.5 as well smile


- Allen wavey
- What Drives You?
Joined: Sep 2001
Posts: 93
Member
Member
Offline
Joined: Sep 2001
Posts: 93
thx. smile works fine for me and is very usefull as well tipsy

Joined: Feb 2003
Posts: 22
Junior Member
Junior Member
Offline
Joined: Feb 2003
Posts: 22
I have version 6.5, but it seems like I don't have a file called vars_wordlets_mods.cgi. What is that file and does it the mod still work without it? Thanks in advance!

Joined: Jan 2003
Posts: 3,456
Likes: 2
Master Hacker
Master Hacker
Offline
Joined: Jan 2003
Posts: 3,456
Likes: 2
you need the vars wordlet mod. it's essential for a lot of hacks.

you can get it here

Joined: Nov 2001
Posts: 1,080
Member
Member
Offline
Joined: Nov 2001
Posts: 1,080
The Mod Wordlets allow words that are used by hacks to display. The mods can work without it but you'll have a lot of blank spaces. laugh

I couldn't find one for UBB 6.5 but I think you can use this one:

Click Here

Joined: Nov 2001
Posts: 1,080
Member
Member
Offline
Joined: Nov 2001
Posts: 1,080
Oooo...Weird got to it. Heh. laugh

Joined: Feb 2003
Posts: 22
Junior Member
Junior Member
Offline
Joined: Feb 2003
Posts: 22
cool. I got it, thanks guys!

Joined: Feb 2003
Posts: 22
Junior Member
Junior Member
Offline
Joined: Feb 2003
Posts: 22
Wow, this is one cool mod compare to the one that I had to manually set up each smilie for my old board!!! So where in the code that I need to modify so it will insert the code at the cursor point instead of appending the code at the end? laugh

Joined: Nov 2001
Posts: 1,080
Member
Member
Offline
Joined: Nov 2001
Posts: 1,080
I'm not sure if anyone resolved that. It may be within the ubb_smilie.cgi under:

[code][/code]The "function smchange" and "function smclick" possibly.

Joined: Feb 2003
Posts: 22
Junior Member
Junior Member
Offline
Joined: Feb 2003
Posts: 22
Yep! With the help of my coworker, we were able to make the drop down smilie list insert at cursor point, still don't know how to make the legends and the full list to do the same frown . Thanks for the help, I'll poke around in ubb_smilie.cgi ...


comment out
Code
[/code]above "sm_message=" add
[code]

Joined: Nov 2001
Posts: 1,704
CTM Offline
Moderator / Da Masta
Moderator / Da Masta
Offline
Joined: Nov 2001
Posts: 1,704
Any chance of a text file export please, Allen? I really don't want to install MultiHack on the computer I'm using at the moment... frown

Joined: Jan 2003
Posts: 3,456
Likes: 2
Master Hacker
Master Hacker
Offline
Joined: Jan 2003
Posts: 3,456
Likes: 2
Here is the zip file with everything you'll need.

SmilieMod 6.4 ZIP
I accidently exported the files into my folder setup. ubb is the non-cgi folder

Joined: Nov 2001
Posts: 1,704
CTM Offline
Moderator / Da Masta
Moderator / Da Masta
Offline
Joined: Nov 2001
Posts: 1,704
Thanks Al smile

Joined: Sep 2000
Posts: 441
Member
Member
Offline
Joined: Sep 2000
Posts: 441
i used the .txt-file and installed before the old mod_wordlet-thing and... everything works GREAT so far, no problem. i did update all files on a running system *g* and ... wow, thanks so far, works fine on my 6.5 and now i just have to change some things on the post/reply_window, too much smilies do apprea below the textenty-field, have to kick 'em out... so, my recommendation for 6.5-users: install it, takes some time but works very fine and my users cannot live without additional smilies :-)
chris
http://technoforum.de

Joined: Jun 2002
Posts: 136
Member
Member
Offline
Joined: Jun 2002
Posts: 136
You do not have permission to access this area.

That is what i am gettin gwhen I try to go into the advance settings in the CP can anyone help me out?

Peter

Joined: Jan 2003
Posts: 3,456
Likes: 2
Master Hacker
Master Hacker
Offline
Joined: Jan 2003
Posts: 3,456
Likes: 2
make sure you CHMODed all the files correctly

Joined: Jun 2002
Posts: 136
Member
Member
Offline
Joined: Jun 2002
Posts: 136
I did i even checked them 3 times

Peter

Joined: May 2003
Posts: 40
jlm Offline
Member
Member
Offline
Joined: May 2003
Posts: 40
Is There anyway to put the smiley legend on the quick reply box to insert graemlins that way?

Joined: Jan 2003
Posts: 3,456
Likes: 2
Master Hacker
Master Hacker
Offline
Joined: Jan 2003
Posts: 3,456
Likes: 2
https://ubbdev.com/ubbcgi/ultimatebb.cgi?ubb=get_topic;f=33;t=000020#000009 smile earlier in this topic

Joined: May 2003
Posts: 40
jlm Offline
Member
Member
Offline
Joined: May 2003
Posts: 40
oops smash

Joined: May 2003
Posts: 40
jlm Offline
Member
Member
Offline
Joined: May 2003
Posts: 40
ok have done that
but it inserts the graemlin name without the : : at either side?

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
vtec, vars_wordlets_mods.cgi is a seperate modification, and no it won't work correctly without it.

Allen, quick question, when viewing the smilie list it looks all wacked out at http://www.undergroundnews.com/cgi-bin/ubbcgi/ultimatebb.cgi?ubb=smilie_legend the background is white (would prefer to have it use my default background information) and theres an awkward space before and after the table, anyway to edit those out?


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
Joined: Jan 2003
Posts: 3,456
Likes: 2
Master Hacker
Master Hacker
Offline
Joined: Jan 2003
Posts: 3,456
Likes: 2
in public_smilie_legend.pl, just remove the
at the top and bottom. for the background, I couldn't figure out anyway of fixing it without hardcoding the info into the body tag


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
AllenAyres
AllenAyres
Texas
Posts: 21,079
Joined: March 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)