php forum
php mysql forum
php mysql smarty
 
Topic Options
#44751 - 02/07/03 11:41 AM adding smiley's in 5.47d
teambeefcakeracing Offline
Junior Member

Registered: 02/07/03
Posts: 4
Loc: cinti
i was wondering if anyone could help me with this

thanks in advance

Top
#44752 - 02/07/03 12:38 PM Re: adding smiley's in 5.47d
joking-down Offline
deutscher moderator / v5 specialist

Registered: 12/24/00
Posts: 712
Loc: Germany
hi teambeefcakeracing,

after installing this two hacks I think you can add easy new smilies...
_________________________
UBB-Admin ( kids-hotline.de )


join Team UBBDev

I have [img]http://www.ubbdev.com/ud/?s=1&u=joking-down[/img] Points.

Top
#44753 - 02/07/03 02:04 PM Re: adding smiley's in 5.47d
teambeefcakeracing Offline
Junior Member

Registered: 02/07/03
Posts: 4
Loc: cinti
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

Top
#44754 - 02/07/03 02:12 PM Re: adding smiley's in 5.47d
teambeefcakeracing Offline
Junior Member

Registered: 02/07/03
Posts: 4
Loc: cinti
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

Top
#44755 - 02/07/03 03:13 PM Re: adding smiley's in 5.47d
joking-down Offline
deutscher moderator / v5 specialist

Registered: 12/24/00
Posts: 712
Loc: Germany
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").
_________________________
UBB-Admin ( kids-hotline.de )


join Team UBBDev

I have [img]http://www.ubbdev.com/ud/?s=1&u=joking-down[/img] Points.

Top
#44756 - 02/07/03 03:29 PM Re: adding smiley's in 5.47d
teambeefcakeracing Offline
Junior Member

Registered: 02/07/03
Posts: 4
Loc: cinti
what about the smilies.cgi ?

Top
#44757 - 02/10/03 07:53 PM Re: adding smiley's in 5.47d
reloadbench Offline
Member

Registered: 10/11/01
Posts: 34
Loc: New York
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 [b]eek.gif[/b] in the pasted line to the new smilie file name.
Rename [b]:eek:[/b] in the pasted line to the new text to type.

In [i]postings.cgi[/i] find:
[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 ubblibrary.pl 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.

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.
_________________________
Greg
The Reload Bulletin Board

Top


Top Posters Last 30 Days
AllenAyres 84
Gizmo 28
Zarzal 21
sirdude 19
blaaskaak 14
willing 7
swebs 6
Who's Online
1 Registered (Zarzal), 55 Guests and 11 Spiders online.
Key: Admin, Global Mod, Mod
Shout Box

Latest Posts
[7.3.x] ubb.links
by AllenAyres
Yesterday at 06:15 PM
Changing currency for subscriptions?
by AllenAyres
Yesterday at 01:15 PM
Protect users emails
by AllenAyres
Yesterday at 11:36 AM
VPS and Newbies
by Gizmo
07/02/08 09:08 PM
Team UBBDev Rides Again!
by AllenAyres
07/02/08 11:38 AM
Drupal / UBB integration module for Drupal
by blaaskaak
06/30/08 01:52 PM
[7.3.x] Scheduled board close for backup
by AllenAyres
06/30/08 12:51 PM
New Mods
Protect users emails
by Basil Fawlty
06/29/08 08:44 AM
[7.3.x] Scheduled board close for backup
by blaaskaak
06/26/08 04:01 AM
[7.3+] CustomTag - Audo Embedding
by Gizmo
06/24/08 07:52 PM
[7.3.x] ubb.links
by AllenAyres
06/20/08 11:50 PM
[7.3] Dissallow quotes more then 3 levels deep
by blaaskaak
06/09/08 09:01 AM
Newest Members
ryzilla, M4D, Jer, Kanigo2, Bubba
13302 Registered Users

 

 

 
fusionbb message board php hacks