We know you have an opinion on how things should be run around here. These are suggestions for the forums, and the website.This forum is not a place to ask for suggestions to your own coding (or otherwise) problems.
tags don't work anymore. Therefore all old topics, including ones on the first page in forums such as Tutorials, Snippets, and sticky topics which are still frequently read, are... well.... ugly.
Can the admins fix this? Possibly by updating all posts and replace instances of
It isn't that easy unfortunately. phpBB ties each post with a bbCode id tag. So to clean up those older posts we would need to literally open each post and save it again.
We tend to just fix them as we stumble upon them. I don't have a standard user account, but is there some kind of "alert a moderator" button on threads in phpBB3?
EDIT | Yeah, if you use "Report this post" we get notified of it. Just pop a message in there that the post needs fixing
[ /php] or [code=php ][ /code] :)[/quote]
Right. But not just [ code].
[quote]Although I don't understand why there is no button for PHP code tag...[/quote]
It would make things a bit easier, wouldn't it? Actually, I have become accustomed to just entering the tags directly, as I enter a message. It has become faster for me to do that than move my mouse up to the button bar and find the right button to click.
There is no PHP button because it would require us to modify the phpBB default install. Every time we upgrade we would overwrite those changes and would have to remodify the templates.
I think there was a greasemonkey script around here once that added the PHP button. But like califdon said, I am at a point right now where typing the tags as I post/reply is faster.
Everah wrote:There is no PHP button because it would require us to modify the phpBB default install. Every time we upgrade we would overwrite those changes and would have to remodify the templates.
I think there was a greasemonkey script around here once that added the PHP button. But like califdon said, I am at a point right now where typing the tags as I post/reply is faster.
tags don't do anything.[/quote]
Hmmm. I just opened that post in Edit mode (as a Moderator, I can do that) and saved it again, [u]without making even the slightest change[/u], and now it works. Either something glitched when you saved it or there's something special that I don't know about that lets mods do it. Hey, Robert, what's going on?
I believe the code is parsed when the post is saved, not when it's viewed. As we've migrated through different syntax highlighters, the "rendered" view got lost. Re-editing the post & saving it again allows the parser to re-parse the file & re-render the code.
Real programmers don't comment their code. If it was hard to write, it should be hard to understand.