The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
![]()
how to disable quote for 1st post. i mean user cant copy paste thread.thx
|
#2
|
||||
|
||||
![]()
You realize they can just use their mouse to copy/paste the content into a post and put quote tags around it, right? I suppose if you wanted, you could put a condition around the Quote tag to not show it for the first post, but as I said, all they have to do is copy/paste with their mouse and then they've quoted it anyway and you can't do anything about that.
|
#3
|
|||
|
|||
![]()
hmmm i know about that lynne.
but for this issue. i just want block qoute for first post. can u help me? maybe i need some module about this / plugins. thx |
#4
|
||||
|
||||
![]()
I use this in my postbit:
HTML Code:
<if condition="$post['postid']==$thread['firstpostid']"> stuff </if> |
#5
|
|||
|
|||
![]()
hi lynne may i know when i put that code? i mean in postbit legacy..where i must put that code? in top / bottom? thx
|
#6
|
||||
|
||||
![]()
I don't think it's going to work just on it's own (but it may, I don't remember). You may need to modify your code to create the variable $thread['firstpost'] and then do something like this (this is 3.6.8 code, so you may have to modify it for whatever version you use):
HTML Code:
<if condition="$post['postid']!=$thread['firstpostid']"> <if condition="$post['replylink']"> <a href="$post[replylink]" rel="nofollow"><img src="$stylevar[imgdir_button]/<if condition="$post['forwardlink']">reply_small<else />quote</if>.gif" alt="$vbphrase[reply_with_quote]" border="0" /></a> </if> <if condition="$show['multiquote_post']"> <a href="$post[replylink]" rel="nofollow" onclick="return false"><img src="$stylevar[imgdir_button]/multiquote_<if condition="$show['multiquote_selected']">on<else />off</if>.gif" alt="$vbphrase[multi_quote_this_message]" border="0" id="mq_$post[postid]" /></a> </if> </if> |
#7
|
|||
|
|||
![]()
hi lynne thx for reply.
btw may i know about the name for the template i must edit? or put the code? and between ? |
#8
|
||||
|
||||
![]()
Either the postbit or postbit_legacy template, whichever you are using. All I did was put a condition around the already existing code.
|
#9
|
|||
|
|||
![]()
sorry lynne im using 3.7.4 vbulletin.
now im in postbit_legacy. i dont know to put ur code in the template : Code:
<if condition="$post['postid']!=$thread['firstpostid']"> <if condition="$post['replylink']"> <a href="$post[replylink]" rel="nofollow"><img src="$stylevar[imgdir_button]/<if condition="$post['forwardlink']">reply_small<else />quote</if>.gif" alt="$vbphrase[reply_with_quote]" border="0" /></a> </if> <if condition="$show['multiquote_post']"> <a href="$post[replylink]" rel="nofollow" onclick="return false"><img src="$stylevar[imgdir_button]/multiquote_<if condition="$show['multiquote_selected']">on<else />off</if>.gif" alt="$vbphrase[multi_quote_this_message]" border="0" id="mq_$post[postid]" /></a> </if> </if> |
#10
|
||||
|
||||
![]()
You find your code that looks like this:
HTML Code:
<if condition="$post['replylink']"> <a href="$post[replylink]" rel="nofollow"><img src="$stylevar[imgdir_button]/<if condition="$post['forwardlink']">reply_small<else />quote</if>.gif" alt="$vbphrase[reply_with_quote]" border="0" /></a> </if> <if condition="$show['multiquote_post']"> <a href="$post[replylink]" rel="nofollow" onclick="return false"><img src="$stylevar[imgdir_button]/multiquote_<if condition="$show['multiquote_selected']">on<else />off</if>.gif" alt="$vbphrase[multi_quote_this_message]" border="0" id="mq_$post[postid]" /></a> HTML Code:
<if condition="$post['postid']!=$thread['firstpostid']"> <if condition="$post['replylink']"> <a href="$post[replylink]" rel="nofollow"><img src="$stylevar[imgdir_button]/<if condition="$post['forwardlink']">reply_small<else />quote</if>.gif" alt="$vbphrase[reply_with_quote]" border="0" /></a> </if> <if condition="$show['multiquote_post']"> <a href="$post[replylink]" rel="nofollow" onclick="return false"><img src="$stylevar[imgdir_button]/multiquote_<if condition="$show['multiquote_selected']">on<else />off</if>.gif" alt="$vbphrase[multi_quote_this_message]" border="0" id="mq_$post[postid]" /></a> </if> </if> </if> |
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|