General discussion

Place for discussing all the general topics

159
15

I noticed when there are more pages in the topic, the links from the Notifications section (bell in the header) do not scroll exactly to the post, as is the case with the red notification boxes on the front page.


there is a difference in the path, here is the path from the home page (from red notification box):
...


and here is the path from the Notifications section (bell in the header)
http://www.domain.eu/index.php?u=/topic/topic_number/post...


topic_name is missing, when I added the missing topic_name there, the link worked nicely


I found the definition of these links in the file "app.js"


if (data.tid) {
//this is <v.3.7 notification so link needs to be built manually
link = 'topic/' + data.tid + '/post-' + data.pid +
'&page=from_notify&nid=' + notification.id + '#post-' + data.pid;
unique = parseInt(data.tid);}

but I don't know in which variable the topic name is defined so I can put it in the path


Please advice


Thanks


recent by admin  ·  Mar 29 '21 at 7:34 pm
262
16

Hello

I'm having issues with the Mail Notify plugin and the mail queue.

I have a user who's been getting the same email repeatedly.

I tracked down the issue to sys/CODOF/Forum/Notication/MailQueue.php on line 43:

$qry = 'DELETE FROM ' . PREFIX . 'codo_mail_queue WHERE id IN (' . $_ids . ')';

I believe the PREFIX or the codo_ should be there, but not both.

I also seem to be having an issue where none of my users are getting notified of posts, but I need to look into my mail logs to track that one down.

recent by NFG  ·  Dec 19 '20 at 4:56 am
91
2

Hi,


I would like to know how to add category and tags under the topic title on the main page as shown in the figure:


5fd3f6b97f3fd


I have edited this section in the file "topics.html":


<div class="codo_topics_topic_name">
<a href="
{{{const "RURI"}}}user/profile/{{{id}}}"><span class="role_styled role_{{{role}}}">{{{name}}}</span></a>
<span><span id="posted_txt">
{{{i18n "posted"}}} </span>{{post_created}}<br />Category: <a href="{{{const "RURI"}}}category/{{{cat_alias}}}">{{{cat_alias}}}</a><br />Tags: </span>
</div>

The variable "cat_alias" works, but when I wanted to use the variable "cat_name", nothing was displayed. I need to display Category name. Same for tags. I would need to see all the tags from the topic if they are presented.


Thank you in advance for the advice


recent by richard  ·  Dec 13 '20 at 4:55 pm
107
1
Bullet_23421 posted Aug 26 '20 at 8:09 am

Bonjour. Et bien voici mon problème: lorsque je navigue sur mon site "Moneyhack.fr" avec Google Chrome et parfois j'obtiens toujours ce message d'erreur "ERR_CONNECTION_REFUSED". Le problème se produit également avec d'autres navigateurs tels que Firefox. Cela est-il causé par des logiciels malveillants ou des paramètres de navigateur? J'ai besoin de ton aide!

Si vous pouvez même visiter mon site, j'aimerais savoir si le problème est également visible sur votre navigateur.

Merci d'avance.

recent by WebCrew  ·  Aug 26 '20 at 11:53 pm
128
4

I read the very short Terms of Service and judging by this line

You agree not to modify, copy, distribute, transmit, display, perform, reproduce, publish, license, transfer, create derivate work from, sell or re-sell any content or information obtained from or through the Site.

(which derivative is misspelled btw)

This software is not open-source? Correct?

recent by WebCrew  ·  Aug 2 '20 at 4:26 pm
107
1
Szmycu posted Jul 16 '20 at 11:05 am

Is there possibility to change all links and protocol to https?

I have a lot of mixed content And I do not want change manually all the files

Someone wrote, this would make it

 Force HTTPS
   RewriteCond %{HTTPS} off
   RewriteRule ^ https://%{HTTP_HOST}%{REQUEST_URI} [R=301,L]

but it provides redirect loop.

Is there somewhere in options - constant to change to achieve change to SSL?

