WebsiteBaker Support (2.10.x) > Modules

AnyNews 3.7.6

(1/4) > >>

tsaenger:
Hello,
i upgraded my WB to 2.10
Now i get the message form AnyNews:


--- Code: ---Anynews benötigt Website Baker 2.7 oder höher.

--- End code ---
I have installed version 3.7.6

Does s.o. has an idea how to fix it?

Thanks a lot

Tobias

Hollol:
Hi,

please change this:


--- Code: ---// output message for outdated Website Baker versions
    if ((double) WB_VERSION < 2.7) {
        echo $LANG[0]['TXT_REQUIREMENTS'];
        return;
    }
--- End code ---

to:


--- Code: ---// output message for outdated Website Baker versions
    if (version_compare(WB_VERSION, '2.7', '<')) {
        echo $LANG[0]['TXT_REQUIREMENTS'];
        return;
    }

--- End code ---

See here: http://forum.WebsiteBaker.org/index.php/topic,29961.0.html (scroll down)


Edit: if this doesn't work, please delete the whole code. I don't know, if it's necessary.

Gast:
Version 3.7.6??? wo hast die denn her?
Bis zur Projektaufgabe von cwsoft war hier die 2.14.0 die letzte offizielle Version. Ich selber verwende die 2.10.0 mit WB 2.10.1 und PHP 7.1.2. Und bei den Sternchen's ist man wohl bei Vers 3.0.0, weit weg von deiner Versionsnummer.

Sicher, das es die richtige ist? und nicht etwa die vom News?

sky writer:
I received the same message (in English) as the OP after upgrading an old site from 2.8.1 - 2.8.30 - 2.10.0, which still had AnyNews 1.16a running - http://www.websitebakers.com/pages/code-snippets/listings/anynews.php

I upgraded to the newest version I had downloaded - cwsoft-anynews 2.15.0 and all was well.  I originally downloaded this version from cwsoft's github, but now I see there is a new version there.

It is a little confusing.  I can now find three different Module versions floating around:
3.0.0 - https://github.com/cwsoft/wbce-anynews#readme
2.14.0 - http://addon.WebsiteBaker.org/pages/en/browse-add-ons.php?id=0C80D11
2.10.0 - http://forum.WebsiteBaker.org/index.php/topic,23355.msg208185.html#msg208185

Are all of these compatible with WB 2.10.0?  Is one more recommended, and if so, for what reasons?

dbs:
Normally something from the addons repo is the best choise.
- wbce is not wb (WebsiteBaker)
- 2.10 is smaller than 2.14
- seems 2.14 ist right

without testing.

Navigation

[0] Message Index

[#] Next page

Go to full version