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.
Experienced extension developer assistance please? :=)
I just recently sorta finished my first extension (Dojo Files) and it went pretty smooth. I even used very little or no hacks in the end. I love coding for vanilla. Its so good set up. However for my next project, I got something much more complex planned, and I think I need someone to explain a few things (or maybe its just one used in a few ways) to me to get me started. I suspect it has everything to do with these call delegate("prerender") methods. I sorta almost understand, but not quite there.
Let me explain a part of what I need to do to get this ball rolling. First part I need a category that works in a very special way:
Let me explain a part of what I need to do to get this ball rolling. First part I need a category that works in a very special way:
- It will not show up on the discussions page Done. Use Wallpapers Category Hider
- Unless its in the form of the first comment as a whisper. So that whispered users will not miss it.
- Noone (unless probably admins) may start discussion in this category. Everyone may comment CategoryRoles Works, but would like it implemented inside sextension
- The first two posts in this category will be system generated.
- The first post will be a whisper to one user, it will be generated by the system, but will have another user (a challanger) as author
- The whisperer will not see the post at this point
- The user whispered to will not be able to post a comment, but submit a reply in a special way I will either use extension.php?PostBackAction for or preferably replace the post form with.
- The Second post will also be system generated, it will either say that the user that was whispered to declined or if accepted the result of the challange.
- At this point (the discussion has 2 posts) it will be no longer whisper, but be made public for all to see and comment on (but as said above, not in the discussions page as to clutter it up.
0
This discussion has been closed.
Comments
I get that far on my own Schizo. I understand why use delegates, not quite clear on how. I have a plan in my head for how to build this, but its just a bit out of focus. A little explenation or code example or something might be just the push I need
I have so far used an edited version of your hider with my own admin settings code made the hide from front category. I have also made the "challenge this user" on account page link. The new pages I think i can manage using the extension.php as I have done before, probably..