Codoforum related discussions

Post all your questions and problems related to codoforum here .

131
0

Hi!

I have been using codoforum (version 4.3) for some months without any problem but, suddenly is not posible to post "big text post" or reply them.
Some time also apears "SPAM" alert... but there's no option to control this "spam" inside the admin panel.

If I write a simple post (a word in the title or message there's no problema, but If the message is a lo long test (about 10 ou 12 lines) the message seems to be published but when you access into the correspondent category the message isn't there or in another place...

If I change the status value in this topics into the database are showing but there's no way to answer on post because are detected as SPAM

Any idea how to solve it??

recent by Aus  ·  Oct 6 '16 at 9:56 am
59
0
phig330 posted Oct 5 '16 at 3:58 pm

hello!
new user of codoforum, I have a lot of questions!

I need to translate the admin interface, as my users ( and admins) are french. Is there a simple way ( like for sites/default/locale/fr_FR/fr_FR.php) ?

Thanks !

ps: excuse my poor english !

249
1
William posted Sep 26 '16 at 2:28 pm

Hey, I just discovered codoforum, it seems great and looks fine!

I'm interested in using it but I'd need to integrate it in some "special" ways and I don't know where to start.

At the moment I have a website with a few pages, a custom login/register form, and a page that lets visitors post offers, with an optional picture.

I guess I'll definitely forget about my login/register form for ease of integration, just customizing coforum's.

Now I'd need to be able to auto post from mywebsite.com/post.php (thats called from some ajax) to mywebsite.com/codoforum, or maybe use needed include lines in my html, to show codoforum's post form on my main pages, even like iframing ?

I guess I'll see how it integrates with picture uploading to decide if I keep my posts database or if I can merge then adding some columns.

Thank you and even more if you got some pieces of answer for me smile

208
2
CNK posted Sep 20 '16 at 1:05 pm

Hey,

if you use facebook API do registration, you have ugly names in profile view, like "Name_ka-Surname".

To do it better, I edited line 66 in sites/default/themes/default/templates/user/profile/view.tpl:

and change:

<div class="codo_username">{$user->username}</div>

to

<div class="codo_username">{$user->name}</div>

 
 
 
 

Regards! smile

recent by ongoltse  ·  Sep 20 '16 at 9:52 pm
109
1
Nada posted Sep 18 '16 at 11:56 pm

Hi. I am trying to create a members only forum for my students. Is it possible in Codoforum to show a special page to guests, stating something like "Hi. In order to see the content of this forum you must singn in or register"? Thanks in advance.

recent by Nada  ·  Sep 19 '16 at 8:09 pm
135
0
Utpal posted Sep 19 '16 at 4:38 am

Help me please , I am using codoforum on my site but for hard security I want to change admin path as like "site.com/Gbdyg23hjj" . How to do this please help me . If i directly rename this dir it say an error like this:

Fatal error: Uncaught --> Smarty: Unable to load template file 'login.tpl' <-- thrown in G:\XAMPP\htdocs\sys\Ext\Smarty\sysplugins\smarty_internal_templatebase.php on line 127
127
0
Trojan posted Sep 17 '16 at 7:57 pm

please how can i use the navbar accross my entire website, for the homepage, blog, bio page how can i add more links to the nav bar and still have the nav bar across all my pages not associated with codoforum

recent by Aus  ·  Sep 17 '16 at 11:49 pm
519
5
CNK posted Sep 5 '16 at 8:43 am

I noticed that safeURL don't work for topics in Polish language, for example:

Zażółć gęślą jaźń

So in /sys/CODOF/Filter.php I changed line:

$str = mb_convert_encoding((string) $str, 'UTF-8', mb_list_encodings());

to this:

$str = iconv("UTF-8", "UTF-8//IGNORE", $str);
$str = iconv("UTF-8", "ASCII//TRANSLIT", $str);

I always use it in my projects and it works well.
http://sandbox.onlinephpfunctions.com/code/110e68c61166d8e57cba4254dec55e72fcbc3061


But... When I created for test new topic: "Zażółć gęślą jaźń" my safeURL is:

zaz-oacute-l-c-ge-sla-ja-z-n

instead of:

zazolc-gesla-jazn


Why i have a lot of additional "-" ? smile
Do you know how to fix this bug?


This depends of PHP version: http://stackoverflow.com/a/38709208


Titles in Polish are broken in database:

57cd5e263f9b2.png

ó is replaced by &oacute ; smile

157
1
CNK posted Sep 2 '16 at 1:33 am

I have Codoforum v.3.4 beta. After send post I had this error:

Fatal error: Uncaught exception 'PDOException' with message 'SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '-20' at line 1' in /home/cnk/domains/polecamwbielsku.pl/public_html/sys/CODOF/Forum/Post.php:53 Stack trace: #0 /home/cnk/domains/polecamwbielsku.pl/public_html/sys/CODOF/Forum/Post.php(53): PDO->query('SELECT u.id, r....') #1 /home/cnk/domains/polecamwbielsku.pl/public_html/sys/Controller/Ajax/forum/topic.php(84): CODOF\Forum\Post->get_posts(8, -1) #2 /home/cnk/domains/polecamwbielsku.pl/public_html/sys/Controller/forum.php(373): Controller\Ajax\forum\topic->get_posts(8, -1, Array) #3 /home/cnk/domains/polecamwbielsku.pl/public_html/routes.php(879): Controller\forum->topic(8, ' Test message?') #4 [internal function]: {closure}('8', 'Test message 2 ', ' Test3?') #5 /home/cnk/domains/polecamwbielsku.pl/public_html/sys/Ext/limonade/limonade.php(429): call_user_func_array(O in /home/cnk/domains/polecamwbielsku.pl/public_html/sys/CODOF/Forum/Post.php on line 53

How I can fix this?

1.6k
12

I am really stuck - I have very little server, host and stuff, experience. Would someone be able to guide me as to how to set up SMTP.

I am using Grendel Host and I think I have figured out what to fill into most of the fields. But I can't figure out what to put in the following fields:
SMTP Protocol
and
SMTP Server
I'd love it if you can help (even if you can just explain how the whole thing works!)

Also wondering how I can get the Mail() option to work.
Thanks!
Cody

169
1

For example, after upgrade, I git this in "Latest news" field in dashboard:

Fatal error: Uncaught exception 'PDOException' with message 'could not find driver' in /usr/share/nginx/html/landing-page/todo/php/todo.php:29 Stack trace: #0 /usr/share/nginx/html/landing-page/todo/php/todo.php(29): PDO->__construct('sqlite:../db.sq...') #1 {main} thrown in /usr/share/nginx/html/landing-page/todo/php/todo.php on line 29
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