vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=194)
-   -   Miscellaneous Hacks - Fix XHTML templates with XMLNS information (https://vborg.vbsupport.ru/showthread.php?t=153476)

PitchouneN64ngc 07-25-2007 10:00 PM

Fix XHTML templates with XMLNS information
 
Description

With this mod, you can fix the error you can see if you trying to verify your forum with the W3C Validator.

It doesn't edit template cache for any official add-ons or modifications you have installed in your forums!

If you using vB Advanced, Project Tools or Blog (even in Beta), it edits all necessary templates :)

This mod will works for all past, present and future versions of vBulletin, this will be fixed for vB 3.7.x branch (see http://www.vbulletin.com/forum/proje...=all#note46673).

Enjoy ;)

[hr]grey[/hr]
Installation

Time: 1 minute
vB version: 3.6.0 to 3.6.x (it will be fixed in 3.7 branch).

[hr]grey[/hr]
Instructions
  1. Import the product file. This file contains a lot of templates cache edit:

    - vBulletin:
    - 59 templates

    - vB Advanced:
    - 1 template

    - vBulletin Project Tools
    - 17 templates

    - vBulletin Blog
    - 3 templates
[hr]grey[/hr]
FAQ

No FAQ for now :p

[hr]grey[/hr]
Copyright

All code present is this mod can't be redistributed or anything else without my consentement.

[hr]grey[/hr]
Changelog

- 1.0.0 : Intial release. (July 26 2007)
(64 downloads before update)
- 1.0.1 : Added some functionnalities (July 30 2007)
- Added support for vB Advanced (edit the 'adv_portal' template cache).
- Remove automatically the product when vB 3.6.9 or upper is installed.
(32 downloads before update)
- 1.0.2 : Added some modifications (August 15 2007)
- Added support for some products (Project Tools & Blog)
- Removed the code for deleting the product if vBulletin 3.6.9 or upper is found (it will be fixed in vB 3.7.x branch)
[hr]grey[/hr]
Screenshots

There is no screenshot, look in your source code for seeing what it does.

[hr]grey[/hr]
If you like it...


iogames 07-26-2007 06:07 PM

Funny! :D 3.6.8

puertoblack2003 07-26-2007 08:41 PM

nice hack will use when upgrading to .6.8.I can't never figure out how to fix...lol

Endurer 07-27-2007 02:52 AM

Thanks, will be upgrading tonight.

vip-q.com 07-27-2007 03:27 AM

thanks man :)

nymyth 07-27-2007 02:28 PM

w00t...i had just asked about this yesterday vbulletin and i didnt get an answer...NICE WORK

nymyth 07-27-2007 02:34 PM

installed, by any chance could you update with a fix for vbadvanced too?

Cheers.

PitchouneN64ngc 07-27-2007 09:19 PM

Quote:

Originally Posted by nymyth (Post 1303129)
installed, by any chance could you update with a fix for vbadvanced too?

Cheers.

I'll see that in some hours (must to sleep ^^), I've never used vBAdvanced ;)

nymyth 07-27-2007 10:47 PM

thanks a lot

pauloo 07-29-2007 04:15 PM

THanks pitch !

raiderlax 07-30-2007 03:13 AM

Sorry, but I don't really understand what this does.

I know about the errors from xhtml , but how is this supposed to fix them?

PitchouneN64ngc 07-30-2007 06:52 AM

Quote:

Originally Posted by raiderlax (Post 1305030)
Sorry, but I don't really understand what this does.

I know about the errors from xhtml , but how is this supposed to fix them?

It fixes the issue by edit the template cache of 59 vBulletin default templates, replacing <html by <html xmlns="http://www.w3.org/1999/xhtml"

It works for every style you can have/download/buy (the <html tag must to be present, or it's not an HTML page).

nymyth 07-30-2007 01:09 PM

AWESOME....vbadvanced fix worked great...thankx for this.

pauloo 08-15-2007 01:31 PM

Thanks for update ;)

PitchouneN64ngc 08-15-2007 01:32 PM

Updated to version 1.0.2, enjoy ;)

AzzidReign 08-15-2007 04:37 PM

Thanks for the update! I've recently gotten into validating my sites so thank you :D

CloneVince 08-27-2007 06:53 PM

I have install your modification, thx a lot :)

but it seems to be in conflict with this hack : https://vborg.vbsupport.ru/showthread.php?t=123162

Can anyone help me ?

thanks

bollie 09-02-2007 05:22 AM

Work not look http://validator.w3.org/check?uri=ht...Inline&group=0

PitchouneN64ngc 09-02-2007 07:10 AM

Quote:

Originally Posted by bollie (Post 1330539)

This mod didn't fix all errors you can have in your style but only the first line (starting by <html).

Grunt 09-05-2007 11:58 AM

Quote:

Originally Posted by PitchouneN64ngc (Post 1330572)
This mod didn't fix all errors you can have in your style but only the first line (starting by <html).

:D I can only assume you're hard at work on the version that fixes all the errors :D

Thanks Pitchoune for the mod..saved alot of tedious work

PitchouneN64ngc 09-13-2007 10:09 AM

Quote:

Originally Posted by CloneVince (Post 1326894)
I have install your modification, thx a lot :)

but it seems to be in conflict with this mod : https://vborg.vbsupport.ru/showthread.php?t=123162

Can anyone help me ?

thanks

For this, this is due to the use of GENERIC_SHELL template which you have the $HTML var.

Two solutions for me for version 1.0.3:
  • Remove the edition of the GENERIC_SHELL template
  • Use an other replacement variable especially for this template (like search for '<html id="' (the html tag in this template has a value like 'moooo' - the dev who have implemented that have some humours :p).

Super Jinni 07-19-2008 01:49 AM

Hi Yves,

can you please release the 3.7.x version of this mod?

thanks

:)

PitchouneN64ngc 07-19-2008 03:48 PM

This modification is included in 3.7 ;)


All times are GMT. The time now is 05:23 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01115 seconds
  • Memory Usage 1,758KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (23)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete