Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.6 > vBulletin 3.6 Template Modifications
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
PM button in postbit Details »»
PM button in postbit
Version: 1.0.2, by peterska2 peterska2 is offline
Developer Last Online: Nov 2013 Show Printable Version Email this Page

Version: 3.6.0 Beta 1 Rating:
Released: 06-07-2006 Last Update: Never Installs: 273
Template Edits
 
No support by the author.

This is the new and improved version of the PM button in postbit modification found here.

What does it do?
Adds the PM button to the postbit of each user next to the edit button.
It does not show in your own postbit, as you don't really want to send yourself a PM - do you?

So what's new and improved about it?
It no longer shows in the private messages or to guests.

How to install
Download the text file and perform the enclosed template edit.

For those who want to know what it looks like, a screen shot is attached.

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #42  
Old 01-12-2007, 11:35 AM
grecostimpy grecostimpy is offline
 
Join Date: Mar 2005
Posts: 93
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Funboy, 3.6.4 is a slightly different.

Find this:

Code:
<div style="margin-top: 10px" align="$stylevar[right]">
			<!-- controls -->
.....and insert the code directly beneath it.

Code:
<if condition="$post[userid] != $bbuserinfo[userid] AND THIS_SCRIPT!='private'"><if condition="$show['pmlink'] AND $show[member]"><a href="private.php?$session[sessionurl]do=newpm&amp;u=$post[userid]" target="_blank" rel="nofollow"><img src="$stylevar[imgdir_button]/sendpm.gif" alt="sendpm.gif" title="<phrase 1="$post[username]">$vbphrase[send_private_message_to_x]</phrase>" border="0" /></a></if></if>
Reply With Quote
  #43  
Old 01-15-2007, 05:21 PM
blind-eddie's Avatar
blind-eddie blind-eddie is offline
 
Join Date: Apr 2006
Location: Michigan
Posts: 2,310
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

What would I need to do to add page along side pm, for those of use with vbpager?
Reply With Quote
  #44  
Old 01-16-2007, 08:04 AM
voter's Avatar
voter voter is offline
 
Join Date: Dec 2006
Posts: 192
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I put it in postnit_legacy after <if condition="$show['reportlink']"> to show the button near user name
Reply With Quote
  #45  
Old 01-21-2007, 02:56 PM
PoetJA-1975's Avatar
PoetJA-1975 PoetJA-1975 is offline
 
Join Date: Sep 2006
Location: Meh...
Posts: 1,218
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Very nice! Thanx for the share!

Jacquii.
Reply With Quote
  #46  
Old 02-03-2007, 12:59 AM
DasCool DasCool is offline
 
Join Date: Jan 2007
Posts: 45
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ok i Can't even make it work, what is going on? I edited the Post Bit since that is where i found the code
Reply With Quote
  #47  
Old 02-17-2007, 11:33 AM
rusty123 rusty123 is offline
 
Join Date: Jan 2007
Posts: 5
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

For some reason i couldnt make it work in the postbit legacy template, but it worked fine in the postbit template. If one doesnt work for you try the other, there is a <!-- controls --> in both templates.
Reply With Quote
  #48  
Old 03-25-2007, 07:41 PM
WAHMama WAHMama is offline
 
Join Date: Jun 2006
Posts: 31
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks, worked great
Reply With Quote
  #49  
Old 04-05-2007, 03:37 PM
princeedward's Avatar
princeedward princeedward is offline
 
Join Date: Jan 2007
Location: Deutschland
Posts: 901
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Great & thanks for this nice mod....work fine to my vB 3.6.5
Reply With Quote
  #50  
Old 05-01-2007, 03:02 PM
eNtitY~ eNtitY~ is offline
 
Join Date: Oct 2005
Location: Novi, Mi
Posts: 56
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Will this auto update for each template (the button) or is it generic?
Reply With Quote
  #51  
Old 05-02-2007, 08:09 AM
ragnar21583 ragnar21583 is offline
 
Join Date: Mar 2007
Posts: 3
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Worked like a charm! Had to do some searching, as there was more than one <!-- controls --> in the postbit legacy.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 11:51 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.17677 seconds
  • Memory Usage 2,299KB
  • Queries Executed 25 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (2)bbcode_code
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete