vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   PM Preview 3.5 Edition (https://vborg.vbsupport.ru/showthread.php?t=94954)

hotwheels 03-23-2006 04:48 AM

Quote:

300));
change that number to 75
Quote:

<?xml version="1.0" encoding="ISO-8859-1" ?>
- <plugins>
- <plugin active="1" product="vbulletin">
<title>PM Preview v1</title>
<hookname>private_messagelist_messagebit</hookname>
- <phpcode>
- <![CDATA[
$pm['pmpreview'] = strip_quotes($pm['message']);
$pm['pmpreview'] = htmlspecialchars_uni(fetch_trimmed_title(strip_bbc ode(fetch_censored_text($pm['pmpreview']), false, true), 300));

]]>
</phpcode>
</plugin>
</plugins>
which is where the hook is.........then be sure you made this change in your pm_messagelistbit template, in your templates (these are 2 different steps)
Quote:

<td class="alt1Active" id="m$pm[pmid]" width="100%">
<div>
<span style="float:$stylevar[right]" class="time" style="font-size:9px;">$pm[senddate] @ $pm[sendtime]</span>
<a href="private.php?$session[sessionurl]do=showpm&amp;pmid=$pm[pmid]"><if condition="$show['unread']"><strong>$pm[title]</strong><else />$pm[title]</if></a> (<if condition="$show['unread']"><strong>$userbit</strong><else />$userbit</if> )
</div>
<div class="smallfont">
<i>$pm[pmpreview]</i>
</div>

</td>

drex 03-23-2006 05:20 AM

did both. changed from 300 to 75. the template was changed as the layout is now the 'new layout'.

reducing the # of preview characters did not work either. below is my entire pm_messagelistbit template.

also, am running 3.53 with multiple hacks (including superpm), but that shouldn't affect the pm list....

help!
PHP Code:

<tr>
    <
td class="alt1"><img src="$stylevar[imgdir_statusicon]/pm_$pm[statusicon].gif" alt="" border="0" /></td>
    <if 
condition="$show['pmicons']"><td class="alt2"><if condition="$show['pmicon']"><img src="$pm[iconpath]alt="$pm[icontitle]/><else />&nbsp;</if></td></if>


<
td class="alt1Active" id="m$pm[pmid]width="100%">
        <
div>
            <
span style="float:$stylevar[right]class="time" style="font-size:9px;">$pm[senddate] @ $pm[sendtime]</span>
            <
a href="private.php?$session[sessionurl]do=showpm&amp;pmid=$pm[pmid]"><if condition="$show['unread']"><strong>$pm[title]</strong><else />$pm[title]</if></a> (<if condition="$show['unread']"><strong>$userbit</strong><else />$userbit</if> )
        </
div>
        <
div class="smallfont">
        <
i>$pm[pmpreview]</i>    
        </
div>
    
    </
td>
    
    
    <if 
condition="$show['pmcheckbox']"><td class="alt2" align="center" style="padding:0px"><input type="checkbox" name="pm[$pmid]" value="$groupid/></td></if>
</
tr


Tralala 03-23-2006 06:17 AM

/Installed.

Love it. Live by it. Thanks!

hotwheels 03-23-2006 06:56 AM

should of worked bro.........not sure what's up with your set up.

drex 03-23-2006 06:53 PM

thanks hotwheels..............

does anyone have any ideas???

thanks

(yes, the plug in is active.

no, i don't have the accelerator...)

hotwheels 03-23-2006 11:58 PM

That superpm mod may be affecting this........The code he wrote is really basic and should be working........really wierd that it's not.

vampireus 03-24-2006 05:39 AM

The tooltip not working with FF

MissKalunji 03-24-2006 05:51 PM

works perfectly!

ARCANE_B0SS 03-24-2006 06:21 PM

thanx

Nathan2006 04-12-2006 09:04 PM

Thank you BluPhoenix

This is going to be a lot easier :cool:

Install

sensimilla 04-14-2006 06:36 PM

any chance to make it look like here at vbulletin.org ?

https://vborg.vbsupport.ru/private.php

Thanks in advance

sensimilla

Tralala 04-14-2006 06:43 PM

Quote:

Originally Posted by sensimilla
any chance to make it look like here at vbulletin.org ?

https://vborg.vbsupport.ru/private.php

Thanks in advance

sensimilla


???

They are using this very hack to make it look that way. Here's the thread that requested it: https://vborg.vbsupport.ru/showthread.php?t=110036

sensimilla 04-14-2006 07:03 PM

Quote:

Originally Posted by Tralala
???

They are using this very hack to make it look that way. Here's the thread that requested it: https://vborg.vbsupport.ru/showthread.php?t=110036

you got me wrong.. I like this hack but it is not looking like here at vb.org

poster : title date

its looking

title ( poster ) ect..

its not that urgent anyway

SHalliday 04-19-2006 12:39 PM

Installed and working perfect. Thank you for such a useful and timesaving hack. Sure to be a hit with our members!

Urban Forums 04-19-2006 02:37 PM

this is one of my fav hacks... nice job

Tralala 04-19-2006 08:19 PM

I do like this hack very much. Have the "pop up" version on my forum.

The only issue it raises, I've noticed, is that it kinda breaks down the integrity of vB's "PM Tracking" system, since recipients can read a PM without confirming receipt. Not a big deal, I know.

Other than that I have to say it's very useful and makes it very easy to clean up a crowded in-box.

Only suggestion I can make for future improvement would be to AJAX-ify it to make everyone happy. Clicking a PM title would displays it's contents inline directly underneath (and confirms "receipt" with tracking system.)

Have a "collapse all" and "expand all" button to do the same en-masse.

I think that would be just about perfect, and might make everyone happy. :)

rice 05-08-2006 02:00 AM

having the exact same problem as drex on this thing...
followed every step as well as i could, double checked???

mmmender 05-08-2006 05:10 AM

i'm having problems with this too. this is the ONLY hack i've installed on the upgraded version of my forum and i can't seem to get it to work. i've followed all the instructions and i don't get the previews.

any suggestions?

rareclownfish 05-08-2006 03:48 PM

installed

rice 05-08-2006 04:00 PM

could cmps be a problem, just trying to figure out why its not working..
xml supposed to be in ajax_start correct?? product vbulletin correct??
trying to double check.

thankx a bunch

rice 05-09-2006 02:15 PM

anyone else have this problem and figure it out??

thx,

rice

mmmender 05-09-2006 02:25 PM

i'm still not getting this to work for me.

is there any support with this hack?

SaN-DeeP 05-09-2006 04:11 PM

I guess this addon is installed on vb.org too ?

Tralala 05-09-2006 05:01 PM

Quote:

Originally Posted by SaN-DeeP
I guess this addon is installed on vb.org too ?


Yes. The request and ensuing discussion is here:
https://vborg.vbsupport.ru/showthread.php?t=110036

rice 05-10-2006 04:58 AM

yeah..missing something

rice 05-12-2006 01:31 AM

ill wait for the 3.6 version i recon.

rice 05-14-2006 02:40 PM

mmmender, you get it fixed??

mmmender 05-16-2006 05:50 AM

nope, i'm still waiting for someone to reply and help me out. i followed all the instructions, got it working but i still don't see the preview paragraphs. i need HELP with this - bigtime. i now have half a hack installed on my forum!

rice 05-18-2006 02:41 AM

damn, i thought you got it fixed...drats.

mmmender 05-18-2006 04:25 AM

what's annoying is it says that this hack is supported yet no-one has replied to our concerns.

is anyone else out there willing to help with this?

EasyTarget 05-21-2006 05:11 AM

installed on 3.5.4 and working without any problems so far.

I would like to customize it though so that clicking anywhere on the preview opens the message instead of having to click on the message title, so I moved the </a> from after the title to after the pmpreview section, which did work.

However, now all the text has an underline under it. Is there a way to disable the underline under links in just the preview section without affecting all the other links?

ramone_johnny 05-28-2006 06:38 AM

Dammit, another hack installed and nothing.

Hang on - I do have something - an error!

private.php

Parse error: parse error, unexpected '<' in C:\Inetpub\wwwroot\vbforum\private.php(1456) : eval()'d code on line 1

Parse error: parse error, unexpected '<' in C:\Inetpub\wwwroot\vbforum\private.php(1456) : eval()'d code on line 1

Please help!

RJ

rice 06-10-2006 03:47 PM

ok..
just revisiting this...
will someone please advise what should hook location be set to for plugin??

thanks a lot

akanevsky 06-10-2006 06:11 PM

You don't need to worry about hook location, you simply import the xml.

rice 06-10-2006 08:13 PM

well it plug-ins default to ajax_start hook location...can't put it there because it conflicts with something else i have...
says its not a product see below
Quote:

This file appears to be a Plugin, not a Product. Please use the Plugin Manager to add this file.
any help is appreciated.

thx

rice 06-11-2006 05:02 AM

mr newbie rice finally figured this out..thanks for patience all

hook location below:
private_messagelist_messagebit

mmmender-hope this helps you out.

cheers,

rice

MissKalunji 08-05-2006 12:43 PM

does this work with 3.6?

Oblivion Knight 08-05-2006 06:18 PM

Quote:

Originally Posted by MissKalunji
does this work with 3.6?

Yes, I have it working fine on my 3.6.0 installation.. :)

nix 08-05-2006 06:20 PM

Quote:

Originally Posted by Oblivion Knight
Yes, I have it working fine on my 3.6.0 installation.. :)

Good to here. Gonna install it now. Loved this on 3.5

Freezerator 08-07-2006 07:32 AM

Very nice hack and a lot of happy members when i installed this, but only one question.

Can there be an addon or somekind so this is an user setting? So that an user can turn this on or off?


All times are GMT. The time now is 05:09 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01320 seconds
  • Memory Usage 1,834KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_php_printable
  • (9)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete