Coppermine forum plugin (cpgforum) for cpg1.5.x - Page 3 Coppermine forum plugin (cpgforum) for cpg1.5.x - Page 3
 

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Main Menu

Coppermine forum plugin (cpgforum) for cpg1.5.x

Started by Αndré, May 08, 2010, 09:51:47 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Jokke_K

Quote from: JackH on November 24, 2010, 04:03:04 PM
Hi,

I've installed the cpgforum plugin (cpg1.5.x_plugin_cpgforum_v2.0-beta6.zip) on a new coppermine 1.5.8 installation

I can create new topics/messages in the forum, however after submitting my message the enters/carriage returns
used are replaced by escape characters \r\n. (see attachments)

Is this a known bug in the plugin, or did I missed something in my configuration?

Thanks for your help.

I have same problem in our forum
http://www.fireimages.net/forum.php?c=topic&id=78&message_id=71fd0299e88b387fe750a13aedaa6365

TL

Αndré


DigitalMind


m4rcu5

On my site i have the same problem. Instead of new lines it shows the escape characters.
I worked around this for my posts by directly entering them into the sql database.
But keep in mind that if you update the post from the forum it will use escape characters again.

I hope someone finds a solution to this, the plugin is way to nice to have it messed up by this.

Αndré

I recently confirmed the line break issue in one of my testbeds. Today I decided to do some tests but I wasn't able to reproduce that behavior. Bizarrely it doesn't happen anymore in all of my testbeds :o All I've done was to reboot my machine since I recognized the issue in my testbed. So I'm currently stuck with this issue as the issue doesn't occur to me.

profili

I don't know if it is a bug or something, but it seems that the rss is not working. The rss button is there, but no results. http://www.galsh.com/forum.php?feed=atom

Αndré


profili

Hmmm, this is strange. Maybe the browser? I'm using Firefox!


Αndré

Seems to be a client-side issue, as it works at least for me. Please test with another browser or with your favorite feed reader.

profili

Αndré, do you have and idea how to add the canonical tag to the topics, because I have seen Google is indexing a lot of links for the same content?

sharpo

If it's any help, I tried this plugin today & don't have any problem with line breaks, as the following will show

http://www.sharpo.co.uk/cpg15test/forum.php?c=topic&id=1&start=0#1
Sharpo (not an expert, just a Coppermine user)
3 live galleries, first started in 2006.
http://www.sharpos-world.co.uk/BB3cpg/ with over 8,000 images.
http://www.sharpos-world.co.uk/cpg/ with over 25,000 images. 1.6.25
http://www.sharpos-world.co.uk/kc/ with over 300 images. 1.6.25

m4rcu5

If i modify Database.php to disable a escaping routine it seems to be fixed. But i guess i turn of some safety features then :-/


    /**
     * Escape String
     *
     * @access    public
     * @param    string
     * @return    string
     */
    function escape_str($str) {
        if (get_magic_quotes_gpc()) {
            return $str;
        }
//        if (function_exists('mysql_real_escape_string')) {
//            return mysql_real_escape_string($str, $this->conn_id);
//        } elseif (function_exists('mysql_escape_string')) {
//            return mysql_escape_string($str);
//        } else {
//            return addslashes($str);
//        }
        return $str;
    }

jmcreis

The installation of version 2.0/beta/5 (standalone version for cpg1.5.x) was done.
I made the almost complete translation into Portuguese of Portugal with the intention to provide here, but when I start the posts, I have no option.
Any help please?

My Gallery in english is here: http://euroweblink.com/fotopoint/

Αndré

@jmcreis: there should be an attachment field when you post a reply. Please try again.

jmcreis

Thank you André but it not something like that.
Simply, when i open the Forum it goes to the Search page and dont give any other option.
Please see the problem there.
Thanks

Αndré

We're talking about this board and not the plugin, right?


Quote from: jmcreis on January 31, 2011, 01:06:55 PM
when i open the Forum it goes to the Search page and dont give any other option.
I don't know what you're talking about. You just replied to this thread so you're able to do other things than just see the search page.


Quote from: jmcreis on January 31, 2011, 01:06:55 PM
Please see the problem there.
Where?


Seems that we talk about absolutely different things. I initially thought you want to contribute the Portuguese translation for this plugin and don't know where to attach it.

jmcreis

Sorry for my bad english  ;D

I was talking about my gallery and about portuguese translation.
Meantime I received an email from another user of this forum and my problem is solved.

When the translation is finished I will put the link here for download.

Thank you very much André.

Αndré

Quote from: jmcreis on January 31, 2011, 02:10:53 PM
Meantime I received an email from another user of this forum and my problem is solved.
Maybe you want to share your solution with the community?
Quote from: Joachim Müller on September 28, 2008, 12:46:26 PM
Resolve your threads
If you have found an answer to your question, resolve your thread. Don't just post "I have found the answer", but tell others what you actually did to solve your issues. Posting a link to the page where you found the answer might help. Describing what you did might help as well.

profili

Quote from: profili on January 30, 2011, 03:11:16 PM
Αndré, do you have and idea how to add the canonical tag to the topics, because I have seen Google is indexing a lot of links for the same content?

http://www.galsh.com/forum.php

jmcreis

@ André

As administrator of the Forum, we must previously create Categories and Boards. Then the members can post LOL