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
  #22  
Old 10-26-2006, 01:51 AM
dnclub.org dnclub.org is offline
 
Join Date: Apr 2006
Location: www.webdirectory.cn
Posts: 27
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

doesn't work for me on 3.6.2 :surprised:

can somebody help ?

i entered this 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>

Thanks
Dave
Reply With Quote
  #23  
Old 11-05-2006, 09:00 PM
McMendo McMendo is offline
 
Join Date: Aug 2006
Posts: 90
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Peterska2
Also if you cannot find the entire code to find, just search for
Code:
<!-- controls -->
*click* installed. Thank you.

But now I'm left to wonder what this line of code that I don't have in my postbit_legacy or postbit templates is. I'm missing bits and pieces since I upgraded from 3.5.4 to 3.6.
Code:
<if condition="$post[userid] != $bbuserinfo[userid] AND THIS_SCRIPT!='private'">
Reply With Quote
  #24  
Old 11-07-2006, 05:28 AM
phovanxua phovanxua is offline
 
Join Date: Sep 2006
Posts: 115
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Installed ...work on 3.6.2 and 3.5.4 .

Thanks .
Reply With Quote
  #25  
Old 11-08-2006, 11:34 PM
oberheimhaven's Avatar
oberheimhaven oberheimhaven is offline
 
Join Date: May 2006
Location: Daytona Beach FLA
Posts: 266
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Very nice hack thank you!!!
Installed 3.6.0 zero issues!!
Musiciansquarters.com
Reply With Quote
  #26  
Old 12-09-2006, 03:23 AM
yoyoyoyo's Avatar
yoyoyoyo yoyoyoyo is offline
 
Join Date: Dec 2004
Location: USA
Posts: 1,612
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

the code seems to have changed for 3.6.4
Reply With Quote
  #27  
Old 12-11-2006, 01:19 PM
KURTZ KURTZ is offline
 
Join Date: Nov 2006
Location: Italy
Posts: 2,257
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

3.6.4 works correctly :P
Reply With Quote
  #28  
Old 12-12-2006, 03:37 PM
Veer Veer is offline
 
Join Date: Feb 2006
Posts: 733
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Installed.

Is there any way to add another button (E-mail this page) on thread's 1st post in postbit template?

Thanks.
Reply With Quote
  #29  
Old 12-22-2006, 12:09 AM
ND4SPD's Avatar
ND4SPD ND4SPD is offline
 
Join Date: Dec 2006
Posts: 34
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Great tweak. Thanks!
Reply With Quote
  #30  
Old 12-22-2006, 12:01 PM
peterska2 peterska2 is offline
 
Join Date: Oct 2003
Location: Manchester, UK
Posts: 6,504
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Pehchaan View Post
Installed.

Is there any way to add another button (E-mail this page) on thread's 1st post in postbit template?

Thanks.
I'll see about that next time I'm in the style manager.
Reply With Quote
  #31  
Old 12-23-2006, 01:15 PM
smoknz28's Avatar
smoknz28 smoknz28 is offline
 
Join Date: Sep 2005
Location: SoCal
Posts: 257
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by yoyoyoyo View Post
the code seems to have changed for 3.6.4
Yea it did to:

Code:
<div style="margin-top: 10px" align="$stylevar[right]">
			<!-- controls -->
Regardless...there's only one <!-- controls --> piece in that particular template.

Added the code in the instructions under it.

Working with no issues.

Thanks for sharing this code with us. :up:
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 06:15 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.04671 seconds
  • Memory Usage 2,307KB
  • 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
  • (3)bbcode_code
  • (3)bbcode_quote
  • (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