The MU forums have moved to WordPress.org

vB WPMU inegration and fixing kses (8 posts)

  1. Caddy
    Member
    Posted 16 years ago #

    I am interested in finding out how much a coder would charge to bridge WP MU and vBulletin. Similar to this mod on vB.org but uses WPMU.
    http://www.vbulletin.org/forum/showthread.php?t=134521

    I talked to a guy who could do it, but his price IMO was WAY high.

    anyone think they could do this?

    vB Site
    http://www.talkdelaware.com/forums.php
    Current WPMU site
    http://www.talkdelaware.com/blogs/

    also, is there a definitive answer on how to enable div class style tags in a post? I saw alot of chatter about fixing the kses file, and i tried, but it switches div tags to p's. I am trying to float say an adsense block to the right of some post but the <div> tags are being stripped.

    TIA to anyone who can help me,
    Caddy

  2. apertureboy
    Member
    Posted 16 years ago #

    Hey Caddy,

    I just downloaded the latest kses file http://trac.mu.wordpress.org/changeset/1055/trunk/wp-includes/kses.php
    and added:

    'id' => array()
    'class' => array()

    to the div and p array and I can now use div and p tags with class and id

    Rob

  3. Caddy
    Member
    Posted 16 years ago #

    that broke the kses, unless i doing it wrong

    "Parse error: syntax error, unexpected T_CONSTANT_ENCAPSED_STRING, expecting ')' in /home/talkdel/public_html/blogs/wp-includes/kses.php on line 59"

  4. Caddy
    Member
    Posted 16 years ago #

    oops, got it working without error, but it still changes my

    <div class="ad">ad code here</div>

    to

    <p class="ad">as code here</p>

  5. lunabyte
    Member
    Posted 16 years ago #

    That's the "crutch" visual editor doing that. It somehow thinks a paragraph is better than a div. It does it in WP as well.

    If you know any basic html at all, the visual thing seems to be more in the way than anything.

    If you turn it off and use the normal editor, it doesn't do that (at least on my site(s) ).

  6. Caddy
    Member
    Posted 16 years ago #

    it is keeping the div, but still doesn't float it, thanks for the tip though lunabyte, i appreciate it

  7. Caddy
    Member
    Posted 16 years ago #

    nvm i got it, i had a div markup in the adsense manger so it was doubling up and screwing itself and ME. works now, thanks all!!!

    now, anyone take a shot at a vb wpmu integration?

  8. Caddy
    Member
    Posted 16 years ago #

    anyone know who i might talk to about integration?

About this Topic