Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.0 > vBulletin 3.0 Beta Releases

Closed Thread
 
Thread Tools
vB Pager 2.0.4 Details »»
vB Pager 2.0.4
Version: 2.0.4, by uae uae is offline
Developer Last Online: Nov 2023 Show Printable Version Email this Page

Version: 3.0.6 Rating:
Released: 12-12-2004 Last Update: 01-29-2005 Installs: 21
DB Changes
Is in Beta Stage  
No support by the author.

vB Pager
Version: 2.0.4
vB-version: 3.0.6
Developer: WwW.UAEWEB.CoM
Install-difficulty: Easy


This Hack has been moved to Full Releases Forums.

https://vborg.vbsupport.ru/showthread.php?t=66744


Updates in Version 2.0.4
  • DHTML popup for Sending New Pager and Replying.
  • Upgrade from version 2.0.0 and 2.0.2 to 2.0.4 inlcuded.
  • New option in ADMINCP for Hard deleting messages.
Introduction:
vB pager is a new refined & light paging system that enables authorized users to exchange short & quick messages amongst each other. Unlike the regular private messaging system, the paged user is guaranteed to read your message & reply to it (if you choose this option) instantly & easily.

Features:
  • You won't need to log on your CP to send a message, just click on the pager icon next to the name of the user you'd like to page! (See Screenshots)
  • Switch the paging system on or off anytime you wish!
  • Specify who gets to use the paging system by Usergroup, or even User IDs to send messages to your forum members.
  • vB Pager users can send pager messages to members of the forum and/or non-registered guests from the WhoisOnline's page.
  • Optional Anonymity: you can choose to hide your username when paging another user on the forum, & define which Usergroup or User IDs can utilize this option.
  • Restrict the number of characters in each message: you can restrict the use of this paging system to short messages only by simply typing in the maximum number of characters that can be used. The window comes in with a built-in character counter to enable the user to keep track of the characters typed.
  • Logs of all incoming and outgoing pager messages member has, can be viewed and deleted.
  • Logs of all incoming and outgoing pager messages (Deleted and Unread messages) for all members can be viewed and deleted through the Admin CP.
HACK INSTALLATION DETAILS:

File-edits: 8
Template-edits: 9
New files for this Hack: 3
admincp/pageradmin.php
images/buttons/vbpager.gif
pager.php
Files modified for this Hack: 5
admincp/index.php
include/functions.php
includes/functinons_online.php
global.php
online.php
New templates for this Hack: 4
vbpager
vbpager_listbit
vbpager_popup (v 2.0.2)
vbpager_new (v 2.0.4)
Templates modified for this Hack: 7
footer
MEMBERINFO (Optional)
navbar
forumhome_loggedinuser
postbit_legacy (Optional)
postbit (Optional)
whosonlinebit
New DB tables for this Hack: 1
pager
DB Tables modified for this Hack: 1
user

PLEASE CLICK INSTALL
Please click if you install this hack, thanks.

vB Pager is free, and will remain free.

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #52  
Old 12-23-2004, 12:41 AM
boo.3 boo.3 is offline
 
Join Date: Nov 2004
Posts: 232
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

awsome
  #53  
Old 12-23-2004, 12:48 AM
docvader's Avatar
docvader docvader is offline
 
Join Date: Dec 2002
Posts: 520
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

OK, we found two issues.

ONE: If you send a pager message to someone, and you leave the "send reply" box unchecked, the pager message that the recipient gets cannot be closed.

If you send a pager message to someone, with the pager message box checked, the recipient has the option to respond, but, he cannot close the pager box unless he either types in the box, or space bars three times in the box.

This inability to get rid of the pager box under these circumstances is an annoyance to some, not to others.

Also, it would be nice to have scroll bars in the pager box (easy to add some sort of autoscroll feature), as some of my members cannot see the bottom of the pager message within the pop up box, and prefer to have scroll bars so that they can see you can scroll down to "more stuff".

TWO: We can no longer see member profiles. Clicking on "View Public Profile" in the drop box under the member's name (in postbit) leads to a blank white page. Not sure what happened there! LOL. You cannot access member info from the postbit or from the member list.

Quote:
rich, can you please try uninstalling the hack, and reinstall it, no need to go with all steps, just do the database altering step, then reinstall it.
Now, I did not do the file or template edits, as you suggested, assuming nothing had been changed within those. Not sure if you changed anything in there to fix these problems in the past day or two.

Otherwise, I agree. This is awesome. HOTM material. Let's help Uae get it buffed up.

rich
http://x.russbo.com
  #54  
Old 12-23-2004, 02:55 AM
TwinsX2Dad TwinsX2Dad is offline
 
Join Date: Oct 2004
Posts: 72
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Okay gang - now the installer works for me. Thank you for the fix!

Going through the file edits now.
  #55  
Old 12-23-2004, 03:53 AM
uae's Avatar
uae uae is offline
 
Join Date: Jul 2002
Location: Irvine, California
Posts: 312
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks rich, I'm glad that you've got it to work....

Quote:
Originally Posted by docvader
OK, we found two issues.

ONE: If you send a pager message to someone, and you leave the "send reply" box unchecked, the pager message that the recipient gets cannot be closed.
Do you mean that they can not see the close button? or they see it but when clicking on it nothing happes?

Quote:
Originally Posted by docvader
If you send a pager message to someone, with the pager message box checked, the recipient has the option to respond, but, he cannot close the pager box unless he either types in the box, or space bars three times in the box.
Same thing, can they see the close button?

Quote:
Originally Posted by docvader
Also, it would be nice to have scroll bars in the pager box (easy to add some sort of autoscroll feature), as some of my members cannot see the bottom of the pager message within the pop up box, and prefer to have scroll bars so that they can see you can scroll down to "more stuff".
I'm working on this part.

Quote:
Originally Posted by docvader
TWO: We can no longer see member profiles. Clicking on "View Public Profile" in the drop box under the member's name (in postbit) leads to a blank white page. Not sure what happened there! LOL. You cannot access member info from the postbit or from the member list.
There shouldn't be any problem with this, cos we haven't touched either files.

can you REcheck the template edit made to MEMBERINFO Template?

Where you find:

Code:
	<if condition="$userinfo['pm']">
	<tr>
	 <td>
	 $vbphrase[private_message]:<br />
	 <a href="private.php?$session[sessionurl]do=newpm&u=$userinfo[userid]"><phrase 1="$userinfo[username]">$vbphrase[send_private_message_to_x]</phrase></a>
	 </td>
	</tr>
	</if>
Add BELOW that ADD:

Code:
<!-- [START HACK='vB Pager' AUTHOR='WwW.UAEWEB.COM' VERSION='2.0.2' CHANGEID= 3 ] -->
<if condition="$bbuserinfo[canpager]">
<if condition="$bbuserinfo[userid]!=$userinfo[userid]">
	<tr>
	 <td>
	 $vbphrase[vbpager_message]:<br />
	 <a href="#" onClick='window.open("$vboptions[bburl]/pager.php?action=pager&do=newpager&touserid=$userinfo[userid]","pager","width=330,height=177");return false;'><phrase 1="$userinfo[username]">$vbphrase[vbpager_send_pager_to] $userinfo[username]</phrase> </a>
	 </td>
	</tr>
	</if>
	</if>
<!-- [END HACK='vB Pager' AUTHOR='WwW.UAEWEB.COM' VERSION='2.0.2' CHANGEID= 3 ] -->

Quote:
Originally Posted by docvader
Now, I did not do the file or template edits, as you suggested, assuming nothing had been changed within those. Not sure if you changed anything in there to fix these problems in the past day or two.
Exactly, there were no changes made to the file nor the template edits.

Quote:
Originally Posted by docvader
Otherwise, I agree. This is awesome. HOTM material. Let's help Uae get it buffed up.
True
  #56  
Old 12-23-2004, 04:36 AM
docvader's Avatar
docvader docvader is offline
 
Join Date: Dec 2002
Posts: 520
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It seems to occur, if A sends a pager message to B, without checking the "reply" box, that is, B gets a pop up window, WITHOUT the usual Internet Explorer frame (latest version) around it (so you can't click on the red X box and close the window); this window has a "close" button in it which does not work.

IF you sent B a message without the reply box option, B gets this pop up window that remains in the center of his screen. If B clears his temporary internet files, closes IE, shuts down his computer, and restarts it, once B returns to my website, that pop up box (without IE frame, with "close" button) pops up again. As if the server is sending it yet again, because it did not get a response, in my opinion.

Again, if A sends B a pager message, with the reply option checked, B has to respond within the pop up box, to be able to send, and close that box. Or, B has to put cursor in respond area of pager pop up box, hit space bar a few times, and then either send or close pager box. B should have option to close box without responding.

Autoscroll in pager box should be easy; however, I personally have not had problems with pop up box appearance (I did with Netscape Navigator, latest version).

As for my member profiles, I'm lost, LOL. I did the file edits exactly. I reverted memberinfo back to original, without getting it to work. I reverted member.php back to original, without getting it to work. Could this be a database error? Did the new install do something to warp the database in some way that member profile stuff no longer works? (It worked yesterday, so I don't think it's my file edits.

Thanks
rich
  #57  
Old 12-23-2004, 05:45 AM
ethank's Avatar
ethank ethank is offline
 
Join Date: Oct 2001
Location: Toluca Lake, CA
Posts: 196
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I installed but had to turn it off.

Pages kept popping up even after a user already read them and clicked "close"

After a user responded and sent the response, a new window would pop up with the site in it.

Any idea what would cause these problems?
  #58  
Old 12-23-2004, 01:13 PM
TwinsX2Dad TwinsX2Dad is offline
 
Join Date: Oct 2004
Posts: 72
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Okay - got all installed & checked the edits twice. But when I try to page someone, I get no options, buttons, nothing to send the page. I get the text entry box and hitting Enter/Return simply calls up a new line.

Pager popup box attached.
  #59  
Old 12-23-2004, 02:46 PM
docvader's Avatar
docvader docvader is offline
 
Join Date: Dec 2002
Posts: 520
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

dad, did you make sure that your new vbpager templates have been copied to all of the styles that you are using? The new templates, more specifically, vbpager_popup, I think, has the buttons. There are three new templates, each having a "vbpager" moniker attached within them.
  #60  
Old 12-23-2004, 05:05 PM
TwinsX2Dad TwinsX2Dad is offline
 
Join Date: Oct 2004
Posts: 72
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

On this particular board, I am running only one style - no different ones, so I have but one set of templates.

The original file came with just a single image - I placed it in /images/buttons/ - but nothing shows up.

Here is my vbpager_popup template:

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-200+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">
<!-- Pager Message -->
<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" 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>
		<table border="0" cellpadding="2" cellspacing="0" width="100%" align="center">
			<tr>
<table id="frm" border="0" cellpadding="0" cellspacing="0" width="100%">
<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(this);">
  <tr><td align="center" width="100%">
<if condition="$pagerinfo[canreply]">
<input type="hidden" name="action" value="pager">
<input type="hidden" name="do" value="pagerreply">
<input type="hidden" name="pid" value="$pagerinfo[pagerid]">
<input type="hidden" name="touid" value="$pagerinfo[fromuserid]">
<textarea class="button" rows="3" name="message" cols="40" onKeyDown="textCounter(this);" onKeyUp="textCounter(this);"></textarea><br>
<input type=box 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]">
<else />
</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;

<if condition="$pagerinfo[parentpid]<>'0' and $pagerinfo[fromuserid]>0">
<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");window.open("$vboptions[bburl]/pager.php?action=pager&do=newpager&pid=$pagerinfo[pagerid]&touserid=$pagerinfo[fromuserid]","pager","width=330,height=170");' value="$vbphrase[vbpager_reply]"> &nbsp;

 </if>
</form>
<br>
<if condition="$canreply">
<a href="#" onClick="javascript:location.href='$vboptions[bburl]/pager.php?touserid=$pagerinfo[fromuserid]';">$vbphrase[vbpager_reply_to]: $pagerinfo[username]</a>
  
  </td></tr>
</table>
            </fieldset></td></tr>
		  </table>
  </td></tr>
  </table>

  </center>
</div>
</table>
</if>

<!-- Pager Message -->
</div>
</DIV>
<script type="text/javascript">

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

function SubmitForm(obj)
 {
minchar = 3;

  if (obj.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
      {frmpager.charNum.value = maxlimit - field.value.length;}
  }
</script>
I don't know where to look. I've been pulling my hair out looking.
  #61  
Old 12-23-2004, 05:25 PM
TwinsX2Dad TwinsX2Dad is offline
 
Join Date: Oct 2004
Posts: 72
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Now I am wondering if the popup window might be too small. How would I increase the height?
Closed Thread

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 10:31 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.09503 seconds
  • Memory Usage 2,335KB
  • Queries Executed 25 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (3)bbcode_code
  • (7)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete