I haven't checked the other files recently, but this corrects all the issues in the default style for forum summary and affects all the other public pages.
I've been weeding through the scripts too in an effort to get everything to validate; however, I am stuck on the problem with the pagination. I can't find there the $url variable found in the pagination.tpl file is set. The problem is, it is using & instead of
When users post links that contain & it b0rks things. My solution for now is to use the Active Text feature like so:
Code
&|&
I also have to add
Code
"|"
since the previous b0rkt it in posts. Other entities that use & will probably have to be added to this as they occur.
When a user embeds an image, it lacks the alt tag. How would I go about edited the snippet in bbcode.inc.php to make it add an alt tag? Me no speaky preg_replace. Oh, and make the img tag self-close as well. The img tags not self-closing throws off a snowball effect of errors for the rest of the page.
Old posts that use the old quote style break XHTML compliancy. The old style was:
Code
[quote][b][i]DLWebmaestro said:[/i][/b]
something similar to that. Is there any way to fix all these?
We discussed this in a topic at ubbdev, it's possible to use a mysql command to fix the old ones, but you better back up your database first - the command had to go through and find text in the middle of other text and replace it. I needed it for lots of old font styles, links to smilies, etc.
In topics where there are more than one poll question, validator complains that the option values have already been set, since the same ones are used for all questions.
We discussed this in a topic at ubbdev, it's possible to use a mysql command to fix the old ones, but you better back up your database first - the command had to go through and find text in the middle of other text and replace it. I needed it for lots of old font styles, links to smilies, etc.
it would be nice to have a more flexible post rebuilder and content rebuilder for that matter..
basically where you could append queries or the like that would then be included in the rebuild process..
something akin to custom bbcode tags, but for sql geeks.. i've personally done this for smileys as well as some legacy bbcode hacks that needed to be 1st undone, then re-marked up..
See, when building the custom tags I thought of this, however by skewing with the "original" tags from say youtube, google, yahoo, etc, it imposes an update burden of having to completely redo it whenever they decide to update their code...
as is now, to update it when they change, all we need to do is copy the new tag, and insert a \\1...
I still can't find where that darned unencoded ampersand is in the pagination drop-down box. Bueller?
Alt tag for embedded images... don't make me learn myself preg_replace, I have papers to write!
In the FAQ, the link to MyCookies appends PHPSESSION info after an unencoded ampersand. I've looked through the code, and cannot see where this is added. I see where the link is, but don't know why the session info is getting appended or how to change the ampersand.
The trick with using Active Text to fix user-posted links that contain an ampersand does not work when a user actually puts an ampersand in their post to be used normally. Any idears on how to combat this error?