Previous Thread
Next Thread
Print Thread
Rate Thread
Page 1 of 3 1 2 3
Joined: Aug 2000
Posts: 3,590
Moderator
Moderator
Offline
Joined: Aug 2000
Posts: 3,590
The Smilie cp-addon (http://ubbcodehacking.com/ubb/Forum7/HTML/000025.html) is fully bugfixed now; I've tested it thorougly and found no errors. Instructions: http://feyenoordmb.virtualave.net/ubbhacks/smiliecp-instructions.txt
Smilies.txt: http://feyenoordmb.virtualave.net/ubbhacks/smilies.txt

Follow the instructions very carefully and don't forget to chmod the smilies.cgi to 755

Sponsored Links
Joined: Jan 2000
Posts: 18
Member
Member
Offline
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]

Joined: Feb 2000
Posts: 4
Junior Member
Junior Member
Offline
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

Joined: Jan 2000
Posts: 18
Member
Member
Offline
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]

Joined: Aug 2000
Posts: 3,590
Moderator
Moderator
Offline
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

Sponsored Links
Joined: Feb 2000
Posts: 4
Junior Member
Junior Member
Offline
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

Joined: Jan 2000
Posts: 4
Junior Member
Junior Member
Offline
Joined: Jan 2000
Posts: 4
can someone please tell me where to get all the simlies.
The Rock

Joined: Feb 2000
Posts: 7
Junior Member
Junior Member
Offline
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
Joined: Feb 2000
Posts: 11
Junior Member
Junior Member
Offline
Joined: Feb 2000
Posts: 11
Actually when I viewed it.. I get a page can not be displayed message...

Joined: Feb 2000
Posts: 7
Junior Member
Junior Member
Offline
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
Sponsored Links
Joined: Feb 2000
Posts: 11
Junior Member
Junior Member
Offline
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!

Joined: Aug 2000
Posts: 3,590
Moderator
Moderator
Offline
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

Joined: Feb 2000
Posts: 11
Junior Member
Junior Member
Offline
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 [Linked Image] as ever

Joined: Jan 2000
Posts: 32
Member
Member
Offline
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.cgi

add:

require "Styles.file";

------------------
Blizzard Domain - http://go.to/blizzdomain

Joined: Feb 2000
Posts: 11
Junior Member
Junior Member
Offline
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.

Joined: Jan 2000
Posts: 32
Member
Member
Offline
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

Joined: Feb 2000
Posts: 11
Junior Member
Junior Member
Offline
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?

Joined: Feb 2000
Posts: 11
Junior Member
Junior Member
Offline
Joined: Feb 2000
Posts: 11
[Linked Image] 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]

Joined: Jan 2000
Posts: 18
Member
Member
Offline
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

Joined: Feb 2000
Posts: 7
Junior Member
Junior Member
Offline
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
Joined: Jan 2000
Posts: 18
Member
Member
Offline
Joined: Jan 2000
Posts: 18
I did that.... still nothin...g

Joined: Feb 2000
Posts: 6
me Offline
Junior Member
Junior Member
Offline
Joined: Feb 2000
Posts: 6
I cant find:

Code
code:

Im running 5.34..is that a problem??


Thanks,
Me

Joined: Aug 2000
Posts: 3,590
Moderator
Moderator
Offline
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..)

Joined: Feb 2000
Posts: 6
me Offline
Junior Member
Junior Member
Offline
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:


Code
code:

I would guess I would put it there but I do not know CGi and I dont know how to translate [Linked Image]

Is this it??

Code
code:

Thanks,
Me






Btw: I don't know if the hack will work for your version...
Joined: Aug 2000
Posts: 3,590
Moderator
Moderator
Offline
Joined: Aug 2000
Posts: 3,590
almost:



Absolute Path for your Smilie DIRECTORY




Joined: Jan 2000
Posts: 31
Member
Member
Offline
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);):

Code
code:

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

Joined: Aug 2000
Posts: 3,590
Moderator
Moderator
Offline
Joined: Aug 2000
Posts: 3,590
Read the doc carefully! It contains the answer...

Anyway; you have to find this one:

Code
code:

Joined: Feb 2000
Posts: 1
Junior Member
Junior Member
Offline
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]), 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!

Joined: Jan 2000
Posts: 3
Junior Member
Junior Member
Offline
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!

Joined: Mar 2000
Posts: 1
Junior Member
Junior Member
Offline
Joined: Mar 2000
Posts: 1
I'm using v. 5.42a and I did the search for

Quote
quote:
and i don't come up with anything! help, anyone?

Joined: Jan 2000
Posts: 19
Member
Member
Offline
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

Joined: Jan 2000
Posts: 4
Junior Member
Junior Member
Offline
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

Joined: Feb 1999
Posts: 1,379
cal Offline
Programmer
Programmer
Offline
Joined: Feb 1999
Posts: 1,379
The sub is in ubb_library2.pl, NOT ubb_library.pl.

Just a thought [Linked Image]

Joined: Jan 2000
Posts: 19
Member
Member
Offline
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

Joined: Aug 2000
Posts: 3,590
Moderator
Moderator
Offline
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/ $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]

Joined: Feb 1999
Posts: 1,379
cal Offline
Programmer
Programmer
Offline
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]

Joined: Jan 2000
Posts: 19
Member
Member
Offline
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/ $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

Joined: Jan 2000
Posts: 64
Member
Member
Offline
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]

Joined: Mar 2000
Posts: 1
Junior Member
Junior Member
Offline
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!

Joined: Feb 2000
Posts: 2
Junior Member
Junior Member
Offline
Joined: Feb 2000
Posts: 2
It seems to me like you missed a few steps while editing cpanel2.cgi.

Code
code:

Joined: Mar 2000
Posts: 2
Junior Member
Junior Member
Offline
Joined: Mar 2000
Posts: 2
Sorry to interupt you, but, in your instruction, you wrote cmod the smilies.cgi to 777, but here, you wrote 755. What's the right? I did install, but error 500.

Joined: Feb 2000
Posts: 2
Junior Member
Junior Member
Offline
Joined: Feb 2000
Posts: 2
I think that 755 is right.. I chmoded it to 777 too and got an error.. Works fine with 755

Joined: Jan 2000
Posts: 19
Member
Member
Offline
Joined: Jan 2000
Posts: 19
Does anybody know, how to prevent that the smilies.cgi saves smiliecodes with a "<" or a ">" in it ???

------------------
GrĂ¼ĂŸe aus Deutschland / Greatings from Germany
Leisure Larry

Homepage: Catan & Stonehedge - Multiplayerz vs. HTML
UBB: ALLinONE , the german UBB for Freeware-Hacks

Joined: Mar 2000
Posts: 1
Junior Member
Junior Member
Offline
Joined: Mar 2000
Posts: 1
Did it all. (but it realy needs a decent manual) and now I get this error.

CGI Error
The specified CGI application misbehaved by not returning a complete set of HTTP headers. The headers it did return are:
Unrecognized character 320 at C:Inetpububbsmilies.cgi line 1.

I used the smilie code on the test server (w98 + PWS).

The real server is IIS4. But I did not implement the smilies hack yet.

Joined: Jun 2000
Posts: 263
Junior Member
Junior Member
Offline
Joined: Jun 2000
Posts: 263
Just found a problem. If you install that hack, and specify that all smilies are in, say, ubb/smilies, than the smilies that were in /ubb will screwe up, since they won't be there any more. Even if you update threads, the location of smilie in thread won't change.

------------------
Thanks for reading!
Ilya
Administrator of Ubb Code Hackers Hideout
Moderator of UBB Hacks Finished

Joined: Mar 2000
Posts: 9
Junior Member
Junior Member
Offline
Joined: Mar 2000
Posts: 9
I just uploaded all my UBB default smilies to ubb/smilies and then left the default ones in /ubb as well..

------------------
*insert woosh sounds here* smile


*insert woosh sounds here* smile
Joined: Jun 2000
Posts: 263
Junior Member
Junior Member
Offline
Joined: Jun 2000
Posts: 263
I did that too, but it takes up extra web space. [Linked Image]

------------------
Thanks for reading!
Ilya
Administrator of Ubb Code Hackers Hideout
Moderator of UBB Hacks Finished

Joined: Mar 2000
Posts: 14
Junior Member
Junior Member
Offline
Joined: Mar 2000
Posts: 14
ok - i did the hack - i followed all the steps as far as i know. I seem to have two problems...

1. When i go into smilie settings on the control panel, it lists only the ones that have code like ':-o' or something. but when i go into to check the list - it lists all of them that are in my smilies folder. (the first time i opened smilie settings it listed them all, i didnt delete any, but after that it only listed the ones that had text codes.

2. when i go in to post either new topics or replies - the message icon still only includes the basic ones that are in my icons folder. the instructions dont say anything about what to do with the ones in the icons folder. do they get moved to the smilies folder too?


Eagles may soar, but weasels don't get sucked into jet engines.
Joined: Jun 2000
Posts: 263
Junior Member
Junior Member
Offline
Joined: Jun 2000
Posts: 263
Quote
quote:
Icons and smilies are 2 different things! This hack lets you configure SMILIES (i.e. the ones that you put using : ) or ; D )

