php forum
php mysql forum
php mysql smarty
 
Topic Options
#44736 - 01/27/03 06:11 PM Signature Images Help!!!
reloadbench Offline
Member

Registered: 10/11/01
Posts: 34
Loc: New York
I currently have images turned off for members signatures. I also have the signature limit set to 150 characters. I know that by allowing images in signatures I run the risk of some members cluttering the threads with graphics. Some of which might be questionable.

Is there a way to keep the images turned off (so no "outside" graphics could be linked) and only let the smilies be included in members signatures? Or perhaps only let images from a certain directory be included in the signatures?

I'm running version 5.47e. I know that it's an oldie, but I hate to upgrade now after all the hacks I have installed and finally getting it to look just the way I want.

Any help is greatly appreciated...
_________________________
Greg
The Reload Bulletin Board

Top
#44737 - 01/27/03 06:59 PM Re: Signature Images Help!!!
joking-down Offline
deutscher moderator / v5 specialist

Registered: 12/24/00
Posts: 712
Loc: Germany
Yes, there is.
I can post the code this week. Today, it's too late to search the code...
_________________________
UBB-Admin ( kids-hotline.de )


join Team UBBDev

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

Top
#44738 - 01/27/03 08:06 PM Re: Signature Images Help!!!
Deb Administrator Online   content
Pooh-Bah

Registered: 02/13/00
Posts: 3480
Loc: Wisconsin
Hi Greg, if you have posting icons turned on your users could just use the UBB Code img tags. Joking-down's code will be better ... but this might be a quick fix until he has time.
_________________________
- Deb

Top
#44739 - 01/29/03 02:19 AM Re: Signature Images Help!!!
reloadbench Offline
Member

Registered: 10/11/01
Posts: 34
Loc: New York
joking-down,

Thanks, that would be great! I'll check back here later on this weekend.

Deb,

The posting icons are turned on and I tried the UBB image tags, but the images did not show up. Only the actual code showed up in its place.
_________________________
Greg
The Reload Bulletin Board

Top
#44740 - 01/30/03 03:30 PM Re: Signature Images Help!!!
joking-down Offline
deutscher moderator / v5 specialist

Registered: 12/24/00
Posts: 712
Loc: Germany
reloadbench,


here is the code to allow only Image from your own domain in the signature (set AllowSignatureImage to yes):

backup ubbmisc.cgi and ubb_library.pl.

[code][/code]change both my-domain.com in checkSigImage to your domainname!
_________________________
UBB-Admin ( kids-hotline.de )


join Team UBBDev

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

Top
#44741 - 02/01/03 10:44 AM Re: Signature Images Help!!!
reloadbench Offline
Member

Registered: 10/11/01
Posts: 34
Loc: New York
joking-down,

Thanks for the code. I will add it today, hopefully without any problems. I'll let you know how it works.

Thanks again for your help!
_________________________
Greg
The Reload Bulletin Board

Top
#44742 - 02/01/03 02:17 PM Re: Signature Images Help!!!
reloadbench Offline
Member

Registered: 10/11/01
Posts: 34
Loc: New York
joking-down,

I've followed the code to the letter and yet I can't get it to work.

I replaced the only two occurrences of the code in ubbmisc.cgi, and inserted the other string of code into ubb_library.pl just before the last line as directed. I also changed the my-domain to my own.

When the Control Panel settings for Signature Images is set to "NO" and I make a post, all I get is the URL of the image between the IMG tags. No image is displayed. With this CP setting the member file is written to and the UBB IMG tags are shown for the signature image.

When the Control Panel settings for Signature Images is set to "YES" and I make a post, the image appears in the signature. However, when you change the signature to include an image outside of my domain name, that "outside" image also appears in the signature. With this CP setting the member file is written to and the HTML tags are shown for the signature image.

Any idea's?

PS When you edit the post, regardless of what domain the image is located on, the signature image shows up...
_________________________
Greg
The Reload Bulletin Board

Top
#44743 - 02/06/03 01:42 PM Re: Signature Images Help!!!
joking-down Offline
deutscher moderator / v5 specialist

Registered: 12/24/00
Posts: 712
Loc: Germany
I found the error.

[code][/code]the wrong image location would be deleted now.
_________________________
UBB-Admin ( kids-hotline.de )


join Team UBBDev

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

Top
#44744 - 02/07/03 12:12 PM Re: Signature Images Help!!!
reloadbench Offline
Member

Registered: 10/11/01
Posts: 34
Loc: New York
joking-down,

Thanks,

I'll give that a try and post the results.
_________________________
Greg
The Reload Bulletin Board

Top
#44745 - 02/07/03 12:31 PM Re: Signature Images Help!!!
reloadbench Offline
Member

Registered: 10/11/01
Posts: 34
Loc: New York
joking-down,

Thank you very much for your help. That additional bit of code worked perfectly and is greatly appreciated.
_________________________
Greg
The Reload Bulletin Board

Top


Who's Online
1 registered (Deb), 28 Guests and 7 Spiders online.
Key: Admin, Global Mod, Mod
Shout Box

Latest Posts
How to hide sub forums from summary page
by Ruben Rocha
Today at 02:58 PM
Spell Check [beta]
by Bill B
Yesterday at 09:16 PM
PhotoPost BB Code Popup
by AllenAyres
Yesterday at 09:41 AM
Problems reading a lot of old posts here
by AllenAyres
Yesterday at 09:35 AM
Forum 'Trader Ratings'.
by AllenAyres
Yesterday at 09:33 AM
Customization needed
by Gizmo
11/12/08 12:28 PM
Team UBBDev Rides Again!
by AllenAyres
11/11/08 02:16 PM
New Mods
User Authentication Class
by
01/19/07 02:59 PM
Multiple Identity Detector
by
12/30/06 06:39 PM
PhotoPost BB Code Popup
by
11/06/06 05:43 PM
Spell Check [beta]
by
10/17/06 09:24 PM
Newest Members
David DelMonte, nick1, Begbie, cenk, MATTO
13363 Registered Users
Top Posters
AllenAyres 25452
JoshPet 11330
Rick 8372
LK 7396
Lord Dexter 6503
Greg Hard 5533
Charles Capps 5438

 

 

 
fusionbb message board php hacks