Codoforum related discussions

Post all your questions and problems related to codoforum here .

137
1
rubelzain83 posted Jan 21 '16 at 8:44 am

I am enabling the SSO plugin and this is very confusing.

Even looking at the documentation, I can't get the USER paths correct.

My forum is in: www.mywebsite.com/forum/

Would the paths be: www.mywebsite.com/forum/client.php?
I did download the client.php page from the Pull Requests, but I'm not sure where to upload it.

And what about the other paths? www.mywebsite.com/forum/login.php
www.mywebsite.com/forum/logout.php

you see where I'm going?

If I follow the documentation, it would be something like this:
www.mywebsite.com/forum/client.php
www.mywebsite.com/forum/login.php
etc

Thanks!


icct20worldcup2016india.com

287
10
itlo posted Jan 9 '15 at 9:22 am

I don't really undestand what is the point of the notifications here. From what I see we will get notifications only in topics we open or subscribe. But for a forum and a community, I think, is very important to be notified about the activitiy in general (number of new topics, posts ect). E.g, I need to know which are the new topics opened since the last visit. I dont't mean to flood the user with notifications, but some like these mentionened above are imporant. Or you just need to see the classic forums, plus the social networks (twitter, fb, G+) to find the best middle way.
Another problem I see here, is that when you have checked the notifications bell, will get "No new notifications". Maybe is better to have it the facebook way, with the last notifications still there.

Regards.

240
7
Stephen posted Jan 6 '16 at 1:22 am

Good time of the day to everyone, I've faced a problem trying to search some word among the topics that exist at my Codoforum board. After typing a word I discovered that it had started to search the word infinitely. What should I edit to make MySQL search work the same as it does at Codologic community board?
Thank you in advance.

204
0

Codoforum has one problem that should be improved I think. "Hide text" and "Infinite scrolling" buttons at the bottom reset each time a page is refreshed. It's not comfortable. At this forum there's the same trouble.
All topics list resets after page refresh as well once clicked hidden.
Also I need to know what is currently the best place at the main forum page page to put banners, advertisement, counters etc. with making them look the same at other pages of a forum.
One more tip is that currently one has to put some void image if he wants to make a category without an icon. Also, for now, if you delete a topic, it vanishes from your forum but still exists in a forum database. It's not comfortable as in your profile such topics stay until you delete them from a database.
And what's wrong with Codoforum official website? I can't even look at the roadmap.
Thank you.

380
11
James posted Dec 20 '15 at 5:53 pm

http://sorgalla.com/lity/ instead of lightbox2. Because lightweight + responsive.

You have to download and upload lity and the newest version of Jquery.

lity.min.js **to** sites/default/assets/js/
new jquery.min.js **to** sites/default/assets/js/
lity.min.css **to** sites/default/assets/css/

Please don't forget to make backups of these files:

sys/Ext/Html.php
sites/default/assets/js/editor.js
sites/default/themes/default/templates/forum/topic.tpl
sites/default/themes/default/templates/user/profile/view.tpl
sites/default/themes/default/templates/layout.tpl

Open:

sys/Ext/Html.php

Change

68 'a' => array('href', 'target'),

To

68 'a' => array('href', 'target', 'data-lity'),

Save

Open:

sites/default/assets/js/editor.js

Change:

196 <img src="' + href + '" title="' + title + '" />
201 <img src="' + href + '" title="' + title + '" />
247 <a href="' + href + '"><img src="http://i.imgur.com/' + part[1] + '.jpg" title="' + title + '" /></a>
254 <img src="' + href + '" title="' + title + '" />

To:

196 <a href="' + href + '" data-lity="' + href + '" title="' + title + '"><img src="' + href + '" /></a>
201 <a href="' + href + '" data-lity="' + href + '" title="' + title + '"><img src="' + href + '" /></a>
247 <a href="' + href + '" data-lity="' + href + '" title="' + title + '"><img src="http://i.imgur.com/' + part[1] + '.jpg" /></a>
254 <a href="' + href + '" data-lity="' + href + '" title="' + title + '"><img src="' + href + '" /></a>

Save

Open:

sites/default/themes/default/templates/forum/topic.tpl

Find:

263 <link rel="stylesheet" type="text/css" href="{$smarty.const.DURI}assets/markitup/highlight/styles/github.css" />

