vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=192)
-   -   Mini Mods - PM Button (https://vborg.vbsupport.ru/showthread.php?t=163909)

mad@Max 11-29-2007 10:00 PM

PM Button
 
I'm dont like press on nick and click there "Send PM ...". You too? So take it:)
Find in postbit_legacy or postbit:
PHP Code:

<div>&nbsp;$post[icqicon$post[yahooicon$post[aimicon$post[msnicon$post[skypeicon]&nbsp;</div

And add bottom:
PHP Code:

<if condition="$show['pmlink']"><a href="private.php?$session[sessionurl]do=newpm&amp;u=$post[userid]target="_blank" rel="nofollow"><img src="$stylevar[imgdir_button]/sendpm.gif" alt="<phrase 1="$post[username]">$vbphrase[send_private_message_to_x]</phrase>" title="<phrase 1="$post[username]">$vbphrase[send_private_message_to_x]</phrase>" border="0" /></a></if>&nbsp;</td></if> 

You may paste this button anywhere;)
Screenshot:
http://www.ii4.ru/thumbs/298830exmpl.png

omar almukhtar 11-30-2007 01:44 PM

plaese provid an example to see you modification and if people liked it they will do it .

Symbian Galaxy 11-30-2007 02:00 PM

err , I dont understand whats this?

mnero 11-30-2007 03:17 PM

so ... have a demo ?

nyunyu 11-30-2007 04:23 PM

I think what he meant is to show a link or button under user nick. Better try and see what happen.

ChU v2 11-30-2007 06:27 PM

It provides a link to send the user a PM in their postbit. The postbit is where the avatar, username, usertitle, posts, location, etc is when a user posts in every post they make.

Good idea.

mad@Max 11-30-2007 08:20 PM

ChU v2 yes, you right. Added screenshot in first post.

Wheezy 01-07-2008 07:34 AM

I tweaked it a little, but it's still functioning the same on my forum. Great work!

imports 01-07-2008 05:58 PM

Installed !!! thanks


All times are GMT. The time now is 12:40 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.01235 seconds
  • Memory Usage 1,729KB
  • 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_php_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (9)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