Go Back   vb.org Archive > Community Discussions > Modification Requests/Questions (Unpaid)

Reply
 
Thread Tools Display Modes
  #101  
Old 04-01-2005, 09:12 AM
Julie's Avatar
Julie Julie is offline
 
Join Date: Mar 2005
Location: Oslo, Norway
Posts: 187
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
A [IMG] link, point to (36.jpg) is 79277 bytes in size, that is 58305 bytes over the allowed limit of 20972 bytes.
Is there a way to perhaps show it as kb, instead of bytes? This is just me being picky though :P

BUT! I did notice that when you had more than one "violation", it just displayed one:

Quote:
[IMG]http://www.toobigimageinbyteshere.something[/img*]
gggggggggggggggggggggggggggggggggggggggggggggggggg gggggggggggggggggggggggggggggggggggggggggggggggggg g
Error:
The following errors occurred when this message was submitted:
  1. Line 2, word 1 is 101 characters long. A single word is allowed to be a maximum 30 characters.
But, when you fix the error displayed, and you click save, it'll show the other one. But it would be good to have all the errors at once
Reply With Quote
  #102  
Old 04-01-2005, 10:10 AM
why-not why-not is offline
 
Join Date: Feb 2004
Posts: 218
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Julieh
Is there a way to perhaps show it as kb, instead of bytes? This is just me being picky though :P

BUT! I did notice that when you had more than one "violation", it just displayed one:



Error:
The following errors occurred when this message was submitted:
  1. Line 2, word 1 is 101 characters long. A single word is allowed to be a maximum 30 characters.
But, when you fix the error displayed, and you click save, it'll show the other one. But it would be good to have all the errors at once
Hi

The reason why it does this, is that the signature (text) is validated before any (images) are validated. There is no sense to run a (remote) system call to validate images if the signature (text) has errors! I did it this way to save resources! I could do it the way you want, but it is not the best appoach to take! I will do this though, add a option to the Admin Configuration, that does it my way and also allows for doing it your un-resource friendly way!

Sonia
Reply With Quote
  #103  
Old 04-01-2005, 10:14 AM
Julie's Avatar
Julie Julie is offline
 
Join Date: Mar 2005
Location: Oslo, Norway
Posts: 187
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Oh okay, I don't know much about coding and queries and such, but I just thought a user might get a little pissed for having to edit his/her sig again and again and again :P

But hey, you're the coder, you know best I really appreciate you coding this!
Reply With Quote
  #104  
Old 04-01-2005, 11:33 AM
trulylowcarb's Avatar
trulylowcarb trulylowcarb is offline
 
Join Date: Apr 2004
Location: Colorado
Posts: 120
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Tried the demo, and left some feedback in the demo forum.... go Sonia, go .... ^5!
Reply With Quote
  #105  
Old 04-01-2005, 11:56 AM
why-not why-not is offline
 
Join Date: Feb 2004
Posts: 218
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Someone asked about the image validation so I will explain it!

Validation on images is done using (2) passes, The first pass validates the image size allowed for the user group the member is assigned to!

If the size is below the maximum allowed, the second question is pushed to the remote server to get the other information (height, width)!

I use (2) passes, because we don't want to download a image that violates the maximum size rule, this is to make the process as system friendly as possible! This is all done using one single process, and a special (request header) that all servers understand, so we only use one remote call per image validation, talking to the remote server in a special way. I also only use one remote call if there are (1) or more images in a signature and those images are all on the same remote server!

I have put a lot of time in load tesing and trying my best to make this very system friendly! Sure I know of easier ways to deal with image validation, but they are very resource intense. Which is what I do not want and you will not want, this is one of those times that one would need to reinvent the wheel, and that is what I did!

Sonia
Reply With Quote
  #106  
Old 04-01-2005, 07:33 PM
BPnet's Avatar
BPnet BPnet is offline
 
Join Date: Mar 2005
Posts: 4
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by why-not
I final have the public demo up... (you can try it!)

http://forum.ya-right.com/index.php?

you need to create an account to demo the control, no validation needed!


I will be releasing it on Sunday, I just need to finish a few minor things (more phrases) for the extra stuff I added and the (help system / Forum Facts) needs to be updated to add the information for the new options!


I think I may have went a little over board, but total control you will have!!!


c, ya...

Sonia
Excellent! I am looking forward to your final release, Sonia. I appreciate the hard work you've put into this.
Reply With Quote
  #107  
Old 04-01-2005, 09:27 PM
ThePimp's Avatar
ThePimp ThePimp is offline
 
Join Date: Feb 2005
Posts: 329
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

There should also be a text box that allows you to put in a replacement sig if the above specs are not met. Like if the size is too large, it would be replaced by a default sig. If no sig data is input, it would still show no sig, but if there is one, and it's out of compliance, the default kicks in.
Reply With Quote
  #108  
Old 04-01-2005, 09:57 PM
why-not why-not is offline
 
Join Date: Feb 2004
Posts: 218
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by ThePimp
There should also be a text box that allows you to put in a replacement sig if the above specs are not met. Like if the size is too large, it would be replaced by a default sig. If no sig data is input, it would still show no sig, but if there is one, and it's out of compliance, the default kicks in.
What would be the point of that?

Signature validation is to make sure the signature complies to your forum rules! If there is a problem then the user will be told about the problem right at edit time! So I don't see a need for a replacement signature! Maybe I am not understanding you, if you could explain in more detail it would help me understand what you are saying!

Sonia
Reply With Quote
  #109  
Old 04-01-2005, 10:18 PM
trulylowcarb's Avatar
trulylowcarb trulylowcarb is offline
 
Join Date: Apr 2004
Location: Colorado
Posts: 120
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I was just coming here to say that I would prefer NOT to see a default signature, personally...
(Just my 2cents)
Reply With Quote
  #110  
Old 04-02-2005, 09:12 PM
007's Avatar
007 007 is offline
 
Join Date: Jan 2003
Location: United States
Posts: 872
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This hack would be great. I know how to code it but don't have any time now. I would certainly install it though!

All I really care about is a usergroup based signature:

Allow usergroup to use signatures? Yes/No

That would fix so many problems.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 05:30 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.13985 seconds
  • Memory Usage 2,274KB
  • Queries Executed 12 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (5)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (10)postbit
  • (10)postbit_onlinestatus
  • (10)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete