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)

DS MrSinister 01-26-2006 04:18 AM

I am getting double Pager Messages In the nav bar.. I attach a image. not sure what i need to remove.. all i did was copy and paste the code you gave in the zip file

uae 01-26-2006 04:30 AM

Quote:

Originally Posted by DS MrSinister
I am getting double Pager Messages In the nav bar.. I attach a image. not sure what i need to remove.. all i did was copy and paste the code you gave in the zip file

If you look into your navbar template, You Can't tell if you have that edit duplicated?
It should be:

In the template: navbar
FIND
Code:

                        <if condition="$show['pmstats']"><br /><phrase 1="$vbphrase[unread_x_nav_compiled]" 2="$vbphrase[total_x_nav_compiled]" 3="$session[sessionurl_q]">$vbphrase[private_messages_nav]</phrase></if>
BELOW ADD
Code:

<!-- [START HACK='vB Pager' AUTHOR='UAEWEB.COM' VERSION='3.0.1' CHANGEID= 3 ] -->
                        <if condition="$show['pager']"><br /><a href="#" onclick="window.open('$vboptions[bburl]/pager.php?action=pager&do=log&folder=inbox','pagerinbox','statusbar=no,menubar=no,toolbar=no,scrollbars=yes,resizable=yes,width=650,height=500'); return false;">$vbphrase[pager_pager_messages]</a><phrase 1="$bbuserinfo[pagerunread]" 2="$bbuserinfo[pagertotal]">$vbphrase[pager_messages_nav_x_y]</phrase></if>
<!-- [END HACK='vB Pager' AUTHOR='UAEWEB.COM' VERSION='3.0.1' CHANGEID= 3 ] -->


DS MrSinister 01-26-2006 04:35 AM

thanks m8..

btw this what i had

Code:

<!-- [START HACK='vB Pager' AUTHOR='UAEWEB.COM' VERSION='3.0.1' CHANGEID= 3 ] -->
                        <if condition="$show['pager']"><br /><a href="#" onclick="window.open('$vboptions[bburl]/pager.php?action=pager&do=log&folder=inbox','pagerinbox','statusbar=no,menubar=no,toolbar=no,scrollbars=yes,resizable=yes,width=650,height=500'); return false;">$vbphrase[pager_pager_messages]</a><phrase 1="$bbuserinfo[pagerunread]" 2="$bbuserinfo[pagertotal]">$vbphrase[pager_messages_nav_x_y]</phrase></if>
<!-- [END HACK='vB Pager' AUTHOR='UAEWEB.COM' VERSION='3.0.1' CHANGEID= 3 ] -->

lmao sorry i forgot i edited the phrases before i deleted the one i edited to fix the link problem on the portal page again sorry..

I am all good now..

thanks

shadowdancer36 01-26-2006 05:40 AM

Is it anyway I can set all my users to have the wav file play by default?

uae 01-26-2006 05:57 AM

Quote:

Originally Posted by shadowdancer36
Is it anyway I can set all my users to have the wav file play by default?

Well' you can run this query if you want to enbale the sound notification for all members!
See this post

NuclioN 01-26-2006 06:49 AM

Sound enabled in usercp and in vb options but ... no sound

mini2 01-26-2006 07:39 AM

This may seem a dumb question, but I have searched and read through and I'm not clear how this actually works in tmies of when it checks for and pops up messages.

In the description it says:

"# vB Pager AJAX Check Period control.
# vB Pager Display Window Refresh Period control ."

So, does this mean that a refresh takes place (Ajax) to check for new messages on the server, or does a complete page refresh occur? Does it also check when you load a new page? Can you switch the Ajax refresh off completely so it only happens when you change pages/refresh manually?

What does "vB Pager Display Window Refresh Period control" mean?

Thanks in advance!

Alex_ 01-26-2006 08:31 AM

Quote:

Originally Posted by MrNase
Some things I noticed:
The popup is misaligned with Opera.. It's too far down on the website.

I just installed the pager but I'm using opera too, so there had to be a solution.

I added an if condition to the PAGER template below
Code:

else if (w3)
        {
                documentWidth=self.innerWidth/2+window.pageXOffset-20;
                documentHeight=self.innerHeight/2+window.pageYOffset-20;
        }

Code:

if (navigator.userAgent.toLowerCase().indexOf("opera") != -1)
{
        documentWidth=self.innerWidth/2+window.pageXOffset-20;
        documentHeight=self.innerHeight/2+window.pageYOffset-20;
}

This is working for me - I tried it also with 'Identify as IE' within opera which was working too...

The problem is that
Code:

var ie=(document.all);
is true for opera but
Code:

if (ie)
        {
                documentWidth  =truebody().offsetWidth/2+truebody().scrollLeft-20;
                documentHeight =truebody().offsetHeight/2+truebody().scrollTop-50;
        }

doesn't work with the browser...

Dennis B 01-26-2006 08:49 AM

uae,

Voted on this for HotM. :)

I have a recurrent problem with members who advertise through PM and who will certainly do the same with vBPager. When a spam-like PM is reported to me, I usually warn the user with a copy of that PM (I've installed one of the read-PM hacks). Do you plan on adding an admin option to read the users' messages?

Thx

PJSkiboy 01-26-2006 11:10 AM

I just installed this and i'm having some fairly major issues.

1. I have no way of editing the permissions for any of this. In your one picture you show the vb pager permissions at the bottom of the usergroups manager screen. I get none of those options.

2. My entire forum is repeating at the bottom of my footer. And it's repeating at only half the width?????

I'll keep looking through it all to see if I screwed up the template modifications, but I've done so already and haven't found it yet. I'll go through it again though.


All times are GMT. The time now is 11:45 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.02108 seconds
  • Memory Usage 1,751KB
  • 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_code_printable
  • (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