Add before:

<script src="{$smarty.const.DURI}assets/js/lity.min.js"></script>
<link rel="stylesheet" type="text/css" href="{$smarty.const.DURI}assets/css/lity.min.css" />

Save

Open:

sites/default/themes/default/templates/user/profile/view.tpl

Find:

221 </script>

Add after:

<script src="{$smarty.const.DURI}assets/js/lity.min.js"></script>
<link rel="stylesheet" type="text/css" href="{$smarty.const.DURI}assets/css/lity.min.css" />

Save

Open

sites/default/themes/default/templates/layout.tpl

Find:

151  {$page.head.js}

Add after:

<script type="text/javascript" src="{$smarty.const.DURI}assets/js/jquery-1.11.3.min"></script>

Save

recent by RolluS  ·  Jan 7 '16 at 1:02 pm
650
7

Hello smile

I have a bug with smileys on my installation, and begin to think I have a problem with URL or URL rewriting.

You can check my forum here: http://supra-mk3.club

Smiley problem

When the smileys

:D :) etc..

are posted, the posted message won't point to the good URL, but will in preview:
55c356a60e493.png

http://supra-mk3.club/index.php?u=/sites/default/assets/img/smileys/bigsmile.gif

instead of

http://supra-mk3.club/sites/default/assets/img/smileys/bigsmile.gif

I may have broke something, because for older posts it's working:
55c359d75de09.png

URLs

Also, for cleanURL, when I've previously talked here with @nguoianphu , he answered:

Your word système becomes syst-amp-egrave-me. I afraid that you have to edit his file for your French language. smile

codoforum\sys\CODOF\Filter.php

I don't know why it doesn't work althought the Filter.php has this:

'è' => 'e', 'é' => 'e', 'ê' => 'e', 'ë' => 'e'

You may ask @adesh1414127033 for help. I had to replace the Filter.php with another one for my Vietnamese language.

Here is my .htaccess:

<IfModule mod_rewrite.c>
  Options +FollowSymlinks
  Options +Indexes
  RewriteEngine on

  # if your app is in a subfolder
  #RewriteBase /my_app/ 

  # test string is a valid files
  RewriteCond %{SCRIPT_FILENAME} !-f
  # test string is a valid directory
  RewriteCond %{SCRIPT_FILENAME} !-d

  RewriteRule ^(.*)$   index.php?u=/$1    [NC,L,QSA]
  # with QSA flag (query string append),
  # forces the rewrite engine to append a query string part of the
  # substitution string to the existing string, instead of replacing it.
</IfModule>

AddType text/css .less
AddType image/svg+xml svg svgz
AddEncoding gzip svgz

<IfModule mod_deflate.c>
  <FilesMatch ".(js|css|html|php|txt)$">
    SetOutputFilter DEFLATE
  </FilesMatch>
</IfModule>

Here are my modifications in constant.php:

define('CODO_DEBUG', 0);
define('DISPLAY_ERRORS', 'ON');
define('MODE', 'PRODUCTION'); //Can be DEVELOPMENT or PRODUCTION

define('SEF', 1); //Search engine freindly urls , 1=> enable , 0=> disable
define('LOCALE', 'fr_FR');

Am I doing something wrong?

Please help,

Reynald

recent by James  ·  Jan 6 '16 at 10:27 pm
121
2
James posted Jan 4 '16 at 4:53 pm

When I want reset my password on my forums nothing happens.
I see just the blue loading icon. But I have an error message, from this file:

/index.php?u=/Ajax/user/login/req_pass&ident=Username&token=Tokennumber
Notice: Undefined offset: 1 in /home/www/xxx/forum/sys/Controller/Ajax/user/login.php on line 103
{"status":"success","msg":"E-mail sent successfully"}

Never changed something in this file.

recent by James  ·  Jan 5 '16 at 10:51 pm
123
2
Stephen posted Jan 4 '16 at 7:38 pm

Good time of the day everyone. Could you please tell me why is typing in Codoforum post form is delaying from hitting keyboard buttons? Is it a Firefox issue or something else? I guess this happens because saving a post is simultaneous with typing. How to tune it then? It's a serious bug.
Thank you in advance.

recent by Stephen  ·  Jan 5 '16 at 9:48 pm
545
11

@adesh1414127033
Hi,
I am running CODOFORUM on my Raspberry Pi, and as you may know, they are VERY slow. I already had a problem with installation here, and I am now having SSO integration problems. When you click "login", it will send you to my login page, and then back to the forum after you have logged in. However, you have to click the refresh button EXTREMELY fast multiple times the moment you have reached the forum in order to get SSO to sign the user in (The little black dots that appear under the register/login buttons). This is obviously a problem with my server being to slow (I am 99% sure my configuration is okay, because it DOES log you in after refreshing very fast many times), and the server is not waiting long enough in order to get the SSO information from client.php. Is there a way to make the wait longer? (Modifying a file, etc.)

I am running:
PHP version: PHP 5.6.14-0+deb8u1

Apache version: 2.4.10 (Raspbian)

MySQL version: 14.14 Distrib 5.5.46, for debian-linux-gnu (armv7l) using readline 6.3

On a Raspberry Pi 1 Model B or B+

Thank you so much! Support is great on this forum, and it is absolutely amazing! Thank you for creating such a great product!

109
1
dsolivier posted Dec 27 '15 at 7:06 pm

Hi everyone

I have just installed Codoforum, everything went well, but the frontend doesn't show. Only an error shows:

Fatal error: Call to undefined function CODOF\mb_convert_encoding()

Anyone that has an idea what might cause this error?

The backend shows without a problem.

Thanks in advance!

Kind regards

555
1
Szmycu posted Dec 28 '15 at 1:55 am

I want switch my site from http to https and there are listened problems where should I found solution, in which files?

Mixed Content: The page at 'https://forum.tibiaservers.net/' was loaded over HTTPS, but requested an insecure stylesheet 'http://forum.tibiaservers.net/cache/css/cd4730b52e7b1839964b953e0bdd9651.css'. This request has been blocked; the content must be served over HTTPS.

Mixed Content: The page at 'https://forum.tibiaservers.net/' was loaded over HTTPS, but requested an insecure stylesheet 'http://forum.tibiaservers.net/sites/default/plugins/sso/assets/css/sso.css'. This request has been blocked; the content must be served over HTTPS.
Mixed Content: The page at 'https://forum.tibiaservers.net/' was loaded over HTTPS, but requested an insecure XMLHttpRequest endpoint 'http://forum.tibiaservers.net/Ajax/cron/run?token=897dd37e63f6ab84fe2422cd02d1fd00'. This request has been blocked; the content must be served over HTTPS.send @ 172524270782439e3a1936b0d3645ed4.js:1
172524270782439e3a1936b0d3645ed4.js:1 


Mixed Content: The page at 'https://forum.tibiaservers.net/' was loaded over HTTPS, but requested an insecure XMLHttpRequest endpoint 'http://forum.tibiaservers.net/template/forum/topics'. This request has been blocked; the content must be served over HTTPS.send @ 172524270782439e3a1936b0d3645ed4.js:1
172524270782439e3a1936b0d3645ed4.js:1 


Mixed Content: The page at 'https://forum.tibiaservers.net/' was loaded over HTTPS, but requested an insecure XMLHttpRequest endpoint 'http://forum.tibiaservers.net/Ajax/data/new?firstTime=true&time=0&_token=897dd37e63f6ab84fe2422cd02d1fd00'. This request has been blocked; the content must be served over HTTPS.
Mixed Content: The page at 'https://forum.tibiaservers.net/' was loaded over HTTPS, but requested an insecure image 'http://forum.tibiaservers.net/sites/default/assets/img/cats/icons/567898c60c4bfuparrow118.png'. This content should also be served over HTTPS.
Mixed Content: The page at 'https://forum.tibiaservers.net/' was loaded over HTTPS, but requested an insecure image 'http://forum.tibiaservers.net/sites/default/assets/img/profiles/icons/M_19bf00.png'. This content should also be served over HTTPS.
Mixed Content: The page at 'https://forum.tibiaservers.net/' was loaded over HTTPS, but requested an insecure image 'http://forum.tibiaservers.net/sites/default/assets/img/profiles/icons/A_734939.png'. This content should also be served over HTTPS.
909
4.41k
22
Sub Categories
Actions
Hide topic messages
Enable infinite scrolling
Previous
Next
All posts under this topic will be deleted ?
Pending draft ... Click to resume editing
Discard draft