php forum
php mysql forum
php mysql smarty
 
Page 2 of 2 < 1 2
Topic Options
#269032 - 03/01/04 08:32 AM Re: Finished-[6.3-6.4] Restrict signatures [Re: Sergio]
Astaran Offline
Addict

Registered: 12/21/00
Posts: 1545
Loc: Germany
Have you added the function remoteFileSize as stated in the instructions and the the function that is needed for older php versions?
_________________________
Running a community? -> Keep informed and take it to the next level

Top
#269033 - 03/01/04 10:34 AM Re: Finished-[6.3-6.4] Restrict signatures [Re: -Fusion-]
Bradley Noe Offline
Junior Member

Registered: 07/02/03
Posts: 9
Loc: Kingsport, TN
[]Astaran said:<br />Have you added the function remoteFileSize as stated in the instructions and the the function that is needed for older php versions? [/]<br /><br />I must be blind, I added the function for the older php versions but didn't add the function for remoteFileSize, unfortunatly I had installed this before that was added to the instructions and wasn't made aware of it until this weekend.<br />Thanks for the help! <img src="http://www.ubbdev.com/forum/images/graemlins/cool.gif" alt="" />

Top
#269034 - 11/14/04 08:11 AM Re: Finished-[6.3-6.4] Restrict signatures [Re: -Fusion-]
Organizer Offline
User

Registered: 08/17/02
Posts: 34
I would love to implemente this in 6.5 and run the check script for all those who have to big allready....<br /><br />Whats needed for this to work in 6.5???
_________________________
Organizer

Top
#269035 - 11/15/04 09:05 AM Re: Finished-[6.3-6.4] Restrict signatures [Re: Billyo]
Organizer Offline
User

Registered: 08/17/02
Posts: 34
works fine in 6.5, but there are some lines that must be changed manually, as it have been a few small changes in them by Infopop... anyway, kinda logic!
_________________________
Organizer

Top
#269036 - 12/07/04 06:31 AM Re: Finished-[6.5] Restrict signatures [Re: Billyo]
DLWebmaestro Offline
Member

Registered: 08/08/00
Posts: 1753
Loc: California, MD
I have updated the instruction to work with 6.5 and have attached them to this post. So far, so good over at my site.


Attachments
123623-restrict_signature.txt (66 downloads)

_________________________
Webmaster
Drumlines.org

Drumlines.org UBBThreads

Top
#269037 - 01/02/05 07:29 AM Re: Finished-[6.5] Restrict signatures [Re: eslmix]
Anno Offline
Code Monkey

Registered: 05/23/01
Posts: 562
Loc: Austria
There is something missing in that code, only the first image found is checked for the size and other parameters, all others are not.<br />A for loop is missing so to say.<br /><br />Also, I found a remote file size check that doesn't download the images to check the filesize but checks the headers instead.<br /><br />http://www.php-editors.com/contest/1/33-read.html

Top
#269038 - 01/04/05 09:13 AM Re: Finished-[6.5] Restrict signatures [Re: domain123]
Astaran Offline
Addict

Registered: 12/21/00
Posts: 1545
Loc: Germany
[]Anno said:<br />There is something missing in that code, only the first image found is checked for the size and other parameters, all others are not.<br />A for loop is missing so to say.<br /> [/]<br /><br />In my original code or the updated one?
_________________________
Running a community? -> Keep informed and take it to the next level

Top
#269039 - 01/04/05 10:23 AM Re: Finished-[6.5] Restrict signatures [Re: -Fusion-]
Anno Offline
Code Monkey

Registered: 05/23/01
Posts: 562
Loc: Austria
In the one in your first post. <br /> <br />This part: <br /> <br />elseif ($images != 0) { <br />$imageUrl = "http" . $out['0']['2'] . "." . $out['0']['3']; <br /> <br />Should be included in a loop, the way it is now it only checks the first image found. <br /> <br />Also, you might check the function I use for the remote file size checking without the need to downlod the file to the server.

Top
#269040 - 01/04/05 01:04 PM Re: Finished-[6.5] Restrict signatures [Re: domain123]
Astaran Offline
Addict

Registered: 12/21/00
Posts: 1545
Loc: Germany
Thx!<br />Didn't notice, because I allow only one image in signatures, but I'll update the mod here.
_________________________
Running a community? -> Keep informed and take it to the next level

Top
#269041 - 01/26/05 09:14 PM Re: Finished-[6.5] Restrict signatures [Re: -Fusion-]
drkknght Offline
Kahuna

Registered: 11/09/00
Posts: 1249
Loc: rob's pad -- where it takes sk...
how much more difficult would it be to additionally force users to upload their signature images to my server? in a similar fashion as the user avatar's current upload setting.<br /><br />this way, i could (1) better monitor the content of the images and (2) ensure there's no page drag because a sig image is hosted on a slower server
_________________________
professional discussion killer
due to intelligence limitations, i do not offer support.
my site ~ my boards

Top
#269042 - 01/27/05 03:53 AM Re: Finished-[6.5] Restrict signatures [Re: ]
Anno Offline
Code Monkey

Registered: 05/23/01
Posts: 562
Loc: Austria
very easy, you would simply check if the image is hosted on your domain and give them an error message otherwise.

Top
#269043 - 01/27/05 11:00 AM Re: Finished-[6.5] Restrict signatures [Re: domain123]
drkknght Offline
Kahuna

Registered: 11/09/00
Posts: 1249
Loc: rob's pad -- where it takes sk...
in addition, i'd also prefer to have a little upload field, too, for the users to upload their sig images (which would help enforce the idea that they'd have to be hosted on my server) <br /> <br />any chance on whippin all this up for the codily handicapped? <img src="http://www.ubbdev.com/forum/images/graemlins/smile.gif" alt="" />
_________________________
professional discussion killer
due to intelligence limitations, i do not offer support.
my site ~ my boards

Top
#269044 - 06/30/06 03:55 AM Re: Finished-[6.5] Restrict signatures [Re: ]
Goodfella Offline
Lurker

Registered: 01/06/06
Posts: 8
Hi, please help....<br /><br />I am using 6.3.2 and have gone into the admin panel - edit config settings. Where exactly do I add these variables? There isnt anywhere obvious to put them. can they be added to the php file manually?<br /><br /><br />
Code:
##################<br />Open your admin panel -&gt; config settings and add these variables:<br />###################<br /><br />$config['sigMaxImages'] =	'1';<br />$config['sigImageHeight'] =	'80';<br />$config['sigImageWidth'] =	'400';<br />$config['sigImageSize'] =	'30720';<br />$config['sigMaxLines'] =	'10';

Top
#269045 - 06/30/06 01:21 PM Re: Finished-[6.5] Restrict signatures [Re: kiwili]
AllenAyres Administrator Offline
I type Like navaho

Registered: 03/10/00
Posts: 25448
Loc: Texas
If I remember right there should be at the bottom a box that says something like "extra config settings" - just add those in there
_________________________
- Allen wavey
- What Drives You?

Top
Page 2 of 2 < 1 2


Moderator:  Ian_W 
Who's Online
0 registered (), 25 Guests and 15 Spiders online.
Key: Admin, Global Mod, Mod
Shout Box

Latest Posts
Forum 'Trader Ratings'.
by blaaskaak
11/20/08 08:27 AM
Problems reading a lot of old posts here
by Ruben Rocha
11/18/08 04:33 PM
PhotoPost BB Code Popup
by Iann128
11/15/08 01:24 PM
Customization needed
by Gizmo
11/12/08 12:28 PM
Team UBBDev Rides Again!
by AllenAyres
11/11/08 02:16 PM
Active Topics.
by AllenAyres
11/11/08 02:13 PM
Looking for a simple upload script
by AllenAyres
11/11/08 02:12 PM
New Mods
Forum 'Trader Ratings'.
by McLemore
11/19/08 02:14 PM
[7.4] Keep log of custom title changes
by blaaskaak
10/27/08 07:51 AM
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
Newest Members
nick1, Begbie, cenk, MATTO, DougMMcts
13362 Registered Users
Top Posters
AllenAyres 25448
JoshPet 11330
Rick 8372
LK 7396
Lord Dexter 6503
Greg Hard 5533
Charles Capps 5438

 

 

 
fusionbb message board php hacks