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)

Tyegurl 04-28-2006 11:47 PM

Quote:

Originally Posted by moonclamp
Just installed this, works well.

I added a couple of my own modifications too. :)

I created a new phrase called $vbphrase['pager_anon']; to replace $vbphrase['n_a']; in pager.php. This means that an anonymous message now comes from "Staff Member" rather than just N/A ... I'll only use this feature for giving out warnings to naughty members. ;)

In the navbar link I added <if condition="$vboptions['vbpager_active'] AND $bbuserinfo['userid'] AND $show['pager']"> in order to hide the buddy list if the pager is disabled. (I think I did this right)

In memberinfo I added AND $show['pager'] to the conditional for the same reasons ..

Therefore when a member cannot use it, it becomes a case of "out of site, out of mind"

nice thanks for the tips ;)

bada_bing 04-29-2006 02:32 AM

I am currently testing this pager system with my staff and came across an annoying problem. When I receive a page and get a pop-up if in viewing the members on-line page and when it refreshed I loose my vbpager popup or if I click on the screen behind the vbpager popup I loose the vbpager screen. How can I prevent this from happening?

bada_bing 04-29-2006 02:38 AM

Quote:

Originally Posted by moonclamp
Just installed this, works well.

I added a couple of my own modifications too. :)

I created a new phrase called $vbphrase['pager_anon']; to replace $vbphrase['n_a']; in pager.php. This means that an anonymous message now comes from "Staff Member" rather than just N/A ... I'll only use this feature for giving out warnings to naughty members. ;)

In the navbar link I added <if condition="$vboptions['vbpager_active'] AND $bbuserinfo['userid'] AND $show['pager']"> in order to hide the buddy list if the pager is disabled. (I think I did this right)

In memberinfo I added AND $show['pager'] to the conditional for the same reasons ..

Therefore when a member cannot use it, it becomes a case of "out of site, out of mind"

Can you explain in more details how you added the conditions as I am not a coder and would like to do the same...

Thanks

ForYou 04-29-2006 09:01 AM

How can i turn on the pager for all users , like sound on ,

BobbyBig 04-29-2006 12:27 PM

Hello,

First of all good work. This Messanger really fits in most of our needs.

There are 2 Problems:

1. If a user isnt active for some mins, the vB Pager popups with a Loginwindow. This is due to the vBulletin board recognize the User as "Offline". The vB Pager Login Popup is a big problem! First of all it appears in Transparent over the whole page. The Bottom font lays on some other Text -> ugly. Second one is that there shouldnt be any Popup.

Is there a way to stop the vB Pager from refresh if the User is set to offline ?
Offline = no need for vB Pager = no ugly and useless popup.

2. There is no Message for the User that his send Message was send. It only returns to the vB User Page. At all theres no Info about succesfully send the Message. This gets really wired to some Users, also for me.

I would be very pleased to get a Sollution for this 2 Problems.

mfg

menoutdoors 04-29-2006 07:18 PM

It was a great hack, unfortunatly I have to uninstall it until the Internet Explorer / activeX issues are resolved.

https://vborg.vbsupport.ru/showpost....&postcount=778

Tulsa 04-30-2006 10:26 PM

Any chance we can cut the cron job from once an hour to once a day?

Cush 05-02-2006 02:12 PM

I love this hack and have installed it on my forums. I only have 2 questions regarding this hack:

1.) When you click 'Send Page to User' a window pops up, but the scroll bars appear to scroll and resize the window. How can I make it so there is already a set window size?

2.) Users have asked that the messages stay displayed that they send receive. What I mean by this is:
>Sender1: MESSAGE 1
<Receiver 2: MESSAGE 2
>Sender1: MESSAGE 3
<Receiver 4: MESSAGE 4

I would like the users messages to be saved for up to 4 sends of text, or whatever can work. Is this possible as my users hate to see the windows close and not see what they typed to who?

Thanks!

imported_infitech 05-02-2006 07:13 PM

This hack sends my cpu usage sky high

bada_bing 05-03-2006 07:35 PM

Quote:

Originally Posted by Jordan17
Hey people.

Earlier I posted saying that I only wanted to use this system for moderators & admins to use, so I have only Admins & Mod's groups allowing it.

The problem was that everyone on the board could see the icons to send a pager message, the links in every users profiles and it still shows up in the quick links.

Not good to have something showing to everyone when all it does is say "You are not allowed to use vbPager" when they click on it...is it?

So, after some playing around I found that if you go into...

- Postbit / postbit_legacy template
- MEMBERINFO template
- navbar template

and find where it says <--- [Start vbPager HACK..... ...../ ----> (in between these)
....

wrap <if condition="$show['pager']"> and </if> around the code and then it will only become visible to those groups who are allowed to us vbPager.

Hope this helps some people.

This is exacly what im looking for.... Will this only show the links to vbpager to the gorups who have access to it via usergroups? Also can you explain un more details how the code should look as I dont understand what you mean by wrap this between ( ) and where to place it?? Sorry


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