![]() |
PM Preview 3.5 Edition
This is a 3.5 Rewrite of my old hack, now using the plugin system (woo hoo!)
install the attached plugin and then make the following modification to the pm_messagelistbit template. find: Code:
<td class="alt1Active" id="m$pm[pmid]" width="100%"> Code:
<td class="alt1Active" id="m$pm[pmid]" width="100%"> To change the length of the preview Goto the Plugin Manager and in Hook Location : private_messagelist_messagebit find PM Preview v1 click "Edit" and towards the end of it find 300 and increase/reduce the value to lengthen/shorten the preview. ALTERNATIVE VERSION: Thanks to Erwin for the suggestion If you would rather have the preview show in a tooltip rather than show it below the PM title then change the required code in pm_messagelistbit to: alternative code: Code:
<td class="alt1Active" id="m$pm[pmid]" width="100%" title="$pm[pmpreview]"> |
Cool idea. :)
You could even make it so that the message preview comes up as a tooltip within the template using title="". :) |
Quote:
|
I made the edit and I uploaded the XML...not working for me. The PM inbox turn up the smae as it did. I have a mod to show newest unread PM on forum home instaled, so i tried to deactivate that plug in and that made no diiference.
Edit: It helps to install it on ALL templates now doesn;t it. Instaled and working fine! |
I like, installed with no problem :)
Erwin, cool tip. |
Awesome! Had this installed on 3.0.8 about a week or so before I upgraded. Missed it haha! Thanks a lot. :)
|
Is there a way to lengthen or shorten the review?? Hack looks great!!
|
excellent work!!
looks real classy on the board!! |
Suggestion. Please include the template instructions in a file as well. This makes it easier to reload the plugin and make the edits in the event of a reload.
|
Quote:
(instructions updated) |
Quote:
|
May I ask what this is for?
|
Screen shot tells all.
|
Quote:
|
Quote:
Great hack!! |
Nice work!
|
Great modification... Thanks!
|
I love this hack. I get ton's of PM's and this speeds up the process. Great work.
|
Any way to make both versions work?
|
Anyone have this running properly on 3.5 Gold?
Maybe if it is we should change the vBulletin version on this hack :) |
I've noticed that if there is HTML in PM, that HTML is displayed and the page gets broken...
|
looks like it works in 3.5 gold....
not sure of the html prob mentioned above. |
I get "Parse error: parse error, unexpected '<' in /newhome/******/public_html/private.php(1445) : eval()'d code on line 1 when installing this.
|
Works fine on 3.5 Gold.
|
and smokering clicks install really like this one thank you for this nice hack
|
Great mod, works a treat...
Installed on 3.5.0 Gold (I was wondering why it wasn't working to begin with since I had done everything... I realised I had forgotten to active the plugin system globally in the forum's options settings... then it worked lol) |
Quote:
|
Excellent hack bro, keep up the good work!
sorry about the HTML thing, it must've been I used someone else's hack :P |
Would be nice if this could be made optional, so the user could decide if they wanted it on or not.
|
Quote:
1) Go to admincp and create a new profile field. Choose Multiple-Selection Checkbox. Fill in the details and then choose where you want to appear, I chose Options: Messaging / Notification 2) And then replace either the original code or the hack code if you already did this with (change the xx after field to whatever your field number is): Code:
<if condition="($vbulletin->userinfo['fieldxx'] == 'Yes')"> Don't know if that was the best way to do it but it worked for me. :D |
works great with 3.5.1.....thanks for the great hack...
|
Excellent hack, I loved it on 3.0.
*installed |
3.5.3 no problems, quick question:
How do I change the alt background of the preview area? Currently it's the same color as the message title (alt1) and I'd like to make it alt2. /me clicks install |
Quote:
better: [APM] Advanced Product Management 2.0.3 and edit the html online in the vB database :) |
installed and works great thanks!
|
Cool.! :)
I'm using the tooltip edit, and replaced the 300 with: $vbulletin->options['threadpreview'] Eventually you may want to consider turning this in to a product, with it's own setting(s). There's plenty of room for expansion with this.. :) |
Very nice, thank you :)
|
mine only shows the list of messages, and no preview.
i don't know WTF is wrong. i uploaded the plugin. where does the HOOK go? mine is at ajax start. if i put it to pm_messagebit, i get a bunch of errors. please help! |
Quote:
Quote:
|
yep, that's where i am at
PHP Code:
any ideas? |
All times are GMT. The time now is 08:09 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|