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)
-   -   PM button in postbit (https://vborg.vbsupport.ru/showthread.php?t=117971)

dnclub.org 10-26-2006 01:51 AM

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

McMendo 11-05-2006 09:00 PM

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'">

phovanxua 11-07-2006 05:28 AM

Installed ...work on 3.6.2 and 3.5.4 .

Thanks .

oberheimhaven 11-08-2006 11:34 PM

Very nice hack thank you!!!
Installed 3.6.0 zero issues!!
Musiciansquarters.com

yoyoyoyo 12-09-2006 03:23 AM

the code seems to have changed for 3.6.4

KURTZ 12-11-2006 01:19 PM

3.6.4 works correctly :P

Veer 12-12-2006 03:37 PM

Installed.

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

Thanks.

ND4SPD 12-22-2006 12:09 AM

Great tweak. Thanks!

peterska2 12-22-2006 12:01 PM

Quote:

Originally Posted by Pehchaan (Post 1137162)
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.

smoknz28 12-23-2006 01:15 PM

Quote:

Originally Posted by yoyoyoyo (Post 1134958)
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:


All times are GMT. The time now is 02:50 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.01084 seconds
  • Memory Usage 1,735KB
  • 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
  • (3)bbcode_code_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)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