vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=194)
-   -   Add-On Releases - Thread Auto Reply System (v2.0) (https://vborg.vbsupport.ru/showthread.php?t=135555)

coderphp 01-03-2007 10:00 PM

Thread Auto Reply System (v2.0)
 
Hi all

As a continuation for the success of the 1st version, I released this new version, considering all your ideas and suggestions..

Functionality
Use this mod to add an AUTOREPLY for threads added to your forums.

What's new in v2.0
1- An option to Auto Reply just for non-replied threads after a certain delay of time.
2- An option to add more than Member ID to post the autoreply RANDOMLY.
3- An option to add more then Guest Username to post the autoreply RANDOMLY.
4- An option to add more than one message for the autoreply.
5- An option to just include Forum IDs where you want the autoreply system to be active.
6- Including the replying member's signature in his post.
7- Optimizing 1 mysql query for better performance.


What was in the previous version
1- Set which member's id will add the Auto Reply.
2- Set the guest's username, If you want the reply to appear as been added from a guest. (for ex. to use as an ad bot)
3- Set the Auto Reply delay, or set it to 0 to add immediately.
4- Edit the Auto Reply text as you wich.
5- Exclude some forums from Auto Reply, as suggestions and administrators forums.
6- Exclude some members from Auto Reply for their threads.
7- Add "{username}" into Auto Reply text, to be translated into the thread sender's username.
8- Turn the Auto Reply on and off from the mod properties.

Install
1- If you previously installed the old version, please uninstall it first.
2- Import the attached product into your products.

If u like the product
Please click install to support me
also rating would be great :)

Regards

coderphp 01-04-2007 09:12 PM

added some screenshots...

Stop 01-04-2007 09:44 PM

Works like a charm. Thanks

But, can you enable the use of codes so we can insert some colorful messages ?

Evil Dave 01-04-2007 10:02 PM

Works Perfectly!!!!
Thanks!!

coderphp 01-04-2007 10:54 PM

Quote:

Originally Posted by Stop (Post 1150931)
Works like a charm. Thanks

But, can you enable the use of codes so we can insert some colorful messages ?

if u mean bb codes it is enabled.. but to enable HTML you must enable HTML from forum properties..

Quote:

Originally Posted by Evil Dave (Post 1150939)
Works Perfectly!!!!
Thanks!!

thanx for feedback

SCRIPT3R 01-04-2007 10:59 PM

why not just update the original thread?

b6gm6n 01-04-2007 11:15 PM

nice, maybe a usergroup exclude from auto reply for the next version ;)

=b6

TTG 01-04-2007 11:35 PM

Had to uninstall original or overwriting with latest version created database error, but after removing original all seems to be working fine .. thanks coderphp

dsotmoon 01-04-2007 11:38 PM

thank you, thank you, thank you, will install this weekend

dsotmoon 01-04-2007 11:42 PM

Quote:

Originally Posted by dsotmoon (Post 1150983)
thank you, thank you, thank you, will install this weekend

oh wait, will this just auto reply once in a thread after the first post?

coderphp 01-04-2007 11:45 PM

Quote:

Originally Posted by b6gm6n (Post 1150971)
nice, maybe a usergroup exclude from auto reply for the next version ;)

=b6

:)
sure..

Quote:

Originally Posted by TTG (Post 1150980)
Had to uninstall original or overwriting with latest version created database error, but after removing original all seems to be working fine .. thanks coderphp

yes u must uninstall the old one b4 installing this.. i added a notice 4 that..
click install plz :)

Quote:

Originally Posted by dsotmoon (Post 1150983)
thank you, thank you, thank you, will install this weekend

thank u..

coderphp 01-04-2007 11:50 PM

Quote:

Originally Posted by dsotmoon (Post 1150989)
oh wait, will this just auto reply once in a thread after the first post?

exactly

dsotmoon 01-05-2007 12:06 AM

i am having a problem, i think

no matter what i put into the "auto reply messages" box...
Attachment 58511

it only shows whatever the last line is...
Attachment 58512


????

coderphp 01-05-2007 12:26 AM

Quote:

Originally Posted by dsotmoon (Post 1151007)
i am having a problem, i think

no matter what i put into the "auto reply messages" box...
Attachment 58511

it only shows whatever the last line is...
Attachment 58512


????

It should select one line randomly...

give it another try.. for say 3 or 4 threads and tell me the result

dsotmoon 01-05-2007 12:29 AM

also i cant get bb code to work in it and after posting the first post in a thread and then trying to click on the forum link i get this screen randomly

this on a fresh install test board with no other hacks

dsotmoon 01-05-2007 12:31 AM

Quote:

Originally Posted by coderphp (Post 1151013)
It should select one line randomly...

give it another try.. for say 3 or 4 threads and tell me the result

oh i see, i want to use it to type up a long welcome message in our introductions forum that would have spaces, bb code, paragraphs, links, etc

this will not do that?

coderphp 01-05-2007 12:44 AM

Quote:

Originally Posted by dsotmoon (Post 1151019)
also i cant get bb code to work in it and after posting the first post in a thread and then trying to click on the forum link i get this screen randomly

this on a fresh install test board with no other hacks

about BB codes it should worke fine..

and about the error message, it is because ur autoreply message is too short, make it 10 characters at least

question: what version do u use?



Quote:

Originally Posted by dsotmoon (Post 1151023)
oh i see, i want to use it to type up a long welcome message in our introductions forum that would have spaces, bb code, paragraphs, links, etc

this will not do that?

please don flood the thread.. post ur questions in one post
the product is supposed to work fine.. please tell me how can i help you

dsotmoon 01-05-2007 01:00 AM

Quote:

Originally Posted by coderphp (Post 1151032)
please don flood the thread.. post ur questions in one post
the product is supposed to work fine.. please tell me how can i help you


ok, sorry i was having problems because i was testing with less than 10 characters, it should say beside the "Auto Reply Messages" box that it is 10 characters minimum

last question, is there something i can change in the hack so that in the "Auto Reply Messages" text box i can type multiple spaced sentences and/or spaced paragraphs instead of simple messages that appear randomly in the auto reply?

example:

Quote:

Hello welcome to our forums, we hope you enjoy your stay!

Please read the rules and faq pages to aquaint yourself with our forums.

Your moderating team is:
mod1
mod2
mod3
I would like something formatted like the above to show in the auto reply each time. Hope that makes sense. Didnt mean to flood your thread.

coderphp 01-05-2007 01:20 AM

Quote:

Originally Posted by dsotmoon (Post 1151039)
ok, sorry i was having problems because i was testing with less than 10 characters, it should say beside the "Auto Reply Messages" box that it is 10 characters minimum

ok that is simply a post and must be as normal posts in ur forum..
maybe i add this notice in the future.....

Quote:

Originally Posted by dsotmoon (Post 1151039)
last question, is there something i can change in the hack so that in the "Auto Reply Messages" text box i can type multiple spaced sentences and/or spaced paragraphs instead of simple messages that appear randomly in the auto reply?

example:



I would like something formatted like the above to show in the auto reply each time. Hope that makes sense. Didnt mean to flood your thread.

yes you can turn the product to use only one message..
and u can put as many line breaks, paragraphs & sentences in this message as u like..

u will need to edit the plugin named "Thread Auto Reply - Part 2" as follows:
search for:
Code:

$msgs = @explode("\n", $vbulletin->options['coder_autoreply_text']);
$msg = $msgs[@array_rand($msgs)];

replace it with:
Code:

$msg = $vbulletin->options['coder_autoreply_text'];
then save the plugin.....

Hornstar 01-05-2007 01:44 AM

cool to see you have updated it, however it would have been better to just update your other thread.

DPSR 01-05-2007 05:17 AM

Thanks for the update, i had to remove version 1 and then had to install version 2... updating was giving mysql error :(

and version2 is still showing version 1 on Installed Products page ;)

BigJimTheLug 01-05-2007 05:17 AM

Is there a way to make so that it replies to all threads, past and present, that have 0 replies?

Thanks.

sensimilla 01-05-2007 05:28 AM

Any chance for the vb 3.5 version ?

mediax 01-05-2007 08:05 AM

thx great mod!

coderphp 01-05-2007 11:58 AM

Quote:

Originally Posted by hornstar1337 (Post 1151064)
cool to see you have updated it, however it would have been better to just update your other thread.

yes you are right..

Quote:

Originally Posted by DPSR (Post 1151169)
Thanks for the update, i had to remove version 1 and then had to install version 2... updating was giving mysql error :(

and version2 is still showing version 1 on Installed Products page ;)

ill update the product to add upgrade code to those who have version 1 installed..

Quote:

Originally Posted by MARKETPROFITS (Post 1151170)
Is there a way to make so that it replies to all threads, past and present, that have 0 replies?


Thanks.

it will be a big load to query the database for 0 replies threads..
maybe ill add another file tonight for that purpose.. so check back soon :)

Quote:

Originally Posted by sensimilla (Post 1151177)
Any chance for the vb 3.5 version ?

it will be available tonight.. check the 3.5 modifications forum

Quote:

Originally Posted by mediax (Post 1151212)
thx great mod!

thanx :)

fly 01-05-2007 03:33 PM

hmmm, this could be fun for April Fools.

Luke Brown256 01-05-2007 06:40 PM

I basically want to use this mod for two separate public forums, which an individual message for each forum, is there a way to do a custom message per included forum?

b6gm6n 01-06-2007 03:16 PM

It works, but i can only print text, BB codes are not functional, im sure the forum i have this in is fine for BB...

