forum.coppermine-gallery.net

Support => cpg1.4 plugins => cpg1.4.x Support => Older/other versions => cpg1.4 plugin contributions => Topic started by: foulu on April 01, 2008, 07:46:11 am

Title: Coppermine Forum Plugin (cpgforum)
Post by: foulu on April 01, 2008, 07:46:11 am
Hi everyone,

The coppermine simple forum plugin reach version 2.0/beta/0 and the old 1.x.x version is discontinue. From now, I will use

http://cpgsf.amfcvn.net/forum.php (http://cpgsf.amfcvn.net/forum.php)

as the support forum for the plugin. Only one topic is just not enough for me.

Please check my forum for release files.

Thanks !


Edit by André (2009-05-08): release (http://cpgsf.amfcvn.net/forum.php?c=topic&id=40) of version 2.0/beta/2
Edit by André (2009-05-28): release (http://cpgsf.amfcvn.net/forum.php?c=topic&id=41) of version 2.0/beta/2a
Edit by André (2009-06-25): release (http://cpgsf.amfcvn.net/forum.php?c=topic&id=42) of version 2.0/beta/2b
Edit by André (2010-05-08): release (http://forum.coppermine-gallery.net/index.php/topic,64865.0.html) of version 2.0/beta/5 (standalone version for cpg1.5.x)

Title: Re: Coppermine Forum Plugin (cpgforum)
Post by: Hein Traag on April 01, 2008, 04:08:12 pm
Good work foulo. Will test @home and let you know the outcome.

Cheers
Hein
Title: Re: Coppermine Forum Plugin (cpgforum)
Post by: gavu on April 05, 2008, 12:42:05 pm
thanks and good luck ... will install it now to test
Title: Re: Coppermine Forum Plugin (cpgforum)
Post by: DaBe on April 05, 2008, 07:16:39 pm
hello is there a demo?
Title: Re: Coppermine Forum Plugin (cpgforum)
Post by: foulu on April 05, 2008, 07:43:38 pm
http://kak.amfcvn.net/cpgforum/forum.php <-- this is a outdate demo version  :(
Title: Re: Coppermine Forum Plugin (cpgforum)
Post by: DaBe on April 05, 2008, 08:28:51 pm
looks nice..but dont worked for me..

I have installed and want go to the forum admin..there I have a critical database error.

Is there avaible with the modpack?=
Title: Re: Coppermine Forum Plugin (cpgforum)
Post by: foulu on April 05, 2008, 08:42:12 pm
I didn't try to install it with the modpack so I don't know. Could you post the error message here ?
Title: Re: Coppermine Forum Plugin (cpgforum)
Post by: DaBe on April 05, 2008, 09:12:43 pm
is on german:
Kritischer Fehler
Beim Ausführen einer Datenbank-Abfrage ist ein Fehler aufgetreten

Kritischer fehler = critical error
Datenbank = datebase
Title: Re: Coppermine Forum Plugin (cpgforum)
Post by: foulu on April 05, 2008, 09:27:44 pm
Sorry for didn't make it clear for you, I mean error message in debug mode.
Title: Re: Coppermine Forum Plugin (cpgforum)
Post by: DaBe on April 05, 2008, 09:42:01 pm
ah ok

Code: [Select]
While executing query "SELECT * FROM `cpg54x_fr_categories` ORDER BY cat_order ASC;" on 0

mySQL error: Table 'mygallery.cpg54x_fr_categories' doesn't exist

/home/www/web619/html/include/functions.inc.php - Zeile: 248

I have cpg 1.4.16 with the modpack 1.4.16
Title: Re: Coppermine Forum Plugin (cpgforum)
Post by: Αndré on April 06, 2008, 08:36:16 pm
good job foulu.. installation run without errors and it seems to work correctly..
i was looking for a forum plugin since a while :) waiting for a final release ;)

-
muu
Title: Re: Coppermine Forum Plugin (cpgforum)
Post by: foulu on April 07, 2008, 05:17:45 am
ah ok

Code: [Select]
While executing query "SELECT * FROM `cpg54x_fr_categories` ORDER BY cat_order ASC;" on 0

mySQL error: Table 'mygallery.cpg54x_fr_categories' doesn't exist

/home/www/web619/html/include/functions.inc.php - Zeile: 248

I have cpg 1.4.16 with the modpack 1.4.16

Did you install the plugin from plugin manager page ? I named it "adaptor".
Title: Re: Coppermine Forum Plugin (cpgforum)
Post by: gavu on April 07, 2008, 01:27:41 pm
it works great, only i found a bug... if you try to delete a post... it crashes mysql error

While executing query "SELECT COUNT(*) FROM `cpg14x_fr_topics` WHERE msg_id='2';" on 0

mySQL error: Unknown column 'msg_id' in 'where clause'

can't wait to see it final ;)
Title: Re: Coppermine Forum Plugin (cpgforum)
Post by: DaBe on April 07, 2008, 07:18:29 pm
yes install and deinstall and install again...but the forum dont work!

can you send me the .sql file, than I can make the datebase manuelly?

Title: Re: Coppermine Forum Plugin (cpgforum)
Post by: foulu on April 08, 2008, 05:09:37 am
Quote
it works great, only i found a bug... if you try to delete a post... it crashes mysql error

While executing query "SELECT COUNT(*) FROM `cpg14x_fr_topics` WHERE msg_id='2';" on 0

mySQL error: Unknown column 'msg_id' in 'where clause'

can't wait to see it final Wink

I fixed this bug, update your file with the lastest version (I update the archive).

Quote
yes install and deinstall and install again...but the forum dont work!

can you send me the .sql file, than I can make the datebase manuelly?

I attach it with this message.
Title: Re: Coppermine Forum Plugin (cpgforum)
Post by: gavu on April 08, 2008, 08:41:46 am
it worked perferct

i will install it on my production server as soon as i have the ability to make read only topics so i can use it as announcements
Title: Re: Coppermine Forum Plugin (cpgforum)
Post by: Hein Traag on April 08, 2008, 09:11:00 am
Foulu

On your own site it says "Forum Stasts" instead of "Forum Stats"

Cheers
Hein

p.s. On my testbed it installed and works perfectly  ;)
Title: Re: Coppermine Forum Plugin (cpgforum)
Post by: DaBe on April 08, 2008, 07:25:24 pm
hello

I have put the code from the install.txt in the phpMyAdmin...

but I have following error:
 CREATE TABLE IF NOT EXISTS `cpg54x_fr_boards` (
`board_id` smallint( 5 ) unsigned NOT NULL AUTO_INCREMENT ,
`cat_id` tinyint( 4 ) unsigned NOT NULL default '0',
`child_level` tinyint( 4 ) unsigned NOT NULL default '0',
`parent_id` smallint( 5 ) unsigned NOT NULL default '0',
`board_order` smallint( 5 ) unsigned NOT NULL default '0',
`last_msg_id` int( 10 ) unsigned NOT NULL default '0',
`updated_msg_id` int( 10 ) unsigned NOT NULL default '0',
`name` tinytext NOT NULL ,
`description` text NOT NULL ,
`topics` mediumint( 8 ) unsigned NOT NULL default '0',
`posts` mediumint( 8 ) unsigned NOT NULL default '0',
PRIMARY KEY ( `board_id` )
) CREATE TABLE IF NOT EXISTS `cpg54x_fr_categories` (
`cat_id` tinyint( 4 ) unsigned NOT NULL AUTO_INCREMENT ,
`cat_order` tinyint( 4 ) unsigned NOT NULL default '0',
`name` tinytext NOT NULL ,
PRIMARY KEY ( `cat_id` )
) CREATE TABLE IF NOT EXISTS `cpg54x_fr_message_icons` (
`icon_id` smallint( 5 ) unsigned NOT NULL AUTO_INCREMENT ,
`title` varchar( 80 ) NOT NULL default '',
`filename` varchar( 80 ) NOT NULL default '',
`icon_order` smallint( 5 ) unsigned NOT NULL default '0',
PRIMARY KEY ( `icon_id` )
) INSERT INTO `cpg54x_fr_message_icons` (
`icon_id` ,
`title` ,
`filename` ,
`icon_order`
)
VALUES ( 1, 'Post', 'icon1', 0 ) , ( 2, 'Smile', 'icon2', 1 ) , ( 3, 'Big smile', 'icon3', 2 ) , ( 4, 'Angry', 'icon4', 3 ) , ( 5, 'Cool', 'icon5', 4 ) , ( 6, 'Sad', 'icon6', 5 ) , ( 7, 'Wink', 'icon7', 6 ) , ( 8, 'Comment', 'icon8', 7 ) , ( 9, 'Magnify', 'icon9', 8 ) , ( 10, 'Icon', 'icon10', 9 ) , ( 11, 'Lamp', 'icon11', 10 ) , ( 12, 'Bug', 'icon12', 11 ) , ( 13, 'Wheel', 'icon13', 12 ) ;

MySQL meldet: Dokumentation
#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 'CREATE TABLE IF NOT EXISTS `cpg54x_fr_categories` (
  `cat_id`
sry Im a noob in english and php
Title: Re: Coppermine Forum Plugin (cpgforum)
Post by: foulu on April 08, 2008, 07:44:21 pm
use this:

Code: [Select]
CREATE TABLE IF NOT EXISTS `cpg54x_fr_boards` (
`board_id` smallint( 5 ) unsigned NOT NULL AUTO_INCREMENT ,
`cat_id` tinyint( 4 ) unsigned NOT NULL default '0',
`child_level` tinyint( 4 ) unsigned NOT NULL default '0',
`parent_id` smallint( 5 ) unsigned NOT NULL default '0',
`board_order` smallint( 5 ) unsigned NOT NULL default '0',
`last_msg_id` int( 10 ) unsigned NOT NULL default '0',
`updated_msg_id` int( 10 ) unsigned NOT NULL default '0',
`name` tinytext NOT NULL ,
`description` text NOT NULL ,
`topics` mediumint( 8 ) unsigned NOT NULL default '0',
`posts` mediumint( 8 ) unsigned NOT NULL default '0',
PRIMARY KEY ( `board_id` ));
CREATE TABLE IF NOT EXISTS `cpg54x_fr_categories` (
`cat_id` tinyint( 4 ) unsigned NOT NULL AUTO_INCREMENT ,
`cat_order` tinyint( 4 ) unsigned NOT NULL default '0',
`name` tinytext NOT NULL ,
PRIMARY KEY ( `cat_id` ));
CREATE TABLE IF NOT EXISTS `cpg54x_fr_message_icons` (
`icon_id` smallint( 5 ) unsigned NOT NULL AUTO_INCREMENT ,
`title` varchar( 80 ) NOT NULL default '',
`filename` varchar( 80 ) NOT NULL default '',
`icon_order` smallint( 5 ) unsigned NOT NULL default '0',
PRIMARY KEY ( `icon_id` ));
INSERT INTO `cpg54x_fr_message_icons` (
`icon_id` ,
`title` ,
`filename` ,
`icon_order`
)
VALUES ( 1, 'Post', 'icon1', 0 ) , ( 2, 'Smile', 'icon2', 1 ) , ( 3, 'Big smile', 'icon3', 2 ) , ( 4, 'Angry', 'icon4', 3 ) , ( 5, 'Cool', 'icon5', 4 ) , ( 6, 'Sad', 'icon6', 5 ) , ( 7, 'Wink', 'icon7', 6 ) , ( 8, 'Comment', 'icon8', 7 ) , ( 9, 'Magnify', 'icon9', 8 ) , ( 10, 'Icon', 'icon10', 9 ) , ( 11, 'Lamp', 'icon11', 10 ) , ( 12, 'Bug', 'icon12', 11 ) , ( 13, 'Wheel', 'icon13', 12 ) ;
Title: Re: Coppermine Forum Plugin (cpgforum)
Post by: foulu on April 08, 2008, 07:48:55 pm
Foulu

On your own site it says "Forum Stasts" instead of "Forum Stats"

Cheers
Hein

p.s. On my testbed it installed and works perfectly  ;)

Sorry, I didn't notice about it. Thanks !
Title: Re: Coppermine Forum Plugin (cpgforum)
Post by: DaBe on April 08, 2008, 07:52:25 pm
hey nice

the admin works! but on the mainpage..forum.php

i have this error:

Fatal error: Undefined class name 'self' in /home/www/web619/html/adaptor/include/HTMLelement.class.php on line 49

is there in the future with more features..like avatar (modpack) and recent posts on anycontent, (like the demo)..?

but is a nice script!
Title: Re: Coppermine Forum Plugin (cpgforum)
Post by: foulu on April 09, 2008, 04:03:34 am
@DaBe: I think you use PHP 4 so it produce this error.
Title: Re: Coppermine Forum Plugin (cpgforum)
Post by: DaBe on April 09, 2008, 06:31:32 pm
and what I can do? ::) ???
Title: Re: Coppermine Forum Plugin (cpgforum)
Post by: Nibbler on April 09, 2008, 06:37:08 pm
Change self to HTMLelement
Title: Re: Coppermine Forum Plugin (cpgforum)
Post by: gavu on April 13, 2008, 06:21:30 pm
Forum => Settings => Basic Features => Allow guests to browse the forum

is not working as it should... guests can "browse" the forum but cannot read any posts (You don't have permission to perform this operation.)

DebugMode:

File: {CPG_DIR}/adaptor/source/msg.post.php - Line: 7

Title: Re: Coppermine Forum Plugin (cpgforum)
Post by: jimmyeao on April 30, 2008, 09:08:28 pm
Have this installed, and configured, but I get an error when I click on New Topic":
Object doesn't support this property or method
Line 258 Char 1
Title: Re: Coppermine Forum Plugin (cpgforum)
Post by: stardust on May 01, 2008, 03:16:40 am
Hey foulu, I'm interested in using your forum plugin.

Question: When installed, will any current registered gallery users be deleted/lost? I know users get lost during forum integration, but since this is a coppermine plugin, I wouldn't know.
Title: Re: Coppermine Forum Plugin (cpgforum)
Post by: Hein Traag on May 01, 2008, 07:52:55 am
The answer is: no  ;)
Title: Re: Coppermine Forum Plugin (cpgforum)
Post by: foulu on May 02, 2008, 10:27:35 am
@Hein Traag: thanks for helping me answer the question  ;)

BTW, I think I will have a new version in upcoming week !
Title: Re: Coppermine Forum Plugin (cpgforum)
Post by: bossbill on May 16, 2008, 12:10:47 am
Nice plugin  ;D  Thanks for all your work on it.
installed it and its working with no problems.
will we loose any posts made etc when an updated version comes out ??
Title: Re: Coppermine Forum Plugin (cpgforum)
Post by: foulu on May 16, 2008, 02:04:01 am
@bossbill: no loss at all, the new version come up with some feature but the database still the same, just overwrite the file to upgrade it.
Title: Re: Coppermine Forum Plugin (cpgforum)
Post by: bossbill on May 16, 2008, 07:12:42 pm
Good stuff... Thanks for the answer.
I have it on my production site and it looks great.
Title: Re: Coppermine Forum Plugin (cpgforum)
Post by: foulu on May 18, 2008, 12:51:08 pm
release new verion, check first post !

next work: connect the forum with strammm's avatar+PM mod & may be user sig !
Title: Re: Coppermine Forum Plugin (cpgforum)
Post by: Αndré on May 18, 2008, 05:38:38 pm
good work foulu! :)

will there be an option to move topics to another board (e.g. for archiving old/closed topics) in the next release?
i think this will be a good feature and it's the last missing option for me to use cpgforum instead of phpbb ;)


-
muu
Title: Re: Coppermine Forum Plugin (cpgforum)
Post by: foulu on May 18, 2008, 05:51:29 pm
Uhm, I forgot about this basic feature  :-[ I will pay attention on it. And about your question, the answer is Yes ;D

good work foulu! :)

will there be an option to move topics to another board (e.g. for archiving old/closed topics) in the next release?
i think this will be a good feature and it's the last missing option for me to use cpgforum instead of phpbb ;)

-
muu
Title: Re: Coppermine Forum Plugin (cpgforum)
Post by: Hein Traag on May 19, 2008, 12:05:38 am
Again tested it on my own cpg. Works very good. Added dutch.php lang file.

One question.. did i miss in or is there no such thing as word wrap ? So when i do a text like "BlablaBlablablaBlablablaBlablablaBlablablaBlablablaBlablablaBlablablaBlablablaBlablablaBlablablaBlablablaBlablablaBlablabla"
It is then cutof at a certain length and continued on the next line.

Or an option to make the box that displays the text in a thread is automaticly adjusted to fit within the table of theme used.

Hein
p.s. You might also want to change the name of the plugin to Coppermine Forum instead of Coppermine Adaptor.
Title: Re: Coppermine Forum Plugin (cpgforum)
Post by: Αndré on May 19, 2008, 08:43:11 am
i think i found a bug..

i tested the new cpgforum version 1.0.0 on my local webserver and i determined, that the internet explorer (7) and opera (9) display the number of posts & topics at the wrong place -> attached screenshots
firefox (3rc1) and safari (3) show it in the correct way (because only 3 attachments are allowed per post, i couldn't attach the screenshot for sarafi)


-
muu
Title: Re: Coppermine Forum Plugin (cpgforum)
Post by: Αndré on May 19, 2008, 08:54:46 am
ah i found out how to fix this.. open adaptor\include\themes.inc.php

find:
Code: [Select]
<td class="tableb" width="66%" valign="top">{TITLE}<span class="album_stat">{DESCRIPTION}</span></td
replace with:
Code: [Select]
<td class="tableb" width="66%" valign="top">{TITLE}<span class="album_stat">{DESCRIPTION}</span></td>
there is a missig ">" in line 17 and 28!


-
muu
Title: Re: Coppermine Forum Plugin (cpgforum)
Post by: Αndré on May 19, 2008, 08:58:52 am
the same in line 86 & 97

find:
Code: [Select]
<td class="tableb" width="66%" valign="top">{TITLE}</td
replace with:
Code: [Select]
<td class="tableb" width="66%" valign="top">{TITLE}</td>


:)
Title: Re: Coppermine Forum Plugin (cpgforum)
Post by: Αndré on May 20, 2008, 11:40:35 am
- if you click on the emoticons in the "quick reply box" below a topic, they aren't added to the message text box
- if you modify a reply and click on the emoticons, they aren't added to the message text box
Title: Re: Coppermine Forum Plugin (cpgforum)
Post by: foulu on May 20, 2008, 12:30:21 pm
@eenemeenemuu: you found many errors that made by me  :-[ but thanks for it  ;D I will fix these bug in new version with some new feature (soon) !
Title: Re: Coppermine Forum Plugin (cpgforum)
Post by: Αndré on May 20, 2008, 12:50:12 pm
found some typing errors ;)
in adaptor\lang\english.php

line 7:
Code: [Select]
'index' => "Galery Home",-> Gallery

line 18:
Code: [Select]
    'stats_title' => "Forum Stasts",-> Stats


i haven't looked at the whole file.. but i noticed, that you have a whitespace in front of every "!" and "?".. i don't know if this is intended, but it's (at least in german and i think in english, too) wrong


-
muu
Title: Re: Coppermine Forum Plugin (cpgforum)
Post by: Αndré on May 20, 2008, 03:02:24 pm
1. adaptor\lang\english.php
Code: [Select]
'registed' => "Registed: ",-> Registered

2. in forums i know, the topics are ordered by the last post.. in the latest version, it's ordered by msg_id descending.. example: http://photoalbum.ph.funpic.de/cpg/forum.php?board=2

3. i set up, that guests can browse the forum, but when they want to look in a topic it doesn't work: http://photoalbum.ph.funpic.de/cpg/forum.php?topic=506

4. anchors will be useful, e.g. for jumping to the latest post in a topic from the "Info Center -> Recent Post"



sorry for spamming this thread ::) :)


-
muu



Title: Re: Coppermine Forum Plugin (cpgforum)
Post by: pixstreet on May 20, 2008, 07:01:45 pm
themes.inc.php in line 42

find:
Code: [Select]
{NEW_IMAGE}<span class="album_stat">{NEW}
replace with:
Code: [Select]
{NEW_IMAGE}<span class="album_stat">{NEW}</span>
unfortunately this only works with English language. I have translated for Polish but it does not work.


http://www.pixstreet.co.uk (http://www.pixstreet.co.uk)
Title: Re: Coppermine Forum Plugin (cpgforum)
Post by: Joachim Müller on May 21, 2008, 07:21:00 am
Never edit include/themes.inc.php - always edit themes/yourtheme/theme.php instead.
Title: Re: Coppermine Forum Plugin (cpgforum)
Post by: foulu on May 21, 2008, 07:30:41 am
Never edit include/themes.inc.php - always edit themes/yourtheme/theme.php instead.

Actually, it is adaptor/include/themes.inc.php not include/themes.inc.php.
Title: Re: Coppermine Forum Plugin (cpgforum)
Post by: Joachim Müller on May 21, 2008, 07:35:24 am
OK, I see - sorry. I suggest renaming this file to avoid future confusion.
Title: Re: Coppermine Forum Plugin (cpgforum)
Post by: Αndré on May 21, 2008, 10:37:19 am
1. adaptor\lang\english.php
Code: [Select]
'registed' => "Registed: ",-> Registered

2. in forums i know, the topics are ordered by the last post.. in the latest version, it's ordered by topic_id descending.. example: http://photoalbum.ph.funpic.de/cpg/forum.php?board=2

3. i set up, that guests can browse the forum, but when they want to look in a topic it doesn't work: http://photoalbum.ph.funpic.de/cpg/forum.php?topic=506

4. anchors will be useful, e.g. for jumping to the latest post in a topic from the "Info Center -> Recent Post"



sorry for spamming this thread ::) :)


-
muu





referring to my nr 2 you have to change the sql-statement in "adaptor\source\board.view.php" line 62:

find:
Code: [Select]
$topic_array = cpgdb_fetch_rowset("SELECT * FROM `{$CONFIG['TABLE_FR_TOPICS']}` WHERE board_id='$board_id' AND is_sticky='0' ORDER BY topic_id DESC LIMIT $start, $limit;");
replace with:
Code: [Select]
$topic_array = cpgdb_fetch_rowset("SELECT * FROM `{$CONFIG['TABLE_FR_TOPICS']}` WHERE board_id='$board_id' AND is_sticky='0' ORDER BY last_msg_id DESC LIMIT $start, $limit;");
i changed this in my cpgforum on my website.. so my example from yesterday will display the way i want it to display: http://photoalbum.ph.funpic.de/cpg/forum.php?board=2 :)


-
muu
Title: Re: Coppermine Forum Plugin (cpgforum)
Post by: foulu on May 21, 2008, 12:09:46 pm
new version is coming, check the first post of me.
Title: Re: Coppermine Forum Plugin (cpgforum)
Post by: Αndré on May 21, 2008, 12:37:17 pm
1. the text on the new buttons "lock/unlock topic" and "mark sticky/non-sticky" are in the wrong way up.. e.g. if a topic is non-sticky and unlocked on the buttons appear "unlock topic" and "mark non-sticky"

2. if a guest view a topic (and is not allowed to reply to a topic), the "make a reply"-button is still shown (i think this is ok), but no error-message or something is displayed when you click on it.. a blank site appears
//edit: this only occurs with my firefox 3 rc1 .. in opera, safari and ie nothing happens as wished :o

3. if you browse a topic, the navigation bar in top & bottom of the topic display "Topic:<topicname>" without a whitespace after the colon

4. in the board overview, you show the number of topics & posts of each board.. but there is shown the number of replies shown (i have currently 35 posts(!) in the forum "Unternehmungen" - see attachment).. if you want to show the number of posts, you have to add the number of topics to the number of replies ;)
//edit: it seems, that this was the behavior of version 1.0.0 .. new started topics are countet correctly ??? i will test this later when i have more time :)



if i find some other errors i will post it :D


-
muu
Title: Re: Coppermine Forum Plugin (cpgforum)
Post by: Αndré on May 21, 2008, 03:34:59 pm
i currently translate the language file to german.. i will upload it, when it's done :)
Title: Re: Coppermine Forum Plugin (cpgforum)
Post by: pixstreet on May 21, 2008, 06:31:38 pm
adaptor\include\themes.inc.php 

in line 188

Code: [Select]
<a name="{MSG_ID}">
?
Code: [Select]
</a>
"Please select a destination:" cannot be translated into another language


http://www.pixstreet.co.uk (http://www.pixstreet.co.uk)
Title: Re: Coppermine Forum Plugin (cpgforum)
Post by: foulu on May 21, 2008, 06:42:37 pm
i currently translate the language file to german.. i will upload it, when it's done :)

Ok, I will wait for it  ;) will fix some bug which you found and will release it along with your language file.
Title: Re: Coppermine Forum Plugin (cpgforum)
Post by: foulu on May 21, 2008, 06:43:12 pm
adaptor\include\themes.inc.php 

in line 188

Code: [Select]
<a name="{MSG_ID}">
?
Code: [Select]
</a>

it's normal html struct and it doesn't need </a> to end.

"Please select a destination:" cannot be translated into another language


http://www.pixstreet.co.uk (http://www.pixstreet.co.uk)

Missing language, I add some in new version but the language is for old version.


Title: Re: Coppermine Forum Plugin (cpgforum)
Post by: pixstreet on May 21, 2008, 06:56:53 pm
you may not need the end, But in topic, when you hover over the underlined page. a number of other items below this point flash along with the page underlined

I know this is only a cosmetic thing, but i am sure others will pick up on it.


http://www.pixstreet.co.uk (http://www.pixstreet.co.uk)
Title: Re: Coppermine Forum Plugin (cpgforum)
Post by: foulu on May 21, 2008, 07:01:02 pm
you may not need the end, But in topic, when you hover over the underlined page. a number of other items below this point flash along with the page underlined

I know this is only a cosmetic thing, but i am sure others will pick up on it.


http://www.pixstreet.co.uk (http://www.pixstreet.co.uk)

uhm, ok, I will fix it, I have no problem in viewing with FF but other people with different browser may encounter problem. Thanks !
Title: Re: Coppermine Forum Plugin (cpgforum)
Post by: Αndré on May 21, 2008, 08:31:00 pm
found duplicate entry in english.php line 79 & 89: 'modify'

i have attached the german language file.. i could translate some lines just without context because i don't found the place where they are used ::)


-
muu
Title: Re: Coppermine Forum Plugin (cpgforum)
Post by: kimweltz on May 22, 2008, 01:20:11 pm
Its a really cool plugin, but sadly I have the same problem as jimmyeao. The buttons dont work. If I click on New Topic in a IE browser, nothing happens, and the browser comes up with "Error on page". It works perfecly in Firefox, but I have many users in the IE browser.
Title: Re: Coppermine Forum Plugin (cpgforum)
Post by: Αndré on May 22, 2008, 01:32:34 pm
Its a really cool plugin, but sadly I have the same problem as jimmyeao. The buttons dont work. If I click on New Topic in a IE browser, nothing happens, and the browser comes up with "Error on page". It works perfecly in Firefox, but I have many users in the IE browser.
i think that's a general problem.. it doesn't work in my forum, too

i'll look at it, if foulu hasn't done that until i'm back from holidays :)


-
muu
Title: Re: Coppermine Forum Plugin (cpgforum)
Post by: kimweltz on May 22, 2008, 02:02:44 pm
Quote
i'll look at it, if foulu hasn't done that until i'm back from holidays

Sounds good. I am not able to code PHP myself   :(
Title: Re: Coppermine Forum Plugin (cpgforum)
Post by: whunlimited on May 22, 2008, 05:59:40 pm
Is there any way to restrict unregistered guests from viewing the forum?
Title: Re: Coppermine Forum Plugin (cpgforum)
Post by: bossbill on May 23, 2008, 01:26:42 am
yes there is.
just go to forum manager/settings
there is an option... Allow guests to browse the forum  just set it to no.
Title: Re: Coppermine Forum Plugin (cpgforum)
Post by: whunlimited on May 23, 2008, 04:04:21 am
Thanks. Also just found out that my users can't post a new topic but somehow I am able to though I am admin of course. They get an error message when trying to post a new topic. Any way to fix this?

sorry modified this message for the post after this one. the message says "object doesnt support property or method" I actually tried it on IE and hitting the new topic doesn't even do anything and the numbers that are supposed to display the boards of how many post and views don't even align on that table.
Title: Re: Coppermine Forum Plugin (cpgforum)
Post by: Hein Traag on May 23, 2008, 06:41:00 am
Don't forget to post the error message then..
Title: Re: Coppermine Forum Plugin (cpgforum)
Post by: foulu on May 23, 2008, 08:01:24 am
Hi,

I have look at the "new topic" bug, it also happend with "reply" button, too. I tested the plugin all the time in FF so I can't find that bug by myshelf. Base on bug fighting ^^ I release a new version of my plugin. It fix all the bug that found until now. Check starter post for it.

Also, check this post of me:

http://forum.coppermine-gallery.net/index.php/topic,52804.msg256549.html#new

smiley won't working in IE if you still have this bug in your gallery.
Title: Re: Coppermine Forum Plugin (cpgforum)
Post by: whunlimited on May 23, 2008, 08:20:07 am
thank you for updating it. The new topic works fine now and the columns align on both firefox and IE. And thanks for adding the move topic feature.
Title: Re: Coppermine Forum Plugin (cpgforum)
Post by: pixstreet on May 23, 2008, 08:22:26 pm

after installong the forum plug in, i have come across a couple of problems.

1. when using Internet explorer, the message preview feature does not work, when creating a message.

2. also when using Internet Explorer, when creating a message/post the window is wider than when using Firefox and needs to use a scroll bar, which does not look as professional as in Firefox.

It appears that the problems are related to Internet Explore, but I monitor users prefered browsers and need to use both.



http://www.pixstreet.co.uk (http://www.pixstreet.co.uk)
Title: Re: Coppermine Forum Plugin (cpgforum)
Post by: Αndré on May 26, 2008, 04:43:33 pm
hi foulu.. i've tested version 1.1.1 and found some things:

i don't know what's on your to-do-list.. but here are some interesting things:
- polls
- anchors for posts (for easy access from the info center and after making a post etc.)
- attachments?
- show when and who modified a post below a post (e.g. "modified by muu on 26.05.2008")
- locked forum where nobody can create a new topic (for archiving old topics)
- display new (not-viewed) posts for each user and use the appropriate icons in the board view + button to mark all posts as "viewed"


good work so far :)

-
muu
Title: Re: Coppermine Forum Plugin (cpgforum)
Post by: Αndré on May 26, 2008, 08:12:45 pm
hm.. guests can't view a topic (again): http://photoalbum.ph.funpic.de/cpg/forum.php?topic=517
Title: Re: Coppermine Forum Plugin (cpgforum)
Post by: Hein Traag on May 26, 2008, 08:16:48 pm
Eenemeenemuu, thanks for the work you put into perfecting this forum plugin but before you do anything else you had better download 1.4.18 asap and do a upgrade. Running <!--Coppermine Photo Gallery 1.4.10 (stable)--> is just not done concidering the all the security updates that are implemented into cpg since then.
Title: Re: Coppermine Forum Plugin (cpgforum)
Post by: Αndré on May 26, 2008, 08:48:12 pm
Eenemeenemuu, thanks for the work you put into perfecting this forum plugin but before you do anything else you had better download 1.4.18 asap and do a upgrade. Running <!--Coppermine Photo Gallery 1.4.10 (stable)--> is just not done concidering the all the security updates that are implemented into cpg since then.

thanks for the tip hein, but i've done all the security updates by hand, because i have a highly modded cpg and the "automatic" updates would destroy my mods ;) thats why version 1.4.10 is still displayed

-
muu
Title: Re: Coppermine Forum Plugin (cpgforum)
Post by: Hein Traag on May 26, 2008, 08:55:25 pm
Your risk. It's not advisable plus in some cases you end up getting no support because of the lagging in version updates. See if you can implement all the changes since 1.4.10 manually just to make sure your are up to speed with 1.4.18
Title: Re: Coppermine Forum Plugin (cpgforum)
Post by: dork313 on May 26, 2008, 10:41:29 pm
I really want this plugin to work but after creating my first topic, I go to view it and it tells me, "You don't have permission to perform this operation.  "! Everything seemed to install properly and I haven't seen any errors other than this. http://ninart.1kwordmigraine.com/forum.

*edit* Please disregard this post. It is working fine now. I'm not sure what happened with the first post but all of the others are working properly.

*edit 2* After reading the post above, which states noone can view a locked thread, I realized that the thread I was unable to view was indeed locked so that must've been the issue. On another note, I use the Chaoticsoul theme, how do you go about setting up a .css file for a different theme? I found where the .css files are located and I took a peak at them but it only styles the link colors and/or effects. With the chaoticsoul theme, the forum is completely black and there is no distinguishing lines or colors to separate the columns or post.
Title: Re: Coppermine Forum Plugin (cpgforum)
Post by: Tjnashster on May 29, 2008, 11:51:40 am
After install i just get the error
"There was an error while processing a database query"
any ideas??
Title: Re: Coppermine Forum Plugin (cpgforum)
Post by: foulu on May 29, 2008, 11:59:09 am
hi foulu.. i've tested version 1.1.1 and found some things:
  • "Please select a destination:" can't be translated in the language-file
  • locked topics can't be viewed by admins or normal users
  • non-admins can't delete their own posts
  • the icon in the forum view is depending on the last post.. i think it should depend on the first post (topic-starter)
  • if you delete the last post in a topic, in the forum view there isn't displayed a icon anymore and the time is wrong (01.01.1970)
  • a locked sticky topic has the "sticky icon" but i think it's better to use the "locked icon"
  • if you modify a post, there should be an "cancel button"
  • whitespaces in the topic name aren't catched (e.g. you can name a topic like ' ')
  • forum.php?msg=xyz show nothing (no error message or something like this).. you can access this link from the board/forum view
  • in child boards are shown strange symbols in front of the boards
  • you can move a board in its own child boards.. this will end in an infinite loop
  • attached updated version of german.php

i don't know what's on your to-do-list.. but here are some interesting things:
- polls
- anchors for posts (for easy access from the info center and after making a post etc.)
- attachments?
- show when and who modified a post below a post (e.g. "modified by muu on 26.05.2008")
- locked forum where nobody can create a new topic (for archiving old topics)
- display new (not-viewed) posts for each user and use the appropriate icons in the board view + button to mark all posts as "viewed"


good work so far :)

-
muu

Well, I'm busy these day and don't have much time spend to my forum plugin but I think I should say something. I already note down all error and fix in my loachost. About new feature, I will take some easy & basic one first and make all of the code running perfect first, then go to advance ones.
Title: Re: Coppermine Forum Plugin (cpgforum)
Post by: foulu on May 29, 2008, 12:01:34 pm
I really want this plugin to work but after creating my first topic, I go to view it and it tells me, "You don't have permission to perform this operation.  "! Everything seemed to install properly and I haven't seen any errors other than this. http://ninart.1kwordmigraine.com/forum.

*edit* Please disregard this post. It is working fine now. I'm not sure what happened with the first post but all of the others are working properly.

*edit 2* After reading the post above, which states noone can view a locked thread, I realized that the thread I was unable to view was indeed locked so that must've been the issue. On another note, I use the Chaoticsoul theme, how do you go about setting up a .css file for a different theme? I found where the .css files are located and I took a peak at them but it only styles the link colors and/or effects. With the chaoticsoul theme, the forum is completely black and there is no distinguishing lines or colors to separate the columns or post.

Well, I already think about the theme thing because my forum is base on coppermine forum style sheet. If you want to change your forum theme, just replace the core style sheet in .css file.
Title: Re: Coppermine Forum Plugin (cpgforum)
Post by: foulu on May 29, 2008, 12:04:47 pm
After install i just get the error
"There was an error while processing a database query"
any ideas??


please enable debug mode and post the error.
Title: Re: Coppermine Forum Plugin (cpgforum)
Post by: Tjnashster on May 29, 2008, 03:40:13 pm
the error is
While executing query "SELECT * FROM `cpg14x_fr_categories` ORDER BY cat_order ASC;" on 0

mySQL error: Table '8821db.cpg14x_fr_categories' doesn't exist

the debug is

Code: [Select]
USER:
------------------
Array
(
    [ID] => 9f191605cda342cb363541c7c803df55
    [am] => 1
    [lang] => english_gb
    [liv] => Array
        (
        )

)

==========================
USER DATA:
------------------
Array
(
    [user_id] => 1
    [user_name] => admin
    [groups] => Array
        (
            [0] => 1
        )

    [disk_max] => 0
    [disk_min] => 0
    [can_rate_pictures] => 1
    [can_send_ecards] => 1
    [ufc_max] => 3
    [ufc_min] => 3
    [custom_user_upload] => 0
    [num_file_upload] => 5
    [num_URI_upload] => 3
    [can_post_comments] => 1
    [can_upload_pictures] => 1
    [can_create_albums] => 1
    [has_admin_access] => 1
    [pub_upl_need_approval] => 0
    [priv_upl_need_approval] => 0
    [group_name] => Administrators
    [upload_form_config] => 3
    [group_quota] => 0
    [can_see_all_albums] => 1
    [group_id] => 1
)

==========================
Queries:
------------------
Array
(
    [0] => SELECT extension, mime, content, player FROM cpg14x_filetypes; (0s)
    [1] => select * from cpg14x_plugins order by priority asc; (0.001s)
    [2] => delete from `8821db`.cpg14x_sessions where time<1212064577 and remember=0; (0s)
    [3] => delete from `8821db`.cpg14x_sessions where time<1210858577; (0s)
    [4] => select user_id from `8821db`.cpg14x_sessions where session_id = '358175874e845a61b74876ba5ee3f870' (0s)
    [5] => select user_id as id, user_password as password from `8821db`.cpg14x_users where user_id=1 (0s)
    [6] => SELECT u.user_id AS id, u.user_name AS username, u.user_password AS password, u.user_group+100 AS group_id FROM `8821db`.cpg14x_users AS u INNER JOIN `8821db`.cpg14x_usergroups AS g ON u.user_group=g.group_id WHERE u.user_id='1' (0s)
    [7] => SELECT user_group_list FROM `8821db`.cpg14x_users AS u WHERE user_id='1' and user_group_list <> ''; (0s)
    [8] => SELECT MAX(group_quota) as disk_max, MIN(group_quota) as disk_min, MAX(can_rate_pictures) as can_rate_pictures, MAX(can_send_ecards) as can_send_ecards, MAX(upload_form_config) as ufc_max, MIN(upload_form_config) as ufc_min, MAX(custom_user_upload) as custom_user_upload, MAX(num_file_upload) as num_file_upload, MAX(num_URI_upload) as num_URI_upload, MAX(can_post_comments) as can_post_comments, MAX(can_upload_pictures) as can_upload_pictures, MAX(can_create_albums) as can_create_albums, MAX(has_admin_access) as has_admin_access, MIN(pub_upl_need_approval) as pub_upl_need_approval, MIN( priv_upl_need_approval) as  priv_upl_need_approval FROM cpg14x_usergroups WHERE group_id in (1) (0s)
    [9] => SELECT group_name FROM  cpg14x_usergroups WHERE group_id= 1 (0s)
    [10] => update `8821db`.cpg14x_sessions set time='1212068177' where session_id = '358175874e845a61b74876ba5ee3f870' (0s)
    [11] => SELECT user_favpics FROM cpg14x_favpics WHERE user_id = 1 (0s)
    [12] => SHOW TABLES LIKE 'cpg14x_cms_config' (0s)
    [13] => SELECT * FROM cpg14x_cms_config (0s)
    [14] => DELETE FROM cpg14x_banned WHERE expiry < '2008-05-29 13:36:17' (0s)
    [15] => SELECT * FROM cpg14x_banned WHERE (ip_addr='88.110.98.170' OR ip_addr='88.110.98.170' OR user_id=1) AND brute_force=0 (0s)
    [16] => SELECT value FROM `cpg14x_config` WHERE name='fr_installed'; (0s)
    [17] => SELECT COUNT(*) FROM cpg14x_pictures WHERE approved = 'NO' (0s)
    [18] => SELECT * FROM `cpg14x_fr_categories` ORDER BY cat_order ASC; (0s)
)

==========================
GET :
------------------
Array
(
)

==========================
POST :
------------------
Array
(
)

==========================
VERSION INFO :
------------------
PHP version: 4.4.2 - OK
------------------
mySQL version: 4.0.27-log
------------------
Coppermine version: 1.4.18(stable)
==========================
Module: GD
------------------
GD Version: bundled (2.0.28 compatible)
FreeType Support: 1
FreeType Linkage: with freetype
T1Lib Support: 1
GIF Read Support: 1
GIF Create Support: 1
JPG Support: 1
PNG Support: 1
WBMP Support: 1
XBM Support: 1
JIS-mapped Japanese Font Support:

==========================
Module: mysql
------------------
MySQL Supportenabled
Active Persistent Links 0
Active Links 1
Client API version 4.0.25
MYSQL_MODULE_TYPE none
MYSQL_SOCKET /tmp/mysql.sock
MYSQL_INCLUDE no value
MYSQL_LIBS no value
==========================
Module: zlib
------------------
ZLib Support enabled
Compiled Version 1.1.4
Linked Version 1.1.4
==========================
Server restrictions (safe mode)?
------------------
Directive | Local Value | Master Value
safe_mode | On | On
safe_mode_exec_dir | /usr/local/bin/ | /usr/local/bin/
safe_mode_gid | Off | Off
safe_mode_include_dir | no value | no value
safe_mode_exec_dir | /usr/local/bin/ | /usr/local/bin/
sql.safe_mode | Off | Off
disable_functions | no value | no value
file_uploads | On | On
include_path | .: | .:
open_basedir | no value | no value
==========================
email
------------------
Directive | Local Value | Master Value
sendmail_from | me@localhost.com | me@localhost.com
sendmail_path | /usr/sbin/sendmail -t -i  | /usr/sbin/sendmail -t -i
SMTP | sweeper1.fast.net.uk | sweeper1.fast.net.uk
smtp_port | 25 | 25
==========================
Size and Time
------------------
Directive | Local Value | Master Value
max_execution_time | 300 | 300
max_input_time | -1 | -1
upload_max_filesize | 10M | 10M
post_max_size | 8M | 8M
==========================
Page generated in 0.415 seconds - 19 queries in 0.001 seconds - Album set : ; Meta set: ;
Title: Re: Coppermine Forum Plugin (cpgforum)
Post by: Αndré on May 29, 2008, 03:44:09 pm
the error is
While executing query "SELECT * FROM `cpg14x_fr_categories` ORDER BY cat_order ASC;" on 0

mySQL error: Table '8821db.cpg14x_fr_categories' doesn't exist

it seems, that you haven't run the "adaptor plugin", which creates the needed tables.. try to install this plugin if you haven't or try to reinstall..


-
muu
Title: Re: Coppermine Forum Plugin (cpgforum)
Post by: Rockas on May 29, 2008, 06:08:22 pm
is it me or the latest version still appears as "1.1.0" and not "1.1.1"?

@foulu
Great work! I loved this option 'cause i was looking for something simple that I could easily integrate with my gallery.
Thank you for this
Any estimated date for a new release? Specially the part we can't access locked threads not even to erase them.

again... thank you.
Title: Re: Coppermine Forum Plugin (cpgforum)
Post by: dork313 on May 30, 2008, 05:18:18 am
Well, I already think about the theme thing because my forum is base on coppermine forum style sheet. If you want to change your forum theme, just replace the core style sheet in .css file.

To get the forum to match the theme, and without messing up the way the theme looked, I not only had to edit the .css file for the theme but I edited the theme.inc file as well. Now I've got the forum matching the theme and it looks very nice.  I still have some editing to do to get things to match in IE but it's coming along great. Thanks for this plugin.

Also, I know you're busy but when you are able to work more on this, I'd like to put in a request to support img and url bbcode. That way members can post their pictures in the forum from the gallery as well. Thanks again.
Title: Re: Coppermine Forum Plugin (cpgforum)
Post by: Αndré on May 30, 2008, 08:11:25 am
yes.. img bbcode would be very nice! url bbcode works already

-
muu
Title: Re: Coppermine Forum Plugin (cpgforum)
Post by: bossbill on May 30, 2008, 10:57:38 am
In the first and second versions img bbcode did work,
for some reason in the latest it does not.
Title: Re: Coppermine Forum Plugin (cpgforum)
Post by: Rockas on May 30, 2008, 11:35:12 am
In my humble opinion, before adding new features it will be better fix some really annoying bugs.
- not being able to view locked threads
- not being able to edit messages
I think these are really urgent so we can manage a forum.
bbcode for images will be great too and i think not so hard to fix.
Title: Re: Coppermine Forum Plugin (cpgforum)
Post by: dork313 on May 30, 2008, 02:01:50 pm
yes.. img bbcode would be very nice! url bbcode works already

-
muu

I've tried using the url code both ways on my forum and it doesn't work.

url=www and url /url

I've also noticed that if you remove a reply the threads icon doesn't display on the category listing anymore.
Title: Re: Coppermine Forum Plugin (cpgforum)
Post by: foulu on May 30, 2008, 06:59:49 pm
check my first post for new version.
Title: Re: Coppermine Forum Plugin (cpgforum)
Post by: Rockas on May 30, 2008, 07:17:50 pm
Thank YOU! :-D

I am new on this system, so please... it's just a direct upload required?

again... thank you :-)
Title: Re: Coppermine Forum Plugin (cpgforum)
Post by: Rockas on May 30, 2008, 07:20:13 pm
btw... would you be interested on including a continental Portuguese translation?

again... thank you for your hard work
Title: Re: Coppermine Forum Plugin (cpgforum)
Post by: Rockas on May 30, 2008, 07:27:59 pm
doesn't seem to allow edit of messages, yet. Is this correct?
Title: Re: Coppermine Forum Plugin (cpgforum)
Post by: Tjnashster on May 30, 2008, 10:01:02 pm
it seems, that you haven't run the "adaptor plugin", which creates the needed tables.. try to install this plugin if you haven't or try to reinstall..


-
muu
I have done that and it still does not work.
Title: Re: Coppermine Forum Plugin (cpgforum)
Post by: Rockas on May 30, 2008, 10:48:29 pm
I have done that and it still does not work.

can you post here a scheme of your "adaptor" folder's location in relation with your gallery main folder?
Title: Re: Coppermine Forum Plugin (cpgforum)
Post by: dork313 on May 30, 2008, 11:21:16 pm
doesn't seem to allow edit of messages, yet. Is this correct?

I haven't updated yet but my version allows message editing and removal.
Title: Re: Coppermine Forum Plugin (cpgforum)
Post by: Rockas on May 30, 2008, 11:24:31 pm
I haven't updated yet but my version allows message editing and removal.
Really? where are the buttons for that located on your system?
I am really tired of looking everywhere and can't find it :-(

edit: oh well... i found it! my message contains long sentences and it went out of the visible area... how stupid was i now?

(me bangs the head against a wall!!!)

any clues about the place i change the message field lenght so i make it fit my theme? thank you.
Title: Re: Coppermine Forum Plugin (cpgforum)
Post by: Rockas on May 30, 2008, 11:29:58 pm
ok... found the edit (modify) button along with another problem.
In the edit dialog the text box has no scroll bar.

thank you

edit: and it doesn't save the changes?
Title: Re: Coppermine Forum Plugin (cpgforum)
Post by: dork313 on May 30, 2008, 11:46:25 pm
I just upgraded and I can confirm that the modify text box doesn't have the scroll bar but mine saved just fine.  I'm also not seeing anything when I click the message preview. It does say message preview but it doesn't show the preview. The bbcode fixes work great and the post icon works correctly as well though, thank you.
Title: Re: Coppermine Forum Plugin (cpgforum)
Post by: Rockas on May 30, 2008, 11:52:10 pm
weird! to me the preview works just fine but it doesn't save  :D

http://www.rockas.info/photograph/index.php

you can test there

thank you
Title: Re: Coppermine Forum Plugin (cpgforum)
Post by: Rockas on May 31, 2008, 12:01:39 am
ok... i take it back... lokks like preview isn't working  >:(
Title: Re: Coppermine Forum Plugin (cpgforum)
Post by: Rockas on May 31, 2008, 12:13:19 am
ok... some new data.

looks like it doesn't save only on the first message of a topic.
Title: Re: Coppermine Forum Plugin (cpgforum)
Post by: dork313 on May 31, 2008, 01:00:59 am
ok... some new data.

looks like it doesn't save only on the first message of a topic.

That is odd because the messages I modified and saved were the first post.
Title: Re: Coppermine Forum Plugin (cpgforum)
Post by: Rockas on May 31, 2008, 01:11:15 am
ok... i will run some few more tests... i will also run an optimization of the DB through phpmyadmin... maybe it's a tables glitch.

edit: just for the record... optimization fixed this issue

Only problem left... no preview
and a little help with the text field width?
any clues about where i can change that?

thank you

edit: no whistles and bells and seems to be working fine... the only thing bothering now the that i can't find a way of making the post display fit on the available space and the text goes under the side menu, on Firefox and IE7... looks really bad on Opera :(
It would be great if this could be independent from the main theme as i can see it gets the same aspect as the users administration from what I can see.
you can see the problem here: http://www.rockas.info/photograph/forum.php?topic=3
Title: Re: Coppermine Forum Plugin (cpgforum)
Post by: dork313 on May 31, 2008, 04:36:00 am
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:
Code: [Select]
make_request("forum.misc.php?action=preview&amp;message="+document.forms
but in the old themes.inc file, when preview worked, it looked like this:
Code: [Select]
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.
Title: Re: Coppermine Forum Plugin (cpgforum)
Post by: Tjnashster on May 31, 2008, 08:40:28 am
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???
Title: Re: Coppermine Forum Plugin (cpgforum)
Post by: Αndré on May 31, 2008, 11:54:59 am
hey foulu.. in version 1.1.2 guests can answer to topics, even if you set up that they can't do this

-
muu
Title: Re: Coppermine Forum Plugin (cpgforum)
Post by: Rockas on May 31, 2008, 01:53:48 pm
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?
Title: Re: Coppermine Forum Plugin (cpgforum)
Post by: foulu on May 31, 2008, 03:06:09 pm
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.
Title: Re: Coppermine Forum Plugin (cpgforum)
Post by: Rockas on May 31, 2008, 03:23:26 pm
@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
Title: Re: Coppermine Forum Plugin (cpgforum)
Post by: Αndré on May 31, 2008, 03:41:25 pm
it's still possible for guests to make replies in version 1.1.3 ???
new posts aren't shown in the info center
Title: Re: Coppermine Forum Plugin (cpgforum)
Post by: foulu on May 31, 2008, 03:45:34 pm
it's still possible for guests to make replies in version 1.1.3 ???

check your setting !

new posts aren't shown in the info center

new post are group by topic id.
Title: Re: Coppermine Forum Plugin (cpgforum)
Post by: Αndré on May 31, 2008, 03:56:52 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
Title: Re: Coppermine Forum Plugin (cpgforum)
Post by: foulu on May 31, 2008, 04:14:03 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.
Title: Re: Coppermine Forum Plugin (cpgforum)
Post by: foulu on May 31, 2008, 04:16:18 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.
Title: Re: Coppermine Forum Plugin (cpgforum)
Post by: Rockas on May 31, 2008, 04:51:12 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
Title: Re: Coppermine Forum Plugin (cpgforum)
Post by: 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.
Title: Re: Coppermine Forum Plugin (cpgforum)
Post by: foulu on June 01, 2008, 04:47:41 am
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.
Title: Re: Coppermine Forum Plugin (cpgforum)
Post by: foulu on June 01, 2008, 04:51:00 am
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.
Title: Re: Coppermine Forum Plugin (cpgforum)
Post by: Αndré on June 01, 2008, 09:01:17 am
hi foulu

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:
Code: [Select]
$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):
Code: [Select]
$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
Title: Re: Coppermine Forum Plugin (cpgforum)
Post by: dork313 on June 01, 2008, 09:35:36 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.
Title: Re: Coppermine Forum Plugin (cpgforum)
Post by: Rockas on June 01, 2008, 03:52:13 pm
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
Title: Re: Coppermine Forum Plugin (cpgforum)
Post by: bossbill on June 01, 2008, 04:48:04 pm
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.
Title: Re: Coppermine Forum Plugin (cpgforum)
Post by: pixstreet on June 01, 2008, 10:39:13 pm
I have installed a forum on my practice website and I am experiencing an issue with certain characters not being displayed/recognised. see below:

Code: [Select]
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 (http://www.pixstreet.co.uk)
Title: Re: Coppermine Forum Plugin (cpgforum)
Post by: dork313 on June 02, 2008, 01:00:35 am
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.

How I missed that setting I don't know but thank you for pointing it out. URL's work fine now.
Title: Re: Coppermine Forum Plugin (cpgforum)
Post by: MadMaxx on June 02, 2008, 06:50:58 am
hi
this looks like what i was looking for, just can't get it to work  :(

i copied the files to the coppermine root directory, i have version 1.4.18
installed the plugin,
got this message :
Code: [Select]
Performing database updates
CREATE TABLE IF NOT EXISTS `cpg14x_fr_boards` ( `board_id` smallint(5) unsigned NOT NULL auto_increment, `cat_id` tinyint(4) unsigned NOT NULL default '0', `child_level` tinyint(4) unsigned NOT NULL default '0', `parent_id` smallint(5) unsigned NOT NULL default '0', `board_order` smallint(5) unsigned NOT NULL default '0', `last_msg_id` int(10) unsigned NOT NULL default '0', `updated_msg_id` int(10) unsigned NOT NULL default '0', `name` tinytext NOT NULL, `description` text NOT NULL, `topics` mediumint(8) unsigned NOT NULL default '0', `posts` mediumint(8) unsigned NOT NULL default '0', PRIMARY KEY (`board_id`) ) ENGINE=MyISAM DEFAULT CHARSET=latin1 COMMENT='forum boards' Already Done
CREATE TABLE IF NOT EXISTS `cpg14x_fr_categories` ( `cat_id` tinyint(4) unsigned NOT NULL auto_increment, `cat_order` tinyint(4) unsigned NOT NULL default '0', `name` tinytext NOT NULL, PRIMARY KEY (`cat_id`) ) ENGINE=MyISAM DEFAULT CHARSET=latin1 COMMENT='forum categories' Already Done
CREATE TABLE IF NOT EXISTS `cpg14x_fr_message_icons` ( `icon_id` smallint(5) unsigned NOT NULL auto_increment, `title` varchar(80) NOT NULL default '', `filename` varchar(80) NOT NULL default '', `icon_order` smallint(5) unsigned NOT NULL default '0', PRIMARY KEY (`icon_id`) ) ENGINE=MyISAM DEFAULT CHARSET=latin1 COMMENT='forum message icons' AUTO_INCREMENT=14 Already Done
INSERT INTO `cpg14x_fr_message_icons` (`icon_id`, `title`, `filename`, `icon_order`) VALUES (1, 'Post', 'icon1', 0), (2, 'Smile', 'icon2', 1), (3, 'Big smile', 'icon3', 2), (4, 'Angry', 'icon4', 3), (5, 'Cool', 'icon5', 4), (6, 'Sad', 'icon6', 5), (7, 'Wink', 'icon7', 6), (8, 'Comment', 'icon8', 7), (9, 'Magnify', 'icon9', 8), (10, 'Icon', 'icon10', 9), (11, 'Lamp', 'icon11', 10), (12, 'Bug', 'icon12', 11), (13, 'Wheel', 'icon13', 12) Already Done
CREATE TABLE `cpg14x_fr_messages` ( `msg_id` int(10) unsigned NOT NULL auto_increment, `topic_id` mediumint(8) unsigned NOT NULL default '0', `board_id` smallint(5) unsigned NOT NULL default '0', `poster_time` int(10) unsigned NOT NULL default '0', `poster_id` mediumint(8) unsigned NOT NULL default '0', `modified_id` int(10) unsigned NOT NULL default '0', `subject` tinytext NOT NULL, `poster_name` tinytext NOT NULL, `poster_email` tinytext NOT NULL, `poster_ip` tinytext NOT NULL, `smileys_enabled` tinyint(4) NOT NULL default '1', `modified_time` int(10) unsigned NOT NULL default '0', `modified_name` tinytext NOT NULL, `body` text NOT NULL, `icon` varchar(16) NOT NULL default 'xx', PRIMARY KEY (`msg_id`) ) ENGINE=MyISAM DEFAULT CHARSET=latin1 COMMENT='forum messages' Already Done
CREATE TABLE `cpg14x_fr_topics` ( `topic_id` mediumint(8) unsigned NOT NULL auto_increment, `is_sticky` tinyint(4) unsigned NOT NULL default '0', `board_id` smallint(5) unsigned NOT NULL default '0', `first_msg_id` int(10) unsigned NOT NULL default '0', `last_msg_id` int(10) unsigned NOT NULL default '0', `started_member_id` mediumint(8) unsigned NOT NULL default '0', `updated_member_id` mediumint(8) unsigned NOT NULL default '0', `poll_id` mediumint(8) unsigned NOT NULL default '0', `replies` int(10) unsigned NOT NULL default '0', `views` int(10) unsigned NOT NULL default '0', `locked` tinyint(4) NOT NULL default '0', PRIMARY KEY (`topic_id`) ) ENGINE=MyISAM DEFAULT CHARSET=latin1 COMMENT='forum topics' Already Done
INSERT INTO `cpg14x_config` (name, value) VALUES ('fr_installed', 1) OK
INSERT INTO `cpg14x_config` (name, value) VALUES ('fr_guest_browse', 1) OK
INSERT INTO `cpg14x_config` (name, value) VALUES ('fr_guest_post', 1) OK
INSERT INTO `cpg14x_config` (name, value) VALUES ('fr_display_ctime', 1) OK
INSERT INTO `cpg14x_config` (name, value) VALUES ('fr_hot_topic_msg', 20) OK
INSERT INTO `cpg14x_config` (name, value) VALUES ('fr_topic_per_page', 20) OK
INSERT INTO `cpg14x_config` (name, value) VALUES ('fr_max_msg_size', 20000) OK
INSERT INTO `cpg14x_config` (name, value) VALUES ('fr_msg_per_page', 15) OK
selected OK
but when i select Forum or Forum Manager i get this error:
Code: [Select]
There was an error while processing a database query.

While executing query "SELECT * FROM `cpg14x_fr_categories` ORDER BY cat_order ASC;" on 0
mySQL error: Table 'db245776181.cpg14x_fr_categories' doesn't exist

File: /homepages/5/d163707256/htdocs/Coppermine/include/functions.inc.php - Line: 249

http://www.rebel-station.org/Coppermine/index.php (http://www.rebel-station.org/Coppermine/index.php)

thanks
Title: Re: Coppermine Forum Plugin (cpgforum)
Post by: Tjnashster on June 02, 2008, 04:54:14 pm
I get the same thing
Title: Re: Coppermine Forum Plugin (cpgforum)
Post by: foulu on June 02, 2008, 06:24:30 pm
@Tjnashster, MadMaxx:

Download "install.txt", rename it to "install.sql", replace the old file in "plugins/adaptor/sql/" and try to install the forum again.
Title: Re: Coppermine Forum Plugin (cpgforum)
Post by: MadMaxx on June 03, 2008, 12:22:33 am
done, but i still get the same error message.

one thing, in the plugin manager it says :

Name Coppermine Simple Forum Adaptor v1.0.0    
Author | kak | kak@amfcvn.net | kak.amfcvn.net |
Description Add various minor feature to current coppermine version.

isn't it supposed to be 1.1.3 ?
Title: Re: Coppermine Forum Plugin (cpgforum)
Post by: foulu on June 03, 2008, 03:54:09 am
@MadMaxx: It's really version 1.1.3 and "v1.0.0" in plugin manager is a mistake of mine. Anyway, try the new install.txt.
Title: Re: Coppermine Forum Plugin (cpgforum)
Post by: MadMaxx on June 03, 2008, 04:40:12 am
thank you, now we're getting somewhere  :)

the forum manager now works fine, but when i use the Forum menu i get another message :

Code: [Select]
There was an error while processing a database query.
While executing query "SELECT count(*) FROM `cpg14x_fr_topics`;" on 0
mySQL error: Table 'db245776181.cpg14x_fr_topics' doesn't exist

when it creates the tables, all are marked OK except 'cpg14x_fr_topics' that is marked Already Done

Title: Re: Coppermine Forum Plugin (cpgforum)
Post by: dawid8 on June 03, 2008, 10:55:20 pm
i can't change the language of the forum
Title: Re: Coppermine Forum Plugin (cpgforum)
Post by: Rockas on June 03, 2008, 11:04:33 pm
@MadMaxx: It's really version 1.1.3 and "v1.0.0" in plugin manager is a mistake of mine. Anyway, try the new install.txt.
Hummm... i don't think so... version 1.1.3 is corretly displayed on my installation.

@MadMaxx: are you sure you got the correct ZIP file?
Title: Re: Coppermine Forum Plugin (cpgforum)
Post by: bossbill on June 04, 2008, 02:16:13 am
I did a fresh install of 1.1.3 and it displays v 1.0.0 on mine.
its all working ok though. I wouldnt worry about it.
Title: Re: Coppermine Forum Plugin (cpgforum)
Post by: foulu on June 04, 2008, 05:48:48 am
thank you, now we're getting somewhere  :)

the forum manager now works fine, but when i use the Forum menu i get another message :

Code: [Select]
There was an error while processing a database query.
While executing query "SELECT count(*) FROM `cpg14x_fr_topics`;" on 0
mySQL error: Table 'db245776181.cpg14x_fr_topics' doesn't exist

when it creates the tables, all are marked OK except 'cpg14x_fr_topics' that is marked Already Done


This file will solve your problem. The bug happend due to the different version of mysql. I will also update it in the plugin.
Title: Re: Coppermine Forum Plugin (cpgforum)
Post by: foulu on June 04, 2008, 05:53:21 am
i can't change the language of the forum

Currently, the forum plugin supports english, german and spain only. But if you want to change the language of the forum, first you must sure that you enable the "choose language" feature in config page.
Title: Re: Coppermine Forum Plugin (cpgforum)
Post by: MadMaxx on June 04, 2008, 06:09:15 am
foulu, i installed the new file and tested it a bit, now it seems to work perfectly  ;D

thank you for your patience.
Title: Re: Coppermine Forum Plugin (cpgforum)
Post by: dawid8 on June 04, 2008, 12:53:01 pm
Currently, the forum plugin supports english, german and spain only. But if you want to change the language of the forum, first you must sure that you enable the "choose language" feature in config page.

its enabled but only english work
Title: Re: Coppermine Forum Plugin (cpgforum)
Post by: Αndré on June 04, 2008, 02:11:24 pm
its enabled but only english work
link? my cpgforum is in german, so the language feature works

ps foulu: dutch is supported.. not spain ;)
Title: Re: Coppermine Forum Plugin (cpgforum)
Post by: foulu on June 04, 2008, 02:16:45 pm
Quote
ps foulu: dutch is supported.. not spain Wink

You are right  ;)

Quote
its enabled but only english work

well, post your link ! we can help anything with words only.
Title: Re: Coppermine Forum Plugin (cpgforum)
Post by: Rockas on June 04, 2008, 03:35:48 pm
I have attached the Portuguese language... users interfaces... administration isn't done yet.
I have a problem with portuguese special characters (á à é í ú ã õ etc)... I had to exclude them from the translation... is there a workaround for that so i can fix all on my next and complete translation?

thank you

edit: typos and wrong file :-)
Title: Re: Coppermine Forum Plugin (cpgforum)
Post by: nielsp on June 04, 2008, 06:36:55 pm
Great job with this forum plugin! Exactly what I needed: straightforward but with all the things I needed. Thanxs!!  :-*  ;)

When I restrict the forum to registered users, guests still can see the forums and topics. Only when they try to post an message or open a topic they'll get an errorscreen.

Would it be possible to let this check happen a little earlier, so guest are not able to see anything of the forum at all? Perhaps removing the 'forum' entry' from the menu for guests?

Thanxs!!
Title: Re: Coppermine Forum Plugin (cpgforum)
Post by: Fabricio Ferrero on June 04, 2008, 07:18:18 pm
Quote
Would it be possible to let this check happen a little earlier, so guest are not able to see anything of the forum at all?

This is already answered in this same topic!  :D  Page 5 I guess..

I'll download the plugin right now and start translating to spanish, I'll upload when finished...
Title: Re: Coppermine Forum Plugin (cpgforum)
Post by: Fabricio Ferrero on June 04, 2008, 07:23:34 pm
Sorry, I forget to quote the solution..  :-[

Quote
yes there is.
just go to forum manager/settings
there is an option... Allow guests to browse the forum  just set it to no

Title: Re: Coppermine Forum Plugin (cpgforum)
Post by: Αndré on June 04, 2008, 07:28:35 pm
fabri.. read nielsp's question carefully:
When I restrict the forum to registered users, guests still can see the forums and topics. Only when they try to post an message or open a topic they'll get an errorscreen.
this is the behavior of "don't allow guests to browse the forum".. they can browse the forum anyway.. the only thing they don't can is reading the posts..

i think this should be reworked and won't be done by hiding the link to the forum


-
muu
Title: Re: Coppermine Forum Plugin (cpgforum)
Post by: Fabricio Ferrero on June 04, 2008, 07:37:41 pm
I'm translating... Are you sure that this is ok?

Code: [Select]
'msg_remove_confirm' => "Are you sure to remove this message? This action can\'t be undone.",
'topic_remove_confirm' => "Are you sure to remove this message? This action can\'t be undone.",

The second one, it have don't to be "Are you sure to remove this topic?"

I'm not programmer and I'm not test the plugin yet, sorry if it is ok and it's a silly questions.
Title: Re: Coppermine Forum Plugin (cpgforum)
Post by: Αndré on June 04, 2008, 07:41:00 pm
no it's wrong.. i forgot to mention this as i translated it to german.. the first is "message" the second is "topic".. it should be adapted in english.php

Title: Re: Coppermine Forum Plugin (cpgforum)
Post by: dawid8 on June 04, 2008, 07:58:46 pm
so her is the link >delete<

if you need a account you can sent me a pm
Title: Re: Coppermine Forum Plugin (cpgforum)
Post by: Fabricio Ferrero on June 04, 2008, 08:10:10 pm
Spanish language file attached whit the error I mark 2 reply above corrected. (in zip)

Judgind by the language file, very complete plug in!!
Title: Re: Coppermine Forum Plugin (cpgforum)
Post by: dawid8 on June 04, 2008, 10:14:39 pm
i have delete the english language file and it's working in german
Title: Re: Coppermine Forum Plugin (cpgforum)
Post by: pixstreet on June 06, 2008, 02:59:55 pm
Here is my Polish language file for cpgforum. I hope people find it useful
Title: Re: Coppermine Forum Plugin (cpgforum)
Post by: dawid8 on June 06, 2008, 04:03:40 pm
Here is my Polish language file for cpgforum. I hope people find it useful

Thanks
Title: Re: Coppermine Forum Plugin (cpgforum)
Post by: Αndré on June 08, 2008, 07:38:11 pm
attached updated german language file (new entries for "cancel" and "msg_not_exists")


found some things in english.php:

line 83 & 90:
duplicate entry 'preview'

line 150:
Code: [Select]
'msg_not_exists' => "This message isn't exists.",must be
Code: [Select]
'msg_not_exists' => "This message doesn't exist.",

-
muu
Title: Re: Coppermine Forum Plugin (cpgforum)
Post by: Αndré on June 12, 2008, 07:25:44 pm
[edit 2008-07-09: updated code to make url's clickable and using custom user profile field 6 instead of 5 (to use line breaks)]
[edit 2008-07-05: updated code to use line breaks, smileys and bbcode tags]


to add a signature to user's posts, i modified 2 files of the cpgforum plugin..
i use the "custom fields for user profile" (in my example field 6)

1. open adaptor/source/topic.view.php
find:
Code: [Select]
echo template_eval($template, $vars);
add before:
Code: [Select]
        //begin signature by muu
        if ($user_data['user_profile6'])
          $signature = '<tr> <td class="tableb" colspan="3" valign="top"><hr width="200" size="1" align="left" />'.$user_data['user_profile6'].'</td> </tr>';
        else
          $signature = "";
        $vars['{SIGNATURE}'] =  make_clickable(process_smilies(bb_decode($signature)));
        //end signature by muu


2. open adaptor/include/themes.inc.php
find:
Code: [Select]
    <tr>
<td width="53%" align="left" colspan="2" valign="top">{LAST_EDIT}</td>
<td width="47%" align="right" valign="top">{MISC}</td>
    </tr>

add after:
Code: [Select]
    {SIGNATURE}

3. go to the cpg config and add a custom field for the signature


now users can set their signature in their profile


-
muu
Title: Re: Coppermine Forum Plugin (cpgforum)
Post by: MadMaxx on July 05, 2008, 11:49:47 am
now users can set their signature in their profile

-
muu

works very nice, thanks
but how about a picture signature, hosted by imageshack or whatever
something like:
Code: [Select]
[IMG]http://img379.imageshack.us/img379/8173/yodafv6.jpg[/IMG]
i tried to put that in the signature field but it only shows the text not the linked picture.
Title: Re: Coppermine Forum Plugin (cpgforum)
Post by: Hein Traag on July 05, 2008, 01:51:45 pm
The idea is good but has a flaw, what if Imageshack goes down etc. It would be better to have the image stored on the same server as cpg imho.
Title: Re: Coppermine Forum Plugin (cpgforum)
Post by: ib2loud on July 05, 2008, 03:55:44 pm
I just did a quick install and everything seems to be working super smoothly for me...

www.okshowpics.com/free
Title: Re: Coppermine Forum Plugin (cpgforum)
Post by: Αndré on July 05, 2008, 04:55:59 pm
works very nice, thanks
but how about a picture signature, hosted by imageshack or whatever
something like:
Code: [Select]
[IMG]http://img379.imageshack.us/img379/8173/yodafv6.jpg[/IMG]
i tried to put that in the signature field but it only shows the text not the linked picture.



Just change line
Code: [Select]
        $vars['{SIGNATURE}'] = $signature;
to
Code: [Select]
        $vars['{SIGNATURE}'] = process_smilies(bb_decode($signature));
Also added the possibility to show smileys!


I will modify the source code i posted, because i think it's a general improvement.
Title: Re: Coppermine Forum Plugin (cpgforum)
Post by: MadMaxx on July 06, 2008, 11:48:24 am
The idea is good but has a flaw, what if Imageshack goes down etc. It would be better to have the image stored on the same server as cpg imho.

that would be even better, but this is the next best thing  :)

@eenemeenemuu, that did it, thanks a lot
Title: Re: Coppermine Forum Plugin (cpgforum)
Post by: Αndré on July 09, 2008, 08:39:30 am
To detect url's and make them clickable automatically in message body and signature, you have to adapt the "make_clickable()" function.

Open adaptor/source/topic.view.php

find:
Code: [Select]
        $vars['{SIGNATURE}'] = $signature;or (depending on which version of my hack you are using):
Code: [Select]
        $vars['{SIGNATURE}'] = process_smilies(bb_decode($signature));
and replace with:
Code: [Select]
        $vars['{SIGNATURE}'] = make_clickable(process_smilies(bb_decode($signature)));

To use this feature in the message body, find:
Code: [Select]
'{POST}'        => process_smilies(bb_decode($message['body'])),and replace with:
Code: [Select]
'{POST}'        => make_clickable(process_smilies(bb_decode($message['body']))),


I modified my instruction to add signature (http://forum.coppermine-gallery.net/index.php/topic,51535.msg258812.html#msg258812) again, to make url's clickable.



@foulu: Are you working further on this plugin? If not, i am thinking about creating a simple search engine for it, but it don't want to code sth. that's already done in your developing version ;)
Title: Re: Coppermine Forum Plugin (cpgforum)
Post by: Αndré on July 11, 2008, 09:14:14 am
I've adapted a script (german only) (http://aktuell.de.selfhtml.org/artikel/javascript/bbcode/) for using buttons to insert bbcode in cpgforum.

1. Open "adaptor/js/scripts.js" and insert the following code at the end of the file:
Code: [Select]
function insert(aTag, eTag, form) {
  var input = document.forms[form].elements['post'];
  input.focus();
  /* für Internet Explorer */
  if(typeof document.selection != 'undefined') {
    /* Einfügen des Formatierungscodes */
    var range = document.selection.createRange();
    var insText = range.text;
    range.text = aTag + insText + eTag;
    /* Anpassen der Cursorposition */
    range = document.selection.createRange();
    if (insText.length == 0) {
      range.move('character', -eTag.length);
    } else {
      range.moveStart('character', aTag.length + insText.length + eTag.length);     
    }
    range.select();
  }
  /* für neuere auf Gecko basierende Browser */
  else if(typeof input.selectionStart != 'undefined')
  {
    /* Einfügen des Formatierungscodes */
    var start = input.selectionStart;
    var end = input.selectionEnd;
    var insText = input.value.substring(start, end);
    input.value = input.value.substr(0, start) + aTag + insText + eTag + input.value.substr(end);
    /* Anpassen der Cursorposition */
    var pos;
    if (insText.length == 0) {
      pos = start + aTag.length;
    } else {
      pos = start + aTag.length + insText.length + eTag.length;
    }
    input.selectionStart = pos;
    input.selectionEnd = pos;
  }
  /* für die übrigen Browser */
  else
  {
    /* Abfrage der Einfügeposition */
    var pos;
    var re = new RegExp('^[0-9]{0,3}$');
    while(!re.test(pos)) {
      pos = prompt("Einfügen an Position (0.." + input.value.length + "):", "0");
    }
    if(pos > input.value.length) {
      pos = input.value.length;
    }
    /* Einfügen des Formatierungscodes */
    var insText = prompt("Bitte geben Sie den zu formatierenden Text ein:");
    input.value = input.value.substr(0, pos) + aTag + insText + eTag + input.value.substr(pos);
  }
}



2. Open "adaptor/include/HTMLelement.class.php" and insert just before:
Code: [Select]
}
?>
Code: [Select]
function bbcode($form_name) {
$bbcode_tags = array(
"b",
"u",
"i",
"img",
"url",
"email",
);
$html = "";
foreach ($bbcode_tags as $tag)
        $html .= "<input type=\"button\" class=\"button\" value=\"$tag\" onClick=\"javascript:insert('[$tag]', '[/$tag]', '$form_name')\"> ";
return $html;
    }



3. Open "adaptor/include/themes.inc.php" and insert before every (overall three times):
Code: [Select]
<tr>
<td class="tableb">{LANG_POST}</td>
Code: [Select]
<tr>
<td class="tableb">BBCode</td>
<td class="tableb">
        {BBCODE}
</td>
</tr>



4. Open "adaptor/source/topic.post.php" and add just before:
Code: [Select]
);
echo template_eval(
Code: [Select]
        '{BBCODE}'              => HTMLelement::bbcode("newtopic"),


5. Open "adaptor/source/msg.post.php" and add just before:
Code: [Select]
);
echo template_eval(
Code: [Select]
        '{BBCODE}'              => HTMLelement::bbcode("newmessage"),


6. Open "adaptor/source/msg.modify.php" and add just before:
Code: [Select]
);
echo template_eval(
Code: [Select]
        '{BBCODE}'              => HTMLelement::bbcode("modifymessage"),
Title: Re: Coppermine Forum Plugin (cpgforum)
Post by: MadMaxx on July 11, 2008, 03:23:28 pm
very nice, makes a great addition.

works perfectly with firefox but doesn't seem to work with IE.
Title: Re: Coppermine Forum Plugin (cpgforum)
Post by: MadMaxx on July 11, 2008, 03:28:05 pm
very nice, makes a great addition.

works perfectly with firefox but doesn't seem to work with IE.


sorry, don't mind this post, works perfectly in firefox and IE

i forgot to refresh the page  :-[
Title: Re: Coppermine Forum Plugin (cpgforum)
Post by: foulu on July 11, 2008, 06:23:05 pm
Quote
@foulu: Are you working further on this plugin? If not, i am thinking about creating a simple search engine for it, but it don't want to code sth. that's already done in your developing version Wink

I have been busy these days but it's not that I quit develop the plugin. If you thinking about creating a simple search engine, I can start but may be we need some thing to work together because the plugin in my localhost changes time to time. I think we will use PM to diccuss thing and leave this topic for support.
Title: Re: Coppermine Forum Plugin (cpgforum)
Post by: Αndré on July 14, 2008, 09:37:13 am
To give messages a link, so you can copy the url from it, open "adaptor/source/topic.view.php"

find:
Code: [Select]
'{TITLE}'        => $message['subject'],
and replace with:
Code: [Select]
'{TITLE}'        => "<a href=\"forum.php?topic=$topic_id&start=".floor(($count+$start-1)/$CONFIG['fr_msg_per_page'])*$CONFIG['fr_msg_per_page']."#{$message['msg_id']}\">".$message['subject']."</a>",
Title: Re: Coppermine Forum Plugin (cpgforum)
Post by: Αndré on July 18, 2008, 01:50:06 pm
Reffering to this post (http://forum.coppermine-gallery.net/index.php/topic,53949.msg262602.html#msg262602), you can extend the bbcode buttons i introduced here:

2. Open "adaptor/include/HTMLelement.class.php" and insert just before:
Code: [Select]
}
?>
Code: [Select]
function bbcode($form_name) {
$bbcode_tags = array(
"b",
"u",
"i",
"img",
"url",
"email",
);
$html = "";
foreach ($bbcode_tags as $tag)
        $html .= "<input type=\"button\" class=\"button\" value=\"$tag\" onClick=\"javascript:insert('[$tag]', '[/$tag]', '$form_name')\"> ";
return $html;
    }

Replace the function above with this:
Code: [Select]
function bbcode($form_name) {
$bbcode_tags = array(
"b",
"u",
"i",
"s", //new
"size", //new
"img",
"url",
"email",
"quote", //new
);
$html = "";
foreach ($bbcode_tags as $tag)
        $html .= "<input type=\"button\" class=\"button\" value=\"$tag\" onClick=\"javascript:insert('[$tag]', '[/$tag]', '$form_name')\"> ";
return $html;
    }
Title: Re: Coppermine Forum Plugin (cpgforum)
Post by: bulli on July 28, 2008, 09:39:09 am
Hiho,

thx for this very fine plugin, but i have a question. You have placed the Forum button in the sys_menu. Is it possible to place the button in the sub_menu?


Best regards

Volker
Title: Re: Coppermine Forum Plugin (cpgforum)
Post by: Αndré on July 28, 2008, 10:06:23 am
You have placed the Forum button in the sys_menu. Is it possible to place the button in the sub_menu?

Open 'codebase.php', search:
Code: [Select]
adaptor_sys_user_button('forum.php','Forum','','Forum');and replace with:
Code: [Select]
adaptor_sub_user_button('forum.php','Forum','','Forum');
Title: Re: Coppermine Forum Plugin (cpgforum)
Post by: bulli on July 28, 2008, 03:24:56 pm
thx again
Title: Re: Coppermine Forum Plugin (cpgforum)
Post by: streetart on July 31, 2008, 04:47:08 pm
Hello

is this forum now avaible with php4?
Title: Re: Coppermine Forum Plugin (cpgforum)
Post by: foulu on July 31, 2008, 06:41:41 pm
Sorry but I'm really not sure if my script can run in php4 platform or not ? May be you must give it a try. My script easy to install & uninstall.
Title: Re: Coppermine Forum Plugin (cpgforum)
Post by: foulu on July 31, 2008, 06:53:52 pm
=====
Notice
=====

I'm finished with this plugin. I don't release new 1.x.x version anymore even it have some addon in my localhost. Yesterday, I downloaded cpg1.5.x and found that my plugin will not work with the future version of coppermine. And after some more studying about PHP world, I will start coding a new forum plugin for cpg1.5.x from blank. But I still use the old database struct & will make a new upgrade script if need. My ideal about the new one is:

- Working in both php4 & php5 platform.
- Well optimizing, nice style.
- Faster than the old version.
- New template system (use pure php to accurate the speed).
- Have own avatar & PM & profile system.
- Have own website (may be ?).
- Not use much object and well separate function.

Well, that's all for now. Comment is welcome !
Title: Re: Coppermine Forum Plugin (cpgforum)
Post by: streetart on July 31, 2008, 07:43:08 pm
Hello

Ok.

I have this error in debug mode: While executing query "SELECT count(*) FROM `cpgx_fr_topics`;" on 0

mySQL error: Table 'db.cpgx_fr_topics' doesn't exist

The admin forum manager works, and I have a Link in the sys menu but only the forum.php are wrong..

the install.sql file

Code: [Select]
CREATE TABLE IF NOT EXISTS `CPG_fr_boards` (
  `board_id` smallint(5) NOT NULL auto_increment,
  `cat_id` tinyint(4) NOT NULL default '0',
  `child_level` tinyint(4) NOT NULL default '0',
  `parent_id` smallint(5) NOT NULL default '0',
  `board_order` smallint(5) NOT NULL default '0',
  `last_msg_id` int(10) NOT NULL default '0',
  `updated_msg_id` int(10) NOT NULL default '0',
  `name` tinytext NOT NULL,
  `description` text NOT NULL,
  `topics` mediumint(8) NOT NULL default '0',
  `posts` mediumint(8) NOT NULL default '0',
  PRIMARY KEY (`board_id`)
) TYPE=MyISAM COMMENT='forum boards' ;

CREATE TABLE IF NOT EXISTS `CPG_fr_categories` (
  `cat_id` tinyint(4) NOT NULL auto_increment,
  `cat_order` tinyint(4) NOT NULL default '0',
  `name` tinytext NOT NULL,
  PRIMARY KEY  (`cat_id`)
) TYPE=MyISAM COMMENT='forum categories' ;

CREATE TABLE IF NOT EXISTS `CPG_fr_message_icons` (
  `icon_id` smallint(5) NOT NULL auto_increment,
  `title` varchar(80) NOT NULL default '',
  `filename` varchar(80) NOT NULL default '',
  `icon_order` smallint(5) NOT NULL default '0',
  PRIMARY KEY (`icon_id`)
) TYPE=MyISAM COMMENT='forum message icons' AUTO_INCREMENT=14 ;

INSERT INTO `CPG_fr_message_icons`
(`icon_id`, `title`, `filename`, `icon_order`)
VALUES
(1,  'Post', 'icon1', 0),
(2,  'Smile', 'icon2', 1),
(3,  'Big smile', 'icon3', 2),
(4,  'Angry', 'icon4', 3),
(5,  'Cool', 'icon5', 4),
(6,  'Sad', 'icon6', 5),
(7,  'Wink', 'icon7', 6),
(8,  'Comment', 'icon8', 7),
(9,  'Magnify', 'icon9', 8),
(10, 'Icon', 'icon10', 9),
(11, 'Lamp', 'icon11', 10),
(12, 'Bug', 'icon12', 11),
(13, 'Wheel', 'icon13', 12);

CREATE TABLE `CPG_fr_messages` (
  `msg_id` int(10) NOT NULL auto_increment,
  `topic_id` mediumint(8) NOT NULL default '0',
  `board_id` smallint(5) NOT NULL default '0',
  `poster_time` int(10) NOT NULL default '0',
  `poster_id` mediumint(8) NOT NULL default '0',
  `modified_id` int(10) NOT NULL default '0',
  `subject` tinytext NOT NULL,
  `poster_name` tinytext NOT NULL,
  `poster_email` tinytext NOT NULL,
  `poster_ip` tinytext NOT NULL,
  `smileys_enabled` tinyint(4) NOT NULL default '1',
  `modified_time` int(10) NOT NULL default '0',
  `modified_name` tinytext NOT NULL,
  `body` text NOT NULL,
  `icon` varchar(16) NOT NULL default 'xx',
  PRIMARY KEY  (`msg_id`)
) TYPE=MyISAM COMMENT='forum messages' ;

CREATE TABLE `CPG_fr_topics` (
  `topic_id` mediumint(8) NOT NULL auto_increment,
  `is_sticky` tinyint(4) NOT NULL default '0',
  `board_id` smallint(5) NOT NULL default '0',
  `first_msg_id` int(10) NOT NULL default '0',
  `last_msg_id` int(10) NOT NULL default '0',
  `started_member_id` int(8) NOT NULL default '0',
  `updated_member_id` int((8) NOT NULL default '0',
  `poll_id` mediumint(8)  NOT NULL default '0',
  `replies` int(10) NOT NULL default '0',
  `views` int(10) NOT NULL default '0',
  `locked` tinyint(4) NOT NULL default '0',
  PRIMARY KEY  (`topic_id`)
) TYPE=MyISAM COMMENT='forum topics' ;

INSERT INTO `CPG_config` (name, value) VALUES ('fr_installed', 1);
INSERT INTO `CPG_config` (name, value) VALUES ('fr_guest_browse', 1);
INSERT INTO `CPG_config` (name, value) VALUES ('fr_guest_post', 1);
INSERT INTO `CPG_config` (name, value) VALUES ('fr_display_ctime', 1);
INSERT INTO `CPG_config` (name, value) VALUES ('fr_hot_topic_msg', 20);
INSERT INTO `CPG_config` (name, value) VALUES ('fr_topic_per_page', 20);
INSERT INTO `CPG_config` (name, value) VALUES ('fr_max_msg_size', 20000);
INSERT INTO `CPG_config` (name, value) VALUES ('fr_msg_per_page', 15);
Title: Re: Coppermine Forum Plugin (cpgforum)
Post by: streetart on July 31, 2008, 07:45:43 pm
sry I found the mistake...is a install.txt in a post of you as attachment...thx

Title: Re: Coppermine Forum Plugin (cpgforum)
Post by: Joachim Müller on August 01, 2008, 06:18:52 pm
Yesterday, I downloaded cpg1.5.x and found that my plugin will not work with the future version of coppermine.
Read up http://documentation.coppermine-gallery.net/en/dev_superglobals.htm - that's probably what keeps you from using the forum plugin. You need to sanitize the superglobals properly.
Title: Re: Coppermine Forum Plugin (cpgforum)
Post by: foulu on August 01, 2008, 06:35:41 pm
@Joachim Müller:

Thanks for your help. At first, I read the code to find how to use Inspekt class. But now it is much more easier with the document.
Title: Re: Coppermine Forum Plugin (cpgforum)
Post by: streetart on August 02, 2008, 03:27:15 am
hello foulu


Topic             Stats             Lastpost
Test              12 Topics        test by test
Title: Re: Coppermine Forum Plugin (cpgforum)
Post by: streetart on August 02, 2008, 03:29:34 am
sry...I click on enter and the post was posted ....(@cpg-admin:is there possible do make a edit function on this coppermine forum?)

Hey foulu...

Is there possible do display on board view stats only the topics..and not both (topics and posts) ?
Title: Re: Coppermine Forum Plugin (cpgforum)
Post by: foulu on August 02, 2008, 06:51:27 am
open adaptor/source/index.view.php

find:

Code: [Select]
    '{STATS}'           => $board['posts'].$lang_fr_index['posts']."<br />".$board['topics'].$lang_fr_index['topics'],
replace with:

Code: [Select]
    '{STATS}'           => $board['topics'].$lang_fr_index['topics'],
Title: Re: Coppermine Forum Plugin (cpgforum)
Post by: streetart on August 02, 2008, 12:48:26 pm
ah oke...

they are all function in {} in this file?

thx
Title: Re: Coppermine Forum Plugin (cpgforum)
Post by: Joachim Müller on August 02, 2008, 02:35:10 pm
@cpg-admin:is there possible do make a edit function on this coppermine forum?
Has deliberately been disabled due to abuse in the past. Won't come back. It's your task to compose your messages properly.
Title: Re: Coppermine Forum Plugin (cpgforum)
Post by: streetart on August 02, 2008, 04:18:42 pm
hello

@ joachim müller yes its my task, but everyone makes mistakes.. its better when we can edit the post.

@ foulu:
on the board_view: is there possible to display the {PAGE} only on the bottom and the NAvigation only on the top?
Title: Re: Coppermine Forum Plugin (cpgforum)
Post by: foulu on August 02, 2008, 04:57:20 pm
have a look at the template file: themes.inc.php

Title: Re: Coppermine Forum Plugin (cpgforum)
Post by: streetart on August 02, 2008, 10:30:37 pm
yes..but there are one PAGE and when I remove that, than is the page-numbers not showd.

I try do move the PAGE in the <---beginn board footer--> there its display only the word PAGE
Title: Re: Coppermine Forum Plugin (cpgforum)
Post by: Αndré on August 03, 2008, 08:26:50 pm
I'm finished with this plugin. I don't release new 1.x.x version anymore even it have some addon in my localhost.
Pity :(

If i find some time, i'll try to include some simple features and post it here.



streetart asked me via PM, how to show the latest posts on an extra page because he has seen it on my personal gallery.
Here is the code:

Code: [Select]
  $forum_limit = 5;
  if (is_numeric($_POST['limit_forum']))
    $forum_limit = $_POST['limit_forum'];
  if ($forum_limit > 50)
    $forum_limit = 50;
  if ($forum_limit < 5)
    $forum_limit = 5;

  $text_forum = "<input type=\"text\" class=\"textinput\" name=\"limit_forum\" size=\"3\" value=\"$forum_limit\" style=\"padding-top:0px;padding-bottom:0px;\" />";
  starttable("100%", "<form method=\"post\" action=\"#forum\" style=\"margin-bottom:0;margin-top:0\">Die letzten $text_forum Beitr&auml;ge im Forum</form>");

  $forum = cpg_db_query("SELECT * FROM {$CONFIG['TABLE_PREFIX']}fr_messages m INNER JOIN {$CONFIG['TABLE_PREFIX']}fr_topics t ON m.topic_id = t.topic_id ORDER BY msg_id DESC LIMIT $forum_limit");

  while ($post = mysql_fetch_array($forum, MYSQL_ASSOC))
  {
    $topic_total_page = ceil($post['replies']/$CONFIG['fr_msg_per_page']);
    $topic = $post['topic_id'];
    $topic .= "&amp;start=".($topic_total_page-1)*$CONFIG['fr_msg_per_page'];
    $topic .= "#".$post['msg_id'];

    echo "<tr><td class=\"tableb\">".date("d.m.Y H:i",$post['poster_time'])." - neuer Beitrag von ".$post['poster_name']." im Thema '<a href=\"forum.php?topic=$topic\" target=\"_self\">".str_replace("Re: ","",$post['subject'])."</a>'</td></tr>";
  }
  endtable();
Title: Re: Coppermine Forum Plugin (cpgforum)
Post by: streetart on August 04, 2008, 02:37:17 am
ok thx.. :D
Title: Re: Coppermine Forum Plugin (cpgforum)
Post by: streetart on August 04, 2008, 01:41:10 pm
@eenemeenemuu nice code..I tested it now and it is very nice. one question. is there possible, to display every topic only once..when two person reply on the same topic and display the same topic twice..?


on german: kann man die Themen zusammenfassen? Wenn ich auf ein Thema antworte und dann zwei Minuten spätr nochmals jemand antwortet wird das gleiche Thema zwei angezeigt. Ist es möglich das zu verhindern und nur den neuesten Eintrag von dem Thema wirklich anzuzeigen?


sry for my english
Title: Re: Coppermine Forum Plugin (cpgforum)
Post by: Αndré on August 04, 2008, 02:06:11 pm
This is already implemented in the cpgforum "Info Center" (i think this has gone to core, if not: see here (http://forum.coppermine-gallery.net/index.php/topic,51535.msg257427.html#msg257427)).

The new sql statement for my code contribution is:
Code: [Select]
  $forum = cpg_db_query("SELECT * FROM {$CONFIG['TABLE_PREFIX']}fr_messages m INNER JOIN {$CONFIG['TABLE_PREFIX']}fr_topics t ON m.topic_id = t.topic_id WHERE msg_id IN (SELECT MAX(msg_id) FROM {$CONFIG['TABLE_PREFIX']}fr_messages GROUP BY topic_id) ORDER BY msg_id DESC LIMIT $forum_limit");

[edit by muu: code correction]
Title: Re: Coppermine Forum Plugin (cpgforum)
Post by: MadMaxx on August 05, 2008, 11:31:18 pm

If i find some time, i'll try to include some simple features and post it here.


well don't know about simple  ;)  but attachments would be really nice  ;D
Title: Re: Coppermine Forum Plugin (cpgforum)
Post by: gavu on August 06, 2008, 01:27:54 pm
i recently changed hosting and noticed that when creating a new topic i get:

There was an error while processing a database query.

debug mode says:

While executing query "INSERT INTO `cpg14x_fr_topics`
   (topic_id, is_sticky, board_id, first_msg_id, last_msg_id, started_member_id, updated_member_id, poll_id, replies, views, locked)   
   VALUES
   ('', '1', '1', '', '', '18', '', '', '0', '0', '0');" on 0

mySQL error: Incorrect integer value: '' for column 'topic_id' at row 1

what did i do wrong?

Title: Re: Coppermine Forum Plugin (cpgforum)
Post by: streetart on August 07, 2008, 11:57:26 pm
This is already implemented in the cpgforum "Info Center" (i think this has gone to core, if not: see here (http://forum.coppermine-gallery.net/index.php/topic,51535.msg257427.html#msg257427)).

The new sql statement for my code contribution is:
Code: [Select]
  $forum = cpg_db_query("SELECT * FROM {$CONFIG['TABLE_PREFIX']}fr_messages m INNER JOIN {$CONFIG['TABLE_PREFIX']}fr_topics t ON m.topic_id = t.topic_id WHERE msg_id IN (SELECT MAX(msg_id) FROM {$CONFIG['TABLE_PREFIX']}fr_messages GROUP BY topic_id) ORDER BY msg_id DESC LIMIT $forum_limit");

[edit by muu: code correction]

yes but when I reply on a topic than the topic must skip on the top like in this smf board in the recent post section? like the boardview..I hope you can me help

Title: disable guest to see forum?
Post by: mahdi1234 on August 08, 2008, 12:17:50 am
Cool plugin.

I have one question - is it possible to make forum completely invisible for guests? When set "Allow guests to browse the forum" to "No" they can navigate thru structure, but I would like guest not to be able do so.

thx,
mahdi
Title: Re: Coppermine Forum Plugin (cpgforum)
Post by: streetart on August 08, 2008, 01:05:14 am
you can hide the link for guest.

Code: [Select]
<?php if (!defined('IN_COPPERMINE')) die('Not in Coppermine...');


if (!
USER_ID) {
       
$user_group USER_GROUP;
echo<<<EOT


content

EOT;

      } else if (
USER_GROUP=='Registered') {
      
$user_name USER_NAME;
$user_group USER_GROUP;
echo<<<EOT

content


EOT;


} else if (USER_GROUP=='Administrators') {
   
$user_name USER_NAME;
$user_group USER_GROUP;
echo<<<EOT

content

EOT;
        
}
?>
Title: Re: Coppermine Forum Plugin (cpgforum)
Post by: Αndré on August 08, 2008, 07:42:32 am
yes but when I reply on a topic than the topic must skip on the top like in this smf board in the recent post section? like the boardview..I hope you can me help

Have you tried my instructions? I think you haven't.
Your question was, how to show the latest posts on an extra page.

Here again:

Use this code, to show the latest posts, even if they are in the same topic:
Code: [Select]
  $forum_limit = 5;
  if (is_numeric($_POST['limit_forum']))
    $forum_limit = $_POST['limit_forum'];
  if ($forum_limit > 50)
    $forum_limit = 50;
  if ($forum_limit < 5)
    $forum_limit = 5;

  $text_forum = "<input type=\"text\" class=\"textinput\" name=\"limit_forum\" size=\"3\" value=\"$forum_limit\" style=\"padding-top:0px;padding-bottom:0px;\" />";
  starttable("100%", "<form method=\"post\" action=\"#forum\" style=\"margin-bottom:0;margin-top:0\">Die letzten $text_forum Beitr&auml;ge im Forum</form>");

  $forum = cpg_db_query("SELECT * FROM {$CONFIG['TABLE_PREFIX']}fr_messages m INNER JOIN {$CONFIG['TABLE_PREFIX']}fr_topics t ON m.topic_id = t.topic_id ORDER BY msg_id DESC LIMIT $forum_limit");

  while ($post = mysql_fetch_array($forum, MYSQL_ASSOC))
  {
    $topic_total_page = ceil($post['replies']/$CONFIG['fr_msg_per_page']);
    $topic = $post['topic_id'];
    $topic .= "&amp;start=".($topic_total_page-1)*$CONFIG['fr_msg_per_page'];
    $topic .= "#".$post['msg_id'];

    echo "<tr><td class=\"tableb\">".date("d.m.Y H:i",$post['poster_time'])." - neuer Beitrag von ".$post['poster_name']." im Thema '<a href=\"forum.php?topic=$topic\" target=\"_self\">".str_replace("Re: ","",$post['subject'])."</a>'</td></tr>";
  }
  endtable();


Use this code, to show the topics with the latest posts:
Code: [Select]
  $forum_limit = 5;
  if (is_numeric($_POST['limit_forum']))
    $forum_limit = $_POST['limit_forum'];
  if ($forum_limit > 50)
    $forum_limit = 50;
  if ($forum_limit < 5)
    $forum_limit = 5;

  $text_forum = "<input type=\"text\" class=\"textinput\" name=\"limit_forum\" size=\"3\" value=\"$forum_limit\" style=\"padding-top:0px;padding-bottom:0px;\" />";
  starttable("100%", "<form method=\"post\" action=\"#forum\" style=\"margin-bottom:0;margin-top:0\">Die letzten $text_forum Beitr&auml;ge im Forum</form>");

  $forum = cpg_db_query("SELECT * FROM {$CONFIG['TABLE_PREFIX']}fr_messages m INNER JOIN {$CONFIG['TABLE_PREFIX']}fr_topics t ON m.topic_id = t.topic_id WHERE msg_id IN (SELECT MAX(msg_id) FROM {$CONFIG['TABLE_PREFIX']}fr_messages GROUP BY topic_id) ORDER BY msg_id DESC LIMIT $forum_limit");

  while ($post = mysql_fetch_array($forum, MYSQL_ASSOC))
  {
    $topic_total_page = ceil($post['replies']/$CONFIG['fr_msg_per_page']);
    $topic = $post['topic_id'];
    $topic .= "&amp;start=".($topic_total_page-1)*$CONFIG['fr_msg_per_page'];
    $topic .= "#".$post['msg_id'];

    echo "<tr><td class=\"tableb\">".date("d.m.Y H:i",$post['poster_time'])." - neuer Beitrag von ".$post['poster_name']." im Thema '<a href=\"forum.php?topic=$topic\" target=\"_self\">".str_replace("Re: ","",$post['subject'])."</a>'</td></tr>";
  }
  endtable();



[update 2008-12-05]
The code above is for version 1.x of cpgforum. If you want to use it for version 2.x, just replace
Code: [Select]
echo "<tr><td class=\"tableb\">".date("d.m.Y H:i",$post['poster_time'])." - neuer Beitrag von ".$post['poster_name']." im Thema '<a href=\"forum.php?topic=$topic\" target=\"_self\">".str_replace("Re: ","",$post['subject'])."</a>'</td></tr>";with
Code: [Select]
echo "<tr><td class=\"tableb\">".date("d.m.Y H:i",$post['poster_time'])." - neuer Beitrag von ".$post['poster_name']." im Thema '<a href=\"forum.php?c=message&id={$post['msg_id']}\" target=\"_self\">".str_replace("Re: ","",$post['subject'])."</a>'</td></tr>";
Title: Re: disable guest to see forum?
Post by: Αndré on August 08, 2008, 07:48:18 am
Cool plugin.

I have one question - is it possible to make forum completely invisible for guests? When set "Allow guests to browse the forum" to "No" they can navigate thru structure, but I would like guest not to be able do so.

thx,
mahdi

Open forum.php, find (should be line 11):
Code: [Select]
require_once("adaptor/include/functions.inc.php");
after, add:
Code: [Select]
// disable forum for guests
if (!USER_ID)
  cpg_die(ERROR, $lang_errors['access_denied'], __FILE__, __LINE__);
Title: Re: Coppermine Forum Plugin (cpgforum)
Post by: streetart on August 09, 2008, 01:04:52 am
Hey thx and sry, my mistake.. Another question. Is there also possible to display the newest post since last visit? that was nice...
Title: Re: Coppermine Forum Plugin (cpgforum)
Post by: Αndré on August 09, 2008, 11:24:01 am
No it's not possible, because it's not recorded in the database yet.
When foulu give me his local copy, i want to implement this feature and release it.
Title: Re: Coppermine Forum Plugin (cpgforum)
Post by: streetart on August 12, 2008, 07:38:07 pm
foulu is there possible what eenemeenemuu mean?
Title: Re: Coppermine Forum Plugin (cpgforum)
Post by: .JRauck on August 13, 2008, 10:03:22 am
I don't understand how to install this... I read the read me on how to install plugins but it didn't help much. I first changed the plugin permission to 777. I then logged in on coppermine as an admin. I went to config. > general settings > enabled plugins > clicked on (Manage Plugins) > Browse > Uploaded the zipped file, when I clicked on upload it looked like it just reloaded the page but when I went under my plugin folder on my server there were files there. I reloaded the plugin manager page but it didnt add the plugin under the sample plugins.

I would be appreciated if someone would help me...
Title: Re: Coppermine Forum Plugin (cpgforum)
Post by: Αndré on August 13, 2008, 10:07:41 am
rtfm >:(
To install just extract & copy all the file to your coppermine folder then go to plugin manager to install it. Forum address will be: {CPG_DIR}/forum.php.

You can't "install" it by only visiting the plugin manager.
Title: Re: Coppermine Forum Plugin (cpgforum)
Post by: .JRauck on August 14, 2008, 01:25:27 am
After I send the folder to my coppermine folder where do I go to install it on the plugins manager?
Title: Re: Coppermine Forum Plugin (cpgforum)
Post by: Αndré on August 14, 2008, 06:27:35 am
Which folder? Extract the package and upload the whole structure to your cpg directory! After doing this, you can go to pluginmgr.php and install it.
Title: Re: Coppermine Forum Plugin (cpgforum)
Post by: Hein Traag on August 14, 2008, 08:28:09 am
Which folder? Extract the package and upload the whole structure to your cpg directory! After doing this, you can go to pluginmgr.php and install it.

[hold-hand-mode]
cpg-root-dir - plugins - forumfolder
[/hold-hand-mode]

Extraxt the zip and upload the extracted dir into the plugins folder. Fire up cpg admin plugin manager and click on the i to install the plugin.
Title: Re: Coppermine Forum Plugin (cpgforum)
Post by: Αndré on August 14, 2008, 08:46:11 am
Extraxt the zip and upload the extracted dir into the plugins folder. Fire up cpg admin plugin manager and click on the i to install the plugin.
This isn't correct. You have to extract the zip and upload the whole structure to cpg root dir.
Title: Re: Coppermine Forum Plugin (cpgforum)
Post by: Hein Traag on August 14, 2008, 12:00:54 pm
True. Part of it anyway. Caffeine now inserted into system. ;)
Title: Re: Coppermine Forum Plugin (cpgforum)
Post by: .JRauck on August 15, 2008, 06:34:01 am
Well this is where I put the folder: [always attach pics to post - Hein]

I don't understand where I go under the Plugin Manager to install this... : [always attach pics to post - Hein]
Title: Re: Coppermine Forum Plugin (cpgforum)
Post by: foulu on August 15, 2008, 08:49:31 am
Well this is where I put the folder: [always attach pics to post - Hein]

I don't understand where I go under the Plugin Manager to install this... : [always attach pics to post - Hein]

Copy all file in folder cpgforum_v_1.1.3 to your Coppermine folder and try again.
Title: Re: Coppermine Forum Plugin (cpgforum)
Post by: streetart on August 15, 2008, 09:49:45 pm
No it's not possible, because it's not recorded in the database yet.
When foulu give me his local copy, i want to implement this feature and release it.

hey foulu? can you give enemenemou the local copy or how I must understand that?
Title: Re: Coppermine Forum Plugin (cpgforum)
Post by: foulu on August 16, 2008, 03:03:33 am
hey foulu? can you give enemenemou the local copy or how I must understand that?

My answer is no. Please patient and wait until version 2x release. It will be much better than the old one.
Title: Re: Coppermine Forum Plugin (cpgforum)
Post by: streetart on August 16, 2008, 04:01:29 pm
hm ok..and when is the version 2. finish?
Title: Re: Coppermine Forum Plugin (cpgforum)
Post by: foulu on August 16, 2008, 06:17:01 pm
hm ok..and when is the version 2. finish?

Well, You guys have to wait. I don't know extractly the release day. I have other things to do, too.
Title: Re: Coppermine Forum Plugin (cpgforum)
Post by: .JRauck on August 16, 2008, 09:38:06 pm
Thanks guys for the help, was able to install it fine after the help.
When version 2 comes out would I have to reinstall the forum or just update it?
Title: Re: Coppermine Forum Plugin (cpgforum)
Post by: foulu on August 17, 2008, 04:43:09 am
Thanks guys for the help, was able to install it fine after the help.
When version 2 comes out would I have to reinstall the forum or just update it?

Update, It still use the old database struct.
Title: Re: Coppermine Forum Plugin (cpgforum)
Post by: Gephri on August 19, 2008, 12:28:58 am
I see that you had the 'vision' to put in a Bad Word Filter.

Can you tell me how to activate it?
Title: Re: Coppermine Forum Plugin (cpgforum)
Post by: foulu on September 08, 2008, 12:47:18 pm
Hi,

I have news: http://cpgsf.amfcvn.net/forum.php (http://cpgsf.amfcvn.net/forum.php)

This is my new forum plugin version (2.0 Beta) that I build so far. Check this message for more details:

http://cpgsf.amfcvn.net/forum.php?c=topic&id=1&start=0#1 (http://cpgsf.amfcvn.net/forum.php?c=topic&id=1&start=0#1)
Title: Re: Coppermine Forum Plugin (cpgforum)
Post by: Αndré on September 08, 2008, 04:36:07 pm
Hi,

I have news: http://cpgsf.amfcvn.net/forum.php?c=topic&id=1&start=0#1 (http://cpgsf.amfcvn.net/forum.php?c=topic&id=1&start=0#1)

This is my new forum plugin version (2.0 Beta) that I build so far. Check this message for more details:

http://cpgsf.amfcvn.net/forum.php?c=topic&id=1&start=0#1 (http://cpgsf.amfcvn.net/forum.php?c=topic&id=1&start=0#1)
Good work foulu. Let me know, if I can make a language file and/or check for bugs, too  8)
Title: Re: Coppermine Forum Plugin (cpgforum)
Post by: foulu on September 09, 2008, 04:54:42 am
@eenemeenemuu: I will release the file soon (in this week). After that I need bug tracking & languages checking from every part of the plugin. It much bigger than the old one so it's more bugs, but I think it is better  ;D

Also, I want to use http://cpgsf.amfcvn.net/forum.php as the site for the plugin rather than a topic in coppermine forum. We will hardly found any information in one topic with thousand of post. It's what I think !

Also, if anyone want to get involve with the plugin, I will welcome.

Thanks!
Title: Re: Coppermine Forum Plugin (cpgforum)
Post by: Αndré on September 09, 2008, 08:40:44 am
Also, I want to use http://cpgsf.amfcvn.net/forum.php as the site for the plugin rather than a topic in coppermine forum. We will hardly found any information in one topic with thousand of post.
I agree that it's very hard to find something in this topic. That's why I posted something (http://cpgsf.amfcvn.net/forum.php?c=topic&id=2) in your board ;)
When cpgforum 2 will be released to the public, you should announce this and the url to your support forum in the first post.

Also, if anyone want to get involve with the plugin, I will welcome.
I will contribute, give support and test the whole plugin as usual!

Title: Re: Coppermine Forum Plugin (cpgforum)
Post by: foulu on September 10, 2008, 12:16:27 pm
@eenemeenemuu: thanks for you support. I will update the first post as well. And I already upload the plugin file to the demo forum. Check the gallery file for it.

http://cpgsf.amfcvn.net/displayimage.php?pos=-1 (http://cpgsf.amfcvn.net/displayimage.php?pos=-1)
Title: Re: Coppermine Forum Plugin (cpgforum)
Post by: streetart on September 13, 2008, 10:02:39 pm
Hey Foulu

I need only one board in the forum. I want the content of "/forum.php?board=1" display on forum.php

can you help me?

thx a lot
Title: Re: Coppermine Forum Plugin (cpgforum)
Post by: Fabricio Ferrero on September 14, 2008, 03:08:21 am
Good work foulu! I'm waiting for the v2.0 stable to provide an spanish file. I'm not user of this plugin right now but maybe in a near future.

Cheers
Title: Re: Coppermine Forum Plugin (cpgforum)
Post by: foulu on September 14, 2008, 04:57:05 am
@fabri: I will make it stable as soon as possible  :)
@streetart: please go to my forum, register an account an post there.
Title: Re: Coppermine Forum Plugin (cpgforum)
Post by: Gutty on September 21, 2008, 08:21:53 am
hey guys.

Great work on the forum foulu. beats using other systems that dont match.

I have a small issue of the width of the forum display is too narrow as to the general template. Ive lookied through the general files but nothing sticks out, that could be it.

can anyone help?

http://nztoyz.com/forum.php

thanks alot.
Title: Re: Coppermine Forum Plugin (cpgforum)
Post by: foulu on September 21, 2008, 08:58:43 am
@Gutty: You are using an old version, grab the latest one here: http://cpgsf.amfcvn.net/release/cpgsf_2_0_beta_1.zip
and here is the upgrade document (http://cpgsf.amfcvn.net/forum.php?c=message&id=22). About the forum width, change its setting by change "Width of the table for file display (pixels or %)" in coppermine config page.
Title: Re: Coppermine Forum Plugin (cpgforum)
Post by: Gutty on September 22, 2008, 06:15:45 am
great! thanks for that.
good to see the seperate dir too :D

keep it up! _b
Title: Re: Coppermine Forum Plugin (cpgforum)
Post by: Gutty on September 22, 2008, 06:44:24 am
i dont mean to flood the topic.
how can i signup to your test site ? or would you prefer not to ?

do you have plans to add things like specific usergroup based hidden boards, that show only to the assigned usergroup?
and maybe the ability to lock specific boards down, but able to view. only admin can post type thing.

version 2 is really nice :D
Title: Re: Coppermine Forum Plugin (cpgforum)
Post by: foulu on September 22, 2008, 06:50:02 am
The link to register an account in my test forum is: http://cpgsf.amfcvn.net/register.php. I think it isn't necessary but I'd like  to recomend you make an account there.

About the new feature, I already note in down in my to-do list. Those day, I was busy to interview for a job so I have so little time with the forum. But if things go well, I will continue to enhance it.
Title: Re: Coppermine Forum Plugin (cpgforum)
Post by: Meelis on September 23, 2008, 02:34:07 pm
Hi,

I have one simple problem... something wrong with theme in forum main page. I installed the forum twice and still the same problem... What file i should edit to fix it and what i should edit there? I am translate the forum to Estonian but its bad to do when i see that something wrong with page.  :) Maybe my qestion looks fool but i am beginner in php sry ::)

page >>>  http://hullumajand.pri.ee/forum.php (http://hullumajand.pri.ee/forum.php)
Title: Re: Coppermine Forum Plugin (cpgforum)
Post by: foulu on September 23, 2008, 02:52:42 pm
@Meelis: It's a bug in my plugin. Sorry about that. I already fixed it in my localhost but I need some time before release it. So here is a fast solution:

open forum/templates/classic/home/index_view.php

Find

Code: [Select]
foreach ($categories as $k => $category) {
remove all code before it and replace with:

Code: [Select]
<?php
if (check_model::getInstance()->is_user()) {
echo table::open(0);
echo table::tds(array(
array('align'=>'left''text'=>
    
forum::seperate(array(
html::anchor('forum.php?c=home&amp;m=mark_all_read',    html::bold(Lang::item('home.mark_as_read'))),
html::anchor('forum.php?c=search&amp;m=new_topics',     Lang::item('home.new_topcis')),
html::anchor('forum.php?c=search&amp;m=active_topics',  Lang::item('home.active_topcis')),
html::anchor('forum.php?c=search&amp;m=pending_topics'Lang::item('home.pending_topcis'))
))
),
    
array('align'=>'right''text'=>sprintf(Lang::item('home.user_q_stats'), $user_posts$last_visit)),
));
    echo 
table::close();
}
Title: Re: Coppermine Forum Plugin (cpgforum)
Post by: Meelis on September 23, 2008, 03:02:44 pm
Tnx!

Now looks much better  ;D
Title: Re: Coppermine Forum Plugin (cpgforum)
Post by: Meelis on September 23, 2008, 05:20:39 pm
Next bug discovered... what is what? One of them should be something else.  ???


In admin.php only one line whit this text (    'msg_per_page'         => 'Number of messages per page in a topic page',)   but in picture you can see this text in two different places

Title: Re: Coppermine Forum Plugin (cpgforum)
Post by: Αndré on September 23, 2008, 05:46:39 pm
1. Please don't hotlink pictures. Attach them instead in future.
2. Which version do you use? 1 or 2?
3.
Also, I want to use http://cpgsf.amfcvn.net/forum.php as the site for the plugin rather than a topic in coppermine forum. We will hardly found any information in one topic with thousand of post. It's what I think !
Title: Re: Coppermine Forum Plugin (cpgforum)
Post by: Meelis on September 23, 2008, 06:08:14 pm
Should be 2 beta version... (cpgsf_2_0_beta_0)
Title: Re: Coppermine Forum Plugin (cpgforum)
Post by: foulu on September 23, 2008, 06:21:45 pm
@Meelis

Open templates/classic/admin/setting_view.php

replace line 59 with

Code: [Select]
array('class'=>'tableb', 'width'=>'50%', 'text'=>Lang::item('admin.max_word_length')),
replace line 73 with:

Code: [Select]
    array('class'=>'tableb', 'width'=>'50%', 'text'=>form::text('fr_signature_max_size', Config::item('fr_signature_max_size'))),
Title: Re: Coppermine Forum Plugin (cpgforum)
Post by: Meelis on September 24, 2008, 10:02:01 am
Next thing what i discovered. After plugin install in forum i don't see corrctly next letters ( ü õ ö ä Ü Õ Ö Ä). But in the same time in album i see them correctly. In gallery i am using unicode (utf-8). What can be the problem and how to resolve this?
Title: Re: Coppermine Forum Plugin (cpgforum)
Post by: Αndré on September 24, 2008, 11:34:35 am
Hey foulu.. you can't view topics in your online forum since a few hours: e.g. http://cpgsf.amfcvn.net/forum.php?c=topic&id=16
Title: Re: Coppermine Forum Plugin (cpgforum)
Post by: foulu on September 24, 2008, 12:09:33 pm
@Meelis: I have a view in your site and I saw those character display fine. Did you change to Character Encoding to utf-8 ?
@eenemeenemuu: what's do you mean ? I still can access the link in your topic.
Title: Re: Coppermine Forum Plugin (cpgforum)
Post by: Αndré on September 24, 2008, 12:56:57 pm
Sorry foulu, it was a browser issue. After cleaning my cookies it works again :) - before I got a blank page.
Title: Re: Coppermine Forum Plugin (cpgforum)
Post by: Meelis on September 24, 2008, 01:19:38 pm
@Meelis: I have a view in your site and I saw those character display fine. Did you change to Character Encoding to utf-8 ?
@eenemeenemuu: what's do you mean ? I still can access the link in your topic.


Yes if you look at the moment my page then is everything ok because i changed those letters with this codes http://www.natural-innovations.com/wa/doc-charset.html (http://www.natural-innovations.com/wa/doc-charset.html) Only this how it shows letters ok. If i type the correct letter then i dont see them correctly. It also happent whit the other installed plugins. If you want to how it looks like then look at the bottom of my site and there is main text of online stats. I see for one letter square symbol. The line on text file is >>> 'name'                =>'Online Tä&#228;na', In album still Character Encoding utf-8. Like you see if in album character encoding is utf-8 then in plugins those letters dont work. Also in forum plugin.

http://hullumajand.pri.ee (http://hullumajand.pri.ee)
Title: Re: Coppermine Forum Plugin (cpgforum)
Post by: Αndré on September 24, 2008, 01:32:23 pm
@eenemeenemuu: what's do you mean ? I still can access the link in your topic.
I can access topics only when I'm logged out. When I'm logged in I get a blank page ???
Title: Re: Coppermine Forum Plugin (cpgforum)
Post by: Meelis on September 24, 2008, 03:00:52 pm
In forum if to leav message text box empty when reply a message then coming up a error

 
Fatal error: Call to undefined method table::title() in d:\www\forum\templates\classic\topic\reply_view.php on line 31
Topic reply:
Title: Re: Coppermine Forum Plugin (cpgforum)
Post by: foulu on September 24, 2008, 06:35:02 pm
@Meelis:
open "forum/templates/classic/topic/reply_view.php"

In line 31. Replace
Code: [Select]
print table::td(table::error($errors), 2, 'tableh2');with
Code: [Select]
print table::td(table::error($errors), 2, 'tableh2');
Title: Re: Coppermine Forum Plugin (cpgforum)
Post by: foulu on September 24, 2008, 06:36:46 pm
I will looking for a solution when I have some free time.

Yes if you look at the moment my page then is everything ok because i changed those letters with this codes http://www.natural-innovations.com/wa/doc-charset.html (http://www.natural-innovations.com/wa/doc-charset.html) Only this how it shows letters ok. If i type the correct letter then i dont see them correctly. It also happent whit the other installed plugins. If you want to how it looks like then look at the bottom of my site and there is main text of online stats. I see for one letter square symbol. The line on text file is >>> 'name'                =>'Online Tä&#228;na', In album still Character Encoding utf-8. Like you see if in album character encoding is utf-8 then in plugins those letters dont work. Also in forum plugin.

http://hullumajand.pri.ee (http://hullumajand.pri.ee)
Title: Re: Coppermine Forum Plugin (cpgforum)
Post by: foulu on September 24, 2008, 07:19:26 pm
I can access topics only when I'm logged out. When I'm logged in I get a blank page ???

Fixed. Also updated the beta/1a file.
Title: Re: Coppermine Forum Plugin (cpgforum)
Post by: Meelis on September 25, 2008, 01:08:29 pm
Next errors... In forum main page does'nt work a 4 buttons. I dont know anymore how those button called in english because i translated them allready to Estonian. Button functions are 'mark_as_read' 'new_topcis' 'active_topcis' and 'pending_topcis'     ???
Title: Re: Coppermine Forum Plugin (cpgforum)
Post by: foulu on September 25, 2008, 01:48:50 pm
It's uncompleted new feature of the forum. Anyway, thank you for reporting it  ;)

And one more thing, if you want to translate my forum to your language: create a folder name "estonian" in "forum/languages" and put your translate file there. It will display when you choose "estonian" as your gallery language.

Title: Re: Coppermine Forum Plugin (cpgforum)
Post by: Meelis on September 26, 2008, 11:48:08 am
Hi,

I almost done whit your forum translation... about 90% I will wait until you will finish the forum finally and then i will make the last translations.
Title: Re: Coppermine Forum Plugin (cpgforum)
Post by: streetart on September 26, 2008, 07:53:51 pm
hello..is there possible to display the posts in the forum like the comments in the profil?
or the count of the posts in forum?=

thx
Title: Re: Coppermine Forum Plugin (cpgforum)
Post by: foulu on September 26, 2008, 08:03:12 pm
@Meelis: I'm in critical time because I will have a job soon. But I will develop the forum plugin as fast as I can.
@streetart: I can't get the ideal ??? ? Could you explain it more clearly to me.
Title: Re: Coppermine Forum Plugin (cpgforum)
Post by: streetart on September 26, 2008, 08:47:33 pm
in the profil of cpg..its display the last comments, which I make on the photos. Is that also for the forum possible?

-and can I display the count of posts in the forum, which I make? like: Forumposts: 12

Title: Re: Coppermine Forum Plugin (cpgforum)
Post by: Αndré on September 27, 2008, 12:36:43 am
-and can I display the count of posts in the forum, which I make? like: Forumposts: 12
It's already displayed in the forum: "You have posted 17 times | Your last visit: Sep 26 2008 15:33:26".

in the profil of cpg..its display the last comments, which I make on the photos. Is that also for the forum possible?
It should be possible. Compare with and adapt from http://forum.coppermine-gallery.net/index.php/topic,55227.0.html
Title: Re: Coppermine Forum Plugin (cpgforum)
Post by: streetart on September 27, 2008, 11:52:56 am
thx..but I want the display of (forumposts: 12) in the profil and not in the forum.
Title: Re: Coppermine Forum Plugin (cpgforum)
Post by: foulu on September 27, 2008, 11:56:42 am
I decide to not include this feature in my plugin because we need to modify "profile.php" which is a core file.
Title: Re: Coppermine Forum Plugin (cpgforum)
Post by: foulu on October 02, 2008, 03:29:27 pm
New update

http://cpgsf.amfcvn.net/forum.php?c=message&id=61 (http://cpgsf.amfcvn.net/forum.php?c=message&id=61)
Title: Re: Coppermine Forum Plugin (cpgforum)
Post by: Super Noodles on October 16, 2008, 09:00:03 pm
When I upload this through the Plugin Manager it uploads but doesn't show in the Plugins list but when I goto Plugins folder via FTP the files are there. All other plugins upload fine, I tested the JUpload plugin just to make sure and that uploaded an installed fine :)
Title: Re: Coppermine Forum Plugin (cpgforum)
Post by: Super Noodles on October 17, 2008, 01:01:34 pm
Ignore the last post, I've managed to get this installed, right I've noticed a bug, I have boards with no posts in yet the icon_board_new.gif (new posts image) is showing, the icon_board.gif (no posts image) should be showing. ;D
Title: Re: Coppermine Forum Plugin (cpgforum)
Post by: foulu on October 17, 2008, 04:45:41 pm
This feature still not implement in my plugin due to lack of time. Sorry !
Title: Re: Coppermine Forum Plugin (cpgforum)
Post by: ibanez on November 27, 2008, 08:28:56 pm
Hi everyone,

The coppermine simple forum plugin reach version 2.0/beta/0 and the old 1.x.x version is discontinue. From now, I will use

http://cpgsf.amfcvn.net/forum.php (http://cpgsf.amfcvn.net/forum.php)

as the support forum for the plugin. Only one topic is just not enough for me.

Please check my forum for release files.

Thanks !

Hello,
Nice work. I'm use my site. How is make,view last 10 topic another php page
Thanks
Title: Re: Coppermine Forum Plugin (cpgforum)
Post by: Αndré on November 27, 2008, 08:52:03 pm
How is make,view last 10 topic another php page
See http://forum.coppermine-gallery.net/index.php/topic,51535.msg264724.html#msg264724
Title: Re: Coppermine Forum Plugin (cpgforum)
Post by: ibanez on November 28, 2008, 11:09:31 am
See http://forum.coppermine-gallery.net/index.php/topic,51535.msg264724.html#msg264724
Thanks,
But, I can't run this code, only white page displayed

please help

thanks
Title: Re: Coppermine Forum Plugin (cpgforum)
Post by: Αndré on November 28, 2008, 11:12:51 am
If you want to use my code in a new file, you have to put it between
Code: [Select]
<?php
define
('IN_COPPERMINE'true);
require(
'include/init.inc.php');
pageheader();
and
Code: [Select]
pagefooter();
?>
Title: Re: Coppermine Forum Plugin (cpgforum)
Post by: ibanez on November 28, 2008, 11:31:47 am
If you want to use my code in a new file, you have to put it between
Code: [Select]
<?php
define
('IN_COPPERMINE'true);
require(
'include/init.inc.php');
pageheader();
and
Code: [Select]
pagefooter();
?>

Yes, new file
I'm make a new file, but not working
Code: [Select]
<?php 

define
('IN_COPPERMINE'true);
define('INDEX_PHP'true);
require(
'include/init.inc.php');
 
//How many items you want to show
$forum_limit 5;
  if (
is_numeric($_POST['limit_forum']))
    
$forum_limit $_POST['limit_forum'];
  if (
$forum_limit 50)
    
$forum_limit 50;
  if (
$forum_limit 5)
    
$forum_limit 5;

  
$text_forum "<input type=\"text\" class=\"textinput\" name=\"limit_forum\" size=\"3\" value=\"$forum_limit\" style=\"padding-top:0px;padding-bottom:0px;\" />";
  
starttable("100%""<form method=\"post\" action=\"#forum\" style=\"margin-bottom:0;margin-top:0\">Die letzten $text_forum Beitr&auml;ge im Forum</form>");

  
$forum cpg_db_query("SELECT * FROM {$CONFIG['TABLE_PREFIX']}fr_messages m INNER JOIN {$CONFIG['TABLE_PREFIX']}fr_topics t ON m.topic_id = t.topic_id WHERE msg_id IN (SELECT MAX(msg_id) FROM {$CONFIG['TABLE_PREFIX']}fr_messages GROUP BY topic_id) ORDER BY msg_id DESC LIMIT $forum_limit");

  while (
$post mysql_fetch_array($forumMYSQL_ASSOC))
  {
    
$topic_total_page ceil($post['replies']/$CONFIG['fr_msg_per_page']);
    
$topic $post['topic_id'];
    
$topic .= "&amp;start=".($topic_total_page-1)*$CONFIG['fr_msg_per_page'];
    
$topic .= "#".$post['msg_id'];

    echo 
"<tr><td class=\"tableb\">".date("d.m.Y H:i",$post['poster_time'])." - neuer Beitrag von ".$post['poster_name']." im Thema '<a href=\"forum.php?topic=$topic\" target=\"_self\">".str_replace("Re: ","",$post['subject'])."</a>'</td></tr>";
  
}

?>
Title: Re: Coppermine Forum Plugin (cpgforum)
Post by: Αndré on November 28, 2008, 11:36:02 am
Put your new file in your cpg directory (where index.php etc. are located). I tested your code and it works!
Title: Re: Coppermine Forum Plugin (cpgforum)
Post by: ibanez on November 28, 2008, 12:14:27 pm
Put your new file in your cpg directory (where index.php etc. are located). I tested your code and it works!

Ok,
Thanks
Title: Re: Coppermine Forum Plugin (cpgforum)
Post by: ibanez on December 01, 2008, 11:10:57 pm
Put your new file in your cpg directory (where index.php etc. are located). I tested your code and it works!
Ok, forum is good working. But, I'm clicking the topic and go to wrong target. Goto forum main page .
Please help..

Thanks
Title: Re: Coppermine Forum Plugin (cpgforum)
Post by: Αndré on December 02, 2008, 07:04:54 am
Which version are you using? My code is for version 1.x
Title: Re: Coppermine Forum Plugin (cpgforum)
Post by: ibanez on December 02, 2008, 09:01:05 am
Which version are you using? My code is for version 1.x

2.0 Beta

Thanks
Title: Re: Coppermine Forum Plugin (cpgforum)
Post by: Αndré on December 02, 2008, 10:45:21 am
2.0 Beta

Thanks
I'll update the code for version 2 some time soon.
Title: Re: Coppermine Forum Plugin (cpgforum)
Post by: ibanez on December 02, 2008, 02:27:47 pm
I'll update the code for version 2 some time soon.
ok, I'm waiting you

Thanks
Title: Re: Coppermine Forum Plugin (cpgforum)
Post by: ibanez on December 02, 2008, 05:11:11 pm
I'll update the code for version 2 some time soon.
Sorry,
I have another a question!
How can use avatars for this module in CPG?

Thanks
Title: Re: Coppermine Forum Plugin (cpgforum)
Post by: Αndré on December 02, 2008, 05:42:02 pm
How can use avatars for this module in CPG?
You said that you are using version 2 of cpgforum. Avatars are a standard feature in version 2. Just click on "forum profile" in your cpgforum or visit forum.php?c=profile manually ::)
Title: Re: Coppermine Forum Plugin (cpgforum)
Post by: Αndré on December 05, 2008, 03:16:39 pm
I'll update the code for version 2 some time soon.
@ibanez and other interested people: I have updated my code. Please have a look at the bottom of this post (http://forum.coppermine-gallery.net/index.php/topic,51535.msg264724.html#msg264724). There is explained, how you can use it for version 2.x of cpgforum.
Title: Re: Coppermine Forum Plugin (cpgforum)
Post by: ibanez on December 05, 2008, 10:13:31 pm
@ibanez and other interested people: I have updated my code. Please have a look at the bottom of this post (http://forum.coppermine-gallery.net/index.php/topic,51535.msg264724.html#msg264724). There is explained, how you can use it for version 2.x of cpgforum.
Thanks reply me,

But my problem :
http://www.fotokafe.net/cpg/lasttopic.php (http://www.fotokafe.net/cpg/lasttopic.php) I'm clicking the latest topic and open forum mainpage. I want opening the topic page.

Thanks
Title: Re: Coppermine Forum Plugin (cpgforum)
Post by: Αndré on December 05, 2008, 10:17:08 pm
Thanks reply me,

But my problem :
http://www.fotokafe.net/cpg/lasttopic.php (http://www.fotokafe.net/cpg/lasttopic.php) I'm clicking the latest topic and open forum mainpage. I want opening the topic page.

Thanks
Dude. Read my instructions at the bottom of my post. You have to replace some code!
Title: Re: Coppermine Forum Plugin (cpgforum)
Post by: ibanez on December 05, 2008, 10:42:17 pm
Dude. Read my instructions at the bottom of my post. You have to replace some code!

I'm so sorry, I was seeing only full code

Thanks..
Title: Re: Coppermine Forum Plugin (cpgforum)
Post by: Manif on January 01, 2009, 07:48:03 pm
how I can disable automatic forum link in menu? I want to do it on my own
Title: Re: Coppermine Forum Plugin (cpgforum)
Post by: Manif on January 01, 2009, 07:56:24 pm
how I can disable automatic forum link in menu? I want to do it on my own
Solved:P
Title: Re: Coppermine Forum Plugin (cpgforum)
Post by: Joachim Müller on January 02, 2009, 10:04:47 am
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.
. Just posting "solved" is nonsensical and selfish.
Title: Re: Coppermine Forum Plugin (cpgforum)
Post by: Αndré on January 02, 2009, 10:13:15 am
Solution for:
how I can disable automatic forum link in menu? I want to do it on my own


Open plugins/adaptor/codebase.php and comment out
Code: [Select]
adaptor_sys_user_button('forum.php','Forum','','Forum');

Button placement was already explained in this post (http://forum.coppermine-gallery.net/index.php/topic,51535.msg263443.html#msg263443).
Title: Charset problem
Post by: Manif on January 04, 2009, 04:48:25 pm
So basicly there are some issues with charset on my site. I can not use polish chars instead of them im getting some random chars. Im using standard charset ive tried to change it bu bothib ha happend. You can check it on fun.serenetrinity.net (in the forum the only topic) i hope you guys have my point and you can help me cheers manif
Title: Re: Charset problem
Post by: François Keller on January 04, 2009, 05:03:23 pm
The gallery works as expected for me, it's only the forum who have a problem. You should ask directly on the related thread.
I merge this with the forum plugin thread
Title: Re: Coppermine Forum Plugin (cpgforum)
Post by: stardust on January 18, 2009, 02:41:10 am
Is there a way to increase the character limit when posting?

When posting topics/replying to topics in the forum plugin, it seems like only 400-500 characters are allowed per post. How can I increase this? I tried looking into phpMyAdmin but I couldn't find the setting
Title: Re: Coppermine Forum Plugin (cpgforum)
Post by: stardust on January 18, 2009, 03:38:28 am
Is there a way to increase the character limit when posting?

When posting topics/replying to topics in the forum plugin, it seems like only 400-500 characters are allowed per post. How can I increase this? I tried looking into phpMyAdmin but I couldn't find the setting

NVM, I figured it out :D

In cpg14x_config of phpMyAdmin, there is fr_msg_max_size & you can just edit the # of characters there. You can also change maximum avatar size, sig settings, etc.

I kept looking in looking in cpg14x_fr_NAME type links but it was in the config the whole time -_-;
Title: Re: Coppermine Forum Plugin (cpgforum)
Post by: Heroe on January 21, 2009, 03:39:34 pm
I find maybe bug in the forum plugin.I uninstall the plugin from plugin manager some time ago and press delete tables "Yes" to remove the tables created in phpmyadmin but i still have two tables not deleted in my phpmyadmin

Quote
fr_badwords
fr_notify

i don't know if this is bug ore not i just want to report it :)
Title: Re: Coppermine Forum Plugin (cpgforum)
Post by: Αndré on January 21, 2009, 04:08:34 pm
I will fix this in svn version.
Title: Re: Coppermine Forum Plugin (cpgforum)
Post by: Heroe on January 21, 2009, 04:19:46 pm
waiting for the stable version thanks for the fix .
Title: Re: Coppermine Forum Plugin (cpgforum)
Post by: Αndré on April 29, 2009, 07:57:34 pm
Foulu, your website doesn't work anymore. Additionally, I made some bugfixes/improvements/etc since your beta_1a release.
I haven't touched my last version since 3 months now :-[

I can bundle a package and can attach it to your initial posting, if you want.
I also can write a short changelog what I have done and some notes what still doesn't work, too.

The package should be released to the public IMO. Maybe someone finds some time to complete the plugin.


Please let me know your thoughts.
Title: Re: Coppermine Forum Plugin (cpgforum)
Post by: foulu on May 02, 2009, 11:08:19 am
@eenemeenemuu:
Yes, I have problem with my host. I will try to bring the site back online ASAP. You already have the SVN access so you can commit your work there. And you are free to pack and release new version, just keep my copyright.
Title: Re: Coppermine Forum Plugin (cpgforum)
Post by: jolly on May 07, 2009, 08:54:35 pm
I have installed the forum plugin v.2 but when i click on 'forum' or ' forum  manager' i got error like this
Code: [Select]
Fatal error: Class 'Config' not found in /home/nidhog/public_html/forum/import.php on line 15??

Why?
Title: Re: Coppermine Forum Plugin (cpgforum)
Post by: Αndré on May 08, 2009, 06:48:21 pm
You already have the SVN access so you can commit your work there. And you are free to pack and release new version, just keep my copyright.
Changes committed to your svn.
Package of the recent version attached to the initial post.
Title: Re: Coppermine Forum Plugin (cpgforum)
Post by: tofo on May 10, 2009, 10:11:34 pm
Hi,

tried to install first version 2.0beta and then 1.1.3, both with the same result: the forum plugin is not shown up in the plugin manager. For testing I uploaded the online stats plugin as zip, and it finally worked. However, neither version 1 or 2 are shown up, regardless if using the zip upload method or the ftp method. Any idea, why this can be?

Regards, Thomas
Title: Re: Coppermine Forum Plugin (cpgforum)
Post by: tofo on May 10, 2009, 10:27:19 pm
Hi,

tried to install first version 2.0beta and then 1.1.3, both with the same result: the forum plugin is not shown up in the plugin manager. For testing I uploaded the online stats plugin as zip, and it finally worked. However, neither version 1 or 2 are shown up, regardless if using the zip upload method or the ftp method. Any idea, why this can be?

Regards, Thomas

Forget it, my mistake. it is solved.

Regards, Thomas
Title: Re: Coppermine Forum Plugin (cpgforum)
Post by: Αndré on May 28, 2009, 06:34:07 pm
It's currently not possible to attach new files to the initial post. Please follow the links on the first post to get the latest version.
Title: Re: Coppermine Forum Plugin (cpgforum)
Post by: dawid8 on June 15, 2009, 04:03:13 pm
I have this error

IE: Its an HTTP 500 error.

Firefox:
Code: [Select]
Fatal error: Class 'Inspekt' not found in /var/www/web144/html/forum/import.php on line 24
Can somebody help?
Title: Re: Coppermine Forum Plugin (cpgforum)
Post by: Joachim Müller on June 15, 2009, 05:48:16 pm
Happens if you use the version that was designed for cpg1.5.x with your cpg1.4.x-driven gallery. Use the proper plugin version that was designed for your coppermine version.
Title: Re: Coppermine Forum Plugin (cpgforum)
Post by: Αndré on June 15, 2009, 09:50:26 pm
I have this error

IE: Its an HTTP 500 error.

Firefox:
Code: [Select]
Fatal error: Class 'Inspekt' not found in /var/www/web144/html/forum/import.php on line 24
Can somebody help?


Happens if you use the version that was designed for cpg1.5.x with your cpg1.4.x-driven gallery. Use the proper plugin version that was designed for your coppermine version.

Inspekt is bundled with the latest beta 2.0 version to run the forum in cpg1.4.x - it run's on my cpg1.4.x installation, too.

When does the error appear? What exactly are you doing?
Title: Re: Coppermine Forum Plugin (cpgforum)
Post by: dawid8 on June 16, 2009, 08:14:13 pm
i have the problem since the last cpg update + stramms mod
Title: Re: Coppermine Forum Plugin (cpgforum)
Post by: Αndré on June 16, 2009, 08:24:13 pm
When does the error appear? What exactly are you doing?
Link?
Title: Re: Coppermine Forum Plugin (cpgforum)
Post by: dawid8 on June 16, 2009, 10:00:34 pm
www. sucharkiewicz .net

user: Test
pw: 1234
Title: Re: Coppermine Forum Plugin (cpgforum)
Post by: dawid8 on June 16, 2009, 10:31:09 pm
i get the error when i click on forum or forum manager.

the forum was installed some months ago. ther was no problem.

but since the last update cpg1.4.24 + stramms mod i have this error
Title: Re: Coppermine Forum Plugin (cpgforum)
Post by: Αndré on June 17, 2009, 08:37:59 am
but since the last update cpg1.4.24 + stramms mod i have this error
1. I made a fresh Coppermine installation -> works
2. I installed the forum plugin -> forum works
3. I replaced all files from Stramm's modpack -> forum does not work
4. I run update.php -> forum works again
Title: Re: Coppermine Forum Plugin (cpgforum)
Post by: dawid8 on June 17, 2009, 10:20:48 am
the update.php was started.

i will make it second time
Title: Re: Coppermine Forum Plugin (cpgforum)
Post by: dawid8 on June 17, 2009, 10:26:17 am
I run the update.php second time but stilll the same error
Title: Re: Coppermine Forum Plugin (cpgforum)
Post by: Αndré on June 17, 2009, 10:30:29 am
Do you have the latest forum version (released on 2009-05-28)?
Title: Re: Coppermine Forum Plugin (cpgforum)
Post by: dawid8 on June 17, 2009, 10:36:47 am
Do you have the latest forum version (released on 2009-05-28)?

yes
Title: Re: Coppermine Forum Plugin (cpgforum)
Post by: Αndré on June 17, 2009, 10:41:44 am
Then it probably depends on your Coppermine installation/configuration. When I visit your forum (http://www.sucharkiewicz.net/forum.php) I just get a blank page without any error message.
Title: Re: Coppermine Forum Plugin (cpgforum)
Post by: dawid8 on June 17, 2009, 11:00:38 am
you can see the error message with firefox, IE7 says only HTTP500 error
Title: Re: Coppermine Forum Plugin (cpgforum)
Post by: Αndré on June 17, 2009, 11:10:20 am
As I said: I get only a blank page with Firefox. I also tested with IE, Safari, Opera and Chrome.

Try to replace all files in this order:
1. replace all Coppermine files (= do a regular update)
2. replace all modpack files (= install modpack)
3. replace all forum files (= re-install forum)

If it doesn't work as well, then post the error message you get.


You can also try to install a test gallery on your server like I did:
1. I made a fresh Coppermine installation -> works
2. I installed the forum plugin -> forum works
3. I replaced all files from Stramm's modpack -> forum does not work
4. I run update.php -> forum works again
Title: Re: Coppermine Forum Plugin (cpgforum)
Post by: dawid8 on June 17, 2009, 11:38:50 am
ok the steps are made but still the same

and there is no error message
Title: Re: Coppermine Forum Plugin (cpgforum)
Post by: Αndré on June 17, 2009, 11:47:26 am
ok the steps are made but still the same
Which steps? I told you two things.


I cannot do anything without an error message.

- Try to run the forum with your Coppermine installation on your local machine.
- Try to install a new gallery + forum + modpack on the same webserver as suggested.
Title: Re: Coppermine Forum Plugin (cpgforum)
Post by: dawid8 on June 17, 2009, 12:00:09 pm
I mean this steps

Try to replace all files in this order:
1. replace all Coppermine files (= do a regular update)
2. replace all modpack files (= install modpack)
3. replace all forum files (= re-install forum)

now i will make a second cpg installation on the server
Title: Re: Coppermine Forum Plugin (cpgforum)
Post by: Αndré on June 17, 2009, 12:06:03 pm
now i will make a second cpg installation on the server
Please test the forum before and after you install the modpack.
Title: Re: Coppermine Forum Plugin (cpgforum)
Post by: dawid8 on June 17, 2009, 12:19:02 pm
so i have installed cpg www.sucharkiewicz.net/cpg/index.php (http://www.sucharkiewicz.net/cpg/index.php) and the forum without the mod and the forum do not run

you can login with the same username and pw
Title: Re: Coppermine Forum Plugin (cpgforum)
Post by: Αndré on June 17, 2009, 12:24:01 pm
Then it seems that it depends on your server configuration.
Title: Re: Coppermine Forum Plugin (cpgforum)
Post by: Zotel on June 24, 2009, 02:52:54 pm
Hallo everybode,
i have a simple question. how i can change only the
admin avatar. i can´t found something for that problem
in your thread.
Title: Re: Coppermine Forum Plugin (cpgforum)
Post by: Αndré on June 24, 2009, 02:59:19 pm
You can change the admin avatar as you can change every avatar: use the button 'forum profile'.
Title: Re: Coppermine Forum Plugin (cpgforum)
Post by: Zotel on June 24, 2009, 03:04:54 pm
Thank you for your fast answer.
You know that i mean the avantar for the
plugin "simple forum". i mean not your
forum. sorry i think that was my mistake
because my english is not so good.
Title: Re: Coppermine Forum Plugin (cpgforum)
Post by: Αndré on June 24, 2009, 03:08:22 pm
You know that i mean the avantar for the
plugin "simple forum". i mean not your
forum.
I know that we talk about the plugin and not our support forum. But there is a button 'Forum Profile' as well in the Coppermine Simple Forum plugin!
Title: Re: Coppermine Forum Plugin (cpgforum)
Post by: Zotel on June 24, 2009, 03:16:42 pm
Please see my attachment, i can´t find that adjust
Title: Re: Coppermine Forum Plugin (cpgforum)
Post by: Αndré on June 25, 2009, 01:24:57 pm
Install version 2.0 of the forum plugin.
Title: Re: Coppermine Forum Plugin (cpgforum)
Post by: Αndré on June 25, 2009, 02:42:22 pm
Security issue


All users who run the beta version 2.0 of the forum should immediately upgrade to the latest version attached in the first post (http://forum.coppermine-gallery.net/index.php/topic,51535.msg249497.html#msg249497) (currently Beta/2b)!

Upgrade steps:
- Download package
- Extract the package and replace all files on your ftp
- Go to the forum manager and click 'Update Database'
Title: Re: Coppermine Forum Plugin (cpgforum)
Post by: cejai on July 05, 2009, 11:57:10 am
Here are my Danish translation of the CPGFORUM - good luck and thanks for the exellend forum!
Hope this is the right place to send the translationfile!
Kind regards
Carsten J
Title: Re: Coppermine Forum Plugin (cpgforum)
Post by: Αndré on July 05, 2009, 03:10:57 pm
Thanks for your contribution. I'll add your translation to the next release.
Title: Re: Coppermine Forum Plugin (cpgforum)
Post by: krzysiek1015 on July 10, 2009, 08:19:50 pm
How to make the dynamic title in the version 2.0/beta/2b ?
Title: Re: Coppermine Forum Plugin (cpgforum)
Post by: Αndré on July 10, 2009, 08:59:07 pm
How to make the dynamic title in the version 2.0/beta/2b ?
What is "the dynamic title"? Has it been there in previous version? Please explain more detailed what you want to do.
Title: Re: Coppermine Forum Plugin (cpgforum)
Post by: twinznavy on September 14, 2009, 10:05:53 am
hello i have a problem

http://navla.no/bildegal/forum.php

help help

/plugins/final_extract/include/init2.inc.php

    * Warning line 30: mysql_free_result(): supplied argument is not a valid MySQL result resource

/plugins/forum/codebase.php

    * Notice line 26: Use of undefined constant PHP_EOL - assumed 'PHP_EOL'
    * Notice line 28: Use of undefined constant PHP_EOL - assumed 'PHP_EOL'

/forum/loader.php

    * Notice line 10: Undefined index: time
    * Notice line 13: Undefined index: time
    * Notice line 10: Undefined index: html
    * Notice line 13: Undefined index: html
    * Notice line 10: Undefined index: form
    * Notice line 13: Undefined index: form
    * Notice line 10: Undefined index: table
    * Notice line 13: Undefined index: table
    * Notice line 10: Undefined index: forum
    * Notice line 13: Undefined index: forum
    * Notice line 31: Undefined index: Check

/forum/models/Forum.php

    * Notice line 21: Undefined offset: 0
    * Notice line 839: Undefined variable: n
    * Notice line 845: Undefined offset: 1

/forum/models/Check.php

    * Notice line 10: Undefined offset: 0

/forum/helpers/table_helper.php

    * Notice line 58: Use of undefined constant PHP_EOL - assumed 'PHP_EOL'
    * Notice line 109: Use of undefined constant PHP_EOL - assumed 'PHP_EOL'
    * Notice line 109: Use of undefined constant PHP_EOL - assumed 'PHP_EOL'
    * Notice line 107: Use of undefined constant PHP_EOL - assumed 'PHP_EOL'
    * Notice line 107: Use of undefined constant PHP_EOL - assumed 'PHP_EOL'
    * Notice line 109: Use of undefined constant PHP_EOL - assumed 'PHP_EOL'
    * Notice line 109: Use of undefined constant PHP_EOL - assumed 'PHP_EOL'
    * Notice line 58: Use of undefined constant PHP_EOL - assumed 'PHP_EOL'
    * Notice line 109: Use of undefined constant PHP_EOL - assumed 'PHP_EOL'
    * Notice line 83: Undefined offset: 0
    * Notice line 109: Use of undefined constant PHP_EOL - assumed 'PHP_EOL'
    * Notice line 107: Use of undefined constant PHP_EOL - assumed 'PHP_EOL'
    * Notice line 109: Use of undefined constant PHP_EOL - assumed 'PHP_EOL'
    * Notice line 109: Use of undefined constant PHP_EOL - assumed 'PHP_EOL'
    * Notice line 58: Use of undefined constant PHP_EOL - assumed 'PHP_EOL'
    * Notice line 109: Use of undefined constant PHP_EOL - assumed 'PHP_EOL'
    * Notice line 83: Undefined offset: 0
    * Notice line 109: Use of undefined constant PHP_EOL - assumed 'PHP_EOL'
    * Notice line 107: Use of undefined constant PHP_EOL - assumed 'PHP_EOL'
    * Notice line 109: Use of undefined constant PHP_EOL - assumed 'PHP_EOL'
    * Notice line 109: Use of undefined constant PHP_EOL - assumed 'PHP_EOL'
    * Notice line 58: Use of undefined constant PHP_EOL - assumed 'PHP_EOL'
    * Notice line 109: Use of undefined constant PHP_EOL - assumed 'PHP_EOL'
    * Notice line 83: Undefined offset: 0
    * Notice line 109: Use of undefined constant PHP_EOL - assumed 'PHP_EOL'
    * Notice line 107: Use of undefined constant PHP_EOL - assumed 'PHP_EOL'
    * Notice line 109: Use of undefined constant PHP_EOL - assumed 'PHP_EOL'
    * Notice line 109: Use of undefined constant PHP_EOL - assumed 'PHP_EOL'
    * Notice line 107: Use of undefined constant PHP_EOL - assumed 'PHP_EOL'
    * Notice line 107: Use of undefined constant PHP_EOL - assumed 'PHP_EOL'
    * Notice line 107: Use of undefined constant PHP_EOL - assumed 'PHP_EOL'
    * Notice line 107: Use of undefined constant PHP_EOL - assumed 'PHP_EOL'
    * Notice line 109: Use of undefined constant PHP_EOL - assumed 'PHP_EOL'
    * Notice line 109: Use of undefined constant PHP_EOL - assumed 'PHP_EOL'
    * Notice line 107: Use of undefined constant PHP_EOL - assumed 'PHP_EOL'
    * Notice line 107: Use of undefined constant PHP_EOL - assumed 'PHP_EOL'
    * Notice line 107: Use of undefined constant PHP_EOL - assumed 'PHP_EOL'
    * Notice line 107: Use of undefined constant PHP_EOL - assumed 'PHP_EOL'
    * Notice line 109: Use of undefined constant PHP_EOL - assumed 'PHP_EOL'
    * Notice line 109: Use of undefined constant PHP_EOL - assumed 'PHP_EOL'
    * Notice line 107: Use of undefined constant PHP_EOL - assumed 'PHP_EOL'
    * Notice line 107: Use of undefined constant PHP_EOL - assumed 'PHP_EOL'
    * Notice line 107: Use of undefined constant PHP_EOL - assumed 'PHP_EOL'
    * Notice line 107: Use of undefined constant PHP_EOL - assumed 'PHP_EOL'
    * Notice line 109: Use of undefined constant PHP_EOL - assumed 'PHP_EOL'
    * Notice line 109: Use of undefined constant PHP_EOL - assumed 'PHP_EOL'
    * Notice line 58: Use of undefined constant PHP_EOL - assumed 'PHP_EOL'
    * Notice line 109: Use of undefined constant PHP_EOL - assumed 'PHP_EOL'
    * Notice line 83: Undefined offset: 0
    * Notice line 109: Use of undefined constant PHP_EOL - assumed 'PHP_EOL'
    * Notice line 107: Use of undefined constant PHP_EOL - assumed 'PHP_EOL'
    * Notice line 109: Use of undefined constant PHP_EOL - assumed 'PHP_EOL'
    * Notice line 83: Undefined offset: 0
    * Notice line 109: Use of undefined constant PHP_EOL - assumed 'PHP_EOL'
    * Notice line 107: Use of undefined constant PHP_EOL - assumed 'PHP_EOL'
    * Notice line 109: Use of undefined constant PHP_EOL - assumed 'PHP_EOL'
    * Notice line 83: Undefined offset: 0
    * Notice line 109: Use of undefined constant PHP_EOL - assumed 'PHP_EOL'
    * Notice line 107: Use of undefined constant PHP_EOL - assumed 'PHP_EOL'
    * Notice line 109: Use of undefined constant PHP_EOL - assumed 'PHP_EOL'
    * Notice line 109: Use of undefined constant PHP_EOL - assumed 'PHP_EOL'
    * Notice line 58: Use of undefined constant PHP_EOL - assumed 'PHP_EOL'
    * Notice line 109: Use of undefined constant PHP_EOL - assumed 'PHP_EOL'
    * Notice line 109: Use of undefined constant PHP_EOL - assumed 'PHP_EOL'
    * Notice line 107: Use of undefined constant PHP_EOL - assumed 'PHP_EOL'
    * Notice line 107: Use of undefined constant PHP_EOL - assumed 'PHP_EOL'
    * Notice line 109: Use of undefined constant PHP_EOL - assumed 'PHP_EOL'
    * Notice line 109: Use of undefined constant PHP_EOL - assumed 'PHP_EOL'
    * Notice line 58: Use of undefined constant PHP_EOL - assumed 'PHP_EOL'
    * Notice line 109: Use of undefined constant PHP_EOL - assumed 'PHP_EOL'
    * Notice line 109: Use of undefined constant PHP_EOL - assumed 'PHP_EOL'
    * Notice line 107: Use of undefined constant PHP_EOL - assumed 'PHP_EOL'
    * Notice line 107: Use of undefined constant PHP_EOL - assumed 'PHP_EOL'
    * Notice line 109: Use of undefined constant PHP_EOL - assumed 'PHP_EOL'
    * Notice line 109: Use of undefined constant PHP_EOL - assumed 'PHP_EOL'
    * Notice line 58: Use of undefined constant PHP_EOL - assumed 'PHP_EOL'
    * Notice line 109: Use of undefined constant PHP_EOL - assumed 'PHP_EOL'
    * Notice line 58: Use of undefined constant PHP_EOL - assumed 'PHP_EOL'
    * Notice line 109: Use of undefined constant PHP_EOL - assumed 'PHP_EOL'
    * Notice line 109: Use of undefined constant PHP_EOL - assumed 'PHP_EOL'
    * Notice line 107: Use of undefined constant PHP_EOL - assumed 'PHP_EOL'
    * Notice line 107: Use of undefined constant PHP_EOL - assumed 'PHP_EOL'
    * Notice line 109: Use of undefined constant PHP_EOL - assumed 'PHP_EOL'
    * Notice line 109: Use of undefined constant PHP_EOL - assumed 'PHP_EOL'
    * Notice line 109: Use of undefined constant PHP_EOL - assumed 'PHP_EOL'
    * Notice line 107: Use of undefined constant PHP_EOL - assumed 'PHP_EOL'
    * Notice line 109: Use of undefined constant PHP_EOL - assumed 'PHP_EOL'
    * Notice line 109: Use of undefined constant PHP_EOL - assumed 'PHP_EOL'

/forum/helpers/html_helper.php

    * Notice line 35: Use of undefined constant PHP_EOL - assumed 'PHP_EOL'
    * Notice line 35: Use of undefined constant PHP_EOL - assumed 'PHP_EOL'
    * Notice line 35: Use of undefined constant PHP_EOL - assumed 'PHP_EOL'
    * Notice line 92: Use of undefined constant PHP_EOL - assumed 'PHP_EOL'
    * Notice line 92: Use of undefined constant PHP_EOL - assumed 'PHP_EOL'
    * Notice line 47: Use of undefined constant PHP_EOL - assumed 'PHP_EOL'
    * Notice line 47: Use of undefined constant PHP_EOL - assumed 'PHP_EOL'
    * Notice line 47: Use of undefined constant PHP_EOL - assumed 'PHP_EOL'
    * Notice line 47: Use of undefined constant PHP_EOL - assumed 'PHP_EOL'
    * Notice line 47: Use of undefined constant PHP_EOL - assumed 'PHP_EOL'
    * Notice line 47: Use of undefined constant PHP_EOL - assumed 'PHP_EOL'
    * Notice line 35: Use of undefined constant PHP_EOL - assumed 'PHP_EOL'
    * Notice line 92: Use of undefined constant PHP_EOL - assumed 'PHP_EOL'
    * Notice line 35: Use of undefined constant PHP_EOL - assumed 'PHP_EOL'

/forum/libraries/Config.php

    * Notice line 9: Undefined index: table_level
    * Notice line 9: Undefined index: table_level
    * Notice line 9: Undefined index: table_level
    * Notice line 9: Undefined index: table_level
    * Notice line 9: Undefined index: table_level
    * Notice line 9: Undefined index: table_level
    * Notice line 9: Undefined index: table_level
    * Notice line 9: Undefined index: table_level
    * Notice line 9: Undefined index: table_level
    * Notice line 9: Undefined index: table_level
    * Notice line 9: Undefined index: table_level
    * Notice line 9: Undefined index: table_level
    * Notice line 9: Undefined index: table_level
    * Notice line 9: Undefined index: table_level

/forum/helpers/form_helper.php

    * Notice line 11: Use of undefined constant PHP_EOL - assumed 'PHP_EOL'
    * Notice line 61: Use of undefined constant PHP_EOL - assumed 'PHP_EOL'
    * Notice line 23: Use of undefined constant PHP_EOL - assumed 'PHP_EOL'
    * Notice line 92: Use of undefined constant PHP_EOL - assumed 'PHP_EOL'
    * Notice line 17: Use of undefined constant PHP_EOL - assumed 'PHP_EOL'
Title: Re: Coppermine Forum Plugin (cpgforum)
Post by: onthepike on September 14, 2009, 10:35:48 am
<!--Coppermine Photo Gallery 1.4.16 (stable)-->

You must update your current installation of Coppermine. Instructions here (http://coppermine-gallery.net/demo/cpg14x/docs/index.htm#14).
Title: Re: Coppermine Forum Plugin (cpgforum)
Post by: twinznavy on September 14, 2009, 08:42:19 pm
done
updated same problems
Title: Re: Coppermine Forum Plugin (cpgforum)
Post by: Αndré on September 15, 2009, 09:10:59 am
Quote from: http://navla.no/bildegal/forum.php
Error
Simple forum plugin isn't install yet.

Where do you get these notice messages from? Link?
Title: Re: Coppermine Forum Plugin (cpgforum)
Post by: onthepike on September 15, 2009, 09:23:55 am
In forum/languages/english/error.php

'fr_not_install'  => 'Simple forum plugin isn\'t install yet.',

Which should be fine. After an update, re-apply the forum plugin, similar to any other add-on mod, correct? Or am I missing something?

(By the way, the correct English language should read: Simple Forum plugin isn't installed yet.)
Title: Re: Coppermine Forum Plugin (cpgforum)
Post by: Αndré on September 15, 2009, 09:51:43 am
I mean these notice messages:
/plugins/final_extract/include/init2.inc.php

    * Warning line 30: mysql_free_result(): supplied argument is not a valid MySQL result resource

/plugins/forum/codebase.php

    * Notice line 26: Use of undefined constant PHP_EOL - assumed 'PHP_EOL'
    * Notice line 28: Use of undefined constant PHP_EOL - assumed 'PHP_EOL'

/forum/loader.php

    * Notice line 10: Undefined index: time
    * Notice line 13: Undefined index: time
    * Notice line 10: Undefined index: html
    * Notice line 13: Undefined index: html
    * Notice line 10: Undefined index: form
    * Notice line 13: Undefined index: form
    * Notice line 10: Undefined index: table
    * Notice line 13: Undefined index: table
    * Notice line 10: Undefined index: forum
    * Notice line 13: Undefined index: forum
    * Notice line 31: Undefined index: Check

/forum/models/Forum.php

    * Notice line 21: Undefined offset: 0
    * Notice line 839: Undefined variable: n
    * Notice line 845: Undefined offset: 1

/forum/models/Check.php

    * Notice line 10: Undefined offset: 0

/forum/helpers/table_helper.php

    * Notice line 58: Use of undefined constant PHP_EOL - assumed 'PHP_EOL'
    * Notice line 109: Use of undefined constant PHP_EOL - assumed 'PHP_EOL'
    * Notice line 109: Use of undefined constant PHP_EOL - assumed 'PHP_EOL'
    * Notice line 107: Use of undefined constant PHP_EOL - assumed 'PHP_EOL'
    * Notice line 107: Use of undefined constant PHP_EOL - assumed 'PHP_EOL'
    * Notice line 109: Use of undefined constant PHP_EOL - assumed 'PHP_EOL'
    * Notice line 109: Use of undefined constant PHP_EOL - assumed 'PHP_EOL'
    * Notice line 58: Use of undefined constant PHP_EOL - assumed 'PHP_EOL'
    * Notice line 109: Use of undefined constant PHP_EOL - assumed 'PHP_EOL'
    * Notice line 83: Undefined offset: 0
    * Notice line 109: Use of undefined constant PHP_EOL - assumed 'PHP_EOL'
    * Notice line 107: Use of undefined constant PHP_EOL - assumed 'PHP_EOL'
    * Notice line 109: Use of undefined constant PHP_EOL - assumed 'PHP_EOL'
    * Notice line 109: Use of undefined constant PHP_EOL - assumed 'PHP_EOL'
    * Notice line 58: Use of undefined constant PHP_EOL - assumed 'PHP_EOL'
    * Notice line 109: Use of undefined constant PHP_EOL - assumed 'PHP_EOL'
    * Notice line 83: Undefined offset: 0
    * Notice line 109: Use of undefined constant PHP_EOL - assumed 'PHP_EOL'
    * Notice line 107: Use of undefined constant PHP_EOL - assumed 'PHP_EOL'
    * Notice line 109: Use of undefined constant PHP_EOL - assumed 'PHP_EOL'
    * Notice line 109: Use of undefined constant PHP_EOL - assumed 'PHP_EOL'
    * Notice line 58: Use of undefined constant PHP_EOL - assumed 'PHP_EOL'
    * Notice line 109: Use of undefined constant PHP_EOL - assumed 'PHP_EOL'
    * Notice line 83: Undefined offset: 0
    * Notice line 109: Use of undefined constant PHP_EOL - assumed 'PHP_EOL'
    * Notice line 107: Use of undefined constant PHP_EOL - assumed 'PHP_EOL'
    * Notice line 109: Use of undefined constant PHP_EOL - assumed 'PHP_EOL'
    * Notice line 109: Use of undefined constant PHP_EOL - assumed 'PHP_EOL'
    * Notice line 107: Use of undefined constant PHP_EOL - assumed 'PHP_EOL'
    * Notice line 107: Use of undefined constant PHP_EOL - assumed 'PHP_EOL'
    * Notice line 107: Use of undefined constant PHP_EOL - assumed 'PHP_EOL'
    * Notice line 107: Use of undefined constant PHP_EOL - assumed 'PHP_EOL'
    * Notice line 109: Use of undefined constant PHP_EOL - assumed 'PHP_EOL'
    * Notice line 109: Use of undefined constant PHP_EOL - assumed 'PHP_EOL'
    * Notice line 107: Use of undefined constant PHP_EOL - assumed 'PHP_EOL'
    * Notice line 107: Use of undefined constant PHP_EOL - assumed 'PHP_EOL'
    * Notice line 107: Use of undefined constant PHP_EOL - assumed 'PHP_EOL'
    * Notice line 107: Use of undefined constant PHP_EOL - assumed 'PHP_EOL'
    * Notice line 109: Use of undefined constant PHP_EOL - assumed 'PHP_EOL'
    * Notice line 109: Use of undefined constant PHP_EOL - assumed 'PHP_EOL'
    * Notice line 107: Use of undefined constant PHP_EOL - assumed 'PHP_EOL'
    * Notice line 107: Use of undefined constant PHP_EOL - assumed 'PHP_EOL'
    * Notice line 107: Use of undefined constant PHP_EOL - assumed 'PHP_EOL'
    * Notice line 107: Use of undefined constant PHP_EOL - assumed 'PHP_EOL'
    * Notice line 109: Use of undefined constant PHP_EOL - assumed 'PHP_EOL'
    * Notice line 109: Use of undefined constant PHP_EOL - assumed 'PHP_EOL'
    * Notice line 58: Use of undefined constant PHP_EOL - assumed 'PHP_EOL'
    * Notice line 109: Use of undefined constant PHP_EOL - assumed 'PHP_EOL'
    * Notice line 83: Undefined offset: 0
    * Notice line 109: Use of undefined constant PHP_EOL - assumed 'PHP_EOL'
    * Notice line 107: Use of undefined constant PHP_EOL - assumed 'PHP_EOL'
    * Notice line 109: Use of undefined constant PHP_EOL - assumed 'PHP_EOL'
    * Notice line 83: Undefined offset: 0
    * Notice line 109: Use of undefined constant PHP_EOL - assumed 'PHP_EOL'
    * Notice line 107: Use of undefined constant PHP_EOL - assumed 'PHP_EOL'
    * Notice line 109: Use of undefined constant PHP_EOL - assumed 'PHP_EOL'
    * Notice line 83: Undefined offset: 0
    * Notice line 109: Use of undefined constant PHP_EOL - assumed 'PHP_EOL'
    * Notice line 107: Use of undefined constant PHP_EOL - assumed 'PHP_EOL'
    * Notice line 109: Use of undefined constant PHP_EOL - assumed 'PHP_EOL'
    * Notice line 109: Use of undefined constant PHP_EOL - assumed 'PHP_EOL'
    * Notice line 58: Use of undefined constant PHP_EOL - assumed 'PHP_EOL'
    * Notice line 109: Use of undefined constant PHP_EOL - assumed 'PHP_EOL'
    * Notice line 109: Use of undefined constant PHP_EOL - assumed 'PHP_EOL'
    * Notice line 107: Use of undefined constant PHP_EOL - assumed 'PHP_EOL'
    * Notice line 107: Use of undefined constant PHP_EOL - assumed 'PHP_EOL'
    * Notice line 109: Use of undefined constant PHP_EOL - assumed 'PHP_EOL'
    * Notice line 109: Use of undefined constant PHP_EOL - assumed 'PHP_EOL'
    * Notice line 58: Use of undefined constant PHP_EOL - assumed 'PHP_EOL'
    * Notice line 109: Use of undefined constant PHP_EOL - assumed 'PHP_EOL'
    * Notice line 109: Use of undefined constant PHP_EOL - assumed 'PHP_EOL'
    * Notice line 107: Use of undefined constant PHP_EOL - assumed 'PHP_EOL'
    * Notice line 107: Use of undefined constant PHP_EOL - assumed 'PHP_EOL'
    * Notice line 109: Use of undefined constant PHP_EOL - assumed 'PHP_EOL'
    * Notice line 109: Use of undefined constant PHP_EOL - assumed 'PHP_EOL'
    * Notice line 58: Use of undefined constant PHP_EOL - assumed 'PHP_EOL'
    * Notice line 109: Use of undefined constant PHP_EOL - assumed 'PHP_EOL'
    * Notice line 58: Use of undefined constant PHP_EOL - assumed 'PHP_EOL'
    * Notice line 109: Use of undefined constant PHP_EOL - assumed 'PHP_EOL'
    * Notice line 109: Use of undefined constant PHP_EOL - assumed 'PHP_EOL'
    * Notice line 107: Use of undefined constant PHP_EOL - assumed 'PHP_EOL'
    * Notice line 107: Use of undefined constant PHP_EOL - assumed 'PHP_EOL'
    * Notice line 109: Use of undefined constant PHP_EOL - assumed 'PHP_EOL'
    * Notice line 109: Use of undefined constant PHP_EOL - assumed 'PHP_EOL'
    * Notice line 109: Use of undefined constant PHP_EOL - assumed 'PHP_EOL'
    * Notice line 107: Use of undefined constant PHP_EOL - assumed 'PHP_EOL'
    * Notice line 109: Use of undefined constant PHP_EOL - assumed 'PHP_EOL'
    * Notice line 109: Use of undefined constant PHP_EOL - assumed 'PHP_EOL'

/forum/helpers/html_helper.php

    * Notice line 35: Use of undefined constant PHP_EOL - assumed 'PHP_EOL'
    * Notice line 35: Use of undefined constant PHP_EOL - assumed 'PHP_EOL'
    * Notice line 35: Use of undefined constant PHP_EOL - assumed 'PHP_EOL'
    * Notice line 92: Use of undefined constant PHP_EOL - assumed 'PHP_EOL'
    * Notice line 92: Use of undefined constant PHP_EOL - assumed 'PHP_EOL'
    * Notice line 47: Use of undefined constant PHP_EOL - assumed 'PHP_EOL'
    * Notice line 47: Use of undefined constant PHP_EOL - assumed 'PHP_EOL'
    * Notice line 47: Use of undefined constant PHP_EOL - assumed 'PHP_EOL'
    * Notice line 47: Use of undefined constant PHP_EOL - assumed 'PHP_EOL'
    * Notice line 47: Use of undefined constant PHP_EOL - assumed 'PHP_EOL'
    * Notice line 47: Use of undefined constant PHP_EOL - assumed 'PHP_EOL'
    * Notice line 35: Use of undefined constant PHP_EOL - assumed 'PHP_EOL'
    * Notice line 92: Use of undefined constant PHP_EOL - assumed 'PHP_EOL'
    * Notice line 35: Use of undefined constant PHP_EOL - assumed 'PHP_EOL'

/forum/libraries/Config.php

    * Notice line 9: Undefined index: table_level
    * Notice line 9: Undefined index: table_level
    * Notice line 9: Undefined index: table_level
    * Notice line 9: Undefined index: table_level
    * Notice line 9: Undefined index: table_level
    * Notice line 9: Undefined index: table_level
    * Notice line 9: Undefined index: table_level
    * Notice line 9: Undefined index: table_level
    * Notice line 9: Undefined index: table_level
    * Notice line 9: Undefined index: table_level
    * Notice line 9: Undefined index: table_level
    * Notice line 9: Undefined index: table_level
    * Notice line 9: Undefined index: table_level
    * Notice line 9: Undefined index: table_level

/forum/helpers/form_helper.php

    * Notice line 11: Use of undefined constant PHP_EOL - assumed 'PHP_EOL'
    * Notice line 61: Use of undefined constant PHP_EOL - assumed 'PHP_EOL'
    * Notice line 23: Use of undefined constant PHP_EOL - assumed 'PHP_EOL'
    * Notice line 92: Use of undefined constant PHP_EOL - assumed 'PHP_EOL'
    * Notice line 17: Use of undefined constant PHP_EOL - assumed 'PHP_EOL'


By the way, the correct English language should read: Simple Forum plugin isn't installed yet.
Fixed in the 1.5.x version of the plugin. The english language files have to be reviewed anyway.
Title: Re: Coppermine Forum Plugin (cpgforum)
Post by: onthepike on September 15, 2009, 09:57:13 am
I can help with the English language "finishing touches" for CPG. That's no problem.

The error messages you refer to were what was present before he updated the gallery. Once updated, those errors disappeared (along with his forum plugin, I suppose). Assuming the database is okay (and it appears so), he should be able to re-apply the plugin. Yes?
Title: Re: Coppermine Forum Plugin (cpgforum)
Post by: Αndré on September 15, 2009, 10:21:42 am
Once updated, those errors disappeared
same problems
???

@twinznavy: is the problem solved?
Title: Re: Coppermine Forum Plugin (cpgforum)
Post by: twinznavy on September 15, 2009, 11:42:09 am
nope same prob

Title: Re: Coppermine Forum Plugin (cpgforum)
Post by: Αndré on September 15, 2009, 12:00:00 pm
Either it depends on your server settings or on your upload method. Please review the transfer mode in your ftp app. I can't see the notice message. I assume you already turned off php error reporting?
Title: Re: Coppermine Forum Plugin (cpgforum)
Post by: twinznavy on September 15, 2009, 12:31:17 pm
oki ka as required by the server?

I used ftp ubuntu via the built-e!

it is better to use filezilla to upload?

a question that is slightly off topic but when I tried to install this I deleted all other plugins and then disappeared plugin manage witch plugin do i  have to install to get it back?

thanks for all the help

Title: Re: Coppermine Forum Plugin (cpgforum)
Post by: Αndré on September 15, 2009, 03:24:35 pm
I cannot reproduce your error, even when I set error_reporting(E_ALL). Try to re-upload all files.

If that does not work, check your PHP version. The constant PHP_EOL is available since PHP 4.3.10 and PHP 5.0.2.
Title: Re: Coppermine Forum Plugin (cpgforum)
Post by: Solberg on December 29, 2009, 07:57:29 pm
Hi Foulu
Thanks for your great work.

I think I found a bug:

In some themes (i-feel-dirty; chaoticsoul; and maybe more) the theme crashes when logged in and viewing "New Topics; Active Topics and Pending Topics"

I solved the problem by adding a bit of code in these files:
forum\templates\classic\search\pending_topics_view.php
forum\templates\classic\search\new_topics_view.php
forum\templates\classic\search\active_topics_view.php

Added code:
Code: [Select]
echo table::close();
Before:
Code: [Select]
// paging
echo table::open();
echo table::tds(array(
    array('class'=>'tableb', 'text'=>
        table::open(2).
        table::tds(array(       
            array('align'=>'left' , 'text'=>Lang::item('board.page').forum::paging($paging)),
        )).
        table::close()   
    ),
));









?>

Replace with:
Code: [Select]
// paging
echo table::open();
echo table::tds(array(
    array('class'=>'tableb', 'text'=>
        table::open(2).
        table::tds(array(       
            array('align'=>'left' , 'text'=>Lang::item('board.page').forum::paging($paging)),
        )).
        table::close()   
    ),
));
echo table::close();








?>

This solved the problem for me.

Hope it is useful for others.
Please tell me if you have a better solution.

Kasper Solberg, Denmark
Title: Re: Coppermine Forum Plugin (cpgforum)
Post by: Αndré on December 30, 2009, 08:34:24 am
Thanks for your report. Fixed in svn for the cpg1.5.x version of the forum plugin.

The feature "New Topics; Active Topics and Pending Topics" isn't implemented yet, though.
Title: Translation Forum Plugin 2.0 beta
Post by: lupone on January 06, 2010, 12:04:55 am
 You can download subfolder italian in the languages folder of Forum Plugin 2.0 beta version
Title: Re: Coppermine Forum Plugin (cpgforum)
Post by: Αndré on January 06, 2010, 11:59:47 am
Thanks for contribution. Added Italian language in r7005.
Title: Re: Coppermine Forum Plugin (cpgforum)
Post by: lupone on January 06, 2010, 10:38:26 pm
How I can let to show an Avatar Gallery where my members could choose on of them?
Thank you  ???
Title: Re: Coppermine Forum Plugin (cpgforum)
Post by: horseshoes on January 07, 2010, 01:54:13 am
Hi,
Installed your forum and it is great except I have set it so visitors cannot access it. Problem on the login page.. you can access it.
www.maritimefly.com  Any help will be appreciated.
Title: Re: Coppermine Forum Plugin (cpgforum)
Post by: horseshoes on January 07, 2010, 02:04:19 am
Forgot to mention It shows but won't allow complete entry. I guess what I am asking is..How do I get it not to show up on the log in page?
Title: Re: Coppermine Forum Plugin (cpgforum)
Post by: Joachim Müller on January 07, 2010, 09:05:38 am
Installed your forum and it is great except I have set it so visitors cannot access it. Problem on the login page.. you can access it.
www.maritimefly.com  Any help will be appreciated.
Hard to say without a non-admin test user account... ::)
Title: Re: Coppermine Forum Plugin (cpgforum)
Post by: Αndré on January 07, 2010, 02:32:06 pm
How I can let to show an Avatar Gallery where my members could choose on of them?
Thank you  ???
It's not possible. Your users have to upload their avatars themselves.
Title: Re: Coppermine Forum Plugin (cpgforum)
Post by: Αndré on January 07, 2010, 02:35:51 pm
Hi,
Installed your forum and it is great except I have set it so visitors cannot access it. Problem on the login page.. you can access it.
www.maritimefly.com  Any help will be appreciated.
Add
Code: [Select]
if (!USER_ID) cpg_die(ERROR, 'You need to register to access this page', __FILE__, __LINE__);to the end of forum.php in the gallery root.
Title: Re: Coppermine Forum Plugin (cpgforum)
Post by: horseshoes on January 07, 2010, 07:01:10 pm
Hi sorry forgot to leave this for you. Just do not want the forum page to be showing up through  login page . Thanks.

u name= tester
pw= 123$%^
Title: Re: Coppermine Forum Plugin (cpgforum)
Post by: horseshoes on January 07, 2010, 07:17:52 pm
Hi sorry forgot to leave this for you. Just do not want the forum page to be showing up through  login page . Thanks.

u name= tester
pw= 123$%^

Please ignore previous.
this Code below:


if (!USER_ID) cpg_die(ERROR, 'You need to register to access this page', __FILE__, __LINE__);

to the end of forum.php in the gallery root.  solved it

So  Αndré and Joachim Müller thank you for your time.
Title: Re: Coppermine Forum Plugin (cpgforum)
Post by: horseshoes on January 07, 2010, 07:58:38 pm
Hi again. Tested the Forgot password and every email sent did not have the 'click link'activated .  Had to copy/paste even though it said to click. 
www.maritimefly.com

User name= tester
pw=123$%^

Title: Re: Coppermine Forum Plugin (cpgforum)
Post by: Αndré on January 07, 2010, 08:21:08 pm
Hi again. Tested the Forgot password and every email sent did not have the 'click link'activated .  Had to copy/paste even though it said to click.

Which emails do you mean? The emails sent when there's a new post in a topic have clickable links for example.
Title: Re: Coppermine Forum Plugin (cpgforum)
Post by: horseshoes on January 07, 2010, 08:31:17 pm
Which emails do you mean? The emails sent when there's a new post in a topic have clickable links for example.


No I mean the emails sent when you click on 'forgot my password' and they send you 1 email with link and then the second email with the password
ex:You have requested a new password. If you would like to proceed with having a new password sent to you, click on the following link: http://maritimefly.com/forgot_passwd.php?key=7db5e0xxxxxxxxxxxxxxxxxxxxxxxxxxxxxd=2

2nd:Here is the new password you requested: Username: xxxxxxxxx Password: xxxxxxxxxx Click http://maritimefly.com/login.php to log in.

The links shown are not clickable? Need to be copied and pasted.  My mail program allows clicks, so it is not my mail settings on pc.
Title: Re: Coppermine Forum Plugin (cpgforum)
Post by: horseshoes on January 07, 2010, 08:41:27 pm
I just realized that it is with Coppermine gallery, not the forum Plugin. Sorry. I will have to go and find another topic or board to find solution. Sorry, my mistake. Thanks anyways.
Title: Re: Coppermine Forum Plugin (cpgforum)
Post by: xFyrios on January 27, 2010, 04:50:57 am
So one things bugging me here. The stupid winking smilie isn't working on my install of the forum  ???

Its not that big of a deal its just annoying having a blank square there instead of it. Is this specific to me and is there any way of fixing it?
Any help would be greatly appreciated :)

Here's a link the the forum: http://images.pretomeuploads.net/forum.php (http://images.pretomeuploads.net/forum.php)

Test Account
Username: Test
Password: Test
Title: Re: Coppermine Forum Plugin (cpgforum)
Post by: xFyrios on January 27, 2010, 04:57:59 am
Correction

Password: test
(t not capitalized)
Title: Re: Coppermine Forum Plugin (cpgforum)
Post by: Αndré on January 27, 2010, 08:53:11 am
Upload images/smiles/icon_wink.gif (http://coppermine-gallery.net/demo/cpg14x/images/smiles/icon_wink.gif) to your gallery.
Title: Re: Coppermine Forum Plugin (cpgforum)
Post by: xFyrios on January 27, 2010, 09:02:36 am
Thanks Andre :)

I knew it had to be something easy, just couldn't seem to figure it out.
Now just to go find the corresponding smiley....
Title: Re: Coppermine Forum Plugin (cpgforum)
Post by: Vinicius Machado on February 11, 2010, 05:12:55 pm
Hi, I've already installed that plugin. Thats really great. But I need some help. At the main page of the Forum, I'd like to change the color of the Category Names. How Can I do This ? I can change every color but the category name.

I'd like something like the class=tableh1 not tableh2. Like white and bold

Regards,

Vinicius Machado
Title: Re: Coppermine Forum Plugin (cpgforum)
Post by: Αndré on February 11, 2010, 07:54:36 pm
Hi, I've already installed that plugin. Thats really great. But I need some help. At the main page of the Forum, I'd like to change the color of the Category Names. How Can I do This ? I can change every color but the category name.

I'd like something like the class=tableh1 not tableh2. Like white and bold

Regards,

Vinicius Machado
http://forum.coppermine-gallery.net/index.php/topic,55415.msg270616.html#msg270616
Title: Re: Coppermine Forum Plugin (cpgforum)
Post by: Vinicius Machado on February 11, 2010, 08:05:33 pm
Sorry André,

I didn't post the link 'Cause I thought I was clear enougth, but Anyway thats the link of my Forum:

http://www.viniciusmachado.com/crisevini/album/forum.php

Look at the First Category Name "Regras do Fórum" thas is in blue. So I'd like to change it to white bold.



I have translated to Brazilian Portuguese, so as soon I check everything i will post here the files...

CYa
Title: Re: Coppermine Forum Plugin (cpgforum)
Post by: Αndré on February 11, 2010, 09:03:37 pm
Okay now I know what you mean :) I'll look at it tomorrow hopefully. Thanks for your report.
Title: Re: Coppermine Forum Plugin (cpgforum)
Post by: Phill Luckhurst on February 11, 2010, 09:09:08 pm
Let me show you why we need a link and how it helps us help you.

First thing I see is that you are an honest chap and have left the credits to coppermine and stramm in place. I also see that you are using the stramm modpack which can in many cases affect the outcome.

I also see that you are using version 1.4.24 of copermine and that you really should upgrade immediately (current release is 1.4.26). I also see that you have customised the classic theme and renamed it to vini. This makes upgrading easier for you. Many don't bother which makes their theme upgrading harder so well done. It also makes it more ovbious that you are putting in the effort to read the docs.

Anyway, I digress. So now I have you link open in Firefox and with one click I open the firebug plugin and then click on the inspect element button. I then click on the item you want changed and it tells me straight away that this element is controlled by style.css line 132 onwards. I can also see that this same element of the css controls some other items. With Firebug (google it) I can even change those things live to see what happens. As you don't say if you are happy for those ither items to change too, what you want to happen when you put the mouse over that item etc I cannot help further but you have a good starting point. All this is basic css but if you want to control just those menu items then we would need to look further and adjust theme.php.

So as you can see, in under 1 minute a lot can be learned from a simple link. Without it we are firing in the dark. We may have to resort to installing this plugin for ourselves  just for a simple css change. Supporters are much less likely to go to that effort especially when the person requesting help doesn't go the the effort themselves and understand and obey our simple rules. They are there to help everyone, not to just be annoying.

Sorry if this post seems directed at you, we appreciate your politeness and willingness to help. It is just that I have had to ask for a link more times than I can remember just this last week. We look forward to your translation. It is often hard to get people to translate. We are finding this especially slow for the forthcoming CPG 1.5.x for which we are lacking many language files such as Brazillian (http://forum.coppermine-gallery.net/index.php/topic,44308.0.html) ;)
Title: Re: Coppermine Forum Plugin (cpgforum)
Post by: Vinicius Machado on February 11, 2010, 10:01:55 pm
Thank you very much. First of all I will upgrade to 1.4.26 as soon as possible. Infact Im using the 1.4.25 , I have no idea why its showing 1.4.24.

You opened my mind man, I have never used other browser than IE, and I've just installed the Firefox and its really great. At the same time I've learned about the Firebug, thats an excellent plugin and will help me a lot.

Well, I've tried to change online at the firebug but the result was not so good for me, cause every text from Category name to up becames white and was not a good idea. Maybe I have to change something at theme.php but I have know idea what and where...

The file attatched has all brazilian portuguese translations, but I need another help. I don't know if you can see, but Im using thes files under the english folder, 'cause I don't know what do I have to change to use the Brazilian Portuguese folder.

And don't worry if it seems direct at me, 'cause every information is always welcome and also Ive learned a lot as well. My english is not so good and Im very newbie at PHP, but Im improving a lot at this Forum.

Best Regards,

Vinicius Machado
Title: Re: Coppermine Forum Plugin (cpgforum)
Post by: Phill Luckhurst on February 11, 2010, 10:16:55 pm
What you will need to do is create a class for those headers and copy the relavent section from the sample theme into your custom theme and apply that class there. As this is going off topic to the thread please start a new thread in the themes secion of the board. Include a link to your post in this thread, a link to your gallery and possibly zip your vini theme folder and attach it to your post.

I'll not have time tonight as I have other stuff to do but if nobody else picks up on it I will take a look tomorrow (it is nearly 10pm here).

Thanks for your contribution.
Title: Re: Coppermine Forum Plugin (cpgforum)
Post by: Vinicius Machado on February 11, 2010, 10:25:53 pm
Ok Buddy, I will do that. Thanks a lot.

Take care...
Title: Re: Coppermine Forum Plugin (cpgforum)
Post by: xFyrios on February 12, 2010, 12:56:32 am
I was having some troubles with the forum so I uninstalled it temporarily and upon re-installing it today I got an error on my site which is making it completely inaccessible :(

I keep getting this template error and I have no idea how to fix it. I have tried re-uploading all of the forum plugin files but that didn't help. And I have no idea how to uninstall this plugin manually.
Here's the site, as soon as you go to it you will see the error I am talking about.

http://fedorastudios.net/Coppermine/ (http://fedorastudios.net/Coppermine/)

Any help would be greatly appreciated! I'm frantically trying to get it working to no avail here and if someone has some advice I would be so happy!

Thanks,
Chris
Title: Re: Coppermine Forum Plugin (cpgforum)
Post by: Αndré on February 12, 2010, 09:06:47 am
Hi, I've already installed that plugin. Thats really great. But I need some help. At the main page of the Forum, I'd like to change the color of the Category Names. How Can I do This ? I can change every color but the category name.

I'd like something like the class=tableh1 not tableh2. Like white and bold

Regards,

Vinicius Machado
The color is set in the forum template css file (for classic it's forum/templates/classic/style.css (http://www.viniciusmachado.com/crisevini/album/forum/templates/classic/style.css)).

Copy/rename the folder forum/templates/classic to forum/templates/vini.
Title: Re: Coppermine Forum Plugin (cpgforum)
Post by: Phill Luckhurst on February 12, 2010, 09:19:07 am
Andre,

Please see his other thread - http://forum.coppermine-gallery.net/index.php/topic,63709.0.html
Title: Re: Coppermine Forum Plugin (cpgforum)
Post by: xFyrios on February 13, 2010, 08:03:57 pm
Am I going to have to restart from the beginning again...?  :-\
Title: Re: Coppermine Forum Plugin (cpgforum)
Post by: vizerg on April 23, 2010, 12:10:34 pm
Please someone help me!

When I install this plugin (the cpgforum v2) the Light Box plugin doesnt work anymore.
With the cpgforum v1 it works, but the v2 is much better, so I want to use it.

Help me please!

Thanks a lot!
Title: Re: Coppermine Forum Plugin (cpgforum)
Post by: Joe Carver on April 23, 2010, 04:10:35 pm
Posting a link to your Coppermine is required when asking for help.

Please re-read the forum/board rules about posting.

See the sections: "Don't double-post/cross-post"  and "Post links"



Title: Re: Coppermine Forum Plugin (cpgforum)
Post by: jmcreis on January 29, 2011, 01:09:14 pm
Please Help: I need install instrutions for a newbie and I cannt find them :)
Title: Re: Coppermine Forum Plugin (cpgforum)
Post by: Αndré on January 29, 2011, 01:38:06 pm
cpg1.4.x goes unsupported. Here's the corresponding section of the cpg1.5.x docs: http://documentation.coppermine-gallery.net/en/plugins.htm
Title: Re: Coppermine Forum Plugin (cpgforum)
Post by: CJS0815 on January 30, 2011, 05:30:56 pm
Hallo,

sorry for my english, hope anyone can understand me.

Has there anyone an idea or exsample to get some more informations from the forum (like 'last Posts' or so)to the cpg-startsite or how it can look?

At the moment i've no CPG-Site online, but i'm working hard for it.
   

Claus
Title: Re: Coppermine Forum Plugin (cpgforum)
Post by: jmcreis on January 30, 2011, 05:34:00 pm
Thanks André. All is ok now
Title: Re: Coppermine Forum Plugin (cpgforum)
Post by: jmcreis on January 30, 2011, 10:08:25 pm
After all is not well.  :'(
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?





Title: Re: Coppermine Forum Plugin (cpgforum)
Post by: Phill Luckhurst on January 31, 2011, 12:36:53 am
If you are working on the 1.5.x version please could you ask your questions on the 1.5.x board? We are in the process of locking down the 1.4.x boards
Title: Re: Coppermine Forum Plugin (cpgforum)
Post by: jmcreis on January 31, 2011, 09:15:35 am
Ok sorry
Title: Thanks for the helpful information
Post by: Download on June 19, 2011, 10:49:41 am
Thanks for the helpful information
Title: Re: Coppermine Forum Plugin (cpgforum)
Post by: allvip on June 28, 2012, 02:20:55 pm
hi.where can I find forum plugin for Coppermine Photo Gallery 1.5.18
Title: Re: Coppermine Forum Plugin (cpgforum)
Post by: Phill Luckhurst on June 28, 2012, 04:52:47 pm
http://forum.coppermine-gallery.net/index.php/board,91.0.html with all the other CPG1.5.x plugins ;)