I made a little modification to mine that I thought I would share with you guys.
I changed the default text that goes out in the PM when a user has gotten a rating from another user.
I added to the bottom of the text a line suggesting they leave feedback for the other person if they have not yet done so, and with a link to do that. The link needed some modification to the script to work.
This is my NEW pm that goes out,
Quote:
You have received a new rating or comment from so and so.
Details about this transaction can be found on this page.
If you have not done so yet, please reciprocate the feedback and leave feedback for so and so by clicking here.
Note: This is an automated message from the feedback system.
|
This was the OLD pm:
Quote:
You have received a new rating or comment from so and so.
Details about this transaction can be found on this page.
Note: This is an automated message.
|
You can see the differences.
To construct the URL to leave feedback for the other person required some trickery.
Backup your itrader_feedback.php
Open up a new copy in your text editor,
Find, line 230:
Code:
$vbphrase['itrader_pm_message_x'] = construct_phrase($vbphrase['itrader_pm_message'], $vbulletin->userinfo['username'], $vbulletin->options['bburl'], $itrader['rateid'], $userinfo['userid']);
change to:
Code:
$vbphrase['itrader_pm_message_x'] = construct_phrase($vbphrase['itrader_pm_message'], $vbulletin->userinfo['username'], $vbulletin->options['bburl'], $itrader['rateid'], $userinfo['userid'], $vbulletin->userinfo['userid']);
Save and upload, careful to backup the file first.
Open your adminp and click to expand Languages & Phrases
search for your phrase itrader_pm_message by typing "received a new rating" in "Search for Text" and select 'iTrader" in "Phrase Type"
Click edit to edit your newly translated version, and this is the code you paste in there
PHP Code:
You have received a new rating or comment from {1}.
Details about this transaction can be found [URL={2}/itrader_detail.php?ir={3}&u={4}][b]on this page[/b][/URL].
If you have not done so yet, please reciprocate the feedback and leave feedback for {1} by clicking [URL={2}/itrader_feedback.php?u={5}]here[/url].
Note: This is an automated message from the feedback system.
To test it out, I suggest using the Admin Log In As User mod found
here.
Hope this helps somebody! Enjoy!