Out of the code below only > ( Auto Posted by xxx ) is printed

Code:

[I MG]http://www.xxx/forums/signaturepics/sigpic1_17.gif[/I MG]
( Auto Posted by xxx )

Thank you for your post {username} and welcome to xxx!

Please check some of the links below for information and help, enjoy your stay.

{ xxxFAQ :eye-poppi }-{ Memory Lane :heart: }-{ Subscribe :key: }-{ Arcade :inky: }

would be nice to enter a FULL message (with formating and tags) in there rather than this mod choosing a line to print

BigJimTheLug 01-07-2007 02:37 AM

Wow, this is nice!

Thanks!

mrahul 01-08-2007 07:58 AM

does it run any queries ?

coderphp 01-08-2007 10:25 PM

Quote:

Originally Posted by Luke Brown256 (Post 1151478)
I basically want to use this mod for two separate public forums, which an individual message for each forum, is there a way to do a custom message per included forum?

the current version doesnt support forum specific messages...

Quote:

Originally Posted by b6gm6n (Post 1151963)
It works, but i can only print text, BB codes are not functional, im sure the forum i have this in is fine for BB...

Out of the code below only > ( Auto Posted by xxx ) is printed

Code:

[I MG]http://www.xxx/forums/signaturepics/sigpic1_17.gif[/I MG]
( Auto Posted by xxx )
 
Thank you for your post {username} and welcome to xxx!
 
Please check some of the links below for information and help, enjoy your stay.
 
{ xxxFAQ :eye-poppi }-{ Memory Lane :heart: }-{ Subscribe :key: }-{ Arcade :inky: }

would be nice to enter a FULL message (with formating and tags) in there rather than this mod choosing a line to print

the mod works fine with bb codes please try again...
and please read the instructions for every setting in the setting page..

Quote:

Originally Posted by MARKETPROFITS (Post 1152348)
Wow, this is nice!

Thanks!

thank you

Quote:

Originally Posted by mrahul (Post 1153392)
does it run any queries ?

yes it runs 4 queries

b6gm6n 01-08-2007 10:49 PM

Thanx coderphp i'll look again, cheers

-b6

coderphp 01-08-2007 10:53 PM

Quote:

Originally Posted by b6gm6n (Post 1154097)
Thanx coderphp i'll look again, cheers

-b6

ok.. keep me updated... :)

Universal 01-09-2007 11:29 AM

Is there a way to have all the staff (say 2 or 3) in the 'Auto Reply Sender's IDs' reply to every new thread instead of the hack randomly choosing one of them? A change of the code or adding to the code etc?

coderphp 01-09-2007 09:54 PM

Quote:

Originally Posted by Universal (Post 1154494)
Is there a way to have all the staff (say 2 or 3) in the 'Auto Reply Sender's IDs' reply to every new thread instead of the hack randomly choosing one of them? A change of the code or adding to the code etc?

the current version doesnt support that...

Universal 01-09-2007 11:09 PM

Quote:

Originally Posted by coderphp (Post 1154971)
the current version doesnt support that...

Oh ok thankyou, I was wondering if it would be easy to add that with the current version, maybe something to think about in the future as an option if there is another version.

Very nice hack by the way.

mrahul 01-10-2007 05:54 AM

Quote:

Originally Posted by coderphp (Post 1154069)
the current version doesnt support forum specific messages...


the mod works fine with bb codes please try again...
and please read the instructions for every setting in the setting page..


thank you


yes it runs 4 queries

do you mean 4 queries per page or 4 queries while installation. As having more no.of queries in a page causes slower loading of pages I guess.

coderphp 01-10-2007 10:55 AM

Quote:

Originally Posted by Universal (Post 1155025)
Oh ok thankyou, I was wondering if it would be easy to add that with the current version, maybe something to think about in the future as an option if there is another version.

Very nice hack by the way.

thank you...

Quote:

Originally Posted by mrahul (Post 1155253)
do you mean 4 queries per page or 4 queries while installation. As having more no.of queries in a page causes slower loading of pages I guess.

no.. queries runs when adding new thread.. so it dont affect ur forum's speed

Apoco 01-10-2007 01:32 PM

BB Codes are not working. I have tested it on a live environment and in a test localhost w/ a clean install.

this is my Auto Reply
HTML Code:

[b][color=blue]omg test this kthx[/color][/b]
all that shows up is
HTML Code:

[b][color=blue]omg test this kthx

Apoco 01-10-2007 02:09 PM

Actually, I just got it to work. It was an error in my typing in both cases. I did a soft return, thinking it wouldn't break it into two different answers, however it did. ~_~;


All times are GMT. The time now is 06: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.01682 seconds
  • Memory Usage 1,848KB
  • 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_code_printable
  • (2)bbcode_html_printable
  • (30)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
  • (40)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