The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
![]() |
||||||||||||||||||||||||||
I won't be upgrading this to 3.6 anytime soon, but I'll try to give as much support as I can to 3.5.4 users
![]() ~~~Note!!!! Recently (July 07) the vbPagerHack has been declared vulnerable to some kind of attack. I therefore am closing this mod too. As far as I know, my hack is harmless and has no vulnerability but it is pretty useless without the rest of vbPager so I'm closing it. It will no longer be supported, although if you need some help uninstalling my mod I will be glad to help This plugin works in conjunction with the vbPager Hack. Which does add to your database. So, as with all hacks, be sure TO BACK UR DATABASES UP before installing vbPager!!!! And backup them again before adding this hack just to keep this healthy habit going ![]() My forums have Role Play areas and RPG Inferno, and during battles and RPG posting we like to talk to each other when we are online. My problem is that I have some forum users that connect from school, college or work and aren't allowed to use MSN. I had installed Shoutbox to allow those members to talk to others. But a shoutbox full of "bwahaha, I pwned you!" or "f**! you killed my player!" and other friendly banter exchanged during battles was getting.. tacky. vbPager was a godsend because now members can chat in private. To make it even better I tried to make it more like the MSN (or other IM) we all are used to. To make it resemble MSN, I added a continuous "Pager Log" to the "Pager Buddies" and the "newpager" screens, which lists your and your friends page to you in like an inbox or in MSN like order respectively. Known bugs: 1) The log does not mark messages as read, i.e. you will get the popup page even if you read it before on the log. 2) The log mixes ALL your conversations so if you are chatting with 2 people both chats will be in the log (But version 1 lets you see which message # the sender was replying to) I'm Working on: [s] Customizable pager avatars[/s] Meh, too hard ![]() Fixing bug 2 You guys are welcome to add on to it or develop it further. Fixed Bugs: Improved performance Previous version showed deleted posts :ermm: Used to display name of hidden users on page history Added a useless new user profile field, which made install difficult ================================================== ====== To get this pager log all you need is 2 plugins (conveniently packed in the XML file attached), 2 template changes and 1 new template. No need for step 5 anymore!!! ![]() Steps: 1) Download and install the pagerlogv12.xml plugin 2) Modify the pager_newpager template: Replace the entire template with the code on the pager_newpager11.txt file 3) Add a new template pagerlogbit with the code below as content: Code:
<if condition="$vboptions['vbpager_active'] AND $bbuserinfo['userid']"> $pagerinfo[receiptid] <if condition="$pagerinfo['readtime']==0">*<else /> </if> <a href="#" onclick="window.open('pager.php?do=buddylist&puserid=$pagerinfo[fromuserid]','pagerbuddylist','statusbar=no,menubar=no,toolbar=no,scrollbars=yes,resizable=yes,width=$vboptions[vbpager_width],height=$vboptions[vbpager_height]'); return false;"><if condition="$pagerinfo['username']<>$vbphrase['n_a']">$pagerinfo[fromusername]<else />***</if></a> - $pagerinfo[msgdate]: $pagerinfo[message]<br /> </if> Find Quote:
Code:
</if> </if> <h2>Pager log</h2> (* = Unread, *** = hidden user) <div class="alt1">$pagerlogD</div> </if> <!-- Do not remove this vB Pager copyright notice --> <div align="center"> <div class="smallfont" align="center"> $vbphrase[pager_copyright_text] </div> <!-- Do not remove this vB Pager copyright notice --> </body> </html> ================================================== ====== Upgrading from 1.1 to 1.2 Steps 1) Modify the pagerlog plugin: Find the plugin under "parse_templates". Replace the entire plugin code with the code on the pagerlog12.txt file After that you should be all set. No need to change templates. Pager queries will only be run if there's unread pages. ================================================== ====== Upgrading from 1.0 to 1.2 Steps 1) Modify the pager_newpager template: Replace the entire template with the code on the pager_newpager11.txt file 2) Modify the pagerlog plugin: Find the plugin under "parse_templates". Replace the entire plugin code with the code on the pagerlog12.txt file After that you should be all set. You won't need that new field you added before so you can either leave it, delete it or change it to be invisible to the user ================================================== ====== Version 1.2 Improved perfrmance by only running queries when the user has unread pager messages. Version 1.1 Took off the custom avatar thingie. No need to add fields to the database anymore Version 1.0 Almost identical to MSN except avatars are on the left side (alterable on template pager_newpager if you like tables ![]() Fixed a lot of problems with "hidden user" page. Now they don't show in history. Added a "Replying to message#" to the pager reply window to alleviate the problem with bug #2 Version 0.9 Much simpler, faster performance. But... barely usable, keep the window open and just keep clicking "Reload" to get the new stuff. Replying is still done at the popup windows, but you can also click on the user name linky on the log. To get v 0.9 dowload and install pagelog.xml and only alter the template PAGERBUDDY and use this simpler pagerlogbit Code:
<if condition="$vboptions['vbpager_active'] AND $bbuserinfo['userid']"> <div class="smallfont"> $pagerinfo[receiptid] - <a href="#" onclick="window.open('pager.php?do=buddylist&puserid=$pagerinfo[fromuserid]','pagerbuddylist','statusbar=no,menubar=no,toolbar=no,scrollbars=yes,resizable=yes,width=$vboptions[vbpager_width],height=$vboptions[vbpager_height]'); return false;">$pagerinfo[fromusername]</a> - $pagerinfo[msgdate]: $pagerinfo[message]</div> </if> Show Your Support
|
Comments |
#52
|
|||
|
|||
![]()
Great job!
|
#53
|
||||
|
||||
![]()
Bump renmiri
![]() |
#54
|
|||
|
|||
![]()
I did give it a serious try today but it is still buggy... I might have to start from scratch
![]() |
#55
|
||||
|
||||
![]()
Oh lol
![]() |
#56
|
||||
|
||||
![]()
I like your hack it's a great addition yeah
Works fine on my board as wel, no SQL Faliures ect. You siad if i had any idea's show them. Well you i had a small idea about putting some codes like: U (Underline) I (Italic) B (Bold) And selectable colour into the messenger. *It would also be nice to see the new message top instead of bottom, only takes more time if you have more logs. ![]() I added a example in the attachment ![]() Hope you like the idea. |
#57
|
|||
|
|||
![]()
Great idea. I think I can make the bold, font, Italic easily. Lemme test here.
Box under or on top is on the template, I think. I made it under to immitate MSN ![]() |
#58
|
||||
|
||||
![]()
Oke i can understand that yeah
![]() Great that you want to test it ![]() |
#59
|
|||
|
|||
![]()
Good news and bad news:
Bad: - Putting buttons isn't as easy as I thought Good: - Parsing of smilies and other bbcode is there already, just set pager options to enable smilies and it will parse it normally like a regular post (which means you can use [ B ] for bold, [ I ] for italics, etc... ) |
#60
|
|||
|
|||
![]()
Gaaahhh... Still having troubles with making the log not mix pager messages
![]() But found a way to alleviate the problem: Get rid of the log on the newpager page (leave it just on the list of pageable people, just in case) Edit template: pager_newpager Change Quote:
Quote:
PS: Note how it look below (and also notice how bbcodes and smilies work ![]() |
#61
|
||||
|
||||
![]()
i understand that you can put the hard coded stuff
![]() that is possible yeah, i let you know when i figure out something :P |
![]() |
Thread Tools | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|