Go Back   vb.org Archive > vBulletin Modifications > vBulletin 3.8 Modifications > vBulletin 3.8 Add-ons

Reply
 
Thread Tools
vB Rank Promotion Notifier 1.0.2 Details »»
vB Rank Promotion Notifier 1.0.2
Version: 1.0.2, by Deceptor Deceptor is offline
Developer Last Online: Nov 2023 Show Printable Version Email this Page

Category: Mini Mods - Version: 3.8.0 RC 2 Rating:
Released: 12-20-2008 Last Update: 12-25-2008 Installs: 104
Uses Plugins
 
No support by the author.

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

File Type: xml vB Rank Promotion Notifier.xml (5.1 KB, 542 views)

Screenshots

File Type: jpg Screen 1.jpg (23.4 KB, 0 views)
File Type: jpg Screen 2.jpg (38.4 KB, 0 views)

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #12  
Old 12-21-2008, 08:46 PM
projectego's Avatar
projectego projectego is offline
 
Join Date: Feb 2006
Location: UK
Posts: 724
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Just what I've been looking for. Thank you!
Reply With Quote
  #13  
Old 12-21-2008, 10:33 PM
marianoblesa marianoblesa is offline
 
Join Date: Jan 2006
Posts: 63
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Deceptor View Post
marianoblesa - Are you using vB 3.8?
not the 3.7, sorry I realized NO.

Greetings
Reply With Quote
  #14  
Old 12-23-2008, 12:50 AM
Deceptor's Avatar
Deceptor Deceptor is offline
 
Join Date: Dec 2008
Location: England
Posts: 514
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

No problem marianoblesa
Reply With Quote
  #15  
Old 12-24-2008, 02:19 PM
Deceptor's Avatar
Deceptor Deceptor is offline
 
Join Date: Dec 2008
Location: England
Posts: 514
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

There was a slight typo in the XML, I've fixed this. Nothing too serious
Reply With Quote
  #16  
Old 12-26-2008, 07:49 PM
Bounce's Avatar
Bounce Bounce is offline
 
Join Date: Mar 2004
Location: Edinburgh,Scotland
Posts: 919
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Niiiiicceeeeeeeeeeeeeee!!!

Thanks D :up:

Edit:

Getting this when a pm is sent
Quote:
Your activity on our forums has earned you a rank promotion, your new rank is <img src="images/member.jpg" alt="" border="" /><img src="images/Administrator.jpg" alt="" border="" />.
Not showing the images
Reply With Quote
  #17  
Old 12-26-2008, 08:03 PM
Deceptor's Avatar
Deceptor Deceptor is offline
 
Join Date: Dec 2008
Location: England
Posts: 514
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
  #18  
Old 12-26-2008, 08:14 PM
Bounce's Avatar
Bounce Bounce is offline
 
Join Date: Mar 2004
Location: Edinburgh,Scotland
Posts: 919
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
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
:up:
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
Reply With Quote
  #19  
Old 12-26-2008, 08:20 PM
Deceptor's Avatar
Deceptor Deceptor is offline
 
Join Date: Dec 2008
Location: England
Posts: 514
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
  #20  
Old 12-26-2008, 08:26 PM
Bounce's Avatar
Bounce Bounce is offline
 
Join Date: Mar 2004
Location: Edinburgh,Scotland
Posts: 919
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
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

Quote:
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:up:
Reply With Quote
  #21  
Old 12-26-2008, 08:32 PM
Deceptor's Avatar
Deceptor Deceptor is offline
 
Join Date: Dec 2008
Location: England
Posts: 514
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply

Thread Tools

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

Forum Jump


All times are GMT. The time now is 04:39 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.08020 seconds
  • Memory Usage 2,327KB
  • Queries Executed 26 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (5)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (3)postbit_attachment
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete