vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   Disable Guest/Banned Users use of sendmessage.php (https://vborg.vbsupport.ru/showthread.php?t=114339)

Snort_2005 04-28-2006 10:00 PM

Disable Guest/Banned Users use of sendmessage.php
 
Hmm.. Well, I dunno if many people have thought of this, but, the sendmessage.php file doesn't have a native option to disable guest use of it so I have created a simple product that does so.

Installation is import the product and edit your footer template. This hack also adds 5 phrases for the admin control panel configuration end of the hack. :)

Template edit instructions are in the zip.

Upgrading instructions: If you have 1.0.0 or 1.0.1, be sure to just reinstall the product included and that you have "allow overwrite" checked. No templates have been modified since 1.0.0

Configuration of this hack is now ACP controlled. I have added a new setting group sendmessage.php - Guest/Banned Permissions to the vBulletin Options page. This will allow you to configure whether or not guests or banned users can use sendmessage.php. (You can set it so guests can, but banned users can't. and vice-versa. :))

[high]When you do install this hack, remember this, I would at least have a single forum that guests can post in just in case they have a login or registration problem. Me, I have a forum that is accessable by guests and admin only.[/high] :)

Version History

1.0.0 - Initial Release

1.0.1 - Added checks and causes banned users to also get the no-permission message.

1.1.0 - Added vBulletin options for choosing whether or not you would like guests or banned users to use sendmessage.php

Boofo 04-28-2006 11:34 PM

I have to ask this...why in the world would you want to do this? How is someone who is having problems registering on the site supposed to contact you for help? ;)

Snort_2005 04-28-2006 11:36 PM

Quote:

Originally Posted by Boofo
I have to ask this...why in the world would you want to do this? How is someone who is having problems registering on the site supposed to contact you for help? ;)

I have a guest/admin only forum that guests can post in instead. :)

Mr Chad 04-28-2006 11:36 PM

Quote:

Originally Posted by Boofo
I have to ask this...why in the world would you want to do this? How is someone who is having problems registering on the site supposed to contact you for help? ;)

lol, yea... I have had many members help me out because of registration problems i would of never known about. This is a bad idea.

Mr Chad 04-28-2006 11:37 PM

Quote:

Originally Posted by Snort_2005
I have a guest/admin only forum that guests can post in instead. :)

oh well thats different :)

Boofo 04-28-2006 11:37 PM

Quote:

Originally Posted by Snort_2005
I have a guest/admin only forum that guests can post in instead. :)

Ahhh, well, in that case, I digress. But you might want to state that in the hack and the first post as a lot of sites don't allow guests to post. ;)

Snort_2005 04-28-2006 11:44 PM

Quote:

Originally Posted by Boofo
Ahhh, well, in that case, I digress. But you might want to state that in the hack and the first post as a lot of sites don't allow guests to post. ;)

Thanks for the advice.. first post edited.

Boofo 04-28-2006 11:47 PM

Quote:

Originally Posted by Snort_2005
Thanks for the advice.. first post edited.

I highlighted the part you added in the first post so it stands out a bit more. ;)

Good job on the hack, by the way. ;)

Snort_2005 04-28-2006 11:53 PM

Thanks. And thanks for the compliment. Just a side note to everyone, This is my first hack that uses a plugin/product. :p

DementedMindz 04-29-2006 01:02 AM

what would be nice is if this stopped users you ban from sending a message... seems like if you ban a members they cant do nothing else at all... but what they can still do is send a messages to admin...


All times are GMT. The time now is 05:02 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01187 seconds
  • Memory Usage 1,737KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (6)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete