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

   adding smiley Add to del.icio.us
  Digg adding smiley Digg it
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 12
Gizmo 10
S7ARBVCK 2
blaaskaak 2
Cambridge 1
Murphdog 1
MattUK 1
Who's Online
1 Registered (blaaskaak), 31 Guests and 8 Spiders online.
Key: Admin, Global Mod, Mod
Shout Box

Latest Posts
[7.3.1] add search to showmembers page
by blaaskaak
22 minutes 13 seconds ago
BeyondCompare v3.00
by blaaskaak
09/05/08 02:46 PM
Noob - need help, or a reality check!
by Gizmo
09/04/08 03:21 AM
Here I am! Rock me like a Hurricane!
by AllenAyres
09/02/08 03:05 PM
[7.x] Generic Page Outside of forum directory
by Gizmo
08/30/08 05:43 PM
Team UBBDev Rides Again!
by Gizmo
08/28/08 11:45 PM
Multiple Identity Detector
by MattUK
08/28/08 04:10 PM
New Mods
[7.3.1] add search to showmembers page
by blaaskaak
22 minutes 13 seconds ago
Installing FlashChat with 7.3
by Paug
08/23/08 12:14 AM
[7.3.x] ubb.links
by AllenAyres
06/20/08 11:50 PM
[7.2.1] - Naked shoutbox
by sirdude
08/17/07 10:36 PM
[7.x] Generic Page Outside of forum directory
by
01/14/07 10:58 PM
Newest Members
veedubb8, twentyseven, Claus1, welcomeback1, Paug
13327 Registered Users

 

 

 
fusionbb message board php hacks