Codoforum related discussions

Post all your questions and problems related to codoforum here .

100
0

After a successful installation, I receive the following error message when trying to view the forum front end (the admin loads fine):

Unable to require .../forum/sys//DOMDocument.php
Fatal error: Class 'DOMDocument' not found in .../forum/sys/CODOF/Format.php on line 43

Any tips would be much appreciated!

151
2
reza93120 posted Dec 21 '16 at 6:00 am

when i have run(click) on topic the script give this code
Fatal error: Uncaught --> Smarty Compiler: Syntax error in template "file:/home/poqdownload/publichtml/forum/sites/default/themes/default/templates/forum/category.tpl" on line 157 "<input placeholder="{("Select a date"smile}" class="form-control col-md-3" type="text" id="datetimepicker"/>" unknown function "_" <-- thrown in /home/poqdownload/public_html/forum/sys/Ext/Smarty/sysplugins/smarty_internal_templatecompilerbase.php on line 157
please help

185
3
hagi posted Dec 13 '16 at 7:02 am

After install the forum every time i try to create a topic i get this:

Fatal error: Uncaught --> Smarty Compiler: Syntax error in template "file:/home/endurancesciegr/forum.endurancescience.gr/sites/default/themes/default/templates/forum/newtopic.tpl" on line 188 "<input placeholder="{("Select a date"smile}" class="form-control col-md-3" type="text" id="datetimepicker"/>" unknown function "_" <-- thrown in /home/endurancesciegr/forum.endurancescience.gr/sys/Ext/Smarty/sysplugins/smarty_internal_templatecompilerbase.php on line 188

Can anyone tell me how to fix this? Thank you!

recent by reza93120  ·  Dec 21 '16 at 6:09 am
206
3
LielZ posted Dec 11 '16 at 6:33 pm

I've fill the var $account with my vars, but ihave just the index for reg/login and etc and its dosent work.

here is my client.php

<?php

/**
 * 
 * You do not have to edit sso.php file
 * 
 * This file/code should get executed when Codoforum sends a request
 * to the path <sso get user path> as defined in SSO plugin settings
 * in Codoforum backend
 * 
 * 
 */

require 'sso.php';

/**
 * 
 * The SSO client id and secret MUST be same as that set in the Codoforum
 * SSO plugin settings
 */
$settings = array(

  "client_id" => 'dbzforum',
  "secret" => 'Xe24!rf',
  "timeout" => 12000  
);

$sso = new codoforum_sso($settings);

$account = array();

/**
 * 
 * Here comes your logic to check if the user is logged in or not.
 * A simple example would be using PHP SESSION
 */
if (USER_IS_LOGGED_IN) {

    $account['uid'] = $personagem['id']; //Your logged in user's userid
    $account['name'] = $personagem['nome']; //Your logged in user's username
    $account['mail'] = $conta['email']; //Your logged in user's email id
    $account['avatar'] = ''; //not used as of now
}

$sso->output_jsonp($account); //output above as JSON back to Codoforum
exit();
148
2
rysiekuk posted Dec 14 '16 at 2:22 pm

I am trying to use SSO plugin. I can see Codoforum calling my login,logou, register.php files, but at any point its calling client.php?

When Codoforum should call this file?

Richard

recent by rysiekuk  ·  Dec 14 '16 at 8:10 pm
64
1
vampi posted Dec 11 '16 at 5:09 pm

Hi guys. I was just looking at the DB structure, and I noticed, whenever there's an INT primary key, it's UNSIGNED, but whenever there's a foreign key, it's not UNSIGNED. For example, codo_posts.topic_id and codo_topics.topic_id.

Also, why is cat_id in codo_topics SMALLINT instead of INT? Is it not a foreign key into codo_categories?

Anyway, it would be more correct if the keys corresponded, so, I guess they can all be INT UNSIGNED.

Cheers!

349
1

While installation of Codoforum was successful, I am not able to use or login in the forum as I get the following error every time I register or try to do anything with the forum:

Warning: session_start(): Failed to read session data: user (path: /home/517/337517/tmp) in /home/517/337517/public_html/forum/sys/CODOF/Util.php on line 84

Please help me fixing it.

210
4

Hi, i would like the topic list to show in full instead of having to click on the "all topics" to display them when the visitor comes to the site and when the home button is clicked. I mean only for mobile version because in mobile version they do not appear automatically if you don't touch them.

This would make the categories show and make it easier for the visitor to navigate and to me would make the the first impression much nicer.

recent by bren  ·  Dec 13 '16 at 10:42 pm
112
1
JayBone posted Dec 5 '16 at 12:12 am

Hello,

I'm trying to install Codoforum on my server and I'm getting this error Parse error: syntax error, unexpected T_STRING in /home/cre8tiv1/public_html/justin/forum/install/load.php on line 7

Now my server is running PHP 5.4.45 so it should work. I have looked at that line and nothing seems to be wrong but i could be mistaken.

Any help would be great.

Thanks

JayBone

recent by guliverkel  ·  Dec 8 '16 at 2:01 am
548
13
ddeveloper posted Oct 20 '16 at 9:41 am

On certain posts, I get this long error after submission but the post is submitted either way.

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 MariaDB server version for the right syntax to use near '-20' at line 1' in /home/admin/web/website.com/public_html/forum/sys/CODOF/Forum/Post.php:53 Stack trace: #0 /home/admin/web/website.com/public_html/forum/sys/CODOF/Forum/Post.php(53): PDO->query('SELECT u.id, r....') #1 /home/admin/web/website.com/public_html/forum/sys/Controller/Ajax/forum/topic.php(84): CODOF\Forum\Post->get_posts(22, -1) #2 /home/admin/web/website.com/public_html/forum/sys/Controller/forum.php(373): Controller\Ajax\forum\topic->get_posts(22, -1, Array) #3 /home/admin/web/website.com/public_html/forum/routes.php(904): Controller\forum->topic(22, 'Before 19 Octob...') #4 [internal function]: {closure}('22', 'Created cPanel ...', 'Before 19 Octob...') #5 /home/admin/web/website.com/public_html/forum/sys/Ext/limonade/limonade.php(42 in /home/admin/web/website.com/public_html/forum/sys/CODOF/Forum/Post.php on line 53
169
1
ardideari posted Dec 2 '16 at 4:43 pm

1. The first question in about the colour of the bell notifications the red I want to be different colour instead of little circled red one here...
5841a25f111ae.png

2. After clicking on the notifications bell, I have the notifications but then suddenly they get disappeared how can I fix this? In the way notifications to stay just like here in codoforum... here you can see how it looks like after clicking for the second time.
5841a2bd48f14.png

3. I want to change the style or let's say ICONS for Reputation points, how can I do this? Because I think instead of plus and minus there should be introduced new VOTING icons which will make our forums a more beautiful environment also it will encourage more users to post.
The problem is not only this, but it gets disappeared if you don't focus your mouse in the reputation area... here you can see on the attachmen... ( so I want to edit these styles)
5841a39e32e64.png

recent by admin  ·  Dec 4 '16 at 5:20 pm
908
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