Icons are just included with the message, and to add more, you just put them into icons dir and name them icon 20.gif, icon 21.gif, icon22.gif etc.

------------------
Thanks for reading!
Ilya
Administrator of Ubb Code Hackers Hideout
Moderator of UBB Hacks Finished

Joined: Mar 2000
Posts: 14
Junior Member
Junior Member
Offline
Joined: Mar 2000
Posts: 14
now i feel really stupid cuz what i wanted was to add smilies to the message icon list and didnt need the hack at all...oh well, lol. Thanks for the info...i guess i got it right after all.

Time to tackle another hack then...hehe


Eagles may soar, but weasels don't get sucked into jet engines.
Joined: Apr 2000
Posts: 7
Junior Member
Junior Member
Offline
Joined: Apr 2000
Posts: 7
I feel so dumb. I can't seem to get this to work. I did everything as far as I can see. My two problems are as follows:

1. I get the smilies control panel, but when I click on View current Icons, I get:

The requested URL /smilies.cgi was not found on this server.

2. When I go to add smilies, I get user name not found.

Could anyone help?

Joined: Jan 2000
Posts: 6
Member
Member
Offline
Joined: Jan 2000
Posts: 6
Make sure you've configured the path to smilies.cgi in your general settings area.


AJK
Joined: Apr 2000
Posts: 7
Junior Member
Junior Member
Offline
Joined: Apr 2000
Posts: 7
Yes I did that. Still have the same problem. Any clues?

Joined: Apr 2000
Posts: 1
Junior Member
Junior Member
Offline
Joined: Apr 2000
Posts: 1
when i edit a post....,it should display £º£©
but now it give me a ubbcode,is it right?why?
[Linked Image]

Joined: Aug 2000
Posts: 3,590
Moderator
Moderator
Offline
Joined: Aug 2000
Posts: 3,590
Thanks for a great hack, Mas! It was my second successful hack install and worked like a charm. [Linked Image] And the gals on my board are thrilled to death to have tons of cute little smilies to choose from.

Cheers,

Susan

Joined: May 2000
Posts: 33
Member
Member
Offline
Joined: May 2000
Posts: 33
Does anyone have installating instructions for the Smiles Legend?

The Database is broken anyways

------------------
http://www.upnetwork.com/
http://bbs.upnetwork.com/


I haven't owned a UBB in over 3 years!
Joined: Aug 2000
Posts: 3,590
Moderator
Moderator
Offline
Joined: Aug 2000
Posts: 3,590
Quote
quote:
Jaxel, all I did to fix the smiles legend was to edit the smilies.html in the non-cgi directory...worked like a charm.

Hope this helps,

SusanM

Joined: Aug 2000
Posts: 3,590
Moderator
Moderator
Offline
Joined: Aug 2000
Posts: 3,590
Thanks man i got it working on my ubb5.44 but you think it will work on ubb5.45b ??? hehe took awhile to chaneg everything [Linked Image]
Well thanks
Cracka

Joined: Aug 2000
Posts: 3,590
Moderator
Moderator
Offline
Joined: Aug 2000
Posts: 3,590
Sorry , but is there a completed instruction on this hack as i'm not into programming so can some lends me a helping hand???

Joined: Aug 2000
Posts: 3,590
Moderator
Moderator
Offline
Joined: Aug 2000
Posts: 3,590
I'm having problem with UBB Code Buttons v3 and this smilies hack. the problem i'm having when you click on [Linked Image] in UBBCODEBUTTONS a blank page comes up. and when i do smilies in New Topic or Reply they don work so example i do [Linked Image] (will show u a picture) on my site there will be nothing. except the text thing anyone can help me out?
take a look at my site www.dealking.net my icq 10363340 thanks

Joined: Aug 2000
Posts: 3,590
Moderator
Moderator
Offline
Joined: Aug 2000
Posts: 3,590
Smilie Legend still don't work I can't figure out why, Someone give me the clues the required "Styles.file"; is there
Hmm anyone?
take a look please www.dealking.net it will forward u straight to the board

Joined: Aug 2000
Posts: 3,590
Moderator
Moderator
Offline
Joined: Aug 2000
Posts: 3,590
Okay, 5.45c, I seemingly installed everything cool, but it's late and I may have been a retard somewhere here...

Everything was going cool, upped everything, it all appeared in cp.html ok, got to the point where I was about to upload some new smilies to test it out, when I received a message from one of my users saying that after they replied, the postings.cgi screen came up blank. I tried it and this was indeed true. Anybody know offhand why this would happen?

