WordPress.org

Ready to get started?Download WordPress

Forums

WP Bannerize
[resolved] Sidebar widget show some code (7 posts)

  1. Guido Eugenio aka Zhenya
    Member
    Posted 4 years ago #

    Hello,
    I already had installed WP-Bannerize (version 2.4.11) in several website.
    I have upgrade bannerize (2.5.2), but now it show some code over the banner.
    There is wrote something like:
    SELECT * FROM wp_xxxxxx_bannerize_a WHERE trash = '0' AND group = 'A' ORDER BY sorter ASC LIMIT 0,10 (where xxxxxx mean the database table prefix).

    Too I notice that bannerize open a new database table called bannerize_a even if you answer to do nothing about the db.

    Already I test that in a new WordPress installation (in the local server) Bannerize does too that issue.

    You can see what I mean through search with google this keyword:::
    "SELECT * FROM wp_bannerize_a WHERE"

    Might be something is wrong in this new release?

    http://wordpress.org/extend/plugins/wp-bannerize/

  2. infoblog
    Member
    Posted 4 years ago #

    I have the same problem here plz any support ?

    SELECT * FROM xxxxxxxxbannerize_a WHERE trash = '0' AND group = 'Lord' ORDER BY sorter ASC LIMIT 0,10

  3. manittoo
    Member
    Posted 4 years ago #

    it's a little bug
    maybe since the last release

    you should comment "echo $q;" on line 75 in the "wp-bannerize_widget.php" file

  4. Guido Eugenio aka Zhenya
    Member
    Posted 4 years ago #

    Little bug?
    I dont think that show the database table prefix in all blog pages should be just a little bug.

    Yes the old WP still have wp_ like prefix, is not secret.
    But for what WordPress 3.0 also changed the table prefix structure?

    Then show the database prefix isn't so good..

  5. gfazioli
    Member
    Plugin Author

    Posted 4 years ago #

    Hi, Fix all in 2.5.5 release...

    Sorry...

    regards
    GF

  6. Guido Eugenio aka Zhenya
    Member
    Posted 4 years ago #

    Many thanks! Now work great.

    Did you notice that Bannerize (in WordPress 3.0) open a new database table prefix (called bannerize_a) also if you select to "do nothing" about the database?
    Probably this feature have to work untill wp 2.9.2, but for some reason being actived too under wp 3.0?
    Yes that's not an issue, just I don't understand why change it in wordpress 3.0

  7. gfazioli
    Member
    Plugin Author

    Posted 4 years ago #

    @zhenya: Yes, when you choose "do nothing" the "bannerize_a" database table is created however. "do nothing" is for to "delete old" database table. For the new featured the "bannerize_a" table is ever necessary.

    regards
    gf

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic