Show Categories
173
2
emilio posted Aug 26 '15 at 9:03 pm

Hi, I'm trying to install Codoforum on my Altervista account. I've PHP 5.4 and I thought to go straightforward, but I had this error:

Unable to require /forum/sys//JsonSerializable.php
Fatal error: Interface 'JsonSerializable' not found in /forum/sys/vendor/illuminate/support/Illuminate/Support/Collection.php on line 13

The interested url was [mydomain]/forum/install/index.php?u=/index.php&step=3

recent by emilio  ·  Aug 27 '15 at 11:24 pm
193
1
Annevance posted Aug 24 '15 at 6:30 pm

I just installed the plugin language nl-NL.

Works OK, but I found some grammar errors which I corrected in the file messages.po
I am unfamiliar with this extension, but after saving the corrected file I could not upload in Filezilla.

Status: Invalid character sequence received, disabling UTF-8. Select UTF-8 option in site manager to force UTF-8.
Response: 550 messages.po: Permission non accordée
Error: Critical file transfer error

When I "force" UTF-8 I get same error.

Any advice on how to get it right?

recent by Annevance  ·  Aug 24 '15 at 6:35 pm
116
2
Annevance posted Aug 22 '15 at 5:18 pm

Just as a trial I changed the standard installed "no" for the account registration require approval into "yes"
It worked well, but when I changed back to "no" and hit "save" it will not save but returns to "yes"
How can I get this back on "no" ?

When I change any of the other values, it is saved correctly.

recent by Annevance  ·  Aug 22 '15 at 6:58 pm
178
0

Hi,

First of all this script is awesome. I want is for some of my sites. I started it with the link http://postzippy.com/forum

After filing the DB details I got this error:

Unable to require /hermes/bosoraweb163/b33/ipg.vikasgupta87/postzippynew/forum/sys//JsonSerializable.php Fatal error: Interface 'JsonSerializable' not found in /hermes/bosoraweb163/b33/ipg.vikasgupta87/postzippynew/forum/sys/vendor/illuminate/support/Illuminate/Support/Collection.php on line 13

I have latest version of php and mysql.
Please help!!!

recent by robidobs  ·  Aug 21 '15 at 6:31 am
248
2
codoforums posted Aug 10 '15 at 4:06 am

Is there like a way to create a custom feature for the codoforum I'm using? I want to be able to close or lock a topic if you are the author of the topic or an admin or moderator. I know this is possible, but I'm not sure what the syntax is for fetching rows in the codoforum platform. I also don't know the syntax for checking if a user has the right roles or if the current session user is the author.

For example

<?php
if($row['user_level'] == 4) {
    print('User is an admin');
}

Something along those lines would be good. If this type of customization works, I'm pretty sure you can also do it with a "pin" or "sticky" feature as well right? The reason why I say this is because I like how codoforum runs and how smooth it runs. However, since it doesn't have features like a normal forum does, it is just slightly behind generic forum platforms. Meaning like SMF, VBulletin, IP Board, .etc. They all have sticky/ pin, close/ lock options for topics.

It would be nice to have those options in the codoforum platform.

210
1

Hello,

We have acquired FreiChat to be used in our project and hoped that it would help us to achieve our goals. Though we paid for it, but we were unable neither to install nor to use it under Joomla 3 with Socialize template. We have applied to you several months ago but got no response. So, please help us to solve the problem ASAP.

234
4
Annevance posted Aug 10 '15 at 2:17 pm

I need some help in NOOB language please, with how to set my mail config for my Forum.
When I use mail() , then it works but the sender is admin@codologic.com
How can I change this?

When I use SMTP and use my Gmail account, thigs are not being sent and I get a message from Google that someone (my host in France) knows my pasword!

How do I get the right info for my settings?

thank you so much

recent by Annevance  ·  Aug 19 '15 at 3:07 pm
81
0
irik posted Aug 19 '15 at 9:56 am

Hello,

We have acquired FreiChat to be used in our project and hoped that it would help us to achieve our goals. Though we paid for it, but we were unable neither to install nor to use it under Joomla 3 with Socialize template. We have applied to you several months ago but got no response. So, please help us to solve the problem ASAP.

