Show Categories
71
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


68
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


52
2

Determining whether Java or Python is better depends on your specific needs. Java offers strong typing, making it robust for large-scale projects and environments where performance is crucial, such as enterprise applications and Android development. It compiles to bytecode, resulting in faster execution.


Python, with its simplicity, readability, and extensive libraries, is excellent for rapid development, data analysis, machine learning, and web development. Its dynamic typing allows for quick prototyping and adaptability.


If you prioritize speed and performance for complex software and have a preference for static typing, Java might be preferable. If you value ease of learning, versatility, and faster development cycles, Python could be the choice.


Ultimately, the "better" language depends on your project's scope, goals, and your familiarity with the language. Many factors, including community support, available tools, and personal preferences, influence the decision. It's often beneficial to consider the specific requirements of your task before deciding which language to use.


65
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


118
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 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!


149
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

237
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.


153
5
John Wick posted Oct 23 '22 at 10:14 pm

Admin > Spam Control > ReCaptcha > Enable recaptcha? > Yes


//Codoforum v.5.1. (php 7.2, mysql 5.7)


Use Google's No CAPTCHA reCAPTCHA v2, but if user doesn't fill in Captcha and just click Submit, the next fatal error is shown.smile


63563b4d3564f


Fatal error: Uncaught Error: Call to a member function isSuccess() on null in C:\OSPanel\domains\test.loc\sys\CODOF\User\Register.php:234 Stack trace: #0 C:\OSPanel\domains\test.loc\sys\Controller\user.php(312): CODOF\User\Register->get_errors() #1 C:\OSPanel\domains\test.loc\routes.php(642): Controller\user->register(true) #2 [internal function]: {closure}() #3 C:\OSPanel\domains\test.loc\sys\CODOF\Router\Router.php(91): call_user_func_array(Object(Closure), Array) #4 C:\OSPanel\domains\test.loc\sys\CODOF\Router\Router.php(56): CODOF\Router\Router::_dispatch(Object(FastRoute\Dispatcher\GroupCountBased)) #5 C:\OSPanel\domains\test.loc\routes.php(892): CODOF\Router\Router::dispatch() #6 C:\OSPanel\domains\test.loc\index.php(22): require('C:\OSPanel\doma...' ) #7 {main} thrown in C:\OSPanel\domains\test.loc\sys\CODOF\User\Register.php on line 234


Need help




Also I need to add any kind of Honeypot to Register page. Who can share working code?smile


69
0
WebCrew posted Nov 8 '22 at 6:33 pm

Hallo Community and hallo @admin

today I have setup a new instance of Codoforum at my shared hosting.


I created a topic with a poll and I was running into the following error message:



Warning: Attempt to read property "num_votes" on array in /sys/CODOF/Forum/Poll.php on line 156



I did one vote at the poll and instead of showing the correct percentage it still shows 0% on both possible poll answers. It would be great if you can help to fix it.


My System Setup:


  • I use https:// with Lets Encrypt
  • MySQL Version 5.7
  • PHP Version 8.1
  • opcache is enable
  • max_execution_time is 300
  • max_input_time also 300
  • post_max_size 256M
  • system is running on Plesk
  • Chrome Browsers Ads Blocker is off

Kind regards, WebCrew smile


98
4

Anyone have same issue? My forum is being under attacked by bots. They register new accounts for every hour. I have Google reCapcha2 enable and even tried some JavaScript/Ajax to prevent but still got new bot accounts registered.


I checked my web access log and all of the bot request weren't from normal browser, hence they weren't prevented by JavaScript/Ajax. You can check my register link, you can't register it if you don't provide a correct answer. But the bots can pass it smile


I believe this codologic forum is being under attacked also, see these users.


https://codologic.com/forum/index.php?u=/user/profile/17305
https://codologic.com/forum/index.php?u=/user/profile/17304
https://codologic.com/forum/index.php?u=/user/profile/17303
https://codologic.com/forum/index.php?u=/user/profile/17302
https://codologic.com/forum/index.php?u=/user/profile/17301


recent by nguoianphu  ·  Nov 7 '22 at 5:07 am
64
4
John Wick posted Oct 24 '22 at 7:55 am

For Example if we use page



or some others, we have that code after Submit button


<button id='req_pass' class='codo_btn codo_btn_primary'>{_t('E-mail reset token')}</button>
<img id="codo_sending_mail" style="display: none" src="{$smarty.const.CURR_THEME}img/ajax-loader.gif" />

So the goal is to add "codo_sending_mail" for Register page, because waiting on this page takes the maximum time.


What I do?


First add the code after Submit button
<img id="codo_sending_mail" style="display: none" src="{$smarty.const.CURR_THEME}img/ajax-loader.gif" />
to ....\sites\default\themes\default\templates\user\register.tpl


Then edit some code to ....\sites\default\assets\js\user\register.js


$('#codo_register').on('click', function() {

if (error_exists(register.errors)) {
$('#reg_username').focus();
return false;
} else {
$('#codo_sending_mail').show();
$(this).submit();
}
});

But the logic is not what we need, as loading button appears on first click at Submit button.


So return to page ...\sites\default\themes\default\templates\user\register.tpl


and add this code to each Input


onclick="$('#codo_sending_mail').hide();"

635636d8215e6


I do not like this solution, you understand why, help to implement this function beautifully. Thanks


recent by admin  ·  Nov 6 '22 at 11:46 am
38
1
squiddy posted Nov 2 '22 at 2:30 pm

Hello,


I was wondering if I could host a CodoForum site locally using XAMPP, can I then upload the site to Github pages?


Thanks!
~ Squiddy


(Sorry for re-posting this question twice)


recent by nguoianphu  ·  Nov 3 '22 at 9:25 am
101
2

Hallo Community and - Codologic,


over the past few months I've ventured into another PHP project with lots of tutorials and examples - for someone like me who had next to no PHP knowledge, this was a tough one.
A friend then helped me to correct the last mistakes and now everything works as it should and the online theme editor, style editor and file manager is ready. The code could certainly be written nicer and more logical, but at least my editor works now.



You can easily integrate this into any CMS or forum script or even edit your HTML homepage with it.



If you are interested - try it out and if you want, please give me a STAR for my work on GitHub - thank you very much.


Here You go:



Slowly, very slowly, I'm learning and getting better with PHP bit by bit - it's fun to learn.


Kind regards, WebCrew smile


recent by WebCrew  ·  Oct 25 '22 at 12:17 pm
Categories
Actions
Hide topic messages
Enable infinite scrolling
All posts under this topic will be deleted ?
Previous
123456 ... 143
Next
With selected deselect topics
Pending draft ... Click to resume editing
Discard draft