vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Graveyard (https://vborg.vbsupport.ru/forumdisplay.php?f=224)
-   -   Profile Enhancements - Ignored users can't post visitor messages (https://vborg.vbsupport.ru/showthread.php?t=181349)

rootnik 06-02-2008 10:00 PM

Ignored users can't post visitor messages
 
This mod keeps users from posting visitor messages on profiles that belong to a user who has him/her on their ignore list.

Installation: Install product.

No template edits, 1 phrase.

Enjoy.

Edit: This mod seems to have a problem with 3.7.1+. I've removed the attachment until I have time to upgrade my vbulletin install.

Zaiaku 06-03-2008 03:40 AM

Nice mod!

Barakat 06-03-2008 05:53 PM

Installed ,
if u make it in an oppisite way , like "just only friends can post" it will be better !! So as to request friendship ?!

rootnik 06-03-2008 06:30 PM

Quote:

Originally Posted by Barakat (Post 1539883)
Installed ,
if u make it in an oppisite way , like "just only friends can post" it will be better !! So as to request friendship ?!

Thanks for the suggestion. Vbulletin gives the end user the option of only accepting visitor messages from users on their contact list.

If anybody wants to reuse some of my code to write a "only friends can post visitor messages" mod, feel free. I just do not have the interest in doing it, mostly because of the similar vbulletin option that is already there.

Hornstar 06-03-2008 08:18 PM

Thanks, something which should be default IMO

rootnik 06-04-2008 12:00 AM

Quote:

Originally Posted by hornstar1337 (Post 1539993)
Thanks, something which should be default IMO


No problem. If you have any other "that should be default" ideas, send me a PM and I'll consider them.

Koroku 06-12-2008 03:10 AM

This should seriously be a default setting in vB.

Bravo :)

Koroku 06-17-2008 07:13 PM

This made it so that none of my users could post visitor messages at all...

rootnik 06-17-2008 07:55 PM

Quote:

Originally Posted by Koroku (Post 1551939)
This made it so that none of my users could post visitor messages at all...

This is the first I have heard of anything like that...

Are you sure it is not another hack doing this? This only shows the "no permissions" if the user is on the ignore list and can not moderate. I can't see how that condition can be confused.

Code:

if ($type=="ignore" AND !can_moderate())
{
eval(standard_error($errormsg));
}


Megatr0n 06-18-2008 01:22 AM

Quote:

Originally Posted by Koroku (Post 1551939)
This made it so that none of my users could post visitor messages at all...

Yeah, it totally restricted any users from posting visitor messages.

Uinstalled.


All times are GMT. The time now is 04:10 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.01146 seconds
  • Memory Usage 1,728KB
  • 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
  • (1)bbcode_code_printable
  • (4)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