Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Sign In with Facebook Sign In with Google Sign In with OpenID Sign In with Twitter

Categories

In this Discussion

Who's Online 10

CurtisOdenGpunzetPewPewKchuck911ericgillettemshaw7422 +3 guests

Additon to voting plugin: Arrange Boxes

This discussion is related to the Voting addon.
There was a thread earlier asking if it were possible to arrange the boxes on the discussions page, and when I looked, I seen that this would be difficult for the average user, so I added the code neccessary to configure the arrangement.

It is probably sloppy, and there is probably a better way to accomplish this, but the addition is working, and I would like you to take a look over to see if this is something you could integrate into the plugin.

It is available on github here: http://github.com/ZodiacDM/ArrangeBoxes
Tagged:

Comments

  • Posts: 15
    When using the Voting plugin, this is what I get when looking at the Questions tab in a user's profile.
    image
    But when I use your addition, it works correctly, without those "follows, answers, etc."
    Do you know how I can fix it in the plugin wihtout using your addition?
  • Posts: 15
    Nevermind, I fixed it.
  • Posts: 93
    @iznk
    How did you fix that? I have the same problem.
  • Posts: 15
    Sounds funny, BUT...

    In "class.voting.plugin.php"

    In line 101 added

    public function ProfileController_Render_Before($Sender) {
    $Sender->AddCSSFile('plugins/Voting/design/voting.css');
    }


    There is one instruction just like that already, but for some reason you need one more. (That's the way it's done in the addition)
  • Posts: 15
    I also removed the "Follows" box and got the Bookmark star back and made "Popular" button sort discussions by votes rather than by views (more logical, I think, and useful). If anybody interested, I'll tell you how.
  • Posts: 15
    WTF is that shit?
  • Posts: 697
    @iznk howd you remove the follows box?
  • @iznk - 'Follows' box still appear in discussion though you deselect (empty) it. If you are logged in then it goes away.
    Thanks.
    Hum

Sign In or Register to comment.