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)

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


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