Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
vB Rank Promotion Notifier 1.0.2 Details »
vB Rank Promotion Notifier 1.0.2
Mod Version: 1.0.2, by Deceptor (Coder) Deceptor is offline
Developer Last Online: Feb 2015 I like it Show Printable Version Email this Page

vB Version: 3.8.0 RC 2 Rating: (11 votes - 4.73 average) Installs: 102
Released: 21 Dec 2008 Last Update: 26 Dec 2008 Downloads: 535
Not Supported Uses Plugins  

vB RPN

This is a simple little modification that will simply send a user a PM when there user rank updates, to notify them of the promotion. Not much more to say other than that really

Feel free to take a look at the screens for a visual idea.

Change Log

Version 1.0.2
- Ensured the PM is sent to the user whose rank changed, not the user of the session currently logged in.

Version 1.0.1
- Parsed message through WYSIWYG HTML To BBCode to ensure HTML Ranks display properly in PM.

Enjoy

Download Now

Only licensed members can download files, Click Here for more information.

Screenshots

Click image for larger version

Name:	Screen 1.jpg
Views:	2177
Size:	23.4 KB
ID:	90923   Click image for larger version

Name:	Screen 2.jpg
Views:	1413
Size:	38.4 KB
ID:	90924  

Show Your Support

  • To receive notifications regarding updates -> Click to Mark as Installed.
  • If you like this modification support the author by donating.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
  #16  
Old 26 Dec 2008, 21:03
Deceptor's Avatar
Deceptor Deceptor is offline
 
Join Date: Dec 2008
Ah, I had not anticipated HTML in the ranks, I'll see what I can do to allow HTML in the PM
Reply With Quote
  #17  
Old 26 Dec 2008, 21:14
Bounce's Avatar
Bounce Bounce is offline
 
Join Date: Mar 2004
Real name: J
Originally Posted by Deceptor View Post
Ah, I had not anticipated HTML in the ranks, I'll see what I can do to allow HTML in the PM

Thinks its the default of vb mate ?

Is this mibee ment for User Title's

User ranks are different? and I added an image to mine
__________________
Thanks for your help

J

Last edited by Bounce; 26 Dec 2008 at 21:19.
Reply With Quote
  #18  
Old 26 Dec 2008, 21:20
Deceptor's Avatar
Deceptor Deceptor is offline
 
Join Date: Dec 2008
Yeah, if HTML is disallowed in PM's, it won't parse, if you turn HTML on it will show correctly. Unfortunately there's no flag passed to determine if a single PM is in HTML or not, it parses the PM when being viewed.

At the moment the best idea I can think of is if HTML is disabled run the PM through the vB WYSIWYG converter to turn the HTML into the correct BBCode, but that won't do a complete job.

I'll come up with something
Reply With Quote
  #19  
Old 26 Dec 2008, 21:26
Bounce's Avatar
Bounce Bounce is offline
 
Join Date: Mar 2004
Real name: J
Originally Posted by Deceptor View Post
Yeah, if HTML is disallowed in PM's, it won't parse, if you turn HTML on it will show correctly. Unfortunately there's no flag passed to determine if a single PM is in HTML or not, it parses the PM when being viewed.

At the moment the best idea I can think of is if HTML is disabled run the PM through the vB WYSIWYG converter to turn the HTML into the correct BBCode, but that won't do a complete job.

I'll come up with something
Correct it does show if HTML is turned on via admin cp

Allow HTML in Private Messages
Allow users to include raw HTML code in their Private Messages?
(Strongly not recommended.)
When I set to yes the pm shows perfectly

It's Strongly not recommended so I set to no.

Will wait to see if you can sort something out
__________________
Thanks for your help

J
Reply With Quote
  #20  
Old 26 Dec 2008, 21:32
Deceptor's Avatar
Deceptor Deceptor is offline
 
Join Date: Dec 2008
I've updated the product XML, simply re-import to fix the issue. Note the update will only effect new promotion PMs sent, not any previous ones
Reply With Quote
  #21  
Old 26 Dec 2008, 21:35
Bounce's Avatar
Bounce Bounce is offline
 
Join Date: Mar 2004
Real name: J
AWESOME,working superbly

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

Tested it with my own username lol
__________________
Thanks for your help

J
Reply With Quote
  #22  
Old 26 Dec 2008, 21:37
Deceptor's Avatar
Deceptor Deceptor is offline
 
Join Date: Dec 2008
No problem
Reply With Quote
  #23  
Old 26 Dec 2008, 22:03
Bounce's Avatar
Bounce Bounce is offline
 
Join Date: Mar 2004
Real name: J
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

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"
__________________
Thanks for your help

J
Reply With Quote
  #24  
Old 26 Dec 2008, 22:10
Deceptor's Avatar
Deceptor Deceptor is offline
 
Join Date: Dec 2008
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.
Reply With Quote
  #25  
Old 26 Dec 2008, 22:12
Bounce's Avatar
Bounce Bounce is offline
 
Join Date: Mar 2004
Real name: J
Originally Posted by Deceptor View Post
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?
__________________
Thanks for your help

J

Last edited by Bounce; 26 Dec 2008 at 22:17. Reason: edited last sentence as did not seem very clear
Reply With Quote
  #26  
Old 26 Dec 2008, 22:15
Deceptor's Avatar
Deceptor Deceptor is offline
 
Join Date: Dec 2008
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:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Replace with:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Save the plugin, manually edit Owen again and see if Owen gets the PM rather than you
Reply With Quote
  #27  
Old 26 Dec 2008, 22:23
Bounce's Avatar
Bounce Bounce is offline
 
Join Date: Mar 2004
Real name: J
Originally Posted by Deceptor View Post

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
__________________
Thanks for your help

J
Reply With Quote
  #28  
Old 26 Dec 2008, 22:26
Deceptor's Avatar
Deceptor Deceptor is offline
 
Join Date: Dec 2008
Thanks for verifying that I've updated the package.
Reply With Quote
  #29  
Old 07 Jan 2009, 20:37
chrissmith chrissmith is offline
 
Join Date: Nov 2007
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
Reply With Quote
  #30  
Old 10 Jan 2009, 23:51
metalguy639 metalguy639 is offline
 
Join Date: Jan 2009
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.
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Mod Options

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


New To Site? Need Help?

All times are GMT. The time now is 15:39.

Layout Options | Width: Wide Color: