Skip to:
Content
Pages
Categories
Search
Top
Bottom

button for create topic

Viewing 2 replies - 1 through 2 (of 2 total)

  • Robkk
    Moderator

    @robkk

    Is this a site you created? It looks pretty darn good and it seems to try to not stay with bbPress’ default design, and everything is unique, which I very much like to see designers do.

    As for what you asked in this topic, you can do this with the help of some jquery, and a conditional whether the user is logged in or not.

    This will have links to basic code for a show/hide toggle for a simple div. Just remember to use the topic forms container ID in any code you are going to use.

    http://www.w3schools.com/jquery/jquery_hide_show.asp

    This is a possible recommendation of a conditional you should use in a function you would create with whatever modal login plugin you are using.

    if (!jQuery(this).hasClass('active') && !jQuery('body').hasClass('logged-in')) {


    andrewkusuma
    Participant

    @andrewkusuma

    I want to clone that site, I will try it. Thank Robkk

Viewing 2 replies - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.
Skip to toolbar