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...

Snort_2005 04-29-2006 02:12 AM

Quote:

Originally Posted by DementedMindz
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...

I have just updated the product with that addon. Thank you for the suggestion. :)

DementedMindz 04-29-2006 02:14 AM

thank you *clicks install*

kall 04-29-2006 05:59 AM

Quote:

Originally Posted by Snort_2005
the sendmessage.php file doesn't have a native option to disable guest use of it

It doesn't? What's this all about then?
Quote:

Originally Posted by vBulletin Options - Site Name/URL/Contact Details
Allow Unregistered Users to use 'Contact Us'
The last option only applies if you specify "sendmessage.php" in the previous option. It will cause an image to be displayed that the user will have to enter in order to prove that an automated process is not sending the feedback. If you do not see an image below, then please verify that your image processing settings are correct in Image Settings.

The options are Yes, Yes but require Image verification, No.

Snake 04-29-2006 12:08 PM

Thank you, friend! :)

DementedMindz 04-29-2006 02:57 PM

Quote:

Originally Posted by kall
It doesn't? What's this all about then?

The options are Yes, Yes but require Image verification, No.

I like the fact it now stops banned members from sending messages.. where as before banned members could send messages...

Boofo 04-29-2006 04:55 PM

Can this be done JUST for bannededed (;)) members and still allow guests to use it? I might be intersted in that. ;)

DementedMindz 04-29-2006 05:03 PM

yeah maybe make 2 seperate ones... i would like guest to use mine but i hate the fact that banned members could still send a message...

Snort_2005 04-29-2006 06:13 PM

Hmm.. Maybe I'll see about setting up a few yes/no options in the ACP.

*runs off to his vB*

I'll probably have this done within a few hours or days depending on how everything is setup.. (I've never added vBulletion options before. lol)

EDIT: Yes, I have figured out vBulletin options and I have just added that functionality into the hack. I've also sent out an update email to everyone that has the hack installed. I hope this will help. :)

Boofo 04-29-2006 11:35 PM

Thank you, sir. I just clicked install for the banned users part of this. ;)

DementedMindz 04-30-2006 12:41 AM

thank you Snort_2005...


All times are GMT. The time now is 05:14 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.01981 seconds
  • Memory Usage 1,757KB
  • 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
  • (10)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (20)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete