Go Back   vb.org Archive > Community Discussions > Modification Requests/Questions (Unpaid)
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #71  
Old 03-14-2005, 07:08 PM
msimplay's Avatar
msimplay msimplay is offline
 
Join Date: Aug 2002
Location: UK
Posts: 1,059
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by kgeronilla
This is a simple template and CSS mod to restrict sigto a 500x120 centered box. It works for IE6 and firefox. I haven'ttried any other browsers.

Go to your admincp

Styles & templates => styles manager => click[<<>>] => find Postbit Templates => double clickpostbit or postbit_legacy(depends on which you are using if you don'tknow it doesn't hurt to make modification to both)

Find code:


Replace with:


Push save button.

Next,
Styles & templates => styles manager => Select Main CSS and push go => Scroll to bottom.

Add this to bottom of "Additional CSS Definitions"
I already know of this and it has been suggested elsewhere beforehowever just because the image is over flowing doesn't mean it hasntloaded the image
Reply With Quote
  #72  
Old 03-14-2005, 10:08 PM
why-not why-not is offline
 
Join Date: Feb 2004
Posts: 218
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi

I almost have this mod done, 1 to 3 days it will be released! I will put up some Admin Panel images by tomorrow morning so you can see what it will look like!

Options!

1. <IMG> domain blocking (access rules, don't allow images from these domains)
2. <URL> domain blocking (access rules, don't allow links pointing to these domains)
3. <IMG> max height, max width (moderate, validate before displaying [automatic], exclude these domains!)
4. sig max length
5. sig max characters per line
6. sig max (single word length) exclude URL LINKS/IMGS
7. <IMG> max allowed (non-smilies)
8. max smilies allowed
9. max bbcode allowed
10. max (single) bbcode allowed (ie: quote/all bbcode can only be used (#) times each)
11. bbcode limit (alllow bold, quote) but not any of these (size, color...)
12. URL links count as (#) this number of characters
13. IMG links count as (#) this number of characters
14. sig max lines (#)
15. sig max spacing (#) of lines!
16. master switch (turn off/on) when off will use vB(s) limited default permissions!

Database changes

Lite version ( no domain blocking );

Alter (1) table, add (1) column!

Advanced version ( lite version changes and below changes)

add (1) table to hold the extended permissions!

Extra query at run time (edit sig): NONE

// both versions, below

Script changes (5), (3) Admin related, (1) forum related, (1) include related!

Script adding: (1) include related!

templates edited: 3
templates added: NONE

vB phrases added: 47 as of now, might be more!

Sonia
Reply With Quote
  #73  
Old 03-14-2005, 10:14 PM
SupraT's Avatar
SupraT SupraT is offline
 
Join Date: Mar 2003
Location: Phoenix
Posts: 79
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by why-not
Hi

I almost have this mod done, 1 to 3 days it will be released! I will put up some Admin Panel images by tomorrow morning so you can see what it will look like!

Options!

1. <IMG> domain blocking (access rules, don't allow images from these domains)
2. <URL> domain blocking (access rules, don't allow links pointing to these domains)
3. <IMG> max height, max width (moderate, validate before displaying [automatic], exclude these domains!)
4. sig max length
5. sig max characters per line
6. sig max (single word length) exclude URL LINKS/IMGS
7. <IMG> max allowed (non-smilies)
8. max smilies allowed
9. max bbcode allowed
10. max (single) bbcode allowed (ie: quote/all bbcode can only be used (#) times each)
11. bbcode limit (alllow bold, quote) but not any of these (size, color...)
12. URL links count as (#) this number of characters
13. IMG links count as (#) this number of characters
14. sig max lines (#)
15. sig max spacing (#) of lines!
16. master switch (turn off/on) when off will use vB(s) limited default permissions!

Database changes

Lite version ( no domain blocking );

Alter (1) table, add (1) column!

Advanced version ( lite version changes and below changes)

add (1) table to hold the extended permissions!

Extra query at run time (edit sig): NONE

// both versions, below

Script changes (5), (3) Admin related, (1) forum related, (1) include related!

Script adding: (1) include related!

templates edited: 3
templates added: NONE

vB phrases added: 47 as of now, might be more!

Sonia
I LOVE YOU MAN!!!

If you need anything let me know~!
Reply With Quote
  #74  
Old 03-15-2005, 06:12 PM
why-not why-not is offline
 
Join Date: Feb 2004
Posts: 218
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi all

I just figured I would update everyone on my progress!

The coding / scripting is 100% done! I have some people tesing it now, just to see how well it works on a big board! The admin panel is 90% done, I still need to build and write the help system! Tomorrow I will open a demo so you can try it out! It follows the permissions you set to a "T". It can be very strict or easy going, it really depends on how much you allow or don't allow! I had 2 reports today and both were really good because enforce signature works like it should!

Here are some images of the new signature permissions! If I have time later I will explain each permission in detail.

Notes:

1. The signature permissions are only active for groups that are allowed signatures

2, The configuration options do not contain the HELP system, I am doing that now!

C, ya...

Sonia
Attached Images
File Type: png admin.png (68.4 KB, 0 views)
File Type: png error_1.png (12.9 KB, 0 views)
File Type: png error_2.png (13.7 KB, 0 views)
File Type: png group_select.png (11.0 KB, 0 views)
Reply With Quote
  #75  
Old 03-15-2005, 06:18 PM
msimplay's Avatar
msimplay msimplay is offline
 
Join Date: Aug 2002
Location: UK
Posts: 1,059
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by why-not
Hi all

I just figured I would update everyone on my progress!

The coding / scripting is 100% done! I have some people tesing it now,just to see how well it works on a big board! The admin panel is 90%done, I still need to build and write the help system! Tomorrow I willopen a demo so you can try it out! It follows the permissions you setto a "T". It can be very strict or easy going, it really depends on howmuch you allow or don't allow! I had 2 reports today and both werereally good because enforce signature works like it should!

Here are some images of the new signature permissions! If I have time later I will explain each permission in detail.

Notes:

1. The signature permissions are only active for groups that are allowed signatures

2, The configuration options do not contain the HELP system, I am doing that now!


C, ya...

Sonia
I guess i'll be the first to say WOW
i love that finally something that has complete control over signatures

Erm it would also be good to have a cron script to recheck signature sizes because

If They decided to just change the linked image on their server
the image size restriction could be overidden
Reply With Quote
  #76  
Old 03-15-2005, 06:34 PM
why-not why-not is offline
 
Join Date: Feb 2004
Posts: 218
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by msimplay
I guess i'll be the first to say WOW
i love that finally something that has complete control over signatures

Erm it would also be good to have a cron script to recheck signature sizes because

If They decided to just change the linked image on their server
the image size restriction could be overidden

I have that already covered! (cron)

+

Page scan!

Allows a Super/Mod or Admin to run a scan on any topic or thread they are viewing! What this does is it reads the page in real time looking for signature no-no(s), because like you said and I know people will try to change the image on the remote host! If it finds a different image size than what was allowed it will pull the sig (not allow it to be shown), send the user pm warning and record that warning. Admin configures the warning limit and the action to take if the warning limit is broken (life time ban signature usage for this user, day, week or month ban options also)

Also when you first set this up it will auto remove signatures that violate the new permissions, sending the user a PM telling them the new rules on signatures and why there signature was removed until they edit it to conform to the new permissions for his/her user group!

I got every thing covered, wait you will see what I mean!

c, ya...

Sonia
Reply With Quote
  #77  
Old 03-15-2005, 06:46 PM
msimplay's Avatar
msimplay msimplay is offline
 
Join Date: Aug 2002
Location: UK
Posts: 1,059
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by why-not
I have that already covered! (cron)

+

Page scan!

Allows a Super/Mod or Admin to run a scan on any topic or thread theyare viewing! What this does is it reads the page in real time lookingfor signature no-no(s), because like you said and I know people willtry to change the image on the remote host! If it finds a differentimage size than what was allowed it will pull the sig (not allow it tobe shown), send the user pm warning and record that warning. Adminconfigures the warning limit and the action to take if the warninglimit is broken (life time ban signature usage for this user, day, weekor month ban options also)

Also when you first set this up it will auto remove signatures thatviolate the new permissions, sending the user a PM telling them the newrules on signatures and why there signature was removed until they editit to conform to the new permissions for his/her user group!

I got every thing covered, wait you will see what I mean!

c, ya...

Sonia
umm could be a problem since i already got the 'advanced warning system' installed :nervous:
Reply With Quote
  #78  
Old 03-15-2005, 07:26 PM
why-not why-not is offline
 
Join Date: Feb 2004
Posts: 218
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by msimplay
umm could be a problem since i already got the 'advanced warning system' installed :nervous:
One person who is testing this mod has the AWS installed on his forum. When I installed this I did see some code that AWS uses, but I think AWS does not in anyway validate signatures! True there is a option to remove a signature if a person get so many warning points, but this will have nothing to do with signature editing control which is the only thing this mod will do! I might add it does it very well to, LoL!

Don't worry if you run into trouble I will find a way to work around it, but looking at the AWS code it will not in anyway effect it's doings or the doings of this mod!

Sonia
Reply With Quote
  #79  
Old 03-15-2005, 09:00 PM
Spinball's Avatar
Spinball Spinball is offline
 
Join Date: Feb 2002
Location: Telford, England
Posts: 705
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Do you anticipate there being many problems if a lot of PMs are sent?
Don't know how many of our users have more than 4 lines in their sigs, but I would expect maybe 10% which is 4,800 pms.
Reply With Quote
  #80  
Old 03-15-2005, 11:00 PM
why-not why-not is offline
 
Join Date: Feb 2004
Posts: 218
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Spinball
Do you anticipate there being many problems if a lot of PMs are sent?
Don't know how many of our users have more than 4 lines in their sigs, but I would expect maybe 10% which is 4,800 pms.
You can set to how many lines you like, (4) is the default when setting up the signature permissions! As for the complete process, including PM sending, this handled on (4 queries)


1. (first query) when the scan is done, it grabs the signature, userid for all users in the group you are working on! It then runs the checking, adding the userid and the signature to the list of all bad signatures found! The ones that are OK are dumped <= unset(), when it done and it finds bad signatures...


2. (second query) it loads the userid(s) into a single column in the signature hold table (this may change), the signature hold table only contains one row with columns for each group and a column to hold the permissions for each group! It is very resource friendly this way! After loading the bad userids into the hold table it sends (1) single query loading the PMS into each user, the PM contains a special placeholder, that will be converted when the user reads the PM, the PM can not be deleted until it is read! Using a place holder you can make the message as personal as you want! You can setup a placeholder or many placeholders for any var that is contained in the bbuserinfo array!!!


3. (thrid query) send personal PM(s)...

Hi [PLACEHOLDER]

We have just implemented new rules regarding member signatures! Having
updated are forum permissions to refelct these changes we have found your
current signature does not follow our new permissions! Until you edit your
signature so that it meets our new permission guidelines it will not be displayed
in any of your posts or pms!

[PLACEHOLDER], we are sorry to have done this and hope you understand that the reason
for us to make these changes is for all our members to have a more enjoyble time
accessing the forums! You can read about the new signature permissions by using the link below!

!!!Link Here!!!

Regards

The Crew!

Final notes! this process can also be split up when a user group contains many users, there is a option for this in the configuration options! I have made a cron script that handles this and other options that can run in the background!

The most intense time will be the first time it is run, after it works one on one with each user when they add or edit a signature! There will also be a little (button/image) placed on each post where a mod/admin can just click on it if they see a image that does not look like it's following the permissions, if it is not the signature can be remove instantly!


Sonia
Reply With Quote
Reply


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 11:29 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.07143 seconds
  • Memory Usage 2,302KB
  • 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
  • (7)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
  • (4)postbit_attachment
  • (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
  • postbit_attachment
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete