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)

uae 01-25-2006 01:58 PM

What do I need to do to make sure all users have the sound turned on by default?
This require vB Pager 3.0.1 + Installed.

From phpMyAdmin, run this query:
Code:

UPDATE user SET pagersoundoption = 1;
where user is your user table plus TABLE PREFIX if you got one.

If you want to change the default value for the sound option to all new registerd users and make it enabled by default.

From phpMyAdmin, under the user table, edit the pagersoundoption field and change the Default value to 1 then save it.
Or run this query
Code:

ALTER TABLE user CHANGE pagersoundoption pagersoundoption SMALLINT( 6 ) DEFAULT 1 NOT NULL;

Darth Gill 01-25-2006 02:02 PM

Quote:

Originally Posted by uae
What do I need to do to make sure all users have the sound turned on by default?

From phpMyAdmin, run this query:
Code:

UPDATE user SET pagersoundoption = 1;
where user is your user table.

Thanks! Now will this be checked by default when people register?

Darth Gill 01-25-2006 02:03 PM

BTW, thank you UAE for all your personal help which you have provided me. I truly think this is one of the most useful additions to vBulletin that I've seen!

uae 01-25-2006 02:10 PM

Quote:

Originally Posted by Darth Gill
Thanks! Now will this be checked by default when people register?

Hey Brandan,
aah, no it won't be checked by default, I dunno, but I thought some users may find it annoying or something, so I had to leave it turned off by default, and they can always trun it on whenever they want!
The pager message box already pops up right on their faces, so it's already a notification ;)

No problem mate, you're welcome :)

bashy 01-25-2006 03:51 PM

Hi

Still cannot use ff to send a pager message as it shows as no characters left to use.
even when logged in as admin.

As soon as i enabled the sound option IE 7 crashes, I have done the IE update thingy.

Still the pager message popup is nearly the full height of my forum :(

Any ideas please?

Gripemaster 01-25-2006 06:32 PM

AWESOME AWESOME AWESOME hack... and UAE, thank you for all your assistance, I tested the update version on my testing forum, then installed it on my regular forum, and it is working just great, sound and all. Thank you for an excellent hack, and your time and trouble helping me. *CLICKS INSTALL HAPPILY* :banana:

shadowdancer36 01-25-2006 09:02 PM

I reinstalled but wasn't able to hear the sound. I have it activated in the options. The wav file goes in the main forum dir right? BTW I'm getting less DB errors now.

djjeffa 01-26-2006 01:06 AM

Quote:

Originally Posted by uae
What do I need to do to make sure all users have the sound turned on by default?

From phpMyAdmin, run this query:
Code:

UPDATE user SET pagersoundoption = 1;
where user is your user table.

im a lil confuesd? user is your user table ?

ztempuser 01-26-2006 03:01 AM

Code:

UPDATE user SET pagersoundoption = 1;
when i run this it says
Code:

#1054 - Unknown column 'pagersoundoption' in 'field list'
EDIT
oops my bad it was because i did not update to the newest version, cool:)i like this the most on my forum:) , then all the othe rhacks

uae 01-26-2006 04:10 AM

Quote:

Originally Posted by bashy
Hi
Still cannot use ff to send a pager message as it shows as no characters left to use.
even when logged in as admin.
As soon as i enabled the sound option IE 7 crashes, I have done the IE update thingy.
Still the pager message popup is nearly the full height of my forum :(

Any ideas please?

It does not matter if were admin or a registerd user, it's all based on the Number of Maximum Characters Per Pager Message you entered in the vB Pager usergoup persmission.
Make sure it's greater than 0.

Quote:

Originally Posted by Gripemaster
AWESOME AWESOME AWESOME hack... and UAE, thank you for all your assistance, I tested the update version on my testing forum, then installed it on my regular forum, and it is working just great, sound and all. Thank you for an excellent hack, and your time and trouble helping me. *CLICKS INSTALL HAPPILY*

I'm glad it's working :)

Quote:

Originally Posted by shadowdancer36
I reinstalled but wasn't able to hear the sound. I have it activated in the options. The wav file goes in the main forum dir right? BTW I'm getting less DB errors now.

Okay, Make sure you have uploaded the wav file, edited the modifyoptions template from the latest ReadMe file, and enable the sound options from both, ADMINCP and USERCP.

Quote:

Originally Posted by djjeffa
im a lil confuesd? user is your user table ?

User table is the user table from your vb's database, if you were using a TABLE PREFIX, then add that to the UPDATE Query :)

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.

Watson 01-26-2006 12:25 PM

My options in usergroup options aint showing up. I tried the old, open a phrase and save it trick, but didnt work. Everything else seems to work ok, but I only want this feature for certain usergroups, but cant see options to get it to work for them

Watson

Omranic 01-26-2006 04:59 PM

Thanks very much
its really a great product

but see this is erro appeared after upgrading to version 3.0.1 when trying to update profile settings

Fatal error: Field pagersoundoption is not defined in $validfields in class vb_datamanager_user in /includes/class_dm.php on line 485

aberg 01-26-2006 05:31 PM

I have translate (except the admin functions) the phrases to Dutch
So this is for the Dutch people who want install the Vpager 3.01 on there Dutch forum.

Gripemaster 01-26-2006 06:45 PM

The only problem I seem to be having (not REALLY a problem) is that when I click "Logout" to log out of my forum, it doesn't completely log me out, even though it says "all cookies cleared"

Several of my members have also said it will not completely log them out of the forum. Any idea how to fix this?

djjeffa 01-27-2006 12:07 AM

Quote:

Originally Posted by uae


User table is the user table from your vb's database, if you were using a TABLE PREFIX, then add that to the UPDATE Query :)

im soory im a dummie could you give me an example?

Replicators 01-27-2006 01:50 AM

Only problem i am having is some of my member's are complaining that when they input messages into the box it auto-deletes what they type in for some reason. It works perfectly for me, but not for everyone and some of the people that it ain't working for has the same browser as me.

dug320 01-27-2006 05:01 AM

AJAX - What a great hack

What determines the rate that the messages are relayed/displayed?

With two people logged, floodsetting at 1 second, paging sometimes is less than a second, other times it is a minute.

Cheers

jarcher 01-27-2006 05:21 PM

I have gone thru the thread many times
I am lost
I have run thru the templates
checked the server
and still, when I try to page user. .nothing happens
using FF tried in IE
IE say's there is an error on page(at the bottom)
stumped

NuclioN 01-27-2006 09:04 PM

after a few days it began to crash IE 7 also when disable sound (which we can't hear anyway) Hope this will be fixed.

Gizmo5h1t3 01-27-2006 09:08 PM

Quote:

Originally Posted by NuclioN
after a few days it began to crash IE 7 also when disable sound (which we can't hear anyway) Hope this will be fixed.


bearing in mind IE7 is still in BETA, thats not surprising.

NuclioN 01-27-2006 09:13 PM

Yes but it also crashes furious in IE 6 (???) I think this appeared after the last upgrade with soundoptions. Is there someone who has the previous version of vbpager?

Replicators 01-27-2006 10:23 PM

IE crashes for my members too, luckily i use firefox and it works perfect for me,but some of my members who use firefox said that when they try to put words into the pager that it auto-deletes them.

caimakale 01-28-2006 03:27 AM

My site has less than 10 people on it at any given time. What would be a good reload time? This is my first real time playing with ajax so I don't know much about it and how much it will affect the server.

stamos2003 01-28-2006 11:01 AM

i receive an "Access denied" in the little status windowd down left on the explorer when I inbound the Footer lines and the pager wont work....

what about his, any ideas?

IrPr 01-28-2006 12:33 PM

pager.php got blanked when upgraded to 3.0.1 :(
Navbar: Pager Messages: Unread X, Total Y doesnt appear
Postbit: Send Pager Icon doesnt appear
modifyoptions: Pager Options doesnt appear
( i had checked template modifications, re-modifed all of above 3-4 times ! )
PS: Usergroup Permissions are OK and enabled for this usergroup
seems "<if condition="$show['pager']">" doesnt work for me, i tried many times to re-installing vBpager but ... :( any idea?

gothicuser 01-28-2006 12:40 PM

Just installed it and works ideally. Thankyou very much.

IrPr 01-28-2006 01:32 PM

aha! i found
im using ur another GOOD WORK UAE, Rules And User Agreement Hack
vBPager doesnt work for me when im using Rules and User Agreement
but when i had disabled Rules and User Agreement Product vBPager Works fine! i had this problem with some another hacks such as Profile Commenting System by Danny.VBT
i'm not coder but it seems problem is in parse_template hook location

Watson 01-28-2006 01:59 PM

Still cant get my options to show in usergroups, shows buttons but not the Text

jarcher 01-28-2006 04:45 PM

Quote:

Originally Posted by jarcher
I have gone thru the thread many times
I am lost
I have run thru the templates
checked the server
and still, when I try to page user. .nothing happens
using FF tried in IE
IE say's there is an error on page(at the bottom)
stumped



now I see that the pager link in the quicklink drop down.. opens a small window of my home page
christ!!
the hack is friggin brilliant,what the am I doin wrong here. . .
runnin 3.5.3 board
disabled many combinations of hacks. .

99SIVTEC 01-29-2006 12:01 AM

anyone using this on a large site?


All times are GMT. The time now is 02:30 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.02272 seconds
  • Memory Usage 1,846KB
  • 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
  • (13)bbcode_code_printable
  • (13)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
  • (40)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