Announcement

Collapse
No announcement yet.

Changing out all of my buttons to CSS - Question regarding Multiquote

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • diecastfast
    replied
    My CDN made multiquote stop working. Not sure why, but hard-coding the image directory URL instead of the stylevar fixed it.

    Leave a comment:


  • grecostimpy
    replied
    Thanks for the suggestion. I just tried that and unfortunately it is still having the same problems.

    Leave a comment:


  • Jake Bunce
    replied
    I think that button uses AJAX. I am guessing AJAX is causing your problem. Unfortunately I don't have any specific fixes for you.

    Try turning off AJAX to see if that affects it:

    Admin CP -> vBulletin Options -> General Settings -> Disable AJAX Features

    Leave a comment:


  • Changing out all of my buttons to CSS - Question regarding Multiquote

    I am replacing all of my postbit buttons with custom made css buttons that I developed. I have every single one of them working correctly except for multiquote.

    The multiquote functionality just does not want to work correctly on my dev server.

    All other buttons I added work correctly, but it seems this if/else statement is driving my system (and me) batty. The if/else statement basically just says "If post selected for multiquote, then use one image, if it not, use a different image"

    Well, originally I had two different css states for the buttons depending on the multiquote function. (two different css classes) but I could not get the if/else statement to work with that. Then I decided to simplify and just do what Vbulletin natively does and do an image switch....I can't seem to get that to work either.

    The issue is that half the posts show the state as being on (when they were never clicked) and the other half show it as off (completely random order). Clicking an on or off multiquote button does not change the image.

    Any ideas? (I've also attached a screen recording of my buttons in action...hope you like). I'm sure plenty of people have done stuff like this (using html/css in place of buttons...so somebody must have a solution for my multiquote problem!



    Here's the original vbulletin multiquote html:

    Code:
    <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>
    Here's my multiquote html (for my new button):

    Code:
    <if condition="$show['multiquote_post']">
    <a href="$post[replylink]" rel="nofollow" onclick="return false" class="buttons" style="margin-bottom:10px; width:60px"> <img src="images/pngbuttons/<if condition="$show['multiquote_selected']">quote<else />quote2</if>.png" alt="$vbphrase[multi_quote_this_message]" border="0" id="mq_$post[postid]" /></a>        
    </if>
    Attached Files
    Last edited by grecostimpy; Thu 14 May '09, 11:11am.

Related Topics

Collapse

Working...
X