PDA

View Full Version : Private Messages Enhancements - GTPrivate Messages Enhanced Listing (preview message)


Princeton
05-04-2008, 10:00 PM
GTPrivate Messages Enhanced Listing (preview message) similar to how it is on vbulletin.org!

No edits are necessary.

Custom modification brought to you by Joe Velez (aka Princeton vbulletin.org Admin).

NEW 3.7.0.0 VERSION (download GTPM_Listing_3700.zip)

Instructions:

Install product via Product Manager.
Show Your Support by Donating.
Don't forget to click "Mark As Installed", Nominate for MOTM, and rate the modification.History:

May 1, 2008 : Modification released (3.7.0.0)


Questions:

Q)__ How can I change the number of characters on preview?
A)__ This is controlled via the Length of Thread Preview Text option.


Recently Released 3.7 Modifications:
GTPrivate Message Quickreply (https://vborg.vbsupport.ru/showthread.php?t=177869)
GTUserCP Interface + UserCP navbar menu (https://vborg.vbsupport.ru/showthread.php?t=177774)
GTSmiliebox - Move Smilies Below Editor (https://vborg.vbsupport.ru/showthread.php?t=178327)

KURTZ
05-05-2008, 02:20 PM
absolutely installed Joe ... nice job ;)

Boofo
05-05-2008, 02:22 PM
I'm using the older version on 3.7 just fine. Is there any real need to update this?

codershark
05-05-2008, 02:22 PM
Is it possible to include the Avatar from Sender in the preview ?

Princeton
05-05-2008, 02:24 PM
I'm using the older version on 3.7 just fine. Is there any real need to update this?this one has been updated to remove static urls from preview (some urls are too long and may break narrow layouts)

Boofo
05-05-2008, 02:26 PM
Ahh, OK, thanks. I haven't run into that yet but I will update it anyway. Thank you, sir. ;)

BigDog56
05-05-2008, 02:28 PM
very nice and needed! thank you!

Howell
05-05-2008, 02:45 PM
Another great addition. :up:

*installed*

Endurer
05-05-2008, 06:29 PM
Excellent, I've been waiting for this to upgrade. Thank you Princeton.

rizelim
05-05-2008, 06:35 PM
thank you!

Ryan Beal
05-06-2008, 01:03 AM
Q)__ How can I change the number of characters on preview?
A)__ This is controlled via the Length of Thread Preview Text option.


I have that disabled because I'm using the following mod for previews instead:

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


The enhanced listing mod shows the full PM at the moment. Is there anything I can modify in this to specify a character length without having to enable the default thread previews?

Thanks.

Hornstar
05-06-2008, 06:17 AM
Thanks, upgrading to 3.7 now and will add this in :)

samsci
05-06-2008, 11:58 PM
Installed and very nice!

Ryan Beal
05-07-2008, 02:00 AM
The enhanced listing mod shows the full PM at the moment. Is there anything I can modify in this to specify a character length without having to enable the default thread previews?

Disregard this. I found it.

Good mod. :up:

Princeton
05-07-2008, 12:15 PM
Disregard this. I found it.

Good mod. :up:
thanks for the update

for anyone interested..

FIND IN private_messagelist_messagebit plugin:

$vbulletin->options['threadpreview']

REPLACE WITH number of characters you wish to use


:up:

Fungsten
05-07-2008, 06:42 PM
thanks for the update

for anyone interested..

FIND IN private_messagelist_messagebit:

$vbulletin->options['threadpreview']

REPLACE WITH number of characters you wish to use


:up:

That's in a Plug Ins, right? When changing it I entered 100 with and without the quotes and it didn't work.

Pamela
05-23-2008, 08:40 PM
This is awesome! Thanks!!! :D

*clicks install*

Pamela
05-23-2008, 08:55 PM
Now that the message preview is showing...which I love by the way! :)...the post indicator (the little smilie to the left of each PM) is super small and squished.

How can I go about fixing that to make it look normal again (while still keeping the message preview of course).

