Previous Thread
Next Thread
Print Thread
Hop To
#225086 03/31/2009 11:05 AM
Joined: Dec 2003
Posts: 1,796
Pooh-Bah
Pooh-Bah
Joined: Dec 2003
Posts: 1,796
In island_shoutbox.tpl

</form>

needs to be:

</div>
</form>

In footer.tpl:

</div>
</div>
{$rebuild}

needs to be

</div>
{$rebuild}

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.


- Allen
- ThreadsDev | PraiseCafe
Joined: Dec 2003
Posts: 1,796
Pooh-Bah
Pooh-Bah
Joined: Dec 2003
Posts: 1,796
island_featured_member.tpl

<a href="{ubb url="ubb=showprofile&User=`$uid`" title=$uncolored}"><img src="{$avatar}" border="0" {$picsize} /></a><br />

needs to be:

<a href="{ubb url="ubb=showprofile&User=`$uid`" title=$uncolored}"><img src="{$avatar}" border="0" {$picsize} alt="{$username}" /></a><br />


- Allen
- ThreadsDev | PraiseCafe
Joined: Jun 2006
Posts: 16,292
Likes: 116
UBB.threads Developer
UBB.threads Developer
Joined: Jun 2006
Posts: 16,292
Likes: 116
When did Allen become a validation Nazi like the rest of us :x...


I am a Web Development Contractor, I do not work for UBBCentral. I have provided free User to User Support since the beginning of these support forums.
Do you need Forum Install or Upgrade Services?
Forums: A Gardeners Forum, Scouters World
UBB.threads: UBBWiki, UBB Styles, UBB.Sitemaps
Longtime Supporter & Resident Post-A-Holic
VNC Web Services: Code Modifications, Upgrades, Styling, Coding Services, Disaster Recovery, and more!
Joined: Dec 2003
Posts: 1,796
Pooh-Bah
Pooh-Bah
Joined: Dec 2003
Posts: 1,796
I was the first validation nazi, young grasshopper. I was the one who pushed for validation back when you were still running windows 98 tongue

That link is to Zeldman's site from a post of his in 2001:

"Web Community meets Web Standards: UBB Developers has posted an XHTML 1.0-compliant template for the most-used forum script on the web."

I made HTML 4.01 compliant templates before that... made bug-squishing browser display issues soooo much easier.


- Allen
- ThreadsDev | PraiseCafe
Joined: Mar 2008
Posts: 326
D
Enthusiast
Enthusiast
D Offline
Joined: Mar 2008
Posts: 326
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
Code
&amp;

Borkt Validation

Last edited by DLWebmaestro; 04/09/2009 2:04 AM.
Joined: Mar 2008
Posts: 326
D
Enthusiast
Enthusiast
D Offline
Joined: Mar 2008
Posts: 326
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. smile The img tags not self-closing throws off a snowball effect of errors for the rest of the page.

Last edited by DLWebmaestro; 04/09/2009 11:06 AM.
Joined: Mar 2008
Posts: 326
D
Enthusiast
Enthusiast
D Offline
Joined: Mar 2008
Posts: 326
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?

Joined: Dec 2003
Posts: 1,796
Pooh-Bah
Pooh-Bah
Joined: Dec 2003
Posts: 1,796
Originally Posted by DLWebmaestro
When users post links that contain & it b0rks things. My solution for now is to use the Active Text feature like so:

Code
&|&


I like the idea of the active text, that would be helpful for sure smile


- Allen
- ThreadsDev | PraiseCafe
Joined: Dec 2003
Posts: 1,796
Pooh-Bah
Pooh-Bah
Joined: Dec 2003
Posts: 1,796
Originally Posted by DLWebmaestro
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.


- Allen
- ThreadsDev | PraiseCafe
Joined: Mar 2008
Posts: 326
D
Enthusiast
Enthusiast
D Offline
Joined: Mar 2008
Posts: 326
Yeah, I have noticed in these same posts that smilies are broken; they just display HTML tags.

Joined: Mar 2008
Posts: 326
D
Enthusiast
Enthusiast
D Offline
Joined: Mar 2008
Posts: 326
In activetopics.tpl, name is not an acceptable attribute for the span element. Perhaps title should be used instead?

Joined: Mar 2008
Posts: 326
D
Enthusiast
Enthusiast
D Offline
Joined: Mar 2008
Posts: 326
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.

Joined: Mar 2008
Posts: 326
D
Enthusiast
Enthusiast
D Offline
Joined: Mar 2008
Posts: 326
Originally Posted by AllenAyres
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.
Would running a post rebuild fix this?

Joined: Apr 2007
Posts: 3,940
Likes: 1
SD Offline
Former Developer
Former Developer
Joined: Apr 2007
Posts: 3,940
Likes: 1
nope.. but you bring up a good point..

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..

Joined: Mar 2008
Posts: 326
D
Enthusiast
Enthusiast
D Offline
Joined: Mar 2008
Posts: 326
The validator hates the UBB's embedding of videos.



Fix Info.

Last edited by DLWebmaestro; 04/17/2009 11:38 AM.
Joined: Jun 2006
Posts: 16,292
Likes: 116
UBB.threads Developer
UBB.threads Developer
Joined: Jun 2006
Posts: 16,292
Likes: 116
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 am a Web Development Contractor, I do not work for UBBCentral. I have provided free User to User Support since the beginning of these support forums.
Do you need Forum Install or Upgrade Services?
Forums: A Gardeners Forum, Scouters World
UBB.threads: UBBWiki, UBB Styles, UBB.Sitemaps
Longtime Supporter & Resident Post-A-Holic
VNC Web Services: Code Modifications, Upgrades, Styling, Coding Services, Disaster Recovery, and more!
Joined: Dec 2003
Posts: 1,796
Pooh-Bah
Pooh-Bah
Joined: Dec 2003
Posts: 1,796
lazy tongue


- Allen
- ThreadsDev | PraiseCafe
Joined: Jun 2006
Posts: 16,292
Likes: 116
UBB.threads Developer
UBB.threads Developer
Joined: Jun 2006
Posts: 16,292
Likes: 116
Did you see how many i submitted to be in? lol...


I am a Web Development Contractor, I do not work for UBBCentral. I have provided free User to User Support since the beginning of these support forums.
Do you need Forum Install or Upgrade Services?
Forums: A Gardeners Forum, Scouters World
UBB.threads: UBBWiki, UBB Styles, UBB.Sitemaps
Longtime Supporter & Resident Post-A-Holic
VNC Web Services: Code Modifications, Upgrades, Styling, Coding Services, Disaster Recovery, and more!
Joined: Mar 2008
Posts: 326
D
Enthusiast
Enthusiast
D Offline
Joined: Mar 2008
Posts: 326
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! wink

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?

Joined: Jun 2006
Posts: 9,242
Likes: 1
R
Former Developer
Former Developer
R Offline
Joined: Jun 2006
Posts: 9,242
Likes: 1
I fixed a few of these for 7.5.3. As we redo 8.0 I'm going through each page and validating for XHTML Transitional Compliance as I go along.

Joined: Mar 2008
Posts: 326
D
Enthusiast
Enthusiast
D Offline
Joined: Mar 2008
Posts: 326
:dancing fruit:

Joined: Jun 2006
Posts: 16,292
Likes: 116
UBB.threads Developer
UBB.threads Developer
Joined: Jun 2006
Posts: 16,292
Likes: 116
Originally Posted by Rick
I fixed a few of these for 7.5.3. As we redo 8.0 I'm going through each page and validating for XHTML Transitional Compliance as I go along.
Hehe, i said that in another thread, in not so many words tongue...


I am a Web Development Contractor, I do not work for UBBCentral. I have provided free User to User Support since the beginning of these support forums.
Do you need Forum Install or Upgrade Services?
Forums: A Gardeners Forum, Scouters World
UBB.threads: UBBWiki, UBB Styles, UBB.Sitemaps
Longtime Supporter & Resident Post-A-Holic
VNC Web Services: Code Modifications, Upgrades, Styling, Coding Services, Disaster Recovery, and more!
Joined: Dec 2003
Posts: 1,796
Pooh-Bah
Pooh-Bah
Joined: Dec 2003
Posts: 1,796
Grazie Rick smile


- Allen
- ThreadsDev | PraiseCafe

Link Copied to Clipboard
ShoutChat
Comment Guidelines: Do post respectful and insightful comments. Don't flame, hate, spam.
Recent Topics
spam issues
by ECNet - 03/19/2024 11:45 PM
Looking for a forum
by azr - 03/15/2024 11:26 PM
Editing Links in Post
by Outdoorking - 03/15/2024 9:31 AM
Question on barkrowler and the like
by Mors - 02/29/2024 6:51 PM
Member Permissions Help
by domspeak - 02/27/2024 6:31 PM
Who's Online Now
0 members (), 744 guests, and 147 robots.
Key: Admin, Global Mod, Mod
Random Gallery Image
Latest Gallery Images
Los Angeles
Los Angeles
by isaac, August 6
3D Creations
3D Creations
by JAISP, December 30
Artistic structures
Artistic structures
by isaac, August 29
Stones
Stones
by isaac, August 19
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20230217)