vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.8 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=235)
-   -   Miscellaneous Hacks - Cyb - Auto Reply (https://vborg.vbsupport.ru/showthread.php?t=201305)

Valter 01-09-2009 10:00 PM

Cyb - Auto Reply
 
1 Attachment(s)
Info:
I'm using this to automatically welcome users in my "Introductions" sub-forum. You can customize messages and use it for any other auto-replying needs. You can write several messages (separated by |) and they will be used randomly in auto-replies. This work with subjects too. There are three different Sets of subjects/messages to use in different forums. You can set product to not reply to threads started by listed members, turn on/off signatures, etc... See screenshots for details about features...


To get this working don't forget to:
-Set forum id(s) in product options
-Set poster id(s) in product options

Otherwise it will not work or you'll get error messages.


Note:
-This executes 1 simple query on forumdisplay but only in selected forums.
-Same simple query is also executed when user searches for new posts.


Installation:
-Import XML file (as product) through AdminCP: Plugin System > Manage Products > [Add/Import Product]


To set options:
Go to: vBulletin Options > Cyb - Auto Reply


Versions:
v1.0 - Aug 25. 2007.
-Initial release
v1.1 - May 03. 2008.
-Compatible with vBulletin 3.7
-Minor bugs fixed
v1.2 - Apr 24. 2009.
-New: Three different Sets of subjects/messages to use in different forums
-New: Set if signature will be shown in reply
-Fixed several minor bugs and compatibility issues, optimized for better performance


Mark as INSTALLED to get support and updates.

Lee Roberts 01-10-2009 10:44 PM

Marked as Installed !
Marked for Nomination !

Kihon Kata 01-11-2009 12:22 PM

Installed, she welcomes my newbies. I made a user called "The Welcomer" lol

ALHGR 01-12-2009 08:55 AM

Thanks !!

Marked as Installed !

ALHGR 01-12-2009 09:13 AM

can we use BB Code ? om message

digicom 01-13-2009 01:33 PM

Thanks Installed :up:

Voltar 01-13-2009 05:52 PM

Hey, this is pretty cool, thanks. Going to install right now.

Just a thought, could this be adapted to Visitor Messages?

Edit: Can we make the time to wait setting random?

Edit 2: [s]Doesn't seem to display the sig of the user posting the message, is that possible?[/s] See this.

Also, nominated.

aciurczak 01-15-2009 11:27 PM

Not seeing user sig here either. Neat mod!

(I first hardcoded the sig into the welcome messages themselves, but then realized people would be getting an email with the hardcoded sig in it)

Voltar 01-16-2009 12:54 AM

Quote:

Originally Posted by aciurczak (Post 1713995)
Not seeing user sig here either. Neat mod!

(I first hardcoded the sig into the welcome messages themselves, but then realized people would be getting an email with the hardcoded sig in it)

You have to make a change to one of the plugins, "Cyb - Auto Reply - RW". Look for

PHP Code:

$postman->set('threadid'$car_threadid);
$postman->set('userid'$car_poster);
$postman->set('allowsmilie'true);  
$postman->set('visible'true); 

And add in

PHP Code:

$postman->set('showsignature'1); 

Directly under

PHP Code:

$postman->set('allowsmilie'true); 

So your $postman->set section should look like this...

PHP Code:

$postman->set('threadid'$car_threadid);
$postman->set('userid'$car_poster);
$postman->set('allowsmilie'true);
$postman->set('showsignature'1);  
$postman->set('visible'true); 

Worked for me.

Also, it only works on new posts, all your previous posts wont show a sig unless you modify the post and select the option to add a sig.

aciurczak 01-16-2009 01:37 AM

Worked like a charm! Thx Voltar...


All times are GMT. The time now is 04:36 AM.

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.01268 seconds
  • Memory Usage 1,745KB
  • 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
  • (4)bbcode_php_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)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