#36356
02/07/2000 2:54 PM
|
Joined: Jan 2000
Posts: 18
Member
|
Member
Joined: Jan 2000
Posts: 18 |
This is a wonderful hack .. and well instructed (I'm a newb and I was able to do it no problems) My one question would be ... on the left where it says Smiles Legend, how could I get that to link to the new Smiles Legend with the new codes and smilies? Or do I need to manually edit that in the html document? Thanks! ~Kat ![[Linked Image]](http://ubbcodehacking.com/ubb/smile.gif)
|
|
|
#36357
02/08/2000 9:15 PM
|
Joined: Feb 2000
Posts: 4
Junior Member
|
Junior Member
Joined: Feb 2000
Posts: 4 |
Anybody had any luck with this in v5.43d?
I got it all set up, but when I go to the smilies settings in cp, I can't do anything.
It shows the form, but there's not way to add a new smilie. In fact, the only boxes available to enter anything are Delete?, Code and my Account and Password... No place to enter the icon graphic... when I put in a :), it just refreshes and nothing changes.
has this happened to anyone???
la
|
|
|
#36358
02/09/2000 12:10 AM
|
Joined: Jan 2000
Posts: 18
Member
|
Member
Joined: Jan 2000
Posts: 18 |
lalley, I just installed it on the latest version of UBB (5.43d) and it works like a charm! Do you see a box that says add or something like that? I can't remember what it says, but you need to check the add box and state how many you would like to add .... If this isn't the problem, I'm sorry I probably can't help since I'm very new with this sort of thing. ~Kat ![[Linked Image]](http://ubbcodehacking.com/ubb/smile.gif)
|
|
|
#36359
02/09/2000 2:40 AM
|
Joined: Aug 2000
Posts: 3,590
Moderator
|
Moderator
Joined: Aug 2000
Posts: 3,590 |
lalley > e-mail me your link to your control panel, so I can see what you mean. ilj@quicknet.nl
|
|
|
#36360
02/09/2000 11:16 AM
|
Joined: Feb 2000
Posts: 4
Junior Member
|
Junior Member
Joined: Feb 2000
Posts: 4 |
Ack!
I blew away my changes in order to get the smilies back to normal...
The "Add" check box did not exist. I saw the tag line telling me to check it to add one, but there was no field for me to check.
I will try it again today, and If I have the same problem again... I'll send you the link so's you can check it out!
Thanks! la
|
|
|
#36361
02/10/2000 11:07 AM
|
Joined: Jan 2000
Posts: 4
Junior Member
|
Junior Member
Joined: Jan 2000
Posts: 4 |
can someone please tell me where to get all the simlies. The Rock
|
|
|
#36362
02/11/2000 8:12 PM
|
Joined: Feb 2000
Posts: 7
Junior Member
|
Junior Member
Joined: Feb 2000
Posts: 7 |
I just installed this hack and.... When smilies.cgi executes I get an Internal Server Error. I ran the smilies.cgi from a unix prompt and got: Undefined subroutine &main::ReadParse called at ./smilies.cgi line 27. You can access my cp @ http://www.thecollector.com/Ultimate_BBS/cp.html Any healp would be great. ----------------------------------------- The Rock, When you see the icon you want, just save it to your local computer. ------------------ Micah Kritzman
Micah Kritzman
|
|
|
#36363
02/11/2000 8:46 PM
|
Joined: Feb 2000
Posts: 11
Junior Member
|
Junior Member
Joined: Feb 2000
Posts: 11 |
Actually when I viewed it.. I get a page can not be displayed message...
|
|
|
#36364
02/11/2000 9:05 PM
|
Joined: Feb 2000
Posts: 7
Junior Member
|
Junior Member
Joined: Feb 2000
Posts: 7 |
You are correct, when viewed in IE it gives that error message.
When viewed in Netscape, I get the promature end of script header.
------------------ Micah Kritzman
Micah Kritzman
|
|
|
#36365
02/12/2000 2:17 AM
|
Joined: Feb 2000
Posts: 11
Junior Member
|
Junior Member
Joined: Feb 2000
Posts: 11 |
I know this isn't the place to ask.. But what happened to the STAR RANK hack???
Thanks for all these GREAT HACKS!
|
|
|
#36366
02/12/2000 7:17 AM
|
Joined: Aug 2000
Posts: 3,590
Moderator
|
Moderator
Joined: Aug 2000
Posts: 3,590 |
confused > Is it working allready? Because I think it's a misconfiguration you get there: Make sure you upload in ASCII, the smilies.cgi should reside within the ubbcgi directory and it should be chmodded to 755. The subroutine ReadParse is called from ubb_library.pl so it should work
|
|
|
#36367
02/12/2000 8:06 AM
|
Joined: Feb 2000
Posts: 11
Junior Member
|
Junior Member
Joined: Feb 2000
Posts: 11 |
Working fine for me.. Only trouble I have is with the Smilies Legend Script... As far as the one who posted before.. Have no idea what his problem could be... I'm as as ever
|
|
|
#36368
02/12/2000 12:47 PM
|
Joined: Jan 2000
Posts: 32
Member
|
Member
Joined: Jan 2000
Posts: 32 |
I got both of these new smilie hacks installed. The smilie legend thing isn't documented very well. If you refer to the original thread of that hack you should scroll down and read the "mod" Mutt wrote up. I also found that Mutt left something out... smilies.cgiadd: require "Styles.file";------------------ Blizzard Domain - http://go.to/blizzdomain
|
|
|
#36369
02/12/2000 8:22 PM
|
Joined: Feb 2000
Posts: 11
Junior Member
|
Junior Member
Joined: Feb 2000
Posts: 11 |
Kut,
Where should we add that line of text at? I read that somewhere but never added it, because I was not sure where to stick the require "Styles.file"; at..
Thanks.
|
|
|
#36370
02/12/2000 8:42 PM
|
Joined: Jan 2000
Posts: 32
Member
|
Member
Joined: Jan 2000
Posts: 32 |
In postings.cgi and smilies.cgi look at the top of the file. Near the top there will be a couple lines that say: require "ubb_library.pl"; require "ubb_library2.pl";Below that add: require "Styles.file";The styles should now work for the smilies legend. Be sure to remember to add the require to both postings.cgi and smilies.cgi. ------------------ Blizzard Domain - http://go.to/blizzdomain
|
|
|
#36371
02/13/2000 5:24 AM
|
Joined: Feb 2000
Posts: 11
Junior Member
|
Junior Member
Joined: Feb 2000
Posts: 11 |
Thanks,
Smilies legend still will not work off the MAIN POST NEW TOPIC button??? It only works when I've read a message and either reply to it or if I post a new topic there.. it's really strange, any other suggestions?
|
|
|
#36372
02/13/2000 5:52 AM
|
Joined: Feb 2000
Posts: 11
Junior Member
|
Junior Member
Joined: Feb 2000
Posts: 11 |
![[Linked Image]](http://ubbcodehacking.com/ubb/confused.gif) That is... I'm having to disable the javascript.. and adding a direct HTML link to the smilies.cgi.. It's weired. They work off of reading a message... ![[Linked Image]](http://ubbcodehacking.com/ubb/confused.gif)
|
|
|
#36373
02/13/2000 10:12 AM
|
Joined: Jan 2000
Posts: 18
Member
|
Member
Joined: Jan 2000
Posts: 18 |
I added the require "Styles.file";
but my smilies legend comes up blank,
I get Icon name - Icon and Close window......
Any ideas
|
|
|
#36374
02/14/2000 2:16 PM
|
Joined: Feb 2000
Posts: 7
Junior Member
|
Junior Member
Joined: Feb 2000
Posts: 7 |
Mas*Mind,
Thanks for the help. I had the incorrect directory structure set for:
require "ubb_library.pl"; require "ubb_library2.pl";
It's all working now.
----------------------------------
Highlander,
Try putting the smilies files into the newly created smilies directory.
Micah Kritzman
|
|
|
#36375
02/14/2000 6:29 PM
|
Joined: Jan 2000
Posts: 18
Member
|
Member
Joined: Jan 2000
Posts: 18 |
I did that.... still nothin...g
|
|
|
#36376
02/18/2000 11:35 AM
|
Joined: Feb 2000
Posts: 6
Junior Member
|
Junior Member
Joined: Feb 2000
Posts: 6 |
I cant find: Im running 5.34..is that a problem?? Thanks, Me
|
|
|
#36377
02/18/2000 3:24 PM
|
Joined: Aug 2000
Posts: 3,590
Moderator
|
Moderator
Joined: Aug 2000
Posts: 3,590 |
me > It's highly unlikely that those lines aren't there...Try to search for substrings
(this piece of code generates the cgi/ubb/members path/url -textfield in the control panel..)
|
|
|
#36378
02/18/2000 5:20 PM
|
Joined: Feb 2000
Posts: 6
Junior Member
|
Junior Member
Joined: Feb 2000
Posts: 6 |
Ok..I think I found the spot but it is not in CGI form..it is in html...how would I frase it?? Here is what I found: I would guess I would put it there but I do not know CGi and I dont know how to translate ![[Linked Image]](http://ubbcodehacking.com/ubb/smile.gif) Is this it?? Thanks, Me
|
|
|
#36379
02/18/2000 5:53 PM
|
Joined: Aug 2000
Posts: 3,590
Moderator
|
Moderator
Joined: Aug 2000
Posts: 3,590 |
|
|
|
#36380
02/18/2000 9:17 PM
|
Joined: Jan 2000
Posts: 31
Member
|
Member
Joined: Jan 2000
Posts: 31 |
I'm trying to install the cp add-on... and stuck.... I have 5.42...and I can't find in postings.cgi (where you have to replace it with $message = &ConvertSmilies($message);): I'm a dork when it comes to CGI... Where do I add that in the postings.cgi exactly?? I did a search...and its no where to be found... Can you help out of dork with her CGI?? Thanks!! RG
|
|
|
#36381
02/18/2000 9:25 PM
|
Joined: Aug 2000
Posts: 3,590
Moderator
|
Moderator
Joined: Aug 2000
Posts: 3,590 |
Read the doc carefully! It contains the answer... Anyway; you have to find this one:
|
|
|
#36382
02/19/2000 8:06 PM
|
Joined: Feb 2000
Posts: 1
Junior Member
|
Junior Member
Joined: Feb 2000
Posts: 1 |
I don't have that in my postings.cgi file. This may sound silly, as this is my first experience with UBB (I installed one last night to see if I could do it ![[Linked Image]](http://ubbcodehacking.com/ubb/smilies/tongue.gif) ), but.. Should I already have a smilies script installed for this? Mas*Mind, have you made a smilies script that goes with the control panel one? Thanks!
|
|
|
#36383
03/01/2000 12:14 AM
|
Joined: Jan 2000
Posts: 3
Junior Member
|
Junior Member
Joined: Jan 2000
Posts: 3 |
Version: 5.39c Problem: I tried installing this, people can post fine and everything, but when trying to use smilies it outputs this...(html code)  /boards.gameglow.com/ubb/smilies/agent.gif">  /boards.gameglow.com/ubb/smilies/angrytounge.gif">  /boards.gameglow.com/ubb/smilies/biggrin.gif">  /boards.gameglow.com/ubb/smilies/blueface.gif">  /boards.gameglow.com/ubb/smilies/blushing.gif">  /boards.gameglow.com/ubb/smilies/agent.gif"> )  /boards.gameglow.com/ubb/smilies/agent.gif"> >  /boards.gameglow.com/ubb/smilies/blueface.gif">  /boards.gameglow.com/ubb/smilies/frowny.gif"> >  /boards.gameglow.com/ubb/smilies/biggrin.gif">  /boards.gameglow.com/ubb/smilies/blushing.gif">  /boards.gameglow.com/ubb/smilies/smile.gif">  /boards.gameglow.com/ubb/smilies/surprised.gif">     I did everything exactly the way it said except... ###Now open up your ubb_library.pl and search for: sub VerifyAdmin ###if the name of the routine is 'sub VerifyAdmin' do noting ###else if the name of the routine is 'sub VerifyAdminCP' change the following line in your smilies.cgi: &VerifyAdmin($UserName, $Password); ###to: &VerifyAdminCP($UserName, $Password); I couldn't find any of those strings or even substrings. But it still works fine other then what I said above. Thanks for the help!
|
|
|
#36384
03/03/2000 5:59 PM
|
Joined: Mar 2000
Posts: 1
Junior Member
|
Junior Member
Joined: Mar 2000
Posts: 1 |
I'm using v. 5.42a and I did the search for and i don't come up with anything! help, anyone?
|
|
|
#36385
03/06/2000 7:02 AM
|
Joined: Jan 2000
Posts: 19
Member
|
Member
Joined: Jan 2000
Posts: 19 |
Mas*Mind: I´m converting this great hack for the freeware. I´ve added a sub VerifyAdmin and it works. But I have problems with smilies that contain a "<" or a ">". If I edit the SmiliesDB.cgi on my own and write "<" as "<", it works. But in case I use your smilies.cgi, it converts it again to "<". Can you tell me, how to tell the smilies.cgi to save "<" as "<" ??? ------------------ Grüße aus Deutschland / Greatings from Germany Leisure Larry Homepage: Catan & Stonehedge - Multiplayerz vs. HTML UBB: ALLinONE , the german UBB for Freeware-Hacks
|
|
|
#36386
03/07/2000 2:24 PM
|
Joined: Jan 2000
Posts: 4
Junior Member
|
Junior Member
Joined: Jan 2000
Posts: 4 |
I could not find the sub verify either but i installed the hack anyway without changing anything and it worked. I am on ver 5.41a and have so many hacks that it may not matter
|
|
|
#36387
03/07/2000 3:30 PM
|
Joined: Feb 1999
Posts: 1,379
Programmer
|
Programmer
Joined: Feb 1999
Posts: 1,379 |
The sub is in ubb_library2.pl, NOT ubb_library.pl. Just a thought ![[Linked Image]](http://ubbcodehacking.com/ubb/smilies/smile.gif)
|
|
|
#36388
03/08/2000 2:36 AM
|
Joined: Jan 2000
Posts: 19
Member
|
Member
Joined: Jan 2000
Posts: 19 |
Can anybody help me with my above problem (wanting to save "<" as "<" in the SmiliesDB.cgi) ??? ------------------ Grüße aus Deutschland / Greatings from Germany Leisure Larry Homepage: Catan & Stonehedge - Multiplayerz vs. HTML UBB: ALLinONE , the german UBB for Freeware-Hacks
|
|
|
#36389
03/08/2000 7:31 AM
|
Joined: Aug 2000
Posts: 3,590
Moderator
|
Moderator
Joined: Aug 2000
Posts: 3,590 |
Didn't test it but I think it'll work: find (smilies.cgi) $smiliecode = "smilie-" . "$i";and add below it: $smiliecode =~ s/</g; $smiliecode =~ s/>/>/g;Done! Note that the < > will allways be converted! Even if you turned html on. The problem is the disable html setting is configured per forum so you can't check it when you configure your smilies. btw: I changed my doc cal, thanks for pointing it out ![[Linked Image]](http://ubbcodehacking.com/ubb/smilies/smile.gif)
|
|
|
#36390
03/08/2000 8:10 AM
|
Joined: Feb 1999
Posts: 1,379
Programmer
|
Programmer
Joined: Feb 1999
Posts: 1,379 |
Anytime. Thanks for such a great hack. Have you made the #include modification as well? Another thing I changed was to take out the sizing parameters for the smilie IMG tag in the legend - the confused smilie got crushed since it's bigger than the rest. Just a thought ![[Linked Image]](http://ubbcodehacking.com/ubb/smilies/smile.gif)
|
|
|
#36391
03/08/2000 4:56 PM
|
Joined: Jan 2000
Posts: 19
Member
|
Member
Joined: Jan 2000
Posts: 19 |
Didn´t work. Edited smilies.cgi like this: sub submitSmilieSettings { $number = 0; open (SMILIEFILE, ">$SmilieDB") or die ("Can't open file: $SmilieDB!"); for($i=1; $i<=$SmilieCount; $i++) { $smiliedel = "delete-$i"; if($$smiliedel ne "Yes") { $number++; $smiliecode = "smilie-" . "$i"; $smiliecode =~ s/</g; $smiliecode =~ s/>/>/g; $smiliepic = "smiliepic-" . "$i"; $smilieline = "$$smiliecode" . "|^|" . "$$smiliepicn"; unless($$smiliecode eq "" | | $$smiliepic eq "") { print SMILIEFILE ("$smilieline"); } } } close(SMILIEFILE); chmod (0777, "$SmilieDB"); &smilieSettings; } In my manually made SmilieDB.cgi had been smilies with "<". After inserting a new smilie, I had "<" instead. ------------------ Grüße aus Deutschland / Greatings from Germany Leisure Larry Homepage: Catan & Stonehedge - Multiplayerz vs. HTML UBB: ALLinONE , the german UBB for Freeware-Hacks
|
|
|
#36392
03/08/2000 7:52 PM
|
Joined: Jan 2000
Posts: 64
Member
|
Member
Joined: Jan 2000
Posts: 64 |
while working on my ubbbuttons, I've come up with a way to just click on the smilie code, name or pic and have the smilie code automatically inserted into the message window. when i get this 100% working, I'll post it. currently only works for one of the 3 post pages at a time, have to build a little sub so it works in edit, reply and post. will have it for yas this weekend it's damn cool. i know i said damn and this ubb will censor damn, but it is damn cool and I have to say that whether ubb code hackers hideout likes it or not. ![[Linked Image]](http://ubbcodehacking.com/ubb/smilies/smile.gif)
|
|
|
#36393
03/09/2000 4:27 PM
|
Joined: Mar 2000
Posts: 1
Junior Member
|
Junior Member
Joined: Mar 2000
Posts: 1 |
I have a somewhat sucky problem with this (great) hack: # 1 - Make sure the perl path is correct, this should probably be: #!/usr/bin/perl of #!/usr/local/bin/perl - Okay - got that right! # 2 - Make a new link in cplinks.html pointing to http://yourdomain.ext/yourubbpath/smilies.cgi?action=smilieSettings - Did that correctly as well # 3 - Make a separate directory for your smilies within the NonCGIPath eg: /yournoncgipath/smilies - Mission accomplished! # 4 - Go into your general settings and enter the SmiliePath and SmilieURL variables and submit - Whoops! I have none of those variables in my general settings. I see the link on the left, and it goes to the script - but as those variables aren't set I can hardly do a thing (not adding/modifying/deleting stuff). Does anyone know what this can be? I placed my smilies.cgi in the ubb cgi dir, and chmodded it 755 - and created all of the other garble mentioned. I use UBB version : 5.44a Thanx in advance!
|
|
|
#36394
03/09/2000 5:43 PM
|
Joined: Feb 2000
Posts: 2
Junior Member
|
Junior Member
Joined: Feb 2000
Posts: 2 |
It seems to me like you missed a few steps while editing cpanel2.cgi.
|
|
|
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: 417
Joined: November 2001
|
|
Forums63
Topics37,575
Posts293,930
Members13,823
|
Most Online6,139 Sep 21st, 2024
|
|
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
|
|
|
|