vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=155)
-   -   PM Button in postbit (https://vborg.vbsupport.ru/showthread.php?t=100822)

peterska2 11-14-2005 10:00 PM

PM Button in postbit
 
As requested here

Templates to edit: 1
Difficulty: Easy

Time to install: < 1 min

What it does: Adds a PM button next to the quote button in the postbit.

How to install: Download attached file and follow the simple instructions.
Please click the install button if you use this mod. Thanks


If you are using postbit_legacy the code to find is

Code:

<td class="alt1" align="$stylevar[right]">
    </if>
        <!-- controls -->

NOT what is in the instructions as that doesn't exist.



Update to v1.0.1: 18 Nov 2005 @ 16:30 GMT

Changes made:
Now doesn't show send PM button in your own posts.



15 Nov 2005 @ 03:15 GMT - Updated txt file to fix a couple of errors.


Important information regarding support - 20/04/06
Due to time constraints and the amount of things that are being planned for future modifications, priority support will now be provided here. Support provided in this thread will be on an as and when basis.

Tony G 11-15-2005 12:20 AM

Neat mod. Thanks for sharing.

dieselpowered 11-15-2005 12:54 AM

This is a great idea...I will try it out!

slvr ralliart 11-15-2005 12:57 AM

*clicks install*

first one!! w00t

dieselpowered 11-15-2005 01:00 AM

Hmmm works alright, however, when you hoover over the button alt text brings up 'send private message to' and that is all. Should it show the members name?

Also, when clicked, should it autofill the members name in the recipient box?

peterska2 11-15-2005 01:03 AM

ok, I might have buggered up slightly. Give me two ticks and I'll check it over again.

dieselpowered 11-15-2005 01:06 AM

no problem my friend...did not mean to sound like I was complaining ;)

peterska2 11-15-2005 01:09 AM

Quote:

Originally Posted by xtremeoff-road
no problem my friend...did not mean to sound like I was complaining ;)

Don't worry. It's what I get for deciding to write a mod when I was supposed to be going to bed!

I'm updating the file now.

There are two little errors (well the same one twice actually). In the added code find $userinfo and replace with $post

It'll work then.

dieselpowered 11-15-2005 01:22 AM

Just a thought, but could something be added so that the specific member does not see the option to PM themselves?

Rickie3 11-15-2005 01:58 AM

wow now thats very handy thankyou clicks *install*


All times are GMT. The time now is 08:52 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.01096 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
  • (1)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