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

   Re: Finished-[6.3-6.4] Restrict signatures to Del.icio.us Add to del.icio.us
  Digg Re: Finished-[6.3-6.4] Restrict signatures Digg it
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 (60 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: 25411
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 
Top Posters Last 30 Days
AllenAyres 12
Gizmo 10
S7ARBVCK 2
Cambridge 1
Murphdog 1
MattUK 1
Kevin H 1
Who's Online
0 Registered (), 32 Guests and 8 Spiders online.
Key: Admin, Global Mod, Mod
Shout Box

Latest Posts
BeyondCompare v3.00
by blaaskaak
Yesterday at 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
[7.3.x] ubb.links
by AllenAyres
08/26/08 09:57 AM
New Mods
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
Multiple Identity Detector
by
12/30/06 06:39 PM
Newest Members
veedubb8, twentyseven, Claus1, welcomeback1, Paug
13327 Registered Users

 

 

 
fusionbb message board php hacks