Vanilla 1 is no longer supported or maintained. If you need a copy, you can get it here.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
Ability to add link classes with an extension?
Hey, I've decided to start poking around and try to write my first extension.
I'm currently looking at something pretty simple. I would like to add the 'thickbox' class to the "Sign In/Sign Out" link so that it will automatically pull the page into a thickbox window. I really don't like how a user doesn't get forwarded back to the main forum after signout and signing in would be so much easier in a thickbox window.
Are there any examples of modifying forum links (or something similar) in the extension dev docs or elsewhere to get me started?
Thanks for the help. ^_^
I'm currently looking at something pretty simple. I would like to add the 'thickbox' class to the "Sign In/Sign Out" link so that it will automatically pull the page into a thickbox window. I really don't like how a user doesn't get forwarded back to the main forum after signout and signing in would be so much easier in a thickbox window.
Are there any examples of modifying forum links (or something similar) in the extension dev docs or elsewhere to get me started?
Thanks for the help. ^_^
0
This discussion has been closed.
Comments
Is it the confusion, or are there no examples?
Thick/Greybox simply pulls in an external frame/iframe into the current document and interacts with it from there to my knowledge, so you'll see if there's a way to blur that line a bit, I might suggest just rewriting the login link with a form that slides/fades in/out with an alternate bit of ajax to aleviate the page switching if possible.
I guess I'll just stick with the login-in-sidebar extension I'm using and then use a bit of refresh code to forward users back to the index. Although, if you can find that mod it would be awesome too. 20 or so minutes of my poking around with the search didn't turn up anything, but maybe I was searching for the wrong idea. o.o
Thanks so much.