This is the community forum. For a developer response use the Client Area.
Follow us on Facebook, Twitter and YouTube!

Multisite
#1

Did you really integrate "Multisite" - feature and where is it then?
btw. backend /administrate/pages now shows only pages with comments, not all pages with comment-form anymore.

great work your new version, Steven!
upgraded each domain in 5 secondsSmile
Reply
#2

Hi Chris,

Yes I've added Multisite to Commentics v4.0. If you go to 'Manage -> Sites' you'll be able to add your additional websites and then you can use the iFrame integration method (which only requires two lines of code). Any issues just let me know.

As you noticed, one of the other changes I made was to only show pages that have comments. This should keep things more organised and will be especially useful for sites with many pages.

Did you use the one-click upgrade feature? I'm sometimes surprised how quick and simple it is as well : )

Have you completed the interview?
Reply
#3

good morningSmile
"(this should be the domain where you installed Commentics)"
I thought Multisite means multiple domains?
Maybe I use the wrong terminology - google: "In digital terms, a website is a collection of content, often on multiple pages, that is grouped together under the same domain"
I understand your iframe method, though I prefer php ( enough .js to load already)

only show pages that have comments:
for large sites it is tidier, for sure. Just need to get used to it.

hm one click...
worked perfectly and stunning fast for the first two domains, on others it is just showning "new version available";
all installations are commentics 3.4 - great feature "report/version" is showing update history btw. Smile
some where upgraded from 3.3 others fresh installed with 3.4;
I´ll have to check domain settings - guess the fault is on my domain configs.
Reply
#4

Hi Chris,

I'll try to explain it better. Let's say you install Commentics on site A. On site A you can use either a PHP integration or an iFrame integration. In 'Manage -> Sites' you add site B. Site B must use an iFrame integration. On site B you would add this:

<script src="http://your-domain.com/commentics/embed.js"></script>

The 'your-domain.com' needs to point to site A. In the same way you can add site C and site D and they all point back to site A. So you have only one installation managing all of these different sites (domains).

Have you completed the interview?
Reply
#5

Thx Steven, just found the new menu entrySmile
just one more thing left:
after two domains needed manual upgrade one of them shows follwing warning:
PHP Warning: mysqli_fetch_assoc() expects parameter 1 to be mysqli_result, boolean given in ...commentics/system/library/database/mysqli.php on line 74
Reply
#6

Hi Chris,

In /system/library/database/mysqli.php can you change this:

PHP Code:
<?php 
public function row($query)
{
    return mysqli_fetch_assoc($query);
}

To this:

PHP Code:
<?php 
public function row($query)
{
    if (is_bool($query)) {
        var_dump($this->query_last);
    }

    return mysqli_fetch_assoc($query);
}

That should show you which database query is the problem.

Have you completed the interview?
Reply
#7

Warning gone after I reseted log, did not appear again.
nothing in the log files?
Reply
#8

Okay. So everything appears to be working now?

Have you completed the interview?
Reply
#9

solved, thank you.
Reply


Forum Jump:


Users browsing this thread: 3 Guest(s)