vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Requests/Questions (Unpaid) (https://vborg.vbsupport.ru/forumdisplay.php?f=112)
-   -   auto refresh admincp login screen (https://vborg.vbsupport.ru/showthread.php?t=77726)

btappan 03-08-2005 04:06 PM

auto refresh admincp login screen
 
I know this seems like a strange request but i need it figured out...

I use this to auto refresh search result pages..

<if condition="$_REQUEST[searchid]">
<meta http-equiv="refresh" content="60; url=" />
</if>

How might I apply this to the admincp log in screen? is there a template i can use something like this in or put in a php file?

btappan 03-11-2005 12:32 PM

somebody have an idea how to do this?

Marco van Herwaarden 03-11-2005 12:36 PM

Maybe people can better advise you if you post what you are trying to achieve with this.

btappan 03-11-2005 01:10 PM

Okay, my site has little to no traffic and because of this I have trouble with the mail que taking hours to process the emails in the queue. This is because the the mail queue system as well as all other cron jobs require page views to process. Since the site does not have much traffic (most users respond by email with eachother) if say 60 to 100 emails are to be sent at 10 per batch, if theres little traffic to the site it sends one batch per hourly cron function which means these emails can take up to 10 hours or more to be sent. The admincp log in screen is the only page that unfailingly ALWAYS pushes 10 batched emails through the mailque everytime the page is loaded. I have verified this by looking at the mailqueue table through phpmyadmin while loading different pages to see which one run the script to push mail through the system. I can't not use the mailqueue sytem as it boggs the server down, and I cant increase the batch number because it then gets marked as Spam since the spam filters see the high volume of the same email and flag it. So the goal with this is to leave one of my computers on that log in screen while it refreshes in order to process the list in 10 minutes instead of 10 hours. Kind of a wierd idea i know but it will do what is necessary until i get my site traffic up.

Yorixz 08-07-2005 06:02 PM

It might be a little late; but I would advise you to let http://uptime.openacs.org/uptime/ check your page for "uptime"; it checks if theres the word "Success" on the page ever 2 hours; else it'll email you. (So you'll have to add the word "Success" somewhere on your page and then every 2 hours your page will be visited and thus your cron might get just the push it needs to send mail on time.


All times are GMT. The time now is 08:21 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.00932 seconds
  • Memory Usage 1,718KB
  • 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)post_thanks_navbar_search
  • (1)printthread
  • (5)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete