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

News:

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

Main Menu

Coppermine Forum Plugin (cpgforum)

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

Previous topic - Next topic

0 Members and 4 Guests are viewing this topic.

Meelis

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'     ???

foulu

#241
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.


Meelis

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.

streetart

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

foulu

@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.

streetart

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


Αndré

Quote from: streetart on September 26, 2008, 08:47:33 PM
-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".

Quote from: 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?
It should be possible. Compare with and adapt from http://forum.coppermine-gallery.net/index.php/topic,55227.0.html

streetart

thx..but I want the display of (forumposts: 12) in the profil and not in the forum.

foulu

I decide to not include this feature in my plugin because we need to modify "profile.php" which is a core file.


Super Noodles

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 :)

Super Noodles

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

foulu

This feature still not implement in my plugin due to lack of time. Sorry !

ibanez

Quote from: 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

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


ibanez


Αndré

If you want to use my code in a new file, you have to put it between
<?php
define
('IN_COPPERMINE'true);
require(
'include/init.inc.php');
pageheader();

and

pagefooter();
?>

ibanez

Quote from: eenemeenemuu 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
<?php
define
('IN_COPPERMINE'true);
require(
'include/init.inc.php');
pageheader();

and

pagefooter();
?>


Yes, new file
I'm make a new file, but not working
<?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>";
  
}

?>


Αndré

Put your new file in your cpg directory (where index.php etc. are located). I tested your code and it works!

ibanez

Quote from: eenemeenemuu 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!

Ok,
Thanks