UBB.Dev
Posted By: teambeefcakeracing adding smiley's in 5.47d - 02/07/2003 7:41 PM
i was wondering if anyone could help me with this

thanks in advance
Posted By: joking-down Re: adding smiley's in 5.47d - 02/07/2003 8:38 PM
hi teambeefcakeracing,

after installing this two hacks I think you can add easy new smilies...
Posted By: teambeefcakeracing Re: adding smiley's in 5.47d - 02/07/2003 10:04 PM
having a problem

the first one is where it tells you to change smilies.txt to smilies .cgi

the only file other than my folder with all of my smilie images i can find is a file named smilies.html

is this the file i change to .cgi ? do i then move it to the cgi folder?

2nd problem is right after that i am supposed to open the ubb_library.pl and find the sub verifyadmin

i searched the whole page and cand find nothing that says admin on the page anywhere
Posted By: teambeefcakeracing Re: adding smiley's in 5.47d - 02/07/2003 10:12 PM
since the name was close, i opened the library2.pl and i did find it under there, i backed it up, but i am assuming this is the one i was supposed to look for

i still need to know about the smiles.txt though and if what i did in the pl2 file is correct

i am assuming the smiles.html i changed wasn't the right one as the next step is to open the smilies.cgi and change the verifyadmin to verifyadminCP, and there is nothing under the smilies.html that has the verify admin in it
Posted By: joking-down Re: adding smiley's in 5.47d - 02/07/2003 11:13 PM
uh... I haven't checked the files. I don't find the smilie hack from Mastermind.

Try this instead:
  • open ubb_library.pl and search for sub Smilies and insert your new smilies before return ($Graemlin);.
  • open postings.cgi and search for sub PrepForEdit and insert your new smilies before if ($UBBCodeAllow eq "is").
Posted By: teambeefcakeracing Re: adding smiley's in 5.47d - 02/07/2003 11:29 PM
what about the smilies.cgi ?
Posted By: reloadbench Re: adding smiley's in 5.47d - 02/11/2003 3:53 AM
Not sure if you found what your looking for yet, but I've added Smilies manually to the scripts for my 5.47e board instead of adding another hack for them.

Simply open the following three files and look for each of these occurrences and add any additional lines for each new smilie.

In edit.cgi find:
Code
[/code]Copy the entire line and paste it underneath.
Rename eek.gif in the pasted line to the new smilie file name.
Rename :eek: in the pasted line to the new text to type.

In postings.cgi find:
Code
</pre></div></div>Copy the entire line and paste it underneath.<br>Rename <span style="font-weight: bold">eek.gif</span> in the pasted line to the new smilie file name.<br>Rename <span style="font-weight: bold"><img src="<<GRAEMLIN_URL>>/eek.gif" alt="eek" title="eek" height="15" width="15" /></span> in the pasted line to the new text to type.<br><br>In <span style="font-style: italic">ubblibrary.pl</span> find:<br>[code]
Copy the entire line and paste it underneath.
Rename eek.gif in the pasted line to the new smilie file name.
Rename eek in the pasted line to the new text to type.

Upload the new smilies to your NonCGI directory and edit.cgi, postings.cgi, and ubblibrary.pl to your CGI directory.

Make sure you make backup copies of edit.cgi, postings.cgi, and ubblibrary.pl. Also update your smilies.html page to reflect the new smilie additions.
© UBB.Developers