Thanks! :)

Ryan Beal
05-31-2008, 07:50 AM
That's in a Plug Ins, right? When changing it I entered 100 with and without the quotes and it didn't work.

Correct. Title of the plugin is 'Print Message Preview'.

Since you mention quotes, I have a feeling you're just replacing 'threadpreview' with the number of characters. Replace everything from Princeton's post.

The last line of my private_messagelist_messagebit looks like this:

$pm['pmpreview'] = htmlspecialchars_uni(fetch_trimmed_title($pm['pmpreview'], 70));

Dagothar
06-03-2008, 04:13 AM
Installed. My 4th, and the most complex. ;)

Using the ACP Plugin & Products install is a piece of cake. And things're better already in the UCP.

Reading your Readme.txt, I see I am to "* Upload images folder". OK. How?

Forgive this vBulletin tyro! With what, to where?

Princeton
06-03-2008, 11:54 AM
upload images via FTP

by the way, there are no images associated with this plugin :confused:

acegames
06-03-2008, 12:33 PM
Nice hack , just what I was looking for :)

Dagothar
06-03-2008, 12:42 PM
upload images via FTP

by the way, there are no images associated with this plugin :confused:
LOL... I meant GTUserCP... :p
I figured it out where and how to put THOSE images, btw. And it works beautifully.
Thanks for the patient answer. :)

Pamela
06-03-2008, 04:02 PM
Now that the message preview is showing...which I love by the way! :)...the post indicator (the little smilie to the left of each PM) is super small and squished.

How can I go about fixing that to make it look normal again (while still keeping the message preview of course).

Thanks! :)

Princeton, any idea how I could go about fixing this? Thank you! :)

Love the hack by the way! :D

Princeton
06-03-2008, 05:04 PM
I'm assuming you are using large icons..
you will need to edit gtpm_messagelistbit template

REPLACE/REMOVE the following with whatever you want..
width="16" height="16"

Pamela
06-04-2008, 03:32 AM
I'm assuming you are using large icons..
you will need to edit gtpm_messagelistbit template

REPLACE/REMOVE the following with whatever you want..

Awesome! Thank you so much!!! :D

ShiZoPhreN
06-10-2008, 01:57 AM
*Installed*

Thanks Princeton =) nice Hack

Captain Tycoon
06-14-2008, 01:05 PM
Marked as Installed, Working Perfectly!

vmacedonia
06-17-2008, 10:19 PM
I'm assuming you are using large icons..
you will need to edit gtpm_messagelistbit template

REPLACE/REMOVE the following with whatever you want..

Thanks,
I was having the same problem.

NAZIA
06-21-2008, 09:18 AM
Nice mod.. thanks for sharing...

PoetJA-1975
06-25-2008, 06:48 AM
Thanx

Jacquii.

hotwheels
08-01-2008, 04:33 AM
very nice princeton

lalbahadur
10-06-2008, 03:36 PM
Excellent Modification. **INSTALLED***

Is there any way by which we can get the username of the member displayed alongside the pm to come up in a color of the usergroup the member belongs to ?

vmacedonia
10-10-2008, 06:59 PM
I have installed this mod, Extend and Customise "Mobile" Style Options (https://vborg.vbsupport.ru/showthread.php?t=182692), and there is a option if you want some of the plugin's not to be loaded with the mobile skin.

Example:

//Disables MGC Chatbox
$vbulletin->options['mgc_cb_evo_active']=0;
//Disables Cyb Chatbox
$vbulletin->options['cybchatbox_enable_product']=0;What code should be put in there so that the plugin by default be disabled when the mobile skin is loaded?

$vbulletin->options['']=0;

MonCher
10-12-2008, 06:32 PM
I just installed mine. It shows up when I go to user cp. Should it show up any other time? It looks great! Thank you!!!

MarkoP
10-15-2008, 03:26 PM
Where is this located?

A)__ This is controlled via the Length of Thread Preview Text option.

Howell
10-15-2008, 04:14 PM
Hope this helps.

Where is this located?

A)__ This is controlled via the Length of Thread Preview Text option.


FIND IN private_messagelist_messagebit plugin:

$vbulletin->options['threadpreview']

REPLACE WITH number of characters you wish to use

:up:

-=Leb=-
10-15-2008, 09:48 PM
Very nice hack :) thank you

MarkoP
10-15-2008, 10:47 PM
Hope this helps.


Thank you!!

Yes it did...

dude14
10-16-2008, 12:28 AM
Installed. :)

Correct. Title of the plugin is 'Print Message Preview'.

Since you mention quotes, I have a feeling you're just replacing 'threadpreview' with the number of characters. Replace everything from Princeton's post.

The last line of my private_messagelist_messagebit looks like this:

$pm['pmpreview'] = htmlspecialchars_uni(fetch_trimmed_title($pm['pmpreview'], 70));
& Thanks for being very clear with that. The instructions are very precise & I never would figured it out without your post. :)

chaot1c
11-05-2008, 03:52 PM
Doesn't work with 3.7.4 - I keep getting database errors.

Howell
11-05-2008, 06:13 PM
Doesn't work with 3.7.4 - I keep getting database errors.

It's working fine on my forum which is also using 3.7.4 !?!? ;)

chaot1c
11-05-2008, 06:45 PM
It's working fine on my forum which is also using 3.7.4 !?!? ;)

Nevermind, it was a database error on my end.

KURTZ
11-29-2008, 12:46 PM
there is a trouble with the 3.8.x ... with this hack i can't select all the messages that i've in the box ...

vbboarder
12-08-2008, 09:39 PM
Bug: when you update to VB 3.8, the messages are not highlighted when selected and the 'Go' button does not update with the # of messages selected. Also, the checkbox to select all messages do not work.

Solution: The gtpm_messagelistbit template needs to be updated with 2 changes to be VB 3.8 compatible. Go to 'Style Manager' -> 'Edit Templates' -> click on gtpm_messagelistbit and FIND:
<td class="alt1Active" id="m$pm[pmid]" width="100%">.
REPLACE WITH:
<td class="alt1 alt1Active" id="m$pm[pmid]" width="100%">.
FIND:
<input type="checkbox" name="pm[$pmid]" value="$groupid" />.
REPLACE WITH:
<input type="checkbox" name="pm[$pmid]" id="pmlist_$pmid" value="$groupid" />.
That's it! Now selected messages should be highlighted, the 'Go' button should update, and the check-all checkbox should work. Hope that helps :D

Quantnet
12-09-2008, 01:23 AM
Wow. thanks a lot.
I thought this is a bug in vb 3.8 and reported as such on vb.com :)

rainyleaves
01-11-2009, 04:20 AM
Bug: when you update to VB 3.8, the messages are not highlighted when selected and the 'Go' button does not update with the # of messages selected. Also, the checkbox to select all messages do not work.

Solution: The gtpm_messagelistbit template needs to be updated with 2 changes to be VB 3.8 compatible. Go to 'Style Manager' -> 'Edit Templates' -> click on gtpm_messagelistbit and FIND:
<td class="alt1Active" id="m$pm[pmid]" width="100%">.
REPLACE WITH:
<td class="alt1 alt1Active" id="m$pm[pmid]" width="100%">.
FIND:
<input type="checkbox" name="pm[$pmid]" value="$groupid" />.
REPLACE WITH:
<input type="checkbox" name="pm[$pmid]" id="pmlist_$pmid" value="$groupid" />.
That's it! Now selected messages should be highlighted, the 'Go' button should update, and the check-all checkbox should work. Hope that helps :D

Very thanks,

Noonster
01-11-2009, 09:46 AM
Works on 3.8 fine after install and using the edit above!

Alien
01-11-2009, 10:46 PM
I can confirm that as well, works terrifically with vbboarder's fix!

Thanks!

acegames
01-12-2009, 05:09 PM
Bug: when you update to VB 3.8, the messages are not highlighted when selected and the 'Go' button does not update with the # of messages selected. Also, the checkbox to select all messages do not work.

Solution: The gtpm_messagelistbit template needs to be updated with 2 changes to be VB 3.8 compatible. Go to 'Style Manager' -> 'Edit Templates' -> click on gtpm_messagelistbit and FIND:
<td class="alt1Active" id="m$pm[pmid]" width="100%">.
REPLACE WITH:
<td class="alt1 alt1Active" id="m$pm[pmid]" width="100%">.
FIND:
<input type="checkbox" name="pm[$pmid]" value="$groupid" />.
REPLACE WITH:
<input type="checkbox" name="pm[$pmid]" id="pmlist_$pmid" value="$groupid" />.
That's it! Now selected messages should be highlighted, the 'Go' button should update, and the check-all checkbox should work. Hope that helps :D



Perfect , thankyou , just what I was looking for :up:

vbboarder
01-12-2009, 06:10 PM
Perfect , thankyou , just what I was looking for :up:

I can confirm that as well, works terrifically with vbboarder's fix!
Thanks!

Works on 3.8 fine after install and using the edit above!

Very thanks,

Wow. thanks a lot.
I thought this is a bug in vb 3.8 and reported as such on vb.com :).

Glad the fix is working for everyone :)

OhSoBlonde
01-13-2009, 03:52 PM
Thank you! It worked for ours as well!

djbaxter
01-17-2009, 08:24 PM
there is a trouble with the 3.8.x ... with this hack i can't select all the messages that i've in the box ...

Wow. thanks a lot.
I thought this is a bug in vb 3.8 and reported as such on vb.com :)

Bug: when you update to VB 3.8, the messages are not highlighted when selected and the 'Go' button does not update with the # of messages selected. Also, the checkbox to select all messages do not work.

Solution: The gtpm_messagelistbit template needs to be updated with 2 changes to be VB 3.8 compatible. Go to 'Style Manager' -> 'Edit Templates' -> click on gtpm_messagelistbit and FIND:
<td class="alt1Active" id="m$pm[pmid]" width="100%">.
REPLACE WITH:
<td class="alt1 alt1Active" id="m$pm[pmid]" width="100%">.
FIND:
<input type="checkbox" name="pm[$pmid]" value="$groupid" />.
REPLACE WITH:
<input type="checkbox" name="pm[$pmid]" id="pmlist_$pmid" value="$groupid" />.
That's it! Now selected messages should be highlighted, the 'Go' button should update, and the check-all checkbox should work. Hope that helps :D

Excellent. I was also having this problem and reported it to vB.com as a bug.

Princeton, will you update this for 3.8?

Nadeemjp
01-19-2009, 06:51 AM
this is a wonderful modification.
i was just wondering if it is possible to launch this officially in 3.8 as well so that i dont have to come in here again.

it is working though with 3.8 @ my forums.

djxcee
01-20-2009, 07:29 AM
.

Glad the fix is working for everyone :)
Thank you so much for doing this!

Working for us as well :D

Stubbed
01-22-2009, 12:18 AM
Just to add, upgraded to 3.8, applied those fixes, sorted :)

Za4a Tuner
01-26-2009, 05:32 PM
thanks to vbboarder for the bugfix!

i did the fix by using Template Modification System (https://vborg.vbsupport.ru/showthread.php?t=152931) .
if someone like to use the tms-file ... i attachded it in this post

djbaxter
01-26-2009, 11:13 PM
thanks to vbboarder for the bugfix!

i did the fix by using Template Modification System (https://vborg.vbsupport.ru/showthread.php?t=152931) .
if someone like to use the tms-file ... i attachded it in this post

Wow. Thank you! That certainly made the job easy. :up:

cnutter
01-28-2009, 12:13 PM
Excellent. I was also having this problem and reported it to vB.com as a bug.

Princeton, will you update this for 3.8?

vbboarder, Thanx for the bug fix.

Princeton any idea when you might update this to work fully with 3.8.x?

HaS?R
01-29-2009, 02:01 AM
Nice Mod.Thanks.

Allan
02-08-2009, 02:09 PM
Bug: when you update to VB 3.8, the messages are not highlighted when selected and the 'Go' button does not update with the # of messages selected. Also, the checkbox to select all messages do not work.

Solution: The gtpm_messagelistbit template needs to be updated with 2 changes to be VB 3.8 compatible. Go to 'Style Manager' -> 'Edit Templates' -> click on gtpm_messagelistbit and FIND:
<td class="alt1Active" id="m$pm[pmid]" width="100%">.
REPLACE WITH:
<td class="alt1 alt1Active" id="m$pm[pmid]" width="100%">.
FIND:
<input type="checkbox" name="pm[$pmid]" value="$groupid" />.
REPLACE WITH:
<input type="checkbox" name="pm[$pmid]" id="pmlist_$pmid" value="$groupid" />.
That's it! Now selected messages should be highlighted, the 'Go' button should update, and the check-all checkbox should work. Hope that helps :D
Thanks !

MissKalunji
02-13-2009, 11:20 AM
Thanks :) that fixed it

Sadie Frost
02-16-2009, 12:52 AM
Thank you vbboarder and Allan (and Princeton of course) :D

BigDog56
02-17-2009, 10:33 AM
Thank you! That fixed it with me also!

RedGTiVR6
02-26-2009, 03:13 AM
many thanks vbboarder!

Dagothar
02-26-2009, 09:44 PM
And for us. Thanks kindly, vbboarder and Allan (and Princeton!)!

nhlchuck
03-07-2009, 12:22 PM
How about if you have installed this "fix" and still can't select all by an individual date?

djbaxter
03-07-2009, 01:17 PM
How about if you have installed this "fix" and still can't select all by each date?

This add-on (and similar add-ons)


seems to be affected by a problem with earlier versions of vBSEO conflicting with AJAX, so if you're running vBSEO check at their website for a patch or support
on certain installations (again running vBSEO), Firefox in particular seems to be affected. See if you can resolve the problem using IE or Opera - if that works, then see #1 above.

nhlchuck
03-07-2009, 01:21 PM
I will check regarding VBSeo because it's not just a firefox issue. Thank you for your response!

muratksk
03-07-2009, 01:46 PM
Installed and very nice!

nhlchuck
03-08-2009, 01:23 PM
This add-on (and similar add-ons)


seems to be affected by a problem with earlier versions of vBSEO conflicting with AJAX, so if you're running vBSEO check at their website for a patch or support
on certain installations (again running vBSEO), Firefox in particular seems to be affected. See if you can resolve the problem using IE or Opera - if that works, then see #1 above.


I disabled vBSEO, reverted all the old templates and nothing seems to do the trick. Very strange.

DieselMinded
03-09-2009, 08:05 PM
/me applied fix thanks

TheInsaneManiac
03-25-2009, 10:48 PM
Thanks!

PossumX
04-01-2009, 01:13 AM
Fix applied, as this was driving me batty.

SnapOff Racing
04-09-2009, 02:05 AM
Bug: when you update to VB 3.8, the messages are not highlighted when selected and the 'Go' button does not update with the # of messages selected. Also, the checkbox to select all messages do not work.

Solution: The gtpm_messagelistbit template needs to be updated with 2 changes to be VB 3.8 compatible. Go to 'Style Manager' -> 'Edit Templates' -> click on gtpm_messagelistbit and FIND:
<td class="alt1Active" id="m$pm[pmid]" width="100%">.
REPLACE WITH:
<td class="alt1 alt1Active" id="m$pm[pmid]" width="100%">.
FIND:
<input type="checkbox" name="pm[$pmid]" value="$groupid" />.
REPLACE WITH:
<input type="checkbox" name="pm[$pmid]" id="pmlist_$pmid" value="$groupid" />.
That's it! Now selected messages should be highlighted, the 'Go' button should update, and the check-all checkbox should work. Hope that helps :D

Worked perfect, THANKS! :up:

Fungsten
04-13-2009, 04:51 PM
Worked perfect, THANKS! :up:

+1.

Been Told
04-25-2009, 04:13 PM
Bug: when you update to VB 3.8, the messages are not highlighted when selected and the 'Go' button does not update with the # of messages selected. Also, the checkbox to select all messages do not work.

Solution: The gtpm_messagelistbit template needs to be updated with 2 changes to be VB 3.8 compatible. Go to 'Style Manager' -> 'Edit Templates' -> click on gtpm_messagelistbit and FIND:
<td class="alt1Active" id="m$pm[pmid]" width="100%">.
REPLACE WITH:
<td class="alt1 alt1Active" id="m$pm[pmid]" width="100%">.
FIND:
<input type="checkbox" name="pm[$pmid]" value="$groupid" />.
REPLACE WITH:
<input type="checkbox" name="pm[$pmid]" id="pmlist_$pmid" value="$groupid" />.
That's it! Now selected messages should be highlighted, the 'Go' button should update, and the check-all checkbox should work. Hope that helps :D
Hi there!
Doesn't seem to work for me. The described error occurs after upgrading to vB 3.8.2 and making the template changes described in your post. :(

Edit: Sorry - I forgot to update my templates after upgrading 3.7.5 -> 3.8.2 - Works perfectly now thanks! After the update the first thing the members commented on negatively was that the advanced PM listing was gone. They will be glad to see it's back! :)

Konstantinos
06-30-2009, 12:28 PM
this doesnt work well in 3.8.2 the previe shows but the checkbox to select all pms to delete doesnt work

djbaxter
06-30-2009, 02:54 PM
this doesnt work well in 3.8.2 the previe shows but the checkbox to select all pms to delete doesnt work

Read the post just above yours.

jacko_162
09-21-2009, 09:37 AM
tested and working on my 3.8.3 with the above template edit (post 77)

WNxWakko
02-25-2010, 12:45 PM
Hi there!
Doesn't seem to work for me. The described error occurs after upgrading to vB 3.8.2 and making the template changes described in your post. :(

Edit: Sorry - I forgot to update my templates after upgrading 3.7.5 -> 3.8.2 - Works perfectly now thanks! After the update the first thing the members commented on negatively was that the advanced PM listing was gone. They will be glad to see it's back! :)

I have Version 3.8.4 and have made the template edits recommended. This has not resolved the issue. Unable to check/uncheck all and the go button does not count. Any ideas?

vitrag24
03-15-2010, 09:31 PM
vb 4.0 update?
Thx.

Mostjolly
07-07-2010, 06:59 PM
Bug: when you update to VB 3.8, the messages are not highlighted when selected and the 'Go' button does not update with the # of messages selected. Also, the checkbox to select all messages do not work.

Solution: The gtpm_messagelistbit template needs to be updated with 2 changes to be VB 3.8 compatible. Go to 'Style Manager' -> 'Edit Templates' -> click on gtpm_messagelistbit and FIND:
<td class="alt1Active" id="m$pm[pmid]" width="100%">.
REPLACE WITH:
<td class="alt1 alt1Active" id="m$pm[pmid]" width="100%">.
FIND:
<input type="checkbox" name="pm[$pmid]" value="$groupid" />.
REPLACE WITH:
<input type="checkbox" name="pm[$pmid]" id="pmlist_$pmid" value="$groupid" />.
That's it! Now selected messages should be highlighted, the 'Go' button should update, and the check-all checkbox should work. Hope that helps :D

Marry me ;)

wd4x4
09-21-2010, 02:09 AM
Any way to get this to work on 4.0.7 ??

goxy63
04-14-2011, 11:35 AM
Any way to get this to work on 4.0.7 ??
+1
how to do it on vb4 pls?