![]() |
vB Rank Promotion Notifier 1.0.2
1 Attachment(s)
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 :p 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 :) |
wow sweet thanks for this ;)
|
great one, thanks :)
|
Hello mark this error
Fatal error: Call to a member function clean_gpc() on a non-object in /web/htdocs/MYFORUM/home/includes/class_dm_user.php(1819) : eval()'d code(33) : eval()'d code on line 1 any solution, Thanks |
marianoblesa - Are you using vB 3.8?
|
Nice!
I've been wanting something like this, will it work on 3.7? or is there a 3.7 mod of this? thanks -Brandon ps.. will this work if i change a users usergroup? or is it just with rank promotion |
Just rank promotion, although any change to rank (other than removal) should trigger the PM. As for vB 3.7, it should really, but only one way to find out :)
|
great mod and thanks bro...but i guess it won't work to my vB3.6.8 i guess... tried it already...or is there any way to make it work...:(
thanks for sharing.,anyway ;) |
I'm afraid this was designed for 3.8 only, maybe it's time to upgrade? :)
|
Quote:
best regards and happy holidays... :p |
Just what I've been looking for. Thank you! :D
|
Quote:
Greetings |
No problem marianoblesa :)
|
There was a slight typo in the XML, I've fixed this. Nothing too serious :)
|
Niiiiicceeeeeeeeeeeeeee!!!
Thanks D :up: Edit: Getting this when a pm is sent Quote:
|
Ah, I had not anticipated HTML in the ranks, I'll see what I can do to allow HTML in the PM :)
|
Quote:
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 |
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 :) |
Quote:
Quote:
It's Strongly not recommended so I set to no. Will wait to see if you can sort something out:up: |
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 :)
|
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 |
No problem :)
|
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:
Your activity on our forums has earned you a rank promotion, your ranks are now blah blah blah" |
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.
|
Quote:
I'm with you mate,so this won't be a problem when its done via vb doing cron job or whatever then? |
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:
PHP Code:
|
Quote:
Top work :up: |
Thanks for verifying that :) I've updated the package.
|
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 |
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.
|
Great idea for a hack but I'm running into a few problems...
-When inserting {rank} into the pm body it's calling for the image out of my admincp folder which isn't even close to where they are located? Thus the image is broken. -After manually bumping the post and rep count of a member and running the promotion cron it notified the user with the PM but when I did it again for the same user it wouldn't notify them? Thx for the help. |
*installed*
|
Quote:
|
Will this work if someone pays to upgrade via paid subscriptions
|
well i get same issue, solve it by "REMOVEING" the {rank} in the phrase
for the pm notification body text. tadaa no link to admincp |
Quote:
Can we have a fix for this ? |
I installed this.
Afterwards, when users buy a subscription, the subscription is not added to their account and they don't get any of the privileges they just bought. When I try to add it manually, I get this error: Fatal error: Call to a member function clean_gpc() on a non-object in /home/xxxxxxxxx/public_html/forum/includes/class_dm_user.php(1826) : eval()'d code(32) : eval()'d code on line 54 I would imagine this means that the mod sends the PM, but somehow prevents the promotion from actually taking place. Thus, they get a PM that says they've been promoted, but their rank/user class remain the same as before. |
Thanks , It should be included in forum from the start.
|
Hi,
Im so glad you decided to create this mod! Would you consider having it so a pop up shows on the members screen when they have been promoted at all? |
My members aren't getting notifications anymore... :(
|
All times are GMT. The time now is 07:44 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|