The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Details »» | |||||||||||||||||||||||||
Woo-freaking-hoo!
Here it is, the vB PM hack! NEWLY CHANGED TO VERSION 1.2.0 - please reference this thread now: http://www.vbulletin.com/forum/showt...?threadid=1772 It can be downloaded from here: http://www.enter.net/~rmsullivan/pmhack1.2.zip . The instructions are included within that. Demo at: http://www.magic-singles.com/cpa/forums/ . If you MUST register to test it, ok, I guess. I'll be adding screenshots so you know what it's like soon. Now UPDATED to version 0.9.15 !!!! Several bug fixes, additional support for linking to posts and nicer delete methods (thanks bira!) Please note that the UBB import script has NOT been done yet - sorry. Soon though. Enjoy! Post and questions/comments/bug reports here! [Edited by Ed Sullivan on 07-16-2000 at 11:31 PM] Show Your Support
|
Comments |
#72
|
|||
|
|||
Yep, i'm getting the date problem too...
http://www.ten-tenths.com/forum/show...?threadid=2348 Anyone ? |
#73
|
|||
|
|||
The reason for the date bug is again because the hack was basing itself on the 1.1.1 version, whereas John changed the date settings in 1.1.2 - he switched from the MySQL date to the PHP date.
In any case, I removed that line and the one about total posts from the showprivmsg template - who cares about those two in PM anyway |
#74
|
|||
|
|||
For the sake of continuity throughout the forums, I do!
Is this likely to be fixed up Ed, or should I follow bira's example ? |
#75
|
|||
|
|||
Quote:
Better? ~~~~ Men............ ~~~~ [Edited by Me2Be on 06-14-2000 at 07:59 PM] |
#76
|
|||
|
|||
Darn, I can't find that time code in the template. Any clues Bira?? I saw timezone, but that was it.
|
#77
|
|||
|
|||
I'm sorry Rick, my mistake - it's in the privmsgbit template.
Let me know if you cannot find it there (it will under $username2 and $usertitle) |
#78
|
|||
|
|||
I found another glitch. After someone sends you a PM click on profile under their message and it will bring up your own not the person who sent the message. I haven't tested the e-mail form to see who get the e-mail the proper recipiant or yourself.
|
#79
|
|||
|
|||
go to the privmsgbit template and edit it:
replace $profile with: Code:
<a href="member.php?action=getinfo&userid=$fromid" target="_blank"><img src="images/profile.gif" border="0" alt="Click here to see the profile for $username"></a> This will make it work right [Edited by bira on 06-14-2000 at 09:04 PM] |
#80
|
|||
|
|||
in the same template, replace $emailuser with:
Code:
<A HREF="member.php?action=mailform&userid=$fromid" target=_blank><IMG SRC="images/email.gif" BORDER=0 ALT="Click Here to Email $username"></A> |
#81
|
|||
|
|||
A couple of my users asked that the PM login that shows up on the forum homepage will also be available on the forums pages, since many of them have specific forums bookmarked and don't see the forum homepage.
So I did a tiny hack to the hack to have this. Thought I'd share it with you if you're interested. In forumdisplay, above the line // parse header ################## (or anywhere else for that matter which is outside a process), paste the following: Code:
//PM HACK if ($bbusername) { $username = $bbusername; $pmcounta = $DB_site->query_first("SELECT COUNT(msgid) AS msgid FROM privatercvd WHERE toid=$bbuserid"); $pmcount = $pmcounta[msgid]; $newpmcounta = $DB_site->query_first("SELECT COUNT(msgid) AS msgid FROM privatercvd WHERE toid=$bbuserid AND UNIX_TIMESTAMP(datetime)>$bblastvisit"); $newpmcount = $newpmcounta[msgid]; if($newpmcount == 0) { $newold = 'images/folder.gif'; } else { $newold = 'images/newfolder.gif'; } eval("\$pminfo .= \"".gettemplate("pmloggedin2")."\";"); } else { eval("\$pminfo .= \"".gettemplate("pmloggedout2")."\";"); } //END PM HACK Now do the same with "pmloggedout" - copy the content of this template and paste it into a new template called "pmloggedout2". Edit it as necessary to fit your forumdisplay layout (same as pmloggedin2). Finally, open the "forumdisplay" template and put $pminfo where you want the pm login to show (similar process as to the one for the forums homepage). Enjoy |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|