vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   PM Auto Reply (https://vborg.vbsupport.ru/showthread.php?t=116325)

freedom2support 06-14-2006 09:41 PM

Quote:

Originally Posted by Hellcat
{name} is replaced by the name of the user that has sent you the original PM, or in other terms, with the name of the reciever of the auto-reply.

Ex:
UserA sends UserB a PM, UserB has autoreply enabled -> {name} = UserA

At least that's how it's supposed to be, anything else I will check and fix, since it's a bug then. :)

Currently in the code {name} is being replaced with the value of $recipient, which is the name of one of the recipients in the $recipients array. So in your example, currently {name} would be replaced with UserB as UserB is one of the recipients of UserA's PM, and so is the value in the $recipients array. {name} needs to be replaced with $vbulletin->userinfo['username'] (the username of the person who would receive the auto-reply, who is the currently logged in user sending the PM which triggers the auto-reply).

Nathan2006 06-14-2006 11:14 PM

Quote:

Originally Posted by Hellcat
{to} and {from} is for the date display, if you have not entered a date, of course they will be empty ;)

I'll check the {name} thing....

Thanks Hellcat :)

Hellcat 06-16-2006 04:11 PM

UPDATE :)

- Fixed the {name} replacement bug
- Added optional receiver of automatically forwarded PM (the original PM sent can be forwarded to a third person)

bada_bing 06-16-2006 04:44 PM

HOw do you upgrade? Do you just re-import the plugin ?

Hellcat 06-16-2006 05:08 PM

Yep.
Just reimport with "allow overwrite".

bada_bing 06-16-2006 05:39 PM

Quote:

Originally Posted by Hellcat
Remove everything from the excluded groups setting in the AdminCP and try again.
There's a bug with that I still need to fix.

Report if it's showing up then, if not wee look for other causes :)

Does the new version now work with 3.5.3 since there was a bug with the prior version

bada_bing 06-16-2006 05:47 PM

If I dont have anything in the ecxluded then the option shows in the user options but if you put an exclude group id then thats when the option no longer shows

Hellcat 06-16-2006 07:29 PM

What bug was/is there with 3.5.3?

//

I'll re-write the excluding thing, any missbehaviours with it should be gone then....

bada_bing 06-16-2006 10:24 PM

Quote:

Originally Posted by Hellcat
What bug was/is there with 3.5.3?

//

I'll re-write the excluding thing, any missbehaviours with it should be gone then....

Cool any idea when? I will keep this hack installed for a few if your going to fix the 3.5.3 issues?

klaush 06-17-2006 03:49 AM

Quote:

Originally Posted by Hellcat
UPDATE :)

- Fixed the {name} replacement bug
- Added optional receiver of automatically forwarded PM (the original PM sent can be forwarded to a third person)

Yipi!:-) Thanks and works!


All times are GMT. The time now is 11:15 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.01443 seconds
  • Memory Usage 1,738KB
  • 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
  • (5)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