vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.8 Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=236)
-   -   New PM button in messagelist (https://vborg.vbsupport.ru/showthread.php?t=196890)

Mazinger 11-20-2008 10:00 PM

New PM button in messagelist
 
1 Attachment(s)
This is a modification to show 'send pm' button in messagelist -- screenshot attached.


Style Manager -> Edit Templates -> pm_messagelist

Find:

HTML Code:

<if condition="$show['pagenav']">
<table cellpadding="0" cellspacing="0" border="0" width="100%" style="margin-bottom:3px">
<tr valign="bottom">
<if condition="$pagenav"><td align="$stylevar[right]">$pagenav</td></if>
</tr>
</table>
</if>

Replace it with:


HTML Code:

<table cellpadding="0" cellspacing="0" border="0" width="100%" style="margin-bottom:3px">
<tr valign="bottom">
<td><a href="private.php?do=newpm"><img src="$stylevar[imgdir_button]/sendpm.gif" alt="$vbphrase[send_new_message]" border="0" /></a></td>
 <if condition="$pagenav">
<td align="$stylevar[right]">$pagenav</td></if>
</tr>
</table>


Then save.



You may change $stylevar[imgdir_button]/sendpm.gif to any other image.



Please click INSTALLED to get support for this modification


NAZIA 11-21-2008 09:30 PM

Nice Idea..
But The New P, button is Also Available In the sidebar of Usercp.!
What do you think?
But Graphically Button is also fine...

Mazinger 11-22-2008 07:06 PM

I'm not sure what you mean, can you post a screenshot?

Fergal C 08-09-2009 02:17 PM

Very convenient feature. Will add to the user-friendliness of my forum.

yotsume 08-09-2009 07:23 PM

Can you post the photoshop file for the button. I need the button to read: New PM or something like that.

BucWiLd 10-17-2009 02:47 AM

ty, installed

Mazinger 10-19-2009 01:17 PM

Quote:

Originally Posted by yotsume (Post 1864187)
Can you post the photoshop file for the button. I need the button to read: New PM or something like that.

It's the original sendpm image that comes with vBulletin package. You can download the PSD from your vBulletin's members area.

Ice-Maiden 10-23-2009 07:46 AM

Installed, and works a treat, great add on to my site, will help members greatly! Thankyou! :)

COL NIL SATIS 10-23-2009 02:09 PM

Nice one...installed

Mazinger 03-20-2013 01:37 PM

You're welcome all.


All times are GMT. The time now is 11:05 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.01187 seconds
  • Memory Usage 1,731KB
  • 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_html_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete