vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=33)
-   -   vBouncer (PHP): reduce server load by unsubscribing bouncing members from threads (https://vborg.vbsupport.ru/showthread.php?t=91119)

tamarian 12-03-2005 06:31 PM

Quote:

Originally Posted by Spinball
Uninstalled and reinstalled and still got the same problem.
The error is indicative of a missing '}'.
E.g. should be

don't see how the code could work otherwise. Very confused.

The code you posted is identical. The only difference is adding an opening and closing {}. So if one caused an error, they other one should as well.

If unsure, use a freash copy of mail.php, then apply the changes to it, as it may have errors from previous edits.

Codeman05 12-10-2005 01:45 PM

Hi,

I am having a problem getting VBouncer to connect to my IMAP/POP server.
I'm using Cyrus with Virtual Domains...meaning that my username for the account is a full email address (xxxx@domain.com). Could that be causing the problem? Otherwise, I have no idea...I am able to log into the "subscription_notify" address I created with squirrelmail, so the account itself is working fine

Codeman05 12-10-2005 01:56 PM

Quote:

Originally Posted by Codeman05
Hi,

I am having a problem getting VBouncer to connect to my IMAP/POP server.
I'm using Cyrus with Virtual Domains...meaning that my username for the account is a full email address (xxxx@domain.com). Could that be causing the problem? Otherwise, I have no idea...I am able to log into the "subscription_notify" address I created with squirrelmail, so the account itself is working fine

ok, found the solution, adding the /imap/notls flag got it to work.
example: {localhost:143/imap/notls}

David Bott 12-14-2005 10:16 PM

Great Hack...Installed on AVSForum and will be on TiVo Community.

Question...

The bar graph does not show for me for I call my images from another server.

In the page source I see...

img src="../http://URLremoved/images/polls/bar3.gif"

Note the ../ in front of the image call.

Where can I correct this in the code for it seems to assume local graphic files.

Thank you kindly.

tamarian 12-15-2005 10:47 AM

Quote:

Originally Posted by David Bott
Great Hack...Installed on AVSForum and will be on TiVo Community.

Question...

The bar graph does not show for me for I call my images from another server.

In the page source I see...

img src="../http://URLremoved/images/polls/bar3.gif"

Note the ../ in front of the image call.

Where can I correct this in the code for it seems to assume local graphic files.

Thank you kindly.

Do you use vb advanced or another hack that re-writes url's. Or does your style use absolute paths for image directory variables?

David Bott 12-15-2005 11:54 AM

Hello...

"Or does your style use absolute paths for image directory variables?"

Yes, we set the path for the images to be the URL of the server, not a directory.

David Bott 12-15-2005 01:11 PM

Also...I notice that the system sends a warning PM each time it runs to the users over the warning limit. Thus if I have the cleaner program set to run each hour, they get the notice every hour.

Please advise.

Thank you.

David Bott 12-15-2005 01:45 PM

Ah!!! I have a great idea. (I think)

Ok, you have the option to act fully on a 5.0.0/550, or what have you, on the first bounce of a mail, Why this can make for an issue as you know, it gave me an idea. (Look at the log, a lot of them are 5.0.0/550.

In any case....here is the thought. Have the option to look at the Last Activity date where you can set..."If have not visited in X days, assume dead e-mail" and then act on it.

So they get a 5.0.0/550 bounce. When the cleaner runs the system looks up the address in the user database, and also pulls the last activity date for that user and says..."is the last activity date that older than X days" If yes, run the full clean options.

You see, looking at some of the users that have bounced, they have not been back to the site in some time, thus it would be great to act on them why it may not be good to act on some others with a 5.0.0/550.

Thoughts?

tamarian 12-16-2005 12:58 PM

Quote:

Originally Posted by David Bott
Hello...

"Or does your style use absolute paths for image directory variables?"

Yes, we set the path for the images to be the URL of the server, not a directory.

You can edit the images in the vbouncer.php file in admincp, this line:
PHP Code:

                        echo '<td width="80%" align="left" nowrap="nowrap"><img src="' $imgpath '/bar3-l.gif" height="10" /><img src="' $imgpath '/bar3.gif" width="' $width '%" height="10" /><img src="' $imgpath "/bar3-r.gif\" height=\"10\" /></td>\n"


tamarian 12-16-2005 01:00 PM

Quote:

Originally Posted by David Bott
Also...I notice that the system sends a warning PM each time it runs to the users over the warning limit. Thus if I have the cleaner program set to run each hour, they get the notice every hour.

Please advise.

Thank you.

Not a good idea to run it hourly, as there are no actions to perform until the end of the period. As stated in step #5 "vbouncer-clean.php (weekly, equal to Bounce limit period)"


All times are GMT. The time now is 07:55 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.01374 seconds
  • Memory Usage 1,750KB
  • 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)bbcode_php_printable
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (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