Show Categories
131
2
dilipjadhav posted Jun 2 '20 at 6:45 am

I have a login form i'm trying to get working yet when I hit submit the username and password I type in just disappears! I really have no idea what I broke this time.

Login Form

        <form class="form-signin" action="login.php" method="post">
          <div class="form-label-group">
            <input type="text" name="user" id="user" class="form-control" placeholder="User ID" required>
            <label for="user">Username</label>
          </div>
          <div class="form-label-group">
            <input type="password" name="pass" id="pass" class="form-control" placeholder="Password" required>
            <label for="pass">Password</label>
          </div>
          <p>logins are automatically remembered for 60 days. use the <a href="signout.php">signout</a> page to sign out. </p>
          <button class="btn btn-lg btn-primary btn-block text-uppercase" type="submit">Sign in</button>
        </form>
193
3

First off, I wanna thank the Developer (Adesh) for creating this sweet piece of content management system in the first place. Really man, a Million thanks to you!


Now, I gotta put a Dagger in your Chest. You see, buddy, you just forgot to utilize 2 cute little important features in the back-end of your script.
Now, I know a lotta folks including yourself must be thinking... what could that possibly be?
Well, behold my friends! I'll show it to ya. Just mind the Points I mentioned below:


  • Store attachments on a sub-domain rather than the Parent Domain
  • Restrict users (according to Primary Role settings) from creating Topics under a specific Category

Now, the Question is... why is it so Important?

Well, the Answer is very Simple.

  1. If you store attachments on a different portal, say a sub-domain... it'll improve overall Page Loading Speed tremendously. Like you know, if 10000 folks upload Images on the main Domain with 50 Images per Page and 1000 folks access the Website at the same time... you can Imagine how incredibly it'll slow down the response of the server.So, you gotta use the sub-domain to store attachments. Just like YouTube, Amazon and WordPress sites do.

Now about the Restriction:

  1. Let's just say there are some users that I don't want to allow create Topics under a specific category, say News and Announcements. So, when I set the Rule for a user, say a Moderator... he won't be able to create Topics under News and Announcements but he can create Topics elsewhere.

But sadly, these 2 FEATURES ain't available in Codoforum. So my buddies @adesh, @admin and @WebCrew don't you folks think they are very Important to get 'em adopted in this Software?
If so, can you make 'em happen, cap'n?

95
3
HounzandjiAbloPaulIgor posted Jan 21 '22 at 7:27 pm

Hi,
I've got this error when trying to activate the entreprise plan of freichat (elgg) :


Whitelabel Error Page
This application has no explicit mapping for /error, so you are seeing this as a fallback.
Fri Jan 21 19:23:52 UTC 2022
There was an unexpected error (type=Bad Request, status=400).


Please help me fixing this error, I'm a new user.


Best regards,


Ablo


162
16

I'm trying to install codoforum. I unzipped the archive in my doc root, set ownership on the files, and then tried to access it:


https :// forum.lowerlights.com


This fails, as you'll see if you fix the link and access it yourself. It redirects too many times.


The SSL is terminated by haproxy and the backend connection from haproxy to apache (both running 2.4 versions, oddly enough) is unencrypted, on port 81. It's installed on Ubuntu Linux Server, 20.04 LTS. I have other PHP software on the server that works perfectly.


For wordpress, I did have to set the back-end traffic to https, or it would not work. Is that what is going to be required here, so that codoforum knows that the browser is using https?


I have absolutely no idea where to even begin. The installation instructions claim the install is super easy, which is not what I am finding.


Help?


92
1

My Form validation code.
<?php
/**

  • Form Validation
    */
    class Form{
    public $currentValue;
    public $values = array();
    public $errors = array();

    public function __construct(){}

    public function post($key){

     $this->valuse[$key] = trim($_POST[$key]);
     $this->currentValue = $key;
     return $this;
    

    }

    public function isEmpty(){

     if(empty($this->valuse[$this->currentValue])){
         $this->errors[$this->currentValue]['empty'] = "Field must be empty";
     }
     return $this;
    

    }

    public function isCatEmpty(){

     if($this->valuse[$this->currentValue] == 0){
         $this->errors[$this->currentValue]['empty'] = "Field must be empty";
     }
     return $this;
    

    }

    public function length($min=0, $max){

     if (strlen($this->valuse[$this->currentValue]) < $min OR strlen($this->valuse[$this->currentValue]) > $max) {
         $this->errors[$this->currentValue]['length'] = "Should Min ".$min." And Max " .$max. "Characters.";
     }
     return $this;
    

    }

    public function submit(){

     if(empty($this->errors)){
         return true;
     }else{
         return false;
     }
    

    }

}