140
2
Ori2 posted Aug 12 '15 at 2:30 pm

I am using the script for some kind of thinktank with a small group, to exchange ideas and inspiration and so on.

What i miss, are options to manage the order more flexible.
For example, i would like to set the order of a thread myself, as a creator of a new thread. First newest or, first oldest post. And the possibility to set a post sticky. This is good for thread of collections, like links or images.

The second is, that i want to manage the newsfeed as an administrator (global for all users) to a feed compared like facebook. I don´t wont to see the first post of a thread appears on top, but the last ceated post - so that i see immediately whats new.
I also figured out, that links aren´t working as links in the newsfeed, i´ve to enter the post first.

recent by Ori2  ·  Aug 13 '15 at 9:42 am
128
1
Samyak Veera posted Aug 11 '15 at 1:47 pm

Hello All!

I'm looking to create a multisite setup where all the sites will have some private and shared forums and was wondering if this were possible?

If, it is possible then suggest me the way how it possible ? I want to create .

Thanks
Samyak Veera

recent by admin  ·  Aug 11 '15 at 6:27 pm
375
1

Hello all,

I'm running the excellent @nguoianphu's XML Sitemap Generator .

Unfortunatly, the script takes more time than my host's mysql_timeout setting. So MySQL server goes away...

Here is the log of the script:

Start crawling your website ...
Crawling ...
It may take a long time. Please wait ...
Openning [...]/sitemap.xml
Created [...]/sitemap.xml

Warning: PDO::prepare(): MySQL server has gone away in [...]/sys/CODOF/Session/Session.php on line 57

Fatal error: Uncaught exception 'PDOException' with message 'SQLSTATE[HY000]: General error: 2006 MySQL server has gone away' in [...]/sys/CODOF/Session/Session.php:57 Stack trace: #0 [...]/sys/CODOF/Session/Session.php(57): PDO->prepare('SELECT session_... ' ) #1 [...]/sys/CODOF/Session/Session.php(76): CODOF\Session\Session->read('a3743d6ea0487d4...' ) #2 [internal function]: CODOF\Session\Session->write('a3743d6ea0487d4...', '5572dbc932d50_c...' ) #3 [internal function]: session_write_close() #4 {main} thrown in [...]/sys/CODOF/Session/Session.php on line 57

Crawled and Created sitemap.xml
Pinging sitemap to Google, Bing, Yandex ...
Pinging Google ...
Pinging Bing ...
Pinging Yandex ...
Done

I've found several idea but I don't know how to implement the workaround, please check here for example: http://stackoverflow.com/questions/23244462/how-do-i-ping-the-mysql-db-and-reconnect-using-pdo
I guess the exception should be caught, but how and where?

Please help,

Reynald

172
2
Trams posted Aug 9 '15 at 5:39 pm

Hi.
If you choose notification level 1-4 in category. Then in the profile.
55c7812567129.png
go to the link you will get the result
55c7815750b29.png

55c7816978c62.png

should be a link - codologic.com/forum/index.php?u=/category/news-and-announcements ?

and cannot be removed.

recent by RolluS  ·  Aug 10 '15 at 9:22 pm
92
0

Can anyone please suggest me, where I can edit the HTML Layouts of the site, I mean, like we do in wordpress like, there is a main index.php file, where we can add functions in the header, or editing the existed functions, and Where to go for single topic layout editing, like we do in wordpress by editing the single-post.php..

smile

Many Thanks in Advance

266
1
one.relic posted Aug 8 '15 at 8:48 am

With the current list of importers for Codoforum, are there plans for a MyBB importer, or has someone already made one? I'm testing an install of Codoforum right now with the idea of switching my community over from MyBB, but I'd rather not do an entire wipe/reboot of the community if I can avoid it.

733
34

Hi,
I have create a plugin that display a form to be filled by members of my site; i would my form be published as a topic when they press submit button. I would also use this form as one category where there will be nothing else than this form, in others words how use a plugin as own and entire category. THANKS

236
1
stekendak posted Aug 3 '15 at 8:56 am

