vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.8 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=235)
-   -   Mini Mods - vB Rank Promotion Notifier 1.0.2 (https://vborg.vbsupport.ru/showthread.php?t=199411)

Bounce 12-26-2008 08:35 PM

AWESOME,working superbly

Not sent any yet but this will be brilliant for what I have on the go,thanks D :up:

Tested it with my own username lol

Deceptor 12-26-2008 08:37 PM

No problem :)

Bounce 12-26-2008 09:03 PM

Small problem Deceptor,

I just upgraded another users rank status

It's sending the pm to me as I put my userID in this section

Quote:

vB RPN: Private Message Sender
Please enter the UserID of the user who will act as the sender for all Rank Promotion Private Messages.
"Congratulations Owen!(that is not me LOL)
Your activity on our forums has earned you a rank promotion, your ranks are now blah blah blah"

Deceptor 12-26-2008 09:10 PM

Did you by any chance edit Owens data? If so then the system will send you the PM as you are the user for that session.

Bounce 12-26-2008 09:12 PM

Quote:

Originally Posted by Deceptor (Post 1694365)
Did you by any chance edit Owens data? If so then the system will send you the PM as you are the user for that session.

yes manually in admincp,as sometimes does/might happen

I'm with you mate,so this won't be a problem when its done via vb doing cron job or whatever then?

Deceptor 12-26-2008 09:15 PM

Try this to resolve the issue, I really should've done this instead of fetching the session username. Edit the plugin 'vB RPN: Send Rank Notification', find:
PHP Code:

        $pmdm->set_recipients($this->registry->userinfo['username'], $fromuser['permissions']); 

Replace with:
PHP Code:

        $pmdm->set_recipients($this->fetch_field('username'), $fromuser['permissions']); 

Save the plugin, manually edit Owen again and see if Owen gets the PM rather than you :)

Bounce 12-26-2008 09:23 PM

Quote:

Originally Posted by Deceptor (Post 1694369)

Save the plugin, manually edit Owen again and see if Owen gets the PM rather than you :)

Sweet mate, perfect,the intended user got it.

Top work :up:

Deceptor 12-26-2008 09:26 PM

Thanks for verifying that :) I've updated the package.

chrissmith 01-07-2009 07:37 PM

I have a issue with the Imagelink.

It´s admincp/images/bla.jpg
instead of images/bla.jpg

Maybe another hack destroy this Image ?
You need a List ?

Btw. Images are right viewed in Rankoptions.

thanks,
chris

metalguy639 01-10-2009 10:51 PM

Before I install is there any way to make this only send a PM when the members usergroup updates. The rank updating pm really is not something I could use. But I do have some usergroups setup for various parts of my forum to view & sending a PM would be really great once they are allowed into that usergroup.


All times are GMT. The time now is 01:27 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.03599 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
  • (2)bbcode_php_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)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