I don't found this problem.

My Category insert Code is

public function insertCategory(){
if(!($_POST)){
header("Location:".BASE_URL."/Admin/addCategory"smile;
}
$input = $this->load->validation("Form"smile;
$input->post('name'smile
->isEmpty();

$input->post('title'smile
->isEmpty();

    if ($input->submit()) {
        $tablePost     = "category";
        $name         = $input->values['name'];
        $title         = $input->values['title'];

        $data  = array(
        'name'  => $name,
        'title' => $title
        );
    $catModel = $this->load->model("CatModel");
    $result   = $catModel->insertCat($tableCat, $data);

    $mdata = array();
    if ($result == 1) {
        $mdata['msg'] = "Category Added Successfully.";
    } else {
        $mdata['msg'] = "Category Not Added Successfully.";
    }
    $url = BASE_URL."/Admin/categoryList?msg=".urlencode(serialize($mdata));
    header("Location:$url");
    } else {
        $data["postErrors"] = $input->errors;
        $tableCat = "category";
        $this->load->view("admin/header");
        $this->load->view("admin/sidebar");

        $catModel = $this->load->model("CatModel");
        $data['catlist'] = $catModel->catList($tableCat);

        $this->load->view("admin/addcategory", $data);
        $this->load->view("admin/footer");
    }    
}

this is data not inserted.
I don't understand why this problem.
post("name"smile
why post() method value don't work.
this line work not properly.
$name = $input->values['name'];
$title = $input->values['title'];

?>

33
1
Jakub Å vec posted Oct 22 '23 at 7:44 pm

Hi,


I have a problem with my codoforum. The first problem, and I didn't find how to remove it here, is the URL address through which my forum works. I have a first problem here, when I click on anything I am redirected to the url odbavovak.eu/domains/odbavovak.eu/index.php?u=/topic/4/test, where it actually repeats twice /domains/odbavovak.eu/... it spoils the address and is most likely related to a third problem, the main one, which limits the functionality of the site. Pretty URL I think is for example odbavovak.eu/topic/4/test. Next problem is if I create an article that has a name with a space or diacritics, I get this error message on the site.
65356d524a5fe


Thank you very much.


135
7

Anyone who has the "users" role is not able to see anything including the homepage. It will just auto-redirect them to there own profile. If they try to make a new topic it says the page is not found. The "Users" role permissions is as follows.
5eba1885bc00b
5eba197e1cba6

If I make a new role and have it copy permissions for "Users" and apply it to a test account, it will allow the test account to view categories and see the make a post. If I just have it set to the "Users" role it can't. I tried setting the user's role to nothing, saving, then setting it back to no change.

Anyone have had this issue and know a fix?

181
5
WebCrew posted Oct 31 '19 at 1:42 am

@admin

Hi Adesh smile

I'm just wondering how is it possible to activate the blog? Do you use another blog CMS like Post Leaf or is it just a Codoforum forum category turned into a blog? If so, could you please explain to me (and the community) how did you do that?

Thank you very much and best regards from Germany to Ireland smile

Andy

160
2

Hello loyal Codoforum community,


Like you, I'm a very simple user of Codoforum and FreiChat and I think it's great what Codologic has created for us over the years.


Let us give them a little thank you and help to create more awareness for Codoforum, people should know about Codoforum and its awesome features.


Don't be lazy, two minutes of work helps a lot. Just share a few positive words about Codoforum on Twitter or other social networks. You can also share the following image:


5f6f23db196a8


Share it !


share it !


share it !


share it !


At the end of the day, we all benefit from this because more theme and plugin developers can find us.


You can also follow Codologic at Twitter:


https://twitter.com/codologic


Thank you very very much, kind regards,


Andy smile


260
13

Hi,


After installing codoforum and attempting to upload some files, I noticed that regardless of the file size limit set, the files that are around 8MB or above would fail to upload without error message from the forum.


When I attempt to upload these files, after the selecting the files and clicking upload, the green bar will and the checkmark will show up, but the window for file upload will not close and the link to the file won't be present in the textbox.


When I check the attachment directory, the file I tried to upload is not there. The following error shows up when I open the console on the browser.


606cabe4df9fe


Would like to know what could be done to resolve this issue. Thanks.


105
5
DenialDeni posted Jan 23 '22 at 11:24 pm

Hi, I installed FreiChat on a HumHub site. It worked fine until a CroneJobs issue. After that the chat bubble doesn't appeared any more (I assume the problem started after that). I have unistalled and re installed many times the chat module, and even have deleted the site account on the dashboard of FreiChat, and the chat continues without appears.v


108
3
pancakes posted Jul 8 '23 at 2:45 am

Any plans on supporting PHP 8.2? Currently I am getting dozens of errors like this:


Deprecated: Creation of dynamic property CODOF\Smarty\Single::$parent is deprecated in C:......\sys\CODOF\Smarty\Single.php on line 19


100
3

Hallo @admin and @adesh

Only recently people from the community wrote to me in the chat where they can delete their account.


This has now led me to propose you to adapt Codoforum and FreiChat to the new laws.


It is the case in the EU and also in the USA that there is now this GDPR and COPA privacy law. This grants community and website users the right to receive their complete data sets, e.g. as a JSON file, and allows users to completely delete their accounts.


Since one of the largest markets for selling scripts, apps, CMS etc. is in Europe and America, it would be really important to adapt Codoforum and FreiChat to these new laws.


Well, that's all I wanted to say apart from that, as always, thank you very much for your work - keep up the good work, you're great! smile


Kind regards, WebCrew smile


150
3
moses3k posted Nov 7 '22 at 5:31 am

Hi everyone, I'm planning to launch a Q&A style forum for my community. Our typical make or buy question started with research which is why I stumbled upon this product & community.


Been reading the documentation but couldn't find exactly what I was looking for. Basically wanna know whether codoforum would offer / support following use cases:


  1. Approved signups: as admin, I want to review and approve all user signups (gated community).
  2. Upvoting: as user, I want to upvote posts. I saw that upvoting replies is possible, but can I upvote a post as well?
  3. Groups: Besides choosing a category for my post - is it possible to create groups?
  4. Social sharing: Is there any feature that allows me to share a specific post via SM, e.g. twitter ?

TIA for all upcoming replies, much appreciated!


191
2
or1k posted Apr 24 '23 at 10:45 am

Hello.
I do:


  1. Download zip of codoforum 5.2.1
  2. Upload to server and unzip
  3. Setting up Nginx. I give to codoforum php-fpm 8.2.
  4. Then i'm install from browser this engine.

In result i got PHP errors.


Deprecated: Creation of dynamic property CODOF\Asset\Stream::$parser is deprecated in /home/site/hub/sys/CODOF/Asset/Stream.php on line 98
Deprecated: Creation of dynamic property CODOF\Plugin::$db is deprecated in /home/site/hub/sys/CODOF/Plugin.php on line 16
Deprecated: Creation of dynamic property CODOF\Smarty\Single::$parent is deprecated in /home/site/hub/sys/CODOF/Smarty/Single.php on line 19
Deprecated: Creation of dynamic property CODOF\User\RememberMe::$db is deprecated in /home/site/hub/sys/CODOF/User/RememberMe.php on line 13
Deprecated: mb_convert_encoding(): Handling HTML entities via mbstring is deprecated; use htmlspecialchars, htmlentities, or mb_encode_numericentity/mb_decode_numericentity instead in /home/site/hub/sys/CODOF/Format.php on line 26
Deprecated: Creation of dynamic property Controller\forum::$view is deprecated in /home/site/hub/sys/Controller/forum.php on line 383
Deprecated: Creation of dynamic property CODOF\Asset\Stream::$parser is deprecated in /home/site/hub/sys/CODOF/Asset/Stream.php on line 98
Deprecated: Creation of dynamic property CODOF\Asset\Stream::$parser is deprecated in /home/site/hub/sys/CODOF/Asset/Stream.php on line 98
Deprecated: Creation of dynamic property CODOF\Asset\Stream::$prependURL is deprecated in /home/site/hub/sys/CODOF/Asset/Stream.php on line 166
Deprecated: Creation of dynamic property Smarty_Internal_Template::$compiled is deprecated in /home/site/hub/sys/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php on line 719
Deprecated: Creation of dynamic property Smarty_Internal_Template::$compiled is deprecated in /home/site/hub/sys/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php on line 719

Then i tried to give him php 5.6 and 7.4. Errors not gone.
Then i give him back 8.2.
I use CloudFlare with Auto Minify, Brotli and Early Hints.
In my example on my site, Codoforum loose all CSS tamplates.


Link to my site (NO SPAM, NO AD) (It's just for get more info about a problem)
or1k.net/hub


@admin

293
19
blockgaming posted Mar 26 '23 at 5:43 pm

Hello Codoforum community. It's I!


Just kidding. But no, really.


I've noticed a issue with my Codoforum installation of recent with emails.


Some emails are not being pushes threw of recent, or sending to many times.


As an example, a user who has "daily digest" will receive the daily digest around 10-15 times per day.


Or when someone responds to a forum post they have it set to notify them of, it just won't send anything.


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