vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=4)
-   -   Robot Moderator (https://vborg.vbsupport.ru/showthread.php?t=32823)

GeorgeofCS 12-03-2001 09:32 AM

You know I think this is definitely cool. A definite thing that would be good to add is to have this robotmod used for other purposes, like messaging onto reported threads, PMing users that were reported, etc.

amykhar 12-03-2001 10:55 AM

Princeton,
Does it work when you run it from your browser?

Amy

Princeton 12-03-2001 01:45 PM

Amy,
I got it to work. thank you
I don't think the rss (thing) is such a good idea. Anyway, it works perfectly. I'm just thinking of a good way to use it.

hypedave 01-09-2002 10:58 AM

is there a way to get this to work on Windows 2000 server., I heard that windows doesnt have a cron job,

amykhar 01-09-2002 12:24 PM

Before I got cron to work, I used a windows scheduler program to simply call the url from my pc each day. The downside was that I had to be connected to the Internet for that to work.

Amy

hypedave 01-09-2002 01:05 PM

hey can you give me mor detail as in how you got it work
My configuration is a Windows 2000 Server with IIS
and it is connected to the net cause its running the forum,

amykhar 01-09-2002 02:49 PM

hypedave,
I didn't mean run it on the same server as your forum. A window would have to be manually closed each day the way I did it. Maybe somebody else would know of a way for you to do it on a Windows server. Have you looked at a windows port of cron?

Amy

hypedave 01-09-2002 03:05 PM

Oh okay I wouldnt mind running it on a seperate pc I have to. Just tell me how you did it, and what app you used, im very interested in adding this to my site. I havent looked at a windows port of cron. did you mean do I know what port cron uses, I didnt understand that last question

thanks.

hypedave 04-12-2002 03:41 AM

this robot mod is so cool, I just got it to work
nice job

how do I specify my own subject instead of it using a date

amykhar 04-12-2002 12:48 PM

In the code, simply change the $subject variable to the string of your choice. If you want the subject to be dynamic, that's a bit trickier. You would need to get the dynamic information into the script.

For example, if you wanted to start a new post each day that welcomed all new users by name in the subject line, you would have to do a query to get the names of everyone who joined in the past 24 hours, and put that information into your subject string.

Comment out my line that sets the subject as the date, and right after that, put (for example) $subject = "This is an automatic post!";

Hope that splains what you needed to know.

Amy


All times are GMT. The time now is 08:25 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.01178 seconds
  • Memory Usage 1,724KB
  • 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
  • (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