#36018
01/19/2000 1:47 PM
|
Joined: Aug 2000
Posts: 3,590
Moderator
|
Moderator
Joined: Aug 2000
Posts: 3,590 |
Ok, here's what it does: It'll create a new control panel area where you can create, alter and delete smilies on the fly! Here are the instructions: http://feyenoordmb.virtualave.net/ubbhacks/smiliecp-instructions.txt And here's the new smilie file (it's now called smilies.txt, but you gotta rename it to smilies.cgi) http://feyenoordmb.virtualave.net/ubbhacks/smilies.txt I've tried to make the instruction as understandable as possible but due to version-differences and the fact that some people allready have installed custom smilies it may be somewhat difficult to follow. I hope I didn't forget something... ![[Linked Image]](https://ubbdev.com/ubb/biggrin.gif) Anyway, read the instructions very carefully! >>>EDIT<<< BTW: Don't forget to chmod the smilies.cgi to 755!!! << >>
|
|
|
#36019
01/19/2000 1:51 PM
|
Joined: Aug 2000
Posts: 3,590
Moderator
|
Moderator
Joined: Aug 2000
Posts: 3,590 |
All i gotta say is **** YEAH!!
|
|
|
#36020
01/19/2000 2:26 PM
|
Joined: Aug 2000
Posts: 3,590
Moderator
|
Moderator
Joined: Aug 2000
Posts: 3,590 |
I've done an update for the smilies.txt (I also changed it in the downloadable version)
find:
$SmilieDB = "SmilieDB.cgi";
and change to:
$SmilieDB = "$MembersPath/SmilieDB.cgi";
This is because most people don't have chmodded the cgi-bin dir to 777
|
|
|
#36021
01/19/2000 4:20 PM
|
Joined: Aug 2000
Posts: 3,590
Moderator
|
Moderator
Joined: Aug 2000
Posts: 3,590 |
There seems to be some problems with the code. Looks like you will have to relook over it again. I cant find a line but I think it gos into edit.cgi. You may have to install it Mas*mind. ------------------ President and Webmaster of UBB Hackers Hideout. ICQ: 33326211 AIM:SpazJCC Email: ubbmaster@ubbcodehacking.com
|
|
|
#36022
01/19/2000 4:37 PM
|
Joined: Mar 2001
Posts: 37
Junior Member
|
Junior Member
Joined: Mar 2001
Posts: 37 |
Mas*Mind - you have done it again...this is GREAT!!! It worked GREAT without any problems....amazing ![[Linked Image]](https://ubbdev.com/ubb/wink.gif) ------------------ Moderator Of The "CHIT CHAT" ForumE-Mail: [email protected]ICQ: 19608225 AIM: Mazmanr
|
|
|
#36023
01/19/2000 4:38 PM
|
Joined: Mar 2001
Posts: 37
Junior Member
|
Junior Member
Joined: Mar 2001
Posts: 37 |
UBBMASTER - it works perfectly! ------------------ Moderator Of The "CHIT CHAT" ForumE-Mail: [email protected]ICQ: 19608225 AIM: Mazmanr
|
|
|
#36024
01/19/2000 8:19 PM
|
Joined: Aug 2000
Posts: 3,590
Moderator
|
Moderator
Joined: Aug 2000
Posts: 3,590 |
me2be >> The $preppie thing is for the latest versions; Scroll down a bit in the manual and below that you'll find the instructions for other versions. Sorry for my poor explanation ![[Linked Image]](https://ubbdev.com/ubb/redface.gif)
|
|
|
#36025
01/19/2000 10:21 PM
|
Joined: Aug 2000
Posts: 3,590
Moderator
|
Moderator
Joined: Aug 2000
Posts: 3,590 |
Ok, I made some essential changes; Anyone who allready installed this hack should do the update; Anyone who will, just follow the instructions; they're updated. If you've allready installed it: - Redownload the smilies.txt, make the necessary changes (perl-path etc), rename to smilies.cgi and upload - open up ubb_library.pl and search for $SmilieDB and replace with: $MembersPath/SmilieDB.cgi It should be there 2 times. Then search for $NonCGIURL/icons/$smiliepic and replace with $SmilieURL/$smiliepic This should also be there twice. That's it 
|
|
|
#36026
01/19/2000 11:17 PM
|
Joined: Mar 2001
Posts: 37
Junior Member
|
Junior Member
Joined: Mar 2001
Posts: 37 |
Mas*Mind - I can not find $SmilieDB in ubb_library.pl ![[Linked Image]](https://ubbdev.com/ubb/frown.gif) ------------------ Moderator Of The "CHIT CHAT" ForumE-Mail: [email protected]ICQ: 19608225 AIM: Mazmanr
|
|
|
#36027
01/20/2000 4:22 AM
|
Joined: Jan 2000
Posts: 60
Member
|
Member
Joined: Jan 2000
Posts: 60 |
very well. thanks for the add on.
<FONT COLOR="blue"> Free UBB Instalation
Contact on AIM: vmnweb </FONT c>
|
|
|
#36028
01/20/2000 7:25 AM
|
Joined: Aug 2000
Posts: 3,590
Moderator
|
Moderator
Joined: Aug 2000
Posts: 3,590 |
I'm surprised with your positive reactions, because it just won't work on this board ![[Linked Image]](https://ubbdev.com/ubb/mad.gif) Maybe someone of you wants to chew on this problem, cause I'll be away for 2 days... The problem lies within the sub smilie and sub smilieconvert routines: sub Smilies { my $Smilie = shift;
open (FILE, "<$MembersPath/SmilieDB.cgi") or die ("Can't open file: SmilieDB.cgi!"); while( ) { push(@smilielines,$_); } close(FILE);
$Smilie =~ s/<;)/<; )/isg; $Smilie =~ s/>;)/>; )/isg;
foreach $smilieline (@smilielines) { chomp($smilieline); ($smiliecode, $smiliepic)=split(/|^|/,$smilieline); $Smilie =~ s,$smiliecode, ,isg; } return($Smilie); }
sub ConvertSmilies { my $ConvertedSmilie = shift;
open (FILE, "<$MembersPath/SmilieDB.cgi") or die ("Can't open file: SmilieDB.cgi!"); while( ) { push(@smilielines,$_); } close(FILE);
$ConvertedSmilie =~ s/
/nrn/isg; $ConvertedSmilie =~ s/ /n/isg;
foreach $smilieline (@smilielines) { chomp($smilieline); ($smiliecode, $smiliepic)=split(/|^|/,$smilieline); $ConvertedSmilie =~ s, ,$smiliecode,isg; } return($ConvertedSmilie); }The screen goes blank after posting... The smilies are stored in this way: |^|
Thanks in advance! ![[Linked Image]](https://ubbdev.com/ubb/smile.gif)
btw: For those that allready installed the hack; I changed the smilie and convertsmilie routines (ubb_library.pl). Those changes are absolutely necessery.
|
|
|
#36029
01/20/2000 12:15 PM
|
Joined: Mar 2001
Posts: 69
Junior Member
|
Junior Member
Joined: Mar 2001
Posts: 69 |
Mass, you've done it again *Menno almoist drops dead of exitement* DUTCH PEOPLE ROCK!! and I could know, because I am one ![[Linked Image]](https://ubbdev.com/ubb/wink.gif) ------------------ Cougar's here, so have no fear Webmaster of www.artbeast.de
|
|
|
#36030
01/20/2000 2:32 PM
|
Joined: Aug 2000
Posts: 3,590
Moderator
|
Moderator
Joined: Aug 2000
Posts: 3,590 |
I am also experiencing the problem of the smilies not being converted...I will be looking through the coding and sorting things out right now, and will let you know when I have a fix...
|
|
|
#36031
01/20/2000 3:54 PM
|
Joined: Jan 2000
Posts: 60
Member
|
Member
Joined: Jan 2000
Posts: 60 |
Me2Be, i got the same problem! his hack is killing me, i forgot to backup my files, and now i am dead meat!
<FONT COLOR="blue"> Free UBB Instalation
Contact on AIM: vmnweb </FONT c>
|
|
|
#36032
01/20/2000 4:09 PM
|
Joined: Aug 2000
Posts: 3,590
Moderator
|
Moderator
Joined: Aug 2000
Posts: 3,590 |
Naughty, naughty, naught anonymous...first rule. All you need to do is follow the hacking text backwards to fix it...
|
|
|
#36033
01/20/2000 4:29 PM
|
Joined: Jan 2000
Posts: 60
Member
|
Member
Joined: Jan 2000
Posts: 60 |
working backward? not my style ![[Linked Image]](https://ubbdev.com/ubb/smile.gif) anyway, i still want this hack so could the owner please fix the bug. Thanks!
<FONT COLOR="blue"> Free UBB Instalation
Contact on AIM: vmnweb </FONT c>
|
|
|
#36034
01/20/2000 4:37 PM
|
Joined: Jan 2000
Posts: 47
Junior Member
|
Junior Member
Joined: Jan 2000
Posts: 47 |
Umm, I got it up but the way the page is setup is just awful. No background, the tables are all messed, no font face. And the "Smilie-Picture" and "Snapshot" cells are empty. ------------------ http://su.ffgamers.net Joy! A hobby that only cost me $170.
|
|
|
#36035
01/20/2000 4:43 PM
|
Joined: Aug 2000
Posts: 3,590
Moderator
|
Moderator
Joined: Aug 2000
Posts: 3,590 |
Looks like I need to move this to the UBB Code Hacks Beta ![[Linked Image]](https://ubbdev.com/ubb/smile.gif) . ------------------ President and Webmaster of UBB Hackers Hideout. ICQ: 33326211 AIM:SpazJCC Email: ubbmaster@ubbcodehacking.com
|
|
|
#36036
01/20/2000 4:44 PM
|
Joined: Aug 2000
Posts: 3,590
Moderator
|
Moderator
Joined: Aug 2000
Posts: 3,590 |
Hmmm...the control panel looked and worked excellent for me. The problem was that the postings.cgi(which btw i am still looking through) did not work properly.
|
|
|
#36037
01/20/2000 4:49 PM
|
Joined: Jan 2000
Posts: 60
Member
|
Member
Joined: Jan 2000
Posts: 60 |
Sir Nikon, everything is work fine. Excepted for when posting topics, give you errors!
I think there's a little problem with converting the message. I tried to post a topic with no message and get no errors (but told you that your message box is empty etc..) and when i post with some words, its gave me errors.
<FONT COLOR="blue"> Free UBB Instalation
Contact on AIM: vmnweb </FONT c>
|
|
|
#36038
01/20/2000 5:19 PM
|
Joined: Jan 2000
Posts: 60
Member
|
Member
Joined: Jan 2000
Posts: 60 |
I got it worked! Just go into your smilie setting and set all the Smilies-Code. Everything should run fine now. ![[Linked Image]](https://ubbdev.com/ubb/smile.gif) Whewwwwwwwwww!!!!!!!
<FONT COLOR="blue"> Free UBB Instalation
Contact on AIM: vmnweb </FONT c>
|
|
|
#36039
01/20/2000 5:38 PM
|
Joined: Jan 2000
Posts: 68
Junior Member
|
Junior Member
Joined: Jan 2000
Posts: 68 |
I've got problems with this as well... installed it and the control panel worked great, added new smilies and everything. The problem comes in when trying to post a message that it returns the "Document contains no data" message and the message is never posted!
|
|
|
#36040
01/20/2000 5:50 PM
|
Joined: Jan 2000
Posts: 60
Member
|
Member
Joined: Jan 2000
Posts: 60 |
why the page goes blank after posting? i want the 'thank you' message back.
<FONT COLOR="blue"> Free UBB Instalation
Contact on AIM: vmnweb </FONT c>
|
|
|
#36041
01/20/2000 6:10 PM
|
Joined: Jan 2000
Posts: 68
Junior Member
|
Junior Member
Joined: Jan 2000
Posts: 68 |
Ok, here's the fix: in ubb_library.pl, find: and add right after it: This change should be in *2* places... one in the Smilies subroutine and one in the ConvertSmilies subroutine. Gotta remember to escape those special characters!!!
|
|
|
#36042
01/21/2000 1:00 PM
|
Joined: Mar 2001
Posts: 69
Junior Member
|
Junior Member
Joined: Mar 2001
Posts: 69 |
Found another problem: When you use a smilie like :drunk: the : d (without space) turns into ![[Linked Image]](https://ubbdev.com/ubb/biggrin.gif) runk I didn't have this problem when I was adding smilies manual ------------------ Cougar's here, so have no fear Webmaster of www.artbeast.de
|
|
|
#36043
01/21/2000 4:20 PM
|
Joined: Aug 2000
Posts: 3,590
Moderator
|
Moderator
Joined: Aug 2000
Posts: 3,590 |
Dave Downin > Thanks for the fix! Guess I should've thought about that earlier ![[Linked Image]](https://ubbdev.com/ubb/smile.gif) Shouldn't we check for more special characters? Like "'][$| or isn't that necessary? Menno > Probably just a matter of defining the :drunk: one above the : D one (w/out the space offcourse) So is this hack working flawlessly for y'all now?
|
|
|
#36044
01/21/2000 5:01 PM
|
Joined: Aug 2000
Posts: 3,590
Moderator
|
Moderator
Joined: Aug 2000
Posts: 3,590 |
Everything seems to working fine for me now. I also used the readSmilies function too create a pop-up smilies legend(since I am using version 5.39b) If anyone is interested in this hack, let me know, and i will document it.
|
|
|
#36045
01/21/2000 7:06 PM
|
Joined: Jan 2000
Posts: 1
Junior Member
|
Junior Member
Joined: Jan 2000
Posts: 1 |
When I edit msg I get [img] URL [/img] instead of code like :whatever: Why it doesn't convert?
|
|
|
#36046
01/21/2000 7:54 PM
|
Joined: Jun 2000
Posts: 263
Junior Member
|
Junior Member
Joined: Jun 2000
Posts: 263 |
To yeah This is how UBB was made originally. It's not because of the hack.
|
|
|
#36047
01/21/2000 8:04 PM
|
Joined: Jan 2000
Posts: 18
Member
|
Member
Joined: Jan 2000
Posts: 18 |
This hack failed to work correctly - I used the latest text file download. Postings.cgi ran all the way through, but my posts looked like this: ![[Linked Image]](https://ubbdev.com/ubb/icons/smilies/smile.gif) H ![[Linked Image]](https://ubbdev.com/ubb/icons/smilies/smile.gif) e ![[Linked Image]](https://ubbdev.com/ubb/icons/smilies/smile.gif) l ![[Linked Image]](https://ubbdev.com/ubb/icons/smilies/smile.gif) l ![[Linked Image]](https://ubbdev.com/ubb/icons/smilies/smile.gif) o ![[Linked Image]](https://ubbdev.com/ubb/icons/smilies/smile.gif) (repeat ad nauseum) I tried shifting some of the code around, but frankly, I'm avoiding this hack until it's PERFECT. ilya, can you please move this to Beta until all of the issues are worked out? ------------------ - Armage Bedar Administrator, SW-RPG HoloNet Discussion Forums Moderator, UltimateBB Code Hackers' Hideout
|
|
|
#36048
01/22/2000 4:11 AM
|
Joined: Mar 2001
Posts: 69
Junior Member
|
Junior Member
Joined: Mar 2001
Posts: 69 |
And how would I go about doing that? ------------------ Cougar's here, so have no fear Webmaster of www.artbeast.de
|
|
|
#36049
01/22/2000 11:55 AM
|
Joined: Mar 2001
Posts: 69
Junior Member
|
Junior Member
Joined: Mar 2001
Posts: 69 |
Ok, sorry, last one wasn't a bug, my fault But I think I've found a REAL bug now. Namly: When you edit a message the ![[Linked Image]](https://ubbdev.com/ubb/smile.gif) smilie turns into :/) or ;/) and :/( I hope you can fix this ------------------ Cougar's here, so have no fear Webmaster of www.artbeast.de
|
|
|
#36050
01/26/2000 5:58 AM
|
Joined: Jan 2000
Posts: 96
Member
|
Member
Joined: Jan 2000
Posts: 96 |
i would like to see a way i can use the current pop up smilie window to work with this hack, cause i use the hack and it is great but it doesn't update the new smilie legend.
Music is the art of thinking with sound
|
|
|
#36052
02/14/2000 2:42 PM
|
Joined: Feb 2000
Posts: 1
Junior Member
|
Junior Member
Joined: Feb 2000
Posts: 1 |
and add right after it: This change should be in *2* places... one in the Smilies subroutine and one in the ConvertSmilies subroutine. Gotta remember to escape those special characters!!![/b]
Has this been updated in the current file or does this need to be added still? Also, I can't find any mention of the sub VerifyAdmin in ubb_library.pl...could it be because of the private messages hack? Thanks! ------------------ http://diamondtalk.com P.S. I think I just figured it out. The instructions said ubb_library.pl but they meant ubb_library2.pl.
|
|
|
#36053
02/14/2000 4:11 PM
|
Joined: Aug 2000
Posts: 3,590
Moderator
|
Moderator
Joined: Aug 2000
Posts: 3,590 |
Gilz, if you've read the post more carefully you'd notice that I've done an update on this hack...the lines don't need to be added anymore; Download the latest version and it should be allright....The sub verifyadmin should be sub verifyadmincp in your case...read the instructions more carefully..I've mentioned it.. I'm closing this one now...reply on the other thread: http://ubbcodehacking.com/ubb/Forum7/HTML/000050.html
|
|
|
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
|
|
|
|