Hi, when i try to access to my forum i get the below error and i don't know why....


Warning: file_put_contents(/home/u109713535/public_html/cache/HB/compiled/f26a61d95cfcc4520a30e85c1b927d2d.php): failed to open stream: No such file or directory in /home/u109713535/public_html/sys/CODOF/HB/Render.php on line 113

Warning: include(/home/u109713535/public_html/cache/HB/compiled/f26a61d95cfcc4520a30e85c1b927d2d.php): failed to open stream: No such file or directory in /home/u109713535/public_html/sys/CODOF/HB/Render.php on line 116

Warning: include(): Failed opening '/home/u109713535/public_html/cache/HB/compiled/f26a61d95cfcc4520a30e85c1b927d2d.php' for inclusion (include_path='.:/opt/php-5.5/pear') in /home/u109713535/public_html/sys/CODOF/HB/Render.php on line 116

Fatal error: Function name must be a string in /home/u109713535/public_html/sys/CODOF/HB/Render.php on line 117

I'm not sure to have do something that can allow this

here is my Render.php file code and i have never edit it

<?php

/*
 * @CODOLICENSE
 */

namespace CODOF\HB;

class Render {

    /**
     * Gets Handlebars template for required page
     * @param string $tpl
     * @return string
     */
    public static function get_template_contents($tpl) {

        $path = CURR_THEME_PATH . 'templates/' . $tpl . '.html';

        if (!file_exists($path)) {

            $path = DEF_THEME_DIR . 'templates/' . $tpl . '.html';
        }

        return file_get_contents($path);
    }

    /**
     * Get data for building DOM from Handlebars template
     * @param string $tpl
     * @return array
     */
    public static function get_template_data($tpl) {

        $i18ns = array("find topics tagged", "new", "new replies", "replies", "views", "posted", "read more", "recent by", "Edit", "Delete", "Mark as spam");

        switch ($tpl) {

            case 'forum/topics' :
                $i18ns[] = "new topic";
                break;
            case 'forum/category' :
                break;
            case 'forum/topic' :
                $i18ns[] = 'reply';

            case 'moderation/queue':
                $i18ns[] = 'Approve';
                $i18ns[] = 'Delete';
        }

        $trans = array();
        foreach ($i18ns as $i18n) {

            $trans[$i18n] = _t($i18n);
        }


        return array(
            "const" => self::get_required_constants(),
            "i18n" => $trans
        );
    }

    /**
     * Get required constants for javascript
     * @return array
     */
    public static function get_required_constants() {

        return array(
            "RURI" => RURI,
            "DURI" => DURI,
            "CAT_IMGS" => CAT_IMGS,
            "CAT_ICON_IMGS" => CAT_ICON_IMGS,
            //"DEF_AVATAR" => DEF_AVATAR,
            "CURR_THEME" => CURR_THEME,
            "DEF_THEME_PATH" => DEF_THEME_PATH
        );
    }

    /**
     * Generate HTML from Handlebars template
     * @param string $tpl
     * @param array $data
     */
    public static function tpl($tpl, $data) {

        $raw = self::get_template_contents($tpl);
        $hash = md5($raw);

        $cachedPath = ABSPATH . 'cache/HB/compiled/' . $hash . '.php';

        if (!file_exists($cachedPath)) {

            $contents = \LightnCandy::compile($raw, array(
                        'flags' => \LightnCandy::FLAG_ERROR_LOG | \LightnCandy::FLAG_STANDALONE | \LightnCandy::FLAG_HANDLEBARS,
                        "helpers" => array(
                            "const" => function($args) {
                                //single argument call
                                return constant($args[0]);
                            },
                            "i18n" => function($args) {

                                return _t($args[0]);
                            },
                            "hide" => function($args) {
                                return "";
                            }
                        )
            ));

            file_put_contents($cachedPath, $contents);
        }

        $renderer = include $cachedPath;
        return $renderer($data);
    }

}
Categories
Actions
Hide topic messages
Enable infinite scrolling
All posts under this topic will be deleted ?
Previous
Next
With selected deselect topics
Pending draft ... Click to resume editing
Discard draft