vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.7 Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=229)
-   -   Private Messages Enhancements - PM Icon in the Postbit (https://vborg.vbsupport.ru/showthread.php?t=210025)

pooslokka 03-31-2009 10:00 PM

PM Icon in the Postbit
 
Hai friends,

This modification allows a member to Send a PM to anyone using a single click on the PM Icon shown in the post bit instead of click the user name and click the 'Send a private message' in the drop down menu.

Title : Postbit PM Icon

Tag: pm, Icon, Postbit

Installation :

1. Upload one of the attached png/gif mail icon to forum/images folder

Goto Style & Templates > postbit Templates > Postbit > find "$vbphrase[posts]: $post[posts]". after $vbphrase[posts]: $post[posts] </div> on the next line insert the below code. (Make sure the icon url is correct in the below code) .

Code:

<!--Postbit PM Icon Modification-->
                                        <div>
<a $show[pmpopuplink] href="private.php?$session[sessionurl]do=newpm&amp;u=$post[userid]" rel="nofollow"><img src="http://www.yoursite.com/forum/images/email.gif" alt="Send a PM to $post[username]" border="0" /></a></div>

<!--End of Postbit PM Icon Modification-->

Demo : Demo

pooslokka 04-01-2009 09:00 AM

The code has been updated and old Text Link next to the Icon has been removed. A new icon also attached. New screen shot and Demo link has been updated.

SpottySocks 04-01-2009 03:56 PM

Nice mod, but it's easy enough to click the username and just select Send a PM to User.

pooslokka 04-01-2009 04:20 PM

Quote:

Originally Posted by SpottySocks (Post 1781821)
Nice mod, but it's easy enough to click the username and just select Send a PM to User.

Yes spttvSocks :D
Just a matter between one click and a two clicks, but i though that PM icon will enhance the look of the postbit a little ;)

Alexey? 04-10-2009 09:11 AM

TNX, but there is not a big diffrent btween click on user and click on send pm


All times are GMT. The time now is 02:38 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.00951 seconds
  • Memory Usage 1,719KB
  • 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_code_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (5)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete