Search found 182 matches
- Sat Dec 15, 2012 2:16 pm
- Forum: [3.x] Tickets Discussion
- Topic: [RFC] Ability to @mention specific users in posts
- Replies: 241
- Views: 493100
Re: [RFC] Ability to @mention specific users in posts
{user:xxx} links to the user with user name (and/or user ID?) xxx. {forum:xxx} links to the forum with forum ID xxx (displaying the forum's name in the link). {topic:xxx} links to the topic with topic ID xxx (displaying the topic's title in the link). {post:xxx} links to the post with post ID xxx (...
- Sun Dec 09, 2012 7:27 pm
- Forum: [3.x][Archive] RFCs
- Topic: [RFC] BBCode permissions and moving to all custom
- Replies: 44
- Views: 90967
Re: [RFC] BBCode permissions and moving to all custom
Am I missing something? callumacrae asked why I need IDs, and I explained how lots of JS libraries requiere HTML IDs for them to work. I'm just answering his question.
EXreaction's solution is pretty good, it will work for me, unless JS is disabled, in that case I'm not sure what would happen.
EXreaction's solution is pretty good, it will work for me, unless JS is disabled, in that case I'm not sure what would happen.
- Sun Dec 09, 2012 6:51 pm
- Forum: [3.x][Archive] RFCs
- Topic: [RFC] BBCode permissions and moving to all custom
- Replies: 44
- Views: 90967
Re: [RFC] BBCode permissions and moving to all custom
The carousel uses ID, check the first line: <div id="myCarousel" class="carousel slide"> If you remove id="myCarousel" it won't work. I know it could probably be rewritten to work without IDs but that's how most of these libraries work, this is the standard, not the exc...
- Sun Dec 09, 2012 5:52 pm
- Forum: [3.x][Archive] RFCs
- Topic: [RFC] BBCode permissions and moving to all custom
- Replies: 44
- Views: 90967
Re: [RFC] BBCode permissions and moving to all custom
Check my previous posts on this thread, that's what I've been discussing. The example given was JS charts and image carousels.
- Sun Dec 09, 2012 4:48 pm
- Forum: [3.x][Archive] RFCs
- Topic: [RFC] BBCode permissions and moving to all custom
- Replies: 44
- Views: 90967
Re: [RFC] BBCode permissions and moving to all custom
Why not? In most of these JS libraries you really need an unique identifier. Not having a way to be sure it's unique is asking for trouble.
- Sat Dec 08, 2012 6:16 pm
- Forum: [3.x][Archive] RFCs
- Topic: [RFC] BBCode permissions and moving to all custom
- Replies: 44
- Views: 90967
Re: [RFC] BBCode permissions and moving to all custom
That's a very interesting way to solve it. Thanks.
- Fri Dec 07, 2012 9:59 pm
- Forum: [3.x][Archive] RFCs
- Topic: [RFC] BBCode permissions and moving to all custom
- Replies: 44
- Views: 90967
Re: [RFC] BBCode permissions and moving to all custom
I see. As brunoais said, why is the id required? Javascript selectors should work fine on either the id, class, data, or other parameters, are you sure these libraries only work off of specific id tags (could you link to an example if one does)? I believe you can use the current custom bbcode syste...
- Fri Dec 07, 2012 7:50 pm
- Forum: [3.x][Archive] RFCs
- Topic: [RFC] BBCode permissions and moving to all custom
- Replies: 44
- Views: 90967
Re: [RFC] BBCode permissions and moving to all custom
Javascript, as I mentioned, the main use would be any library that uses element ID. JS charts, JS galleries, etc, there're a lot of uses for it.
- Fri Dec 07, 2012 6:19 pm
- Forum: [3.x][Archive] RFCs
- Topic: [RFC] BBCode permissions and moving to all custom
- Replies: 44
- Views: 90967
Re: [RFC] BBCode permissions and moving to all custom
You're right, I probabbly didn't make myself clear. Yes, I mean something like the second example. For example, let's say a div: [div=1]content[/div] Which could output something like: <div id="1">content</div> With this I can use "1" as div ID to trigger an event with javascript...
- Fri Dec 07, 2012 5:19 pm
- Forum: [3.x][Archive] RFCs
- Topic: [RFC] BBCode permissions and moving to all custom
- Replies: 44
- Views: 90967
Re: [RFC] BBCode permissions and moving to all custom
Are you talking about altering phpBB's code? how's that trivial?
The point of a RFC like that is exactly not doing that.
The point of a RFC like that is exactly not doing that.