Go Back   vb.org Archive > vBulletin Modifications > vBulletin 4.x Modifications > vBulletin 4.x Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
VSa - Auto Reply Details »»
VSa - Auto Reply
Version: 2.0, by Valter Valter is offline
Developer Last Online: Nov 2023 Show Printable Version Email this Page

Category: Miscellaneous Hacks - Version: 4.x.x Rating:
Released: 02-16-2010 Last Update: 02-16-2010 Installs: 267
DB Changes
 
No support by the author.

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... View 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 in selected forums only.
-Same simple query is executed on getnew-search.

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

To set options:
Go to: vBulletin Options > VSa - 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.
-Latest 3.x version
v2.0 - Feb 17. 2010.
-Updated for vBulletin 4

Download Now

File Type: zip VSa - Auto Reply v2.0.zip (3.5 KB, 1493 views)

Screenshots

File Type: jpg acp.jpg (263.2 KB, 0 views)

Show Your Support

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

Comments
  #52  
Old 02-14-2011, 03:15 AM
whyiteasy whyiteasy is offline
 
Join Date: Feb 2008
Posts: 20
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

does it works on 4.1.1 ?
Reply With Quote
  #53  
Old 02-14-2011, 06:48 PM
smirkley smirkley is offline
 
Join Date: Apr 2008
Posts: 627
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

yes confirmed 4.1.1
Reply With Quote
  #54  
Old 02-14-2011, 06:55 PM
tidus78's Avatar
tidus78 tidus78 is offline
 
Join Date: Sep 2009
Posts: 155
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Cool
Reply With Quote
  #55  
Old 02-17-2011, 09:26 AM
LoudBox LoudBox is offline
 
Join Date: Nov 2010
Posts: 15
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Great stuff

How to exclude certain usergroups from getting an autoreply? For example: junior member would get an auto reply, but senior members not. I guess it's simply adding an exclude based on usergroups somewhere? Right now there's only an exclude based on userid which doesn't make a lot of sense to me.

So how could the code be changed to add an exclude based on group?

Thanks!
Reply With Quote
  #56  
Old 03-06-2011, 11:24 PM
profanitytalker profanitytalker is offline
 
Join Date: Nov 2006
Posts: 156
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

How did you guys get this to work? It doesn't seem to be working on any of the 4 versions.
Reply With Quote
  #57  
Old 04-20-2011, 02:26 PM
StudentCreche StudentCreche is offline
 
Join Date: Feb 2011
Posts: 48
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hmm, user post count does NOT go up and does not show new reply on forumhome...
Reply With Quote
  #58  
Old 05-04-2011, 05:14 AM
downloadfound downloadfound is offline
 
Join Date: Dec 2007
Posts: 22
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It works for me, except not as I need it to.

I'm running a custom script that creates threads as apart of the script.

I have the threadthumbails add-on and with this nifty script it creates all the thumbs that failed to when the script created threads. I wonder if someone can do something similar for this script so I can run it and auto reply to all unanswered threads?

PHP Code:
<?php $STEP_AMOUNT 20000?>

<input type="button" id="btnNext" value="Process Next Results" onClick="window.location='?start='+(<?php echo $_GET["start"]; ?>+<?php echo $STEP_AMOUNT;?>)" disabled=true><br>
The button above should enable once this batch is complete!<br>
<br>

<?php
error_reporting
(E_ALL & ~E_NOTICE & ~8192);

// #################### DEFINE IMPORTANT CONSTANTS #######################
define('SKIP_SESSIONCREATE'1);
define('NOCOOKIES'1);
define('THIS_SCRIPT''xupdate');
define('CSRF_PROTECTION'true);

// #################### PRE-CACHE TEMPLATES AND DATA ######################
// get special phrase groups
$phrasegroups = array();

// get special data templates from the datastore
$specialtemplates = array();

// pre-cache templates used by all actions
$globaltemplates = array();

// pre-cache templates used by specific actions
$actiontemplates = array();

// ######################### REQUIRE BACK-END ############################
require_once('./global.php');

if (!
$_GET["start"]) { $_GET["start"] = 0; }


        
$threads $db->query_read_slave("
        SELECT *
        FROM " 
TABLE_PREFIX "thread
        LIMIT "
.$db->escape_string($_GET["start"]).","$db->escape_string($STEP_AMOUNT));

while (
$thread $db->fetch_array($threads)){


    
$posts $db->query_read_slave("SELECT * FROM `" TABLE_PREFIX "post` WHERE `postid` = '".$thread["firstpostid"]."'");
    
$post $db->fetch_array($posts);

preg_match('/\[img\](.*?)\[\/img\]/i',$post["pagetext"],$matches);
$query "UPDATE `" TABLE_PREFIX "thread` set `thumbnailurl` = '".$db->escape_string($matches[1])."' WHERE threadid = " $thread["threadid"];

$db->query_write($query);

}
?>

<script> document.getElementById("btnNext").disabled = false;

</script>
Reply With Quote
  #59  
Old 05-06-2011, 08:51 PM
Dozer826 Dozer826 is offline
 
Join Date: Oct 2010
Posts: 30
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Not working for me on 4.1.2. All the setting are correct but no reply comes. I've tested it with different time lengths and still nothing.

Anyone have this prob on 4.1.2 and find a fix?
Reply With Quote
  #60  
Old 06-14-2011, 05:53 AM
profanitytalker profanitytalker is offline
 
Join Date: Nov 2006
Posts: 156
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yes please someone fix this.
Reply With Quote
  #61  
Old 06-14-2011, 07:10 AM
graham_w graham_w is offline
 
Join Date: Apr 2005
Posts: 46
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This mod is working fine for me on 4.1.4
Reply With Quote
Reply


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 02:05 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04977 seconds
  • Memory Usage 2,347KB
  • Queries Executed 28 (?)
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
  • (1)bbcode_php
  • (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
  • (4)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
  • (2)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_postinfo_query
  • fetch_postinfo
  • 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