vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=33)
-   -   Add a synopsis of each PM in the Message List Version 2.0 (https://vborg.vbsupport.ru/showthread.php?t=82236)

mpadc 05-31-2005 10:51 AM

Sweet stuff!

just curious is is possible maybe to have an option like mouse roll over the title to give a PM synopsis?

mpadc 05-31-2005 11:20 AM

Quote:

Originally Posted by mpadc
Sweet stuff!

just curious is is possible maybe to have an option like mouse roll over the title to give a PM synopsis?

Sorry one more questrion where exactly is the option where u can turn of synopsis viewing?

sv1cec 05-31-2005 11:31 AM

Quote:

Originally Posted by mpadc
Sorry one more questrion where exactly is the option where u can turn of synopsis viewing?

It's in UserCP/ Edit Options.

sv1cec 05-31-2005 11:36 AM

Quote:

Originally Posted by mpadc
Sweet stuff!

just curious is is possible maybe to have an option like mouse roll over the title to give a PM synopsis?

I have tried that in the past, but the "title" section of the A HREF tag does not show as many characters and it's interpretation of carriage returns etc leaves a lot to be desired.

One could do it possibly, with Javascript, but this is not my field of expertise.

Rgds

mpadc 05-31-2005 12:06 PM

Ok Thanks

hmm thats weird i dont see it in usercp! > edit options

sv1cec 05-31-2005 12:35 PM

Which version have you installed? If you installed the initial version (1.xx) there is no such parameter, you have to read the installation .txt file and see if you want to upgrade to version 2.

Rgds

mpadc 05-31-2005 01:50 PM

I installed this version the one attached to this post the txt file....which ever that is!

thanks

sv1cec 06-01-2005 05:21 AM

If you check the header of this thread, you'll notice that there are a few versions out already. The latest text file describes two installation methods, one with and one without any user control over the synopsis. If you have install the first one described, then there are no user-selectable options.

Rgds

Delphy 06-01-2005 10:48 AM

The install file doesn't say how to change the modifyoptions template so even when following method 2, you don't get the user selectable option for the synopsis.

sv1cec 06-01-2005 10:50 AM

OK, edit memberinfo template and find:

HTML Code:

      <tr>
                <td colspan=2><label for="cb_pmpopup"><input type="checkbox" name="pmpopup" value="1" id="cb_pmpopup" $checked[pmpopup] />$vbphrase[show_pm_popup]</label></td>
        </tr>

Right below that, add:

HTML Code:

<tr>
<td>
Our Private Messaging System can show you the initial part of every message in your folders, as a synopsis, when looking at the Messages List. This is very useful, when purging the message folders, from old or useless messages. In the drop down menu below, select if you want to see a synopsis of each message, or if you do not want to see one.
<P>
<select name="synopsis" id="cb_synopsis">
$synopsis_phrase
</select>
<P>
You may also select the length of the synopsis shown, in other words how many characters from the start of each message, will be shown. Allowed values are between 100 and 300 chars, default is 200 and this value will be used if the entered length is outside these limits.
<P>
<span style="float:$stylevar[right]">
<input type="text" name="synopsis_length" value="$synopsis_length" size='5' class='smallfont'>
</span>
<label for="cb_synopsis_length">Enter the length of the synopsis here :</label>
</td>
</tr>

I'll update the txt file as soon as this is posted.

Sorry for the inconvenience.

Also, for those who installed the second version (with the UserCP Option, which ... was not there, LoL) I came up with a different template, for the message list, which I think is more easy to read. So, if you want to use it, here is the code for pm_messagelistbit template.

HTML Code:

<tr>
        <td class="alt1" width='2%'><img src="$stylevar[imgdir_statusicon]/pm_$pm[statusicon].gif" alt="" border="0" /></td>
        <if condition="$show['pmicons']"><td class="alt2" width='2%'><if condition="$show['pmicon']"><img src="$pm[iconpath]" alt="$pm[icontitle]" /><else />&nbsp;</if></td></if>
       
        <td class="alt1Active" id="m$pm[pmid]">
                <div>
                        <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>
                </div>
<if condition="$bbuserinfo[synopsis]>0">
      <table width='100%' border='0'>
        <tr>
            <td width='10%' class="smallfont" align='left'>
                <u>User:</u>
            </td>
            <td class="smallfont" align='left'>           
                <if condition="$show['unread']"><strong>$userbit</strong><else />$userbit</if>
            </td>
        </tr>
        <tr>
            <td width='10%' class="smallfont" valign='top' align='left'>
                <u>Synopsis:</u>
            </td>
            <td class="smallfont" align='left'>
                $synopsis
            </td>
        </tr>
      </table>
<else />
      <div class="smallfont"><if condition="$show['unread']"><strong>$userbit</strong><else />$userbit</if></div>
</if>
        </td>
        <td class="alt1Active" id="m$pm[pmid]" nowrap width='15%'>
            <div class="smallfont">
                <span style="float:$stylevar[right]" class="smallfont">$pm[senddate]</span><br/>
                <span style="float:$stylevar[right]" class="time">$pm[sendtime]</span>
            </div>
        </td>
        <if condition="$show['pmcheckbox']"><td class="alt2" align="center" style="padding:0px" width='3%'><input type="checkbox" name="pm[$pmid]" value="$groupid" /></td></if>
</tr>

and here is a screen shot.


All times are GMT. The time now is 04: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.01093 seconds
  • Memory Usage 1,761KB
  • 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
  • (3)bbcode_html_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