vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Graveyard (https://vborg.vbsupport.ru/forumdisplay.php?f=224)
-   -   Major Additions - [AJAX] vB Pager 3.0.4 (https://vborg.vbsupport.ru/showthread.php?t=104609)

RFViet 02-19-2006 01:48 AM

How can i page to unregistered users ???

uae 02-19-2006 04:49 AM

Quote:

Originally Posted by Throtex
This is a great hack, and my users have been enjoying it without too many problems for several weeks now! Great job!

I don't have a lot of resources on my server, so I have to be careful with things like this, but even with only 256M of RAM and ~30 users at a time (peak) everything seems to run ok.

I did however notice a gradual slowdown over the past few days. After having no luck with any mySQL settings (memory use is already well under control) I remembered to purge the deleted messages. That seems to have sped everything back up, though it could have been a coincidence.

Since I haven't had a chance to explore how this script works, I'm not even sure if deleting messages should really have an impact on server loads. Could anyone shed some light on this? I'm guessing the reason there are message limits in the usergroup settings isn't because a few text messages take up a lot of disk space.

If so, it may be useful to introduce an option where messages are purged automatically when read, and perhaps not saved to the sent items list. My users don't like having to delete their messages when they hit the cap, but if storing a lot of messages does nothing to performance I might as well just take the cap off ... no?

:)

A pager message is only stored once, it's only a record which points to the message text, so the message you have sent and see in your sent items is the same message the recipients gets and see in their inbox, so it's not a duplicate of the same message.
Messages are purged automatically if marked as deleted from both side.
Sure I can have an option where it would mark a message as a deleted message just after you click on the close or the reply button, but again, some people wants to have a record "log" of their conversation and maybe, download "export messages" them later.

You can always force members to clear their inbox/sent items by restricting number of messages they can store.
It should not have an impact on the server loads.

Quote:

Originally Posted by m-e-h.com
Your Hack is great, but it has one problem:
The AJAX refresh (to check for new messages) generates traffic - even to users who deactivated the pager.
Next problem: The refresh is done at all opened windows / tabs.

So if a user has deactivates the pager and opens 5 tabs / windows he has about 7 kb traffic every x seconds for a feature he don't want to use.
This is a big disadvantage for users with volume-based tariffs and for us because we probably have to pay for this additional and unnecessary traffic.

Is it possible solve this problem?

Thx!

Thank you sir,
There is an option where some usergroup can send pager messages to users with pager turned off, and we should call all the functions and queries, even if they trund the pager off.

I don't think I can do anything about the mutli windows part, but you can always turn the AJAX check to 0 and have the pager pops up manually, so there will be no AJAX check.

Quote:

Originally Posted by RFViet
How can i page to unregistered users ???

You can not send pager messages to unregistered users.

m-e-h.com 02-19-2006 01:58 PM

Quote:

There is an option where some usergroup can send pager messages to users with pager turned off, and we should call all the functions and queries, even if they trund the pager off.
Allright, this option was activted. One problem less... ;)
/edit
I'm sorry, but it doesn't work. I deactivated the pager but I still have traffic every x seconds. :disappointed:

Quote:

I don't think I can do anything about the mutli windows part, but you can always turn the AJAX check to 0 and have the pager pops up manually, so there will be no AJAX check.
This would be a solution - but not a good one, because in this case, you coluld use the private message-system instead of the pager.

First possible sulution: A seperate pager-window.
Second possible solution: The reload-time or the whole reload-options could be set by the user within preset - admin-defined - ranges. Maybe with a hint like "This can produce additional traffic...".

cm

Gommeke 02-19-2006 03:23 PM

I want to know how I can uninstall this hack.
Since I installed it users cannot edit their settings anymore.
Quit annoying, I should say.

Gommeke 02-19-2006 08:01 PM

Quote:

Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in O:\FOO\www\includes\class_core.php on line 694
Date: Sunday 19th of February 2006 09:45:35 PM
Username: Niet geregistreerd
IP Address: 81.246.189.159

================================================== ===

Warning: mysql_free_result(): supplied argument is not a valid MySQL result resource in O:\FOO\www\includes\class_core.php on line 744
Date: Sunday 19th of February 2006 09:45:35 PM
Username: Niet geregistreerd
IP Address: 81.246.189.159
I got these errors after installing the VBpager-plugin.

Users can not alter their settings.

Can someone help me out here.

alfaowner 02-19-2006 09:04 PM

Hey, im feeling this! This is the best addon to any board ever!!!!

SwissPegasus 02-20-2006 08:26 AM

Many thanks to uae. Since you was on my forum, and fix the logout bug, everything works just perfect. Thank you very much.

Toky0 02-20-2006 10:02 AM

I'm on my way to work right now. So I'm sorry for not searching the thread.. But I have the hack installed and running with the exception of the message window poping up. Does anyone know why it won't show up? I've checked everything I know of in the options and still nothing. Please help. :nervous:

EDIT: The attached image is the message box I speak of.

Tracer Gun Kata 02-20-2006 12:25 PM

Quote:

My Internet Explorer is Crashing when a new Pager Message received?
vB Pager hack does not like the use of custom color scrollbar, so you if you are using a custom css for the elements of a scroll bar, remove it from your css.
I have looked through and searched through this topic and found no reference on how to remove it..

Could someone just give me a step by step?

Totti 02-20-2006 12:29 PM

Open the install-instructions and follow them from button to top ;)
[uploading becomes deleting and so on]

But be careful, before installing hacks you should know roundabout what you are doing ;)


All times are GMT. The time now is 04:54 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.01980 seconds
  • Memory Usage 1,752KB
  • 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
  • (7)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (4)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