The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
[Solved] Reply With Quote
I can not use span or div to this phrase "Reply With Quote"
It shows the change but I see double "Reply With Quote" and at the end of the second the code, see attach image. Here Attachment 155778 All others are ok, Edit, Quick Reply. This problem is in all skins, even in default skin (which is not modified) Span code i use: <span style="font-style: italic;">Reply With Quote</span> Div code i use: <div class="better_look">Reply With Quote</div> The above codes works well to others. Any idea? :erm: |
#2
|
||||
|
||||
The code you actually use has a nesting error. Double check in the template.
|
#3
|
||||
|
||||
|
#4
|
||||
|
||||
In this case you can't add html to the phrase, because the phrase is also used in the title-tag of the <a>-Link-Element. It breaks the <a>-Tag.
You'll have to add the span not in the phrase, but in the postbit template. |
#5
|
||||
|
||||
I found them with your help. Actually for my use it is in postbit_legacy
Question, Here are both codes for the two options (button) Reply Code:
<vb:if condition="$show['quickreply'] AND !$show['threadedmode']"> <a id="qr_{vb:raw post.postid}" class='quickreply' href="{vb:raw post.replylink}" rel="nofollow"><img id="replyimg_{vb:raw post.postid}" src="{vb:raw vboptions.cleargifurl}" alt="{vb:rawphrase quick_reply_to_this_message}" /> {vb:rawphrase reply}</a> <span class="seperator"> </span> </vb:if> Reply With Quote Code:
<vb:if condition="$post['replylink']"> <a id="qrwq_{vb:raw post.postid}" class="newreply" href="{vb:raw post.replylink}" rel="nofollow"><img id="quoteimg_{vb:raw post.postid}" src="{vb:raw vboptions.cleargifurl}" alt="{vb:rawphrase reply_with_quote}" /> {vb:rawphrase reply_with_quote}</a> <span class="seperator"> </span> </vb:if> Even i can not put an attribute (ALT) Do you have in the Reply With Quote an attribute ? Sory for my bad English |
#6
|
||||
|
||||
Add a plugin, hooked at "parse_templates" with the code:
PHP Code:
|
#7
|
||||
|
||||
Thanks Mark, plugin is ok, how to put and alt="xxxxxx" can this be done in the same plugin?
|
#8
|
||||
|
||||
Quote:
edit: Oops...that phrase also controls the text on the button...give me a few minutes, and I will figure out a workaround for this. |
#9
|
||||
|
||||
Quote:
Whatever change I make it shows as I say at start of my post (see image) I do not know why, the other buttons do not have this behavior. Font italic was one of what I want to do, so it is ok with hook. I will try to see with the attribute. |
#10
|
||||
|
||||
Okay...javascript to the rescue...change the plugin to read:
PHP Code:
|
Благодарность от: | ||
Stratis |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|