The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
![]() |
|||||||||||||||||||||||||
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
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:
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 vB Pager is free, and will remain free. Show Your Support
|
Comments |
#132
|
||||
|
||||
![]()
I did not see no errors!!!
I used IE! |
#133
|
|||
|
|||
![]() Quote:
http://www.xxx-forums.net/forums/index.php? username: guest1 password: guest1 |
#134
|
||||
|
||||
![]()
laborer, Working just fine with me!
|
#135
|
|||
|
|||
![]()
Odd.......wont work for me and now I get this error when trying to goto my forums.....
Database error in vBulletin 3.0.3: Invalid SQL: SELECTp.pagerid, p.parentpid, p.fromuserid, p.touserid, u.username,p.message, p.msgdate, p.canreply, p.hidden FROM pager as p left join user as u on(u.userid=p.fromuserid) WHERE p.delsent=0 and p.active=1 andp.touserid=1 order by msgdate mysql error: You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near 'SELECTp.pagerid, p.parentpid, p.fromuserid, p.touserid, u.usern mysql error number: 1064 Date: Friday 28th of January 2005 03:22:27 PM Script: http://www.xxx-forums.net/forums/ Referer: Username: BuckSteel Man, this has got me pulling my hair out. LOL. All I wanna do is page people. LMAO.... Why am I getting that error now? Thanx in advance..... ![]() Weird thing is, it wont let me in, my mods can get in. LOL |
#136
|
||||
|
||||
![]() Quote:
DO the changes again for functions.php Here it is again, FIND AT THE END: Code:
?> ABOVE that ADD: Code:
// [START HACK='vB Pager' AUTHOR='WwW.UAEWEB.COM' VERSION='2.0.4' CHANGEID= 7 ] function can_pager($type=0, $usrid=0) { global $vboptions, $bbuserinfo; if ($usrid==0) $usrid = $bbuserinfo[userid]; if ($usrid==0) return false; if ($vboptions[vbpager_on_off]=="0") return false; $gid_m = $vboptions[vbpager_usergroup_member]; $gid_g = $vboptions[vbpager_usergroup_guest]; $uid_m = $vboptions[vbpager_userid_member]; $uid_g = $vboptions[vbpager_userid_guest]; if (!($gid_m)) $gid_m = "-1"; if (!($gid_g)) $gid_g = "-1"; if (!($uid_m)) $uid_m = "-1"; if (!($uid_g)) $uid_g = "-1"; $uids = explode(',', str_replace(' ', '', $uid_g)); foreach($uids AS $ids) if ($usrid==$ids) { $vboptions[vbpager_canpager] = 1; return true; } if ($type==0) { $uids = explode(',', str_replace(' ', '', $uid_m)); foreach($uids AS $ids) if ($usrid==$ids) { $vboptions[vbpager_canpager] = 1; return true; } } $uids = explode(',', str_replace(' ', '', $gid_g)); foreach($uids AS $ids) if ($bbuserinfo[usergroupid]==$ids) { $vboptions[vbpager_canpager] = 1; return true; } $mids = explode(',', str_replace(' ', '', $bbuserinfo[membergroupids])); foreach($uids AS $id) { foreach($mids AS $ids) if ($id==$ids) { $vboptions[vbpager_canpager] = 1; return true; } } if ($type==0) { $uids = explode(',', str_replace(' ', '', $gid_m)); foreach($uids AS $ids) if ($bbuserinfo[usergroupid]==$ids) { $vboptions[vbpager_canpager] = 1; return true; } $mids = explode(',', str_replace(' ', '', $bbuserinfo[membergroupids])); foreach($uids AS $id) { foreach($mids AS $ids) if ($id==$ids) { $vboptions[vbpager_canpager] = 1; return true; } } } $vboptions[vbpager_canpager] = 0; return false; } function show_pager() { global $vboptions, $vbphrase, $bbuserinfo, $DB_site; if ($bbuserinfo[userid]!=0) { $pagerinfo = $DB_site->query_first("SELECT p.pagerid, p.parentpid, p.fromuserid, p.touserid, u.username, p.message, p.msgdate, p.canreply, p.hidden FROM " . TABLE_PREFIX . "pager as p left join " . TABLE_PREFIX . "user as u on (u.userid=p.fromuserid) WHERE p.delsent=0 and p.active=1 and p.touserid=". $bbuserinfo['userid'] ." order by msgdate"); $pagerinfo[timesent] = vbdate($vboptions['dateformat'], $pagerinfo[msgdate], true) . " " . vbdate($vboptions['timeformat'], $pagerinfo[msgdate]); if (!($pagerinfo)) { $show[pager] = ""; $show[pagererror] = 1; $nopager = 1; } else { if ($pagerinfo[hidden]) $pagerinfo[username] = $vbphrase['vbpager_na']; elseif($pagerinfo[username]=="") $pagerinfo[username] = $vbphrase['guest']; } } elseif ( ($bbuserinfo[userid]==0) and ($vboptions[sessionid]!="") ) { $userexist = $DB_site->query_first("SELECT sessionhash from " . TABLE_PREFIX . "session where sessionhash='" . $vboptions[sessionid] . "'"); if ($userexist) $pagerinfo = $DB_site->query_first("SELECT p.pagerid, p.parentpid, p.fromuserid, p.touserid, u.username, p.message, p.msgdate, p.hidden, p.canreply FROM " . TABLE_PREFIX . "pager as p left join " . TABLE_PREFIX . "user as u on (u.userid=p.fromuserid) WHERE p.active=1 and delsent=0 and p.tosessionid='". $vboptions[sessionid] ."' order by msgdate"); if(!($pagerinfo)) { $show[pager] = ""; $show[pagererror] = 1; $nopager = 1; } else { $pagerinfo[timesent] = vbdate($vboptions['dateformat'], $pagerinfo[msgdate], true) . " " . vbdate($vboptions['timeformat'], $pagerinfo[msgdate]); if ($pagerinfo[hidden]) $pagerinfo[username] = $vbphrase['vbpager_na']; elseif($pagerinfo[username]=="") $pagerinfo[username] = $vbphrase['guest']; } } if (!$pagerinfo[pagerid]) if ($bbuserinfo[pager] > 0) { $result = $DB_site->query("UPDATE ". TABLE_PREFIX . "user set pager=pager - 1 where userid = " . $bbuserinfo[userid] . ""); return false; } return $pagerinfo; } // [END HACK='vB Pager' AUTHOR='WwW.UAEWEB.COM' VERSION='2.0.4' CHANGEID= 7 ] |
#137
|
|||
|
|||
![]()
Seems to be working now. You are the man. I looked over that code so many times and you caught it right away. Thanx a million bro. I really appreciate it!!!
|
#138
|
||||
|
||||
![]()
No, still get problems with people not being able to close the box, even with this new functions.php. For some strange reason, now, it's just intermittent. Again, it ONLY occurs when you send someone a message WITHOUT the reply option checked. Let me play with this for a day or so, and get back to you. It seems better, but, still the occasional problem. Maybe some things have to "clear" out of the database?
I've got it running on http://x.russbo.com/vb/index.php I invite you to come play with it. |
#139
|
|||
|
|||
![]()
I'm guessing no one knows the solution to my issue.. .because no one has helped me..
|
#140
|
||||
|
||||
![]() Quote:
|
#141
|
|||
|
|||
![]() Quote:
i have added the function code and its still crashign out. |
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|