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


All times are GMT. The time now is 08:01 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
  • Page Generation 0.01204 seconds
  • Memory Usage 1,756KB
  • 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
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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