Coppermine Forum Plugin (cpgforum) - Page 6 Coppermine Forum Plugin (cpgforum) - Page 6
 

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)

Started by foulu, April 01, 2008, 07:46:11 AM

Previous topic - Next topic

0 Members and 6 Guests are viewing this topic.

dork313

#100
Rockas, I would say the problems you're having are theme dependent like I've had. I use chaoticsoul for my theme and the forum was pretty much just the background color since that was what the theme had set. To solve this problem I had to create new styles in the css file and then link to them in the theme.inc file which is in the adaptor>includes folder. I know your problem isn't color related but what I'm suggesting is maybe you should start looking at the theme.inc file for the areas you're having trouble with and then editing them to how you need them to be. You may have to add more to your themes css file in order to make the fix the forum without messing up your theme though.

It's working for me but the only problem with this is that when foulu updates the forum you'll have to re-edit the theme.inc file again as I had to do today. A small problem though when you consider the great possibilities this plugin has over bridging a forum. In my opinion anyway.

*edit* Another oddity, I was viewing the code for the message preview and comparing to the previous version of the forum and it matched 100%. I didn't change the code at all but now my preview is working properly. Not sure why it wasn't working before and is now but it is so that's good.


^Nevermind, I uploaded the old themes.inc file over the new one and that's why the preview was working.

*edit 2* I found the problem with the message preview. In the code it looks like this:
make_request("forum.misc.php?action=preview&message="+document.forms

but in the old themes.inc file, when preview worked, it looked like this:
make_request("forum.misc.php?action=preview&message="+document.forms

So when I removed the amp; from between preview and message the preview worked fine again. I uploaded the corrected themes.inc file just in case foulu is busy and doesn't get to fixing this soon. The only modification to this file is the correction of the preview, everything else is the same as in the zip on the main post.

*edit 3* I have found several other cases where amp; was added in the code where it wasn't present before. I'm assuming the editor may have placed them there but I don't know for sure. I haven't noticed any other functionality being messed up though so I don't know if they are supposed to be there or not. I removed them from the file on my site and everything is working great but I suppose foulu will have to confirm if they're supposed to be there or not. I didn't update the zip I uploaded since I didn't know for sure if they should be removed. I'm also trying to find out where the problem with the scroll bar not appearing the post box is but I'm not a coder so I'm not positive on where to begin looking for that.

Tjnashster

Quote from: Rockas on May 30, 2008, 10:48:29 PM
can you post here a scheme of your "adaptor" folder's location in relation with your gallery main folder?
yea i put it in its root folder. Is that right???

Αndré

hey foulu.. in version 1.1.2 guests can answer to topics, even if you set up that they can't do this

-
muu

Rockas

Quote from: Tjnashster on May 31, 2008, 08:40:28 AM
yea i put it in its root folder. Is that right???
yes... it is correct.
Have you tried to turn on debug so you can give us some more clues?
My opinions may change but not the fact that I am right!

foulu

Check my first post for new version. And if anyone want to modify theme.inc.php you can create theme_{THEME_NAME}.php in adaptor/theme folder and copy the template from theme.inc.php and edit it.

Rockas

@dork313
I have tried everything i saw that could be related, and can't find a way of making that part less wider :-(
I'm about to give up that Theme and cry about all the time i spent modifying it to suit my taste :-(

@foulu
thank you for your hard work and making possible we have a forum without bridges
you don't happen to know where i can apply changes to fix the issue you can see here:
http://www.rockas.info/photograph/forum.php?topic=3
do you :-D
My opinions may change but not the fact that I am right!

Αndré

it's still possible for guests to make replies in version 1.1.3 ???
new posts aren't shown in the info center

foulu

Quote from: eenemeenemuu on May 31, 2008, 03:41:25 PM
it's still possible for guests to make replies in version 1.1.3 ???

check your setting !

Quote from: eenemeenemuu on May 31, 2008, 03:41:25 PM
new posts aren't shown in the info center

new post are group by topic id.

Αndré

Quote from: foulu on May 31, 2008, 03:45:34 PM
check your setting !

new post are group by topic id.

i set up, that guests can't post.. i made a post in another topic and it's not shown... i deleted all old files and uploaded the new.. i don't know why this appears

link: http://photoalbum.ph.funpic.de/cpg/forum.php


-
muu

foulu

Quote from: eenemeenemuu on May 31, 2008, 03:56:52 PM
i set up, that guests can't post.. i made a post in another topic and it's not shown... i deleted all old files and uploaded the new.. i don't know why this appears

link: http://photoalbum.ph.funpic.de/cpg/forum.php

-
muu

download the zip file & try again. I fixed the bug and update the zip file, too.

foulu

Quote from: Rockas on May 31, 2008, 03:23:26 PM
@foulu
thank you for your hard work and making possible we have a forum without bridges
you don't happen to know where i can apply changes to fix the issue you can see here:
http://www.rockas.info/photograph/forum.php?topic=3
do you :-D

Sorry but I can't support all individual request. I'm only support with improvements, bugs, features and errors only.

Rockas

Quote from: foulu on May 31, 2008, 04:16:18 PM
Sorry but I can't support all individual request. I'm only support with improvements, bugs, features and errors only.

i perfectly understand what you mean foulu but after trying about half a dozen themes i may say the plugin isn't compatible with any of them although i got them from the project page of coppermine although none of the ones integrated with coppermine installation.
So... even if it is compatible with the ones coming with installation, is this plugin being made just for those themes (i really don't like any of them... they were made by programmers not designers, i guess lol)?

if the answer is yes, then i am afraid it won't be useful for the great majority of users.

i'm not saying you must fix all but if possible comment a bit more the source file themes_inc... or add your own css to deal with sizes only not graphic aspect or colors.

is this possible?

forgive me if i'm asking the impossible.

thank you for your time
My opinions may change but not the fact that I am right!

dork313

#112
Thanks for the quick update on this. So far everything seems to be working properly.

*edit* While using the forum today I found a couple bugs. Though the url bbcode does work it only allows you to have one link per post. Also, from time to time, after submitting the post extra spaces get added in. Sometimes it's between words and sometimes it's in the middle of a word.

foulu

Quote from: Rockas on May 31, 2008, 04:51:12 PM
i perfectly understand what you mean foulu but after trying about half a dozen themes i may say the plugin isn't compatible with any of them although i got them from the project page of coppermine although none of the ones integrated with coppermine installation.
So... even if it is compatible with the ones coming with installation, is this plugin being made just for those themes (i really don't like any of them... they were made by programmers not designers, i guess lol)?

if the answer is yes, then i am afraid it won't be useful for the great majority of users.

i'm not saying you must fix all but if possible comment a bit more the source file themes_inc... or add your own css to deal with sizes only not graphic aspect or colors.

is this possible?

forgive me if i'm asking the impossible.

thank you for your time

I already add a method for modify the theme without modify "themes.inc.php" directly. And I think my "themes.in.php" is rather easily to understand. If you check "themes.in.php" of the coppermine, it has the same format as mine. And all theme of coppermine is created by user not programer, right ? Sorry if I disappoint you.

foulu

Quote from: dork313 on May 31, 2008, 07:29:01 PM
Thanks for the quick update on this. So far everything seems to be working properly.

*edit* While using the forum today I found a couple bugs. Though the url bbcode does work it only allows you to have one link per post. Also, from time to time, after submitting the post extra spaces get added in. Sometimes it's between words and sometimes it's in the middle of a word.

1. It has something relative with "word break" feature, if your word length is more than define length then the script will add spaces between two part. I will check it !
2. And the bbcode feature which I use is come from coppermine so it is in coppermine core code. Can't do anything about it.

Αndré

hi foulu

Quote from: foulu on May 31, 2008, 03:45:34 PM
new post are group by topic id.

from the words "recent posts" i would expect the latest posts, even if they are in the same topic.. but if you want to show only the last 5 posts in different topics, your sql statement doesn't work properly

in adaptor/source/index.view.php on line 88 is:
$recent_post_array = cpgdb_fetch_rowset("SELECT board_id, topic_id, msg_id, subject, poster_id, poster_name, poster_time FROM `{$CONFIG['TABLE_FR_MESSAGES']}` GROUP BY (topic_id) ORDER BY msg_id DESC LIMIT 5;");
this code doesn't necessarily fetch the latest posts..

instead use this code for fetching recent posts (if you want to group them by topic):
$recent_post_array = cpgdb_fetch_rowset("SELECT board_id, topic_id, msg_id, subject, poster_id, poster_name, poster_time FROM `{$CONFIG['TABLE_FR_MESSAGES']}` WHERE msg_id IN (SELECT MAX(msg_id) FROM `{$CONFIG['TABLE_FR_MESSAGES']}` GROUP BY topic_id) ORDER BY msg_id DESC LIMIT 5;");


my problem that guests can post works now as it should, after i uploaded the new files a third time ??? i don't know what was wrong...


-
muu

dork313

Quote from: foulu on June 01, 2008, 04:51:00 AM
1. It has something relative with "word break" feature, if your word length is more than define length then the script will add spaces between two part. I will check it !
2. And the bbcode feature which I use is come from coppermine so it is in coppermine core code. Can't do anything about it.

Thanks for checking into that foulu. Also, thanks for setting up the themes folder. Much better now.

Rockas

Quote from: foulu on June 01, 2008, 04:47:41 AM
I already add a method for modify the theme without modify "themes.inc.php" directly. And I think my "themes.in.php" is rather easily to understand. If you check "themes.in.php" of the coppermine, it has the same format as mine. And all theme of coppermine is created by user not programer, right ? Sorry if I disappoint you.
Nah! no disappointment at all... just keep up the good work :-)
My only difficulty is being a complete newbie to coppermine and even using firefox web developers tools, i really can't find the way to make those fields smaller. Seems to me the problem resides on a block named "table.maintable" (that gets 1017px somehow while it should be 617 at the most) that i can't find anywhere?!?!?!
Anyway... already started working on a new theme based on a working one so soon everything will be ok :-)
I just wish coppermine themes were more "html" templates based but this is just my "complaining me" talking lol

Again... thank you for this great plugin,
Rockas

edit: typos
My opinions may change but not the fact that I am right!

bossbill

Quote from: foulu on June 01, 2008, 04:51:00 AM
1. It has something relative with "word break" feature, if your word length is more than define length then the script will add spaces between two part. I will check it !
2. And the bbcode feature which I use is come from coppermine so it is in coppermine core code. Can't do anything about it.

with regards to this, in the forum settings there is one for "Break up words with more letters than (0 to disable)"   by default its set to 30.
so if you put in a url or img bbcode link it adds a space every 30 letters.
just set it to 0 to turn off the feature and img and url bbcode works fine.

pixstreet

I have installed a forum on my practice website and I am experiencing an issue with certain characters not being displayed/recognised. see below:

Specjaliś ci ds. bezpiecze� �stwa w Microsoft, ostrzegaj� � użytkowni ków

as you can see certain characters appear with a square symbol, can anyone help?

the installation is english and polish.



http://www.pixstreet.co.uk