vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=194)
-   -   Private Messages Enhancements - Scr - PM Preview (https://vborg.vbsupport.ru/showthread.php?t=138944)

YeşiLMeN 02-08-2007 10:00 PM

Scr - PM Preview
 
WwW.ULTRavB.CoM
ScReaM_


This is a Advanced PM Preview For 3.6 & Controlled via the vB Options..:up:

AdminCP => Plugin System => Click Manage Products => Click [Add/Import Product] => Under Import Product => Select the "scr_pmpreview.xml" file => Press Import..

In "pm_messagelistbit" Template Find ;


Code:

        <td class="alt1Active" id="m$pm[pmid]" width="100%">
                <div>
                        <span style="float:$stylevar[right]" class="smallfont">$pm[senddate]</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>
                </div>
                <div class="smallfont">
                        <span style="float:$stylevar[right]" class="time">$pm[sendtime]</span>
                        <if condition="$show['unread']"><strong>$userbit</strong><else />$userbit</if>
                </div>
       
        </td>

Replace With ;

Code:

<if condition="$vboptions[scr_pmpreview_onoff]==0">
        <td class="alt1Active" id="m$pm[pmid]" width="100%">
                <div>
                        <span style="float:$stylevar[right]" class="smallfont">$pm[senddate]</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>
                </div>
                <div class="smallfont">
                        <span style="float:$stylevar[right]" class="time">$pm[sendtime]</span>
                        <if condition="$show['unread']"><strong>$userbit</strong><else />$userbit</if>
                </div>
       
        </td>
</if>
<if condition="$vboptions[scr_pmpreview_onoff]==1">
        <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>

Admin Controllable ;

vBulletin Options -> Scr - PM Preview

YeşiLMeN 02-09-2007 03:03 PM

*Reserved First Post !

-- Click Install Pls :)

Surviver 02-09-2007 03:31 PM

A Version with a few more Features is already aviable here: https://vborg.vbsupport.ru/showthread.php?t=132622

Mr_Snob 02-09-2007 03:43 PM

Quote:

Originally Posted by Surviver (Post 1178456)
A Version with a few more Features is already aviable here: https://vborg.vbsupport.ru/showthread.php?t=132622

it is good if from one hack of it many gives
the people need perhaps advanced or simple of one hack who knows? :)

gullystation 02-09-2007 03:43 PM

3rd Post. Nice work!

Lizard King 02-09-2007 03:53 PM

Inside templates instead of <i>code</i> you shall use <em>code</em> since <i> tags break validation.

Snake 02-09-2007 06:02 PM

Thanks!

YeşiLMeN 02-09-2007 08:24 PM

Install Please

projectego 02-09-2007 09:28 PM

Nice idea! Thanks. :)

YeşiLMeN 02-10-2007 06:49 AM

*Install ! :)
Click Here !


All times are GMT. The time now is 06:16 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.01137 seconds
  • Memory Usage 1,738KB
  • 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
  • (2)bbcode_code_printable
  • (1)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
  • (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