Skip to:
Content
Pages
Categories
Search
Top
Bottom

Fixed* help with js – twitter style login plugin

  • @nit3watch

    Participant

    Edit: Had a look at modemloopers share-it js and changed the $ to jq and it works..

    Im building a twitter style login for my bp site ( can check out a working example of the login form here http://aext.net/example/twitterlogin/# ).

    Its a tiny plug-in in its basic form, so wont be a eye-sore :P

    Im no good when it comes to js so if some one could help me and have a look? where Im going wrong or why the drop down isn’t working please.
    I still have to add wp / bp log-in php and stuff.. but need to get the js working before I can continue working on it.

    Here’s the twitstyle-loginphp: http://pastebin.com/9rxB03PJ
    Here’s the twitstyle-login.js: http://pastebin.com/2yyWv4hS
    And the twitstyle-login.css: http://pastebin.com/vVMf5UMG

Viewing 5 replies - 1 through 5 (of 5 total)
  • @djpaul

    Keymaster

    I will suggest that, in my experience, if you plan to distribute this code, that you do not use the jq variable. This is because jq only exists on BP-Default and any child theme.

    @nit3watch

    Participant

    @DJPaul so then I take it you mean I should release it with a ‘buddypress check’.. if bp doesn’t exist, don’t let it activate?

    And paul, Ive got a few plug-ins I could release but not really sure what to do when on the wp “Add Your Plugin” page, there’s the url field: do I host the file with a file hosting site and just append the link ( url ) or do they want a url with bp and the plug-in running live to test it?

    Thanks and regards

    @modemlooper

    Moderator

    The url field is optional. You request svn space and then after they ok the space you will need a SVN client to add the files to the repo

    @nit3watch

    Participant

    ta modemlooper

    @djpaul

    Keymaster

    @Nit3watch No, I wasn’t suggesting that. But your plugin should take that into account if the functionality is dependant on BuddyPress. See https://codex.buddypress.org/extending-buddypress/make-your-plugin-buddypress-aware-v1-2/

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Fixed* help with js – twitter style login plugin’ is closed to new replies.
Skip to toolbar