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)
-   -   vB Pager 2.0.4 (https://vborg.vbsupport.ru/showthread.php?t=66744)

rhymeline 04-01-2005 09:28 PM

didnt work on my board but it sure did ++++ my board up.

T3MEDIA 04-02-2005 02:37 PM

Quote:

Originally Posted by uae
Run the hack Uninstaller, then Reinstall it :sleep:

may I ask what is causing the errors? I would love to install this hack just need to make sure all is good.

osariase 04-06-2005 06:22 PM

Unfortunately it is buggy. Is there anything been done to make it at least 99% bug free let us know thanks

dcarr 04-06-2005 06:47 PM

I started geting the guest 1969 thing today...after a month of error free paging...any thoughts?

defi 04-08-2005 07:41 PM

Yesterday, my board began generating the following alert to my account only, (Userid: 1 and Super Administrator)
Quote:

Alert message from Guest @ 12-31-1969 07:00 PM
It's a blank message... And where the hell does it get 1969 from?

Marco van Herwaarden 04-08-2005 08:11 PM

12-31-1969 is 1 day before start os a unix timestamp (ie timestamp = -1).

defi 04-11-2005 06:14 PM

Quote:

Originally Posted by MarcoH64
12-31-1969 is 1 day before start os a unix timestamp (ie timestamp = -1).

Well that clears up one question :p thanks;

But it'd still be nice to know how to fix this.

Marco van Herwaarden 04-11-2005 09:09 PM

Sorry not using this hack, so can't help you with it.

wirewolf 04-12-2005 02:12 PM

One minor bug, if you want to call it that. But a easy fix. I had a friend go to my forum as a guest. I wanted to try out Paging to a guest to see how it works. In playing around, he kept entering text in the reply box with out any carriage returns. When I went to see his reply, the reply pop up ran off the screen to the right as where I coundn't see or get to the 'Close' button. Not that this is likely to happen offen, or at all, but a problem as you can't close the pop up. I just went and edited the vbpager_popup template, and in the thead tag and the one td tag, aligned them to the left. See attachment (this is after the fix).
HTML Code:

<td class="thead" align="left" height="13">$vbphrase[vbpager_message_from] <i>$pagerinfo[username]</i><font class="smallfont">
@ $pagerinfo[timesent]</font>
</td>

, and
HTML Code:

<form method="POST" action="$vboptions[bburl]/pager.php" name="frmpager" target="ipager" onsubmit="return SubmitForm();">
  <tr><td align="left" width="100%">
<if condition="$pagerinfo[canreply]">

BTW, I have V 3.0.7 and this mod works fine. I've been testing with some of my members, using different browsers, and they report no problems.

One other minor langauge error. In the pager.php file these two lines refer to the phrase - 'vbpager_nat', (N/A):
line 122:
PHP Code:

if (!($pagerinfo['username']))
              
$pagerinfo['username'] = $vbphrase['guest'];
            if (
$pagerinfo['hidden'])
              
$pagerinfo['username'] = $vbphrase['vbpager_nat']; 

and line 202:
PHP Code:

if ($pagerinfo['parentpid'])
                if (
$DB_site->query_first("select * from " .  TABLE_PREFIX "pager where pagerid="$pagerinfo['parentpid'] ." and hidden=1"))
              
$pagerinfo['username'] = $vbphrase['vbpager_nat'];
                if (
$pagerinfo['deliverdate']) 

However there was no phrase 'vbpager_nat' in the phrase table. The actual phrase is ''vbpager_na' in the phrase database table. I just changed the pager.php for both to ''vbpager_na", and it fixed the error.

John

uae 04-14-2005 03:42 AM

Quote:

Originally Posted by wirewolf
One minor bug, if you want to ....

John

wirewolf, Thanks :)

Zip file has been updated.

OrangeFlea 04-14-2005 07:37 PM

Can we see a demo site of this thing being used? Possibly a test/test account for us to try it out?

aranthorn 04-15-2005 02:08 AM

no word on the infamous "1969" messages?

aranthorn 04-15-2005 02:26 AM

Ahh... I see what's causing the "1969" issue. In the user table-pager field, somehow this is getting set to a value of -1. I had 2 users with the problem, setting this back to 0 resolved it. I'm an SQL hack, so I have no idea how to keep this from happening. Anyone have a thought?

Allan 04-15-2005 03:41 PM

i'm a white page under IE :(

got1-2 04-16-2005 09:54 PM

Thanks, managed to get it working on my third attempt, great now it sorted!!!

OrangeFlea 04-16-2005 11:33 PM

Can any of you who have it working on your boards provide a link to your forums, so I can test it out?

T3MEDIA 04-17-2005 01:17 PM

Quote:

Originally Posted by aranthorn
Ahh... I see what's causing the "1969" issue. In the user table-pager field, somehow this is getting set to a value of -1. I had 2 users with the problem, setting this back to 0 resolved it. I'm an SQL hack, so I have no idea how to keep this from happening. Anyone have a thought?

Is thre a fix for this as of yet?

T_Montana 04-17-2005 04:04 PM

how do you make it so everyone can use this feature?Like it says to enter userid in the box for people you want to use it but i want it for everyone.Enter 0?

T_Montana 04-17-2005 08:46 PM

is it just me or is this slow.......i've pmed about 4 people.......only 2 have got it.One was fast and one didn't get it until about 15 minutes after i sent

T3MEDIA 04-17-2005 11:25 PM

Quote:

Originally Posted by T_Montana
is it just me or is this slow.......i've pmed about 4 people.......only 2 have got it.One was fast and one didn't get it until about 15 minutes after i sent

use the sms pager

T_Montana 04-18-2005 01:10 AM

Quote:

Originally Posted by T3MEDIA
use the sms pager

didn't even see that......what's pros/cons of sms pager?Does it look nice (screens are too small) because i like they ay this one looks if it would preform good (the icons look sharp)

Ski-Whiz 05-03-2005 12:33 PM

I had to disable this as I was getting the IE crash.. It was the same DLL that was listed here.

Bad thing is, some users didn't know how to get past the error, as they would lose their IE as soon as they hit the forum.

Fusion.nl 05-09-2005 11:49 PM

Nice hack. We've been using it for the admins to quickly communicate with each other when no messanger program is available. Just one thing bothers me from a webdesigner's point of view.

It looks fugly in Mozilla Firefox (no round corners, no scroll bar from the get go) compared to Internet Explorer (normally its the other way around :paranoid: ). Is there a proper stylesheet for this or a fix that it looks the same in Firefox (or a bit more decent), cause its very annoying.

http://img25.echo.cx/img25/2183/vbpager0va.jpg

If it is not possible to get it to be the same, could someone please hardcode the source so that at least the borders of the input field are white, in stead of just the bottom left corner? I can do it in CSS, but that would change all tables that make use of this style.

Many thanks on beforehand. :up:

Code:

<style type="text/css">
        #PLAYER { position:absolute; height:1; width:1px; top:0; left:0; }
        </style>
<script type="text/javascript">
chanceAd=1; // The chance in X times that this signup reminder will be shown

var ns=(document.layers);
var ie=(document.all);
var w3=(document.getElementById && !ie);
var calunit=ns? "" : "px"

function initAd(){
        if(!ns && !ie && !w3) return;
        if(ie)                adDiv=eval('document.all.PLAYER.style');
        else if(ns)        adDiv=eval('document.layers["PLAYER"]');
        else if(w3)        adDiv=eval('document.getElementById("PLAYER").style');
        randAd=Math.ceil(Math.random()*chanceAd);
        if (ie||w3)
        adDiv.visibility="visible";
        else
        adDiv.visibility ="show";
        if(randAd==1) showAd();
}
function showAd(){
        if (ie)
        {
                documentWidth  =truebody().offsetWidth/2+truebody().scrollLeft-20;
                documentHeight =truebody().offsetHeight/2+truebody().scrollTop-20;
        }       
        else if (ns)
        {
                documentWidth=window.innerWidth/2+window.pageXOffset-20;
                documentHeight=window.innerHeight/2+window.pageYOffset-20;
        }
        else if (w3)
        {
                documentWidth=self.innerWidth/2+window.pageXOffset-20;
                documentHeight=self.innerHeight/2+window.pageYOffset-20;
        }
       
        adDiv.left=documentWidth-200+calunit;
        adDiv.top =documentHeight-100+calunit;
        setTimeout("showAd()",100);
}



function truebody(){
return (document.compatMode && document.compatMode!="BackCompat")? document.documentElement : document.body
}

onload=initAd;
</script>

<DIV ID="PLAYER" style="visibility:hidden">
<div class="normalfont">
<iframe name="ipager" width="0" height="0"></iframe>
<table class="tborder" align="$stylevar[center]" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" width="400">
<tr>
        <td class="tcat" align="$stylevar[left]" height="13">$vbphrase[vbpager_message_from] <i>$pagerinfo[username]</i><font class="smallfont">
@ $pagerinfo[timesent]</font>
</td>
</tr>
<tr>
        <td class="panelsurround" align="center" valign="top">
                        <fieldset class="fieldset">
                                <legend>$vbphrase[vbpager]</legend>
                                <table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0" align="center">
  <tr><td>
                <table border="0" cellpadding="2" cellspacing="0" width="100%" align="center">
                        <tr><td>
<table id="frm" border="0" cellpadding="0" cellspacing="0" width="400">
<tr><td width="100%">
<table cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%">
<tr>
        <td class="panelsurround" align="$stylevar[left]">
        <div class="panel"><div align="$stylevar[left]">
                $pagerinfo[message]
</div></div>
        </td>
</tr>
</table>
  </td></tr>
<form method="POST" action="$vboptions[bburl]/pager.php" name="frmpager" target="ipager" onsubmit="return SubmitForm();">
  <tr><td align="$stylevar[left]" width="100%">
<if condition="$pagerinfo[canreply]">
<input type="hidden" name="action" value="pager">
<input type="hidden" name="do" value="pagerreply">
<input type="hidden" name="do1" value="pagerreply">
<input type="hidden" name="pid" value="$pagerinfo[pagerid]">
<input type="hidden" name="pid1" value="$pagerinfo[pagerid]">
<input type="hidden" name="touid" value="$pagerinfo[fromuserid]">
<input type="hidden" name="touid1" value="$pagerinfo[fromuserid]">
<textarea class="button" rows="3" name="message" cols="40" onKeyDown="textCounter(this);" onKeyUp="textCounter(this);"></textarea><br>
<input type="text" class="button" readonly name="charNum" size=2 value="$vboptions[vbpager_message_maxchar]">
<input type="submit" name="submit" class="button" value="$vbphrase[vbpager_reply_to] $pagerinfo[username]">
</if>

<input type="button" class="button" onClick="javascript:window.parent.ipager.location.href='$vboptions[bburl]/pager.php?action=pager&do=pagerreply&pid=$pagerinfo[pagerid]&touid=$pagerinfo[fromuserid]';closepager('PLAYER');" value="$vbphrase[vbpager_close]"> &nbsp;
  </td></tr>
  </form>
</table>
                        </td></tr>
                  </table>
  </td></tr>
  </table>
            </fieldset>
            </td></tr>
</table>
</div>
</DIV>

<script type="text/javascript">

function closepager(id){
if (ie||w3)
adDiv.display="none";
else
adDiv.visibility ="hide";
}

function SubmitForm()
 {
minchar = 3;
  if (document.frmpager.message.value.length < minchar)
  {
    alert("$vbphrase[vbpager_max_per_message] " + minchar + "");
    return false;
  }
  else
    closepager('PLAYER');
    return true;
 }

function textCounter(field) {
maxlimit=$vboptions[vbpager_message_maxchar] ;
  if (field.value.length > maxlimit)
      {field.value = field.value.substring(0, maxlimit);}
      else
      {document.frmpager.charNum.value = maxlimit - field.value.length;}
  }
</script>


iceytdot 05-11-2005 11:04 PM

i installed this hack but never got it to work proper.. wished it did.. but oh well!
anyways i ran the un-installer and now i'm getting a database error:

Database error in vBulletin 3.0.7:

Invalid SQL: select p.tosessionid from pager as p left join session as s on (s.sessionhash = p.tosessionid) where p.active=1 and p.tosessionid='379c7504c2770cf5cb8613477249b73a'
mysql error: Table 'hoodlege_vb3.pager' doesn't exist

mysql error number: 1146

how do i fix this so i can get my forums back lol? plz anyone!!!

Marco van Herwaarden 05-12-2005 08:33 AM

You didn't remove a modification to one of your php-files.

Since the table is deleted by teh uninstaller, this will give an error.

Make sure you undo all changes made during installation.

iceytdot 05-12-2005 06:04 PM

thanks marco! i dont know how i managed to miss only that edit! lol gotta stop doin hacks at 3am

Cyricx 05-13-2005 07:52 PM

Hands down AWESOME HACK!! :)

I did the chmod to 755 and it's working like a charm :)

dsboyce8624 05-13-2005 08:35 PM

This hack is resulting in template vbpager_new being uncached for me.

Is this default or did I hose it up?

Either way, how can i fix it?

Thanks

FIX:

https://vborg.vbsupport.ru/showthrea...272#post654272

predatorkill 05-16-2005 10:16 PM

i ve done everything 100% correct,i use a style that have been recently released in vbulletin.com,i use vb 3.0.7.

i ve setted correctly the options in forum ACP but i cant see the pager working...what am i doing wrong?

EDIT: ok,it works now,but i dont see an icon next to the users names,i see "send a pager message to user xxxxx"

i ve uploaded the image into /forum/images/buttons but the image dont show next to the user names.the pager works perfect,only this little problem.Imagine 100 persons inside the forum,and after their names shows "send blabla" it makes 20 lines!!!
how can i solve this issue?
EDIT2: problem solved,i had to put the image on my custom skin images folder!!

great hack <<installed>>

predatorkill 05-17-2005 09:08 PM

When i send a message(by clicking the white icon) to someone,from inside the "who is online" page,when this guy responds to my message,i cant see his respond if i am in a different page,for example "forum home".When i get back after 5minutes to the "who is online" the responder's message shows up and says "predatorkill 5minutes before".i hope i made my self clear and u can understand!

why this is happening?

Thanks

poetic 05-20-2005 01:19 AM

for some reason it is kicking my members off of my site.

it did it to me a few times. it would close the browser with an error message.

why does it do that?

boo.3 05-20-2005 01:34 AM

heres some idvice for FireFox Users

GO BACK TO IE :D

ty

CosmicBlend 05-20-2005 01:39 AM

This program seems to kill any IE user that tries to use it..

poetic 05-20-2005 06:44 PM

its closing it for IE users too. what is the problem

nnjj.net 05-22-2005 06:53 AM

is it wotking for 3.7?

Fusion.nl 05-22-2005 02:31 PM

We are on 3.0.7 and it works fine here. Only thing I'd like to fix is the crappy Firefox look, but as it seems no one is replying to that problem. :ermm:

nnjj.net 05-23-2005 11:04 AM

its not, I installed it but nothing appear!!!

Fusion.nl 05-23-2005 11:20 AM

Then you did something wrong. :ermm:

Trying the obvious. Have you actually turned it on after you installed it? And selected which users/usergroups are allowed to use it?

MauriceReed 05-23-2005 12:15 PM

Quote:

Originally Posted by poetic
its closing it for IE users too. what is the problem

just dont hold your breath...ive been asking right thru this thread about this problem, without a reply as yet.
seems that as the coder hasnt had this problem, then it dont exist....quality support....pppffttt

nnjj.net 05-24-2005 08:44 AM

I will try to redo it

Fusion.nl, can I see a test that you did?


All times are GMT. The time now is 09:13 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.01697 seconds
  • Memory Usage 1,856KB
  • 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_code_printable
  • (2)bbcode_html_printable
  • (2)bbcode_php_printable
  • (8)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (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