I re-upped the backups for functionality's sake, and am ready to go to sleep, but if anybody knows off the top of their head what I may have missed or mistyped to get this (maybe even a wrong CHMOD?) I would appreciate a heads-up to save some stress.

Thanks all.

Joined: Apr 2000
Posts: 10
Junior Member
Junior Member
Offline
Joined: Apr 2000
Posts: 10
Does anyone know if the hack will work with 5.45c or will I just have to find the codes in a different file?

Joined: May 2000
Posts: 8
Junior Member
Junior Member
Offline
Joined: May 2000
Posts: 8
after installing, everything seems work fine..
onlyt problem is...the edit page become a blank page... [Linked Image]

Joined: Aug 2000
Posts: 3,590
Moderator
Moderator
Offline
Joined: Aug 2000
Posts: 3,590
I'm currently having the problem with the edit page appearing blank. ( As the person above is experienceing) I'm also having a problem with the smiles I add not displaying.

I have UBB version 5.42a.
I have your Smilies hack and the Auto-Updating Smilies Legend hack to complete it.

Joined: Feb 2000
Posts: 20
Junior Member
Junior Member
Offline
Joined: Feb 2000
Posts: 20
BlueMoon: Yes this hack worked with 5.45c

Squall14: the edit page became a blank page? you mean the smilies.cgi? if it's yes, then you need to get the update script.

Bartman: you might want to check smilies path..make sure you have the right path or else the smilies won't display correctly..also make sure you have smilies directory in NonCGI directory...for the problem with the blank page, use the update smilies scripts...

Joined: May 2000
Posts: 8
Junior Member
Junior Member
Offline
Joined: May 2000
Posts: 8
Not smilie.cgi...
but the Edit page for edit a post..

------------------
Squall14

Joined: Feb 2000
Posts: 20
Junior Member
Junior Member
Offline
Joined: Feb 2000
Posts: 20
squall14: I think there is a problem in your postings.cgi...you might miss out some codes or did you edit the postings.cgi like the instruction said?

bartman: you have same problem with squall14...the problem is from the postings.cgi...did you replace all of the smilies subroutine with the new one? etc...

Joined: May 2000
Posts: 8
Junior Member
Junior Member
Offline
Joined: May 2000
Posts: 8
Yes,...I follow all the instructions....
I edit the postings.cgi 3 times...but I still get the same result...
a blank page shown when I trying to edit a post......

------------------
Squall14

Joined: Aug 2000
Posts: 3,590
Moderator
Moderator
Offline
Joined: Aug 2000
Posts: 3,590
Well, problem wasn't resolved after starting from scratch with a install of this.

So I just went back to my backup copy, where editing posts work....

Thanks for the suggestions..

Joined: Aug 2000
Posts: 3,590
Moderator
Moderator
Offline
Joined: Aug 2000
Posts: 3,590
I've got a problem, my postings.cgi is messed up. However this is nothing new, whenever I make a hack and it deals with postings.cgi I ALWAYS get a "Premature end of script" error. I don't understand.

------------------
Theres a peace inside us all,
Let it be your friend,
It will help you carry on,
In the end

Joined: Aug 2000
Posts: 3,590
Moderator
Moderator
Offline
Joined: Aug 2000
Posts: 3,590
I was having the same problem with the edit page showing up blank and it turned out it wasn't a problem in postings.cgi but a problem in ubb_library.pl so you may want to redo that file..

Joined: Aug 2000
Posts: 3,590
Moderator
Moderator
Offline
Joined: Aug 2000
Posts: 3,590
Fixed postings.cgi and now the smilies wont show up. If I change what to put for the smilies that already exist, it doesn't change them. It wont show the smilies that I add. When I go to edit my smilies they are there, but only the ones that were originally there show up, and they have to be made the way that they were originally made.

Anyone have any idea what I could do to fix that?

------------------
Theres a peace inside us all,
Let it be your friend,
It will help you carry on,
In the end

Joined: Jan 2000
Posts: 4
Junior Member
Junior Member
Offline
Joined: Jan 2000
Posts: 4
Is there a way to change in what order the smilies are stored as? For example. if one of my smilies is names :love and another one is :l , the :l works just fine but the :love turns out to be the :l smilie plus "ove" at the end. I fixed this problem by making the larger one :love get stored first when it was old ubb_library2.pl editing but I guess this new hack doesn't take that into effect. Can anybody help?

Joined: May 2000
Posts: 1,168
Member
Member
Offline
Joined: May 2000
Posts: 1,168
I can't seem to find this smilies "legend" thing anywhere. It's not in my smilies.cgi file. Where can I find this? On my board, when you click on the smilies button, the window just hangs there. PLEASE HELP!!

Joined: Jun 2000
Posts: 44
Member
Member
Offline
Joined: Jun 2000
Posts: 44
I'm having a problem with the smilies with codes that contain ) and ( like :), :(, and wink .

I can add them but when I post a message, they aren't converted to the images. The other ones like confused work.

Any suggestions on how to fix this problem??

Joined: Jan 2001
Posts: 6
Junior Member
Junior Member
Offline
Joined: Jan 2001
Posts: 6
I've tried this hack, checked double, triple even quad times and get the same error. Everyone who posts post fine but no smilies are showing. (I know why).

In the CP General settings cpanel2.cgi, when I enter the path for the smilies I get this error:

Sorry! Your General Settings were not accepted

Here is what UBB found:


and it will not accept any path I give it. Also I found a little funny.

Code
code:

well in mine it's

Code
code:

so where am I supposed to add

$SmilieURL = "http://$ENV

??

here?

Code
code:

Any help would be greatly appreciative. [Linked Image]


This message has been edited by NoCarrier on January 22, 2001 at 11:39 PM

Joined: Oct 2000
Posts: 117
Member
Member
Offline
Joined: Oct 2000
Posts: 117
You might wanna compare it to the coding in the latest code buttons, it was updated for the newer versions of the ubb.

------------------
Duke


Duke

"Life is tough, it's tougher if you're stupid."
Joined: Jan 2001
Posts: 6
Junior Member
Junior Member
Offline
Joined: Jan 2001
Posts: 6
I just added

if ($SmilieURL eq '') {
$SmilieURL = "http://$ENV{'HTTP_HOST'}/ubb";
}

still no luck. In the smilie control panel (since it's looking for www.yourwebsite.com no default directory) for my smilies I just input ubb/smilies/smiliename.gif and the smile picture shows. Now the posts still don't work and there's not smilie button. Arg! [Linked Image]

Joined: Oct 2000
Posts: 117
Member
Member
Offline
Joined: Oct 2000
Posts: 117
Did you set your paths to your smilie folder in your general settings?

------------------
Duke


Duke

"Life is tough, it's tougher if you're stupid."
Joined: Jan 2001
Posts: 6
Junior Member
Junior Member
Offline
Joined: Jan 2001
Posts: 6
Quote
quote:
that's where I get the error. I can put in the CP path = ubb/smilies/smile.gif and the UBB works fine. It was just a pain to reenter all the smilies.

Also, was there supposed to be a new smilie button during post or do I have to edit the smiles.html everytime I add a smilie now? I mean it works... kinda.. just a lot of trouble for a few [Linked Image] [Linked Image]

Joined: Jan 2001
Posts: 6
Junior Member
Junior Member
Offline
Joined: Jan 2001
Posts: 6
also, now that the cpanel2.cgi is non-functional (still gives me that error) I can't change ANY settings in the general section. I can get the cpanel2.cgi page, but if I try to change something and hit submit I get that dreaded "Sorry! Your Gerneal Settings were not accepted" error.

something in my cpanel2.cgi is screwy. [Linked Image] everything else seems to work great.

Joined: Jan 2001
Posts: 23
Junior Member
Junior Member
Offline
Joined: Jan 2001
Posts: 23
i need help with it! i am running 5.47a can you please tell me what to replace and with what? Please i don't understard that!

Joined: Oct 2000
Posts: 117
Member
Member
Offline
Joined: Oct 2000
Posts: 117
If you set your paths correctly in your general settings, ie:
/home/users/htdocs/ubb/smilies

(or whatever your absolute paths are)

Then you shouldn't be entering paths in your smilies settings like you are, ie:
ubb/smilies/flamethrower.gif

it should be just:
flamethrower.gif

If you can't set the absolute paths in your general settings for the smilie directory, then you have a mistake in your coding and this will not work.

------------------
Duke


Duke

"Life is tough, it's tougher if you're stupid."
Joined: Jan 2001
Posts: 46
sas Offline
Member
Member
Offline
Joined: Jan 2001
Posts: 46
Hi I have finally got the file working, and have added some new smilies but they do not show up on the smilie.html file. How do I get these in do i need to add them manually, and if so is there a program that will do this for me?
Thanks
Donald

Page 1 of 3 1 2 3

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
badfrog
badfrog
somewhere on the coast of Maine
Posts: 94
Joined: March 2007
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
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 20240506)