Member Log In
Site Navigation
Latest Modifications
- [vB 3.8.4] THX - Hack for VB. 3.8.4
By: bluedog - [vB 3.8.4] Cyb - Chatbox V.2.3
By: bluedog - [vB 4.0.x] PHPKD - Advanced Quick...
By: PHPKD - [vB 3.6.x] StopSpam
By: flappi282 - [vB 3.8.x] vBulletin Chat Addon for...
By: 123flashchat
Latest Template Mods
- [vB 4.0.x] Remove My Profile Link...
By: Ak Worm - [vB 3.8.x] Images DownloadBox...
By: cRs!MP - [vB 3.8.x] Adviertise Mod On Forum...
By: MG4 - [vB 3.8.4] Images PassWordBox...
By: cRs!MP - [vB 3.8.4] Footer Follow Ups
By: Ak Worm
Latest Styles
- [vB 4.0.x] 4.0.3 - VB4STYLE-TWEETA...
By: Belon - [vB 4.0.x] [4.0.3] vbdesigns.de...
By: Belon - [vB 3.8.4] CompletevB - Skylight
By: DreadKnight - [vB 3.8.3] [vB 3.8.4] Barcelona...
By: hoiquantinhoc.com - [vB 3.8.3] Natures Walk by vBSkin...
By: Chri5
Latest Graphics
- [vB ] [anim.]Team Ranks
By: cRs!MP - [vB ] Abstract Circles (3...
By: cRs!MP - [vB ] PlayStation Rank Images
By: cRs!MP - [vB 3.6.12] Heavy Stroked Button...
By: Shelley - [vB ] Minature Ranks.
By: Shelley
![]() |
| | #1 |
| |
Status: Offline How do i make a PM button show up in my postbit, but NOT in my pms. Right now im using code that shows the "Send PM" button in the postbit, which displays the send pm button for every user, but doesnt show the button to that user in their own posts. The problem is, this button also shows up in my PM's. Whenever i (or anyone else) reads a PM, that same "Send PM" button shows up there as well. Its sort of redundant there, so id like it NOT to show up in the PM's anyone know how? This is the code im using right now. PHP Code: |
|
| | #2 |
| |
Status: Offline Private messages use the postbit template, which is why it's like that. If you want something to only show up in a thread do this: Code: <if condition="THIS_SCRIPT == 'showthread' "> CODE HERE </if> |
|
| | #3 |
| |
Status: Offline so basically i add that little bit of code around the pm button statement? do i need to modify that pm button code in anyway? or just insert it where it says "CODE HERE" |
|
| | #4 |
| |
Status: Offline ok this works nice ... but for some reason i cant see, right beside the button is now a little _ but its highlighted like a hyperlink underline and not quite a _ |
|
| | #5 |
| |
Status: Offline ok here is my code now PHP Code: I honestly cant see why its doing this either. It only started showing this line after i added the code you posted.... but the code works perfectly |
|
| | #6 |
| |
Status: Offline i can't see in the code any reason either. The only code in there with an underscore is the phrase the if and the target. |
|
| | #7 |
| |
Status: Offline here is the code, with the edit and forward button code after it PHP Code: |
|
| | #8 |
| |
Status: Offline not seeing any _ in that either :( |
|
| | #9 |
| |
Status: Offline well i dont know what was causing it, considering that i havent made any changes to the code used to display the button there, but i replaced that code with the code from the original hack (i swear to god nothing was different between the two versions) and now it works. this is weird ****. [-EDIT-] The below is meant to be in a TOTALLY different thread altogether This Thread I've been into the mind altering substances again though, and totally mashed these two threads together in my brain ![]() <!-- Begin post in wrong thread --> However, I would like to know how to make 2 radio buttons, so that the user can choose between registered and unregistered login. if they arent registered, it should simply grey out the lname box, and not use '?loginname=' + TSLogin.lname.value in the url. <!-- End post in wrong thread --> Last edited by BigJohnny; 07-27-2006 at 11:43 PM. |
|
| | #10 | |
| | Quote:
![]() Try this: Code: <if condition="THIS_SCRIPT == 'showthread'"> <if condition="$post[userid] != $bbuserinfo[userid]"> <if condition="$show['pmlink']"> <a href="private.php?$session[sessionurl]do=newpm&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></if> | |
|
![]() |
| Thread Tools | |
| |
All times are GMT. The time now is 05:30 AM.
Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.3.2 ©2009, Crawlability, Inc.
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.3.2 ©2009, Crawlability, Inc.


























