vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Graveyard (https://vborg.vbsupport.ru/forumdisplay.php?f=224)
-   -   Moderators Functions - Moderation Auto-PM v3.0.1 (https://vborg.vbsupport.ru/showthread.php?t=192344)

Delphiprogrammi 11-18-2008 06:29 PM

Quote:

Originally Posted by petchat (Post 1668221)
hmm no :(

this looks better

petchat 11-18-2008 07:02 PM

Hey, that's looking much better! :)

1Matthew1 11-18-2008 08:51 PM

Quote:

Originally Posted by Delphiprogrammi (Post 1668123)
open /includes/functions_modpm.php and find

PHP Code:

if(($modpm_checker->exclude !== FALSE) AND (in_array($source,array($modpm_checker->exclude)) OR in_array($dest,array($modpm_checker->exclude))))
 {
  return 
false;
 } 

below add

PHP Code:

if(!$vbulletin->userinfo['userid'])
{
      return 
false;


that should stop the errors



This doesen?t work :/

Delphiprogrammi 11-18-2008 09:08 PM

Quote:

Originally Posted by 1Matthew1 (Post 1668301)
This doesen?t work :/

yes it does i made a guestpost on my testboard after that i logged in and deleted it no error whatsoever ... a possible solution depending on where guests can post on your site.For example if you allow them to post only in one forum (eg the "guest forum") you could add "guest forum" id to the exclude options

you also did not clicked install you naughty boy :p

petchat 11-18-2008 09:30 PM

Works like a charm! Thanks very much!

Keyser S?ze 11-19-2008 02:01 AM

was this updated cuz it was 2.0.1 already

Delphiprogrammi 11-19-2008 09:23 AM

Quote:

Originally Posted by Keyser S?ze (Post 1668412)
was this updated cuz it was 2.0.1 already

yes but for such a small code change in 1 PHP file i didn't increased the number

Sixpackmark 11-19-2008 12:00 PM

After upgrading with the latest mod, we are having problem deleting a post / thread

it is showing the ff:
Code:

Array ( [0] => Invalid recipient username. Please press the back button, enter the correct username and try again. Click Here to See the Members List )
Any solution to this?

Delphiprogrammi 11-19-2008 12:30 PM

Quote:

Originally Posted by Sixpackmark (Post 1668610)
After upgrading with the latest mod, we are having problem deleting a post / thread

it is showing the ff:
Code:

Array ( [0] => Invalid recipient username. Please press the back button, enter the correct username and try again. Click Here to See the Members List )
Any solution to this?

i don't get this error and i can only think of one reason it could happen is by any chance the post / thread you are trying to delete made by a guest ?

Delphiprogrammi 11-19-2008 06:05 PM

Quote:

Originally Posted by fixer (Post 1668792)
hello

I got this error:
---------------------------------
Warning: include_once([path]/includes/class_modpm_checker.php) [function.include-once]: failed to open stream: No such file or directory in [path]/inlinemod.php(382) : eval()'d code on line 3

Warning: include_once() [function.include]: Failed opening '[path]/includes/class_modpm_checker.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in [path]/inlinemod.php(382) : eval()'d code on line 3

Warning: include_once([path]/includes/class_modpm_parser.php) [function.include-once]: failed to open stream: No such file or directory in [path]/inlinemod.php(382) : eval()'d code on line 4

Warning: include_once() [function.include]: Failed opening '[path]/includes/class_modpm_parser.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in [path]/inlinemod.php(382) : eval()'d code on line 4

Warning: include_once([path]/includes/functions_modpm.php) [function.include-once]: failed to open stream: No such file or directory in [path]/inlinemod.php(382) : eval()'d code on line 5

Warning: include_once() [function.include]: Failed opening '[path]/includes/functions_modpm.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in [path]/inlinemod.php(382) : eval()'d code on line 5

Fatal error: Call to undefined function mod_pm() in /home/fixer/public_html/stock/inlinemod.php(382) : eval()'d code on line 25

-----------------------------------------------

you did not uploaded the PHP files to your vBulletin includes directory that is why you get all of these errors upload the PHP files from the zip to your vBulletin includes and those errors will disappaer


All times are GMT. The time now is 12:49 PM.

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.01240 seconds
  • Memory Usage 1,753KB
  • 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
  • (2)bbcode_code_printable
  • (2)bbcode_php_printable
  • (6)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)pagenav_pagelinkrel
  • (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