recent by WebCrew  ·  Jul 19 '20 at 3:30 am
109
1

How to deal with that?

I installed newest codoforum and imported db from my older codoforum version. Its becouse automatic upgrade not working and made my website totally off

Warning: Cannot modify header information - headers already sent by (output started at /forum2/sys/load.php:25) in /forum2/sys/load.php on line 28

Warning: session_set_save_handler(): Cannot change save handler when headers already sent in /forum2/sys/CODOF/Session/Session.php on line 21

Warning: session_start(): Cannot start session when headers already sent in /forum2/sys/CODOF/Util.php on line 93
headers already sent
Warning: Cannot modify header information - headers already sent by (output started at /forum2/sys/load.php:25) in /forum2/routes.php on line 942
recent by admin  ·  Jul 16 '20 at 8:27 am
146
1

Hello, I am trying to install the forum over https, but I don't get past step 2. I use https standard and the step 3 is being stopped because of the XMLHttpRequest cannot load due to access control checks. I am getting frustrated by this big time.

additional I get this:
Fatal error: Uncaught PDOException: SQLSTATE[HY000] [1698] Access denied for user 'root'@'localhost' in public_html/forum/sys/vendor/illuminate/database/Illuminate/Database/Connectors/Connector.php:47 Stack trace: #0 public_html/forum/sys/vendor/illuminate/database/Illuminate/Database/Connectors/Connector.php(47): PDO->__construct('mysql:host=loca...', 'root', 'root', Array) #1 public_html/forum/sys/vendor/illuminate/database/Illuminate/Database/Connectors/MySqlConnector.php(20): Illuminate\Database\Connectors\Connector->createConnection('mysql:host=loca...', Array, Array) #2 public_html/forum/sys/vendor/illuminate/database/Illuminate/Database/Connectors/ConnectionFactory.php(59): Illuminate\Database\Connectors\MySqlConnector->connect(Array) #3 public_html/forum/sys/vendor/illuminate/database/Illuminate/Database/Connectors/ConnectionFactory.php(47): Illuminate\Database\Connectors\ConnectionFactory->createSingleConnection(Array) #4 /U in public_html/forum/sys/vendor/illuminate/database/Illuminate/Database/Connectors/Connector.php on line 47

it seems it does not take the give login name and password set in step 2

recent by WebCrew  ·  Jun 12 '20 at 11:23 pm
81
1
WebCrew posted Jun 4 '20 at 3:12 am

Hi @admin

the "blog" here does report an error:

Fatal error: Uncaught PDOException: could not find driver in /usr/share/nginx/html/iwstack/landing-page/pages/blog/connect.php:6 Stack trace: #0 /usr/share/nginx/html/iwstack/landing-page/pages/blog/connect.php(6): PDO->__construct('sqlite:pages/bl...'smile #1 /usr/share/nginx/html/iwstack/landing-page/pages/blog/list_posts.php(4): require('/usr/share/ngin...'smile #2 /usr/share/nginx/html/iwstack/landing-page/pages/blog.php(41): require('/usr/share/ngin...'smile #3 /usr/share/nginx/html/iwstack/landing-page/index.php(30): include('/usr/share/ngin...'smile #4 /usr/share/nginx/html/iwstack/landing-page/index.php(62): get_contents('pages/blog.php'smile #5 {main} thrown in /usr/share/nginx/html/iwstack/landing-page/pages/blog/connect.php on line 6

Kind regards, Andy

recent by admin  ·  Jun 5 '20 at 10:38 am
80
1
ferdi posted May 11 '20 at 11:37 am

Hello, I installed codoforum on localhost. But even though I set htaccess, sef url doesn't work. And it is constantly moving like this: index.php?u=. Is there a way to fix this?

Note: Mod_rewrite is enabled.

Thank you.

recent by admin  ·  May 14 '20 at 6:49 pm
2.86k
5.92k
20
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