Advanced search  

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Pages: 1 ... 9 10 11 12 [13] 14 15 16 17 ... 19   Go Down

Author Topic: Coppermine Forum Plugin (cpgforum)  (Read 440965 times)

0 Members and 1 Guest are viewing this topic.

Meelis

  • Translator
  • Coppermine newbie
  • **
  • Offline Offline
  • Gender: Male
  • Posts: 12
    • Photo Album
Re: Coppermine Forum Plugin (cpgforum)
« Reply #240 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'     ???
Logged

foulu

  • Contributor
  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 236
  • uhm
Re: Coppermine Forum Plugin (cpgforum)
« Reply #241 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.

« Last Edit: September 25, 2008, 01:55:41 pm by foulu »
Logged

Meelis

  • Translator
  • Coppermine newbie
  • **
  • Offline Offline
  • Gender: Male
  • Posts: 12
    • Photo Album
Re: Coppermine Forum Plugin (cpgforum)
« Reply #242 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.
Logged

streetart

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 48
Re: Coppermine Forum Plugin (cpgforum)
« Reply #243 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
Logged

foulu

  • Contributor
  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 236
  • uhm
Re: Coppermine Forum Plugin (cpgforum)
« Reply #244 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.

streetart

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 48
Re: Coppermine Forum Plugin (cpgforum)
« Reply #245 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

Logged

Αndré

  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15759
Re: Coppermine Forum Plugin (cpgforum)
« Reply #246 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
Logged

streetart

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 48
Re: Coppermine Forum Plugin (cpgforum)
« Reply #247 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.
Logged

foulu

  • Contributor
  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 236
  • uhm
Re: Coppermine Forum Plugin (cpgforum)
« Reply #248 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.

foulu

  • Contributor
  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 236
  • uhm
Re: Coppermine Forum Plugin (cpgforum)
« Reply #249 on: October 02, 2008, 03:29:27 pm »

Super Noodles

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 31
Re: Coppermine Forum Plugin (cpgforum)
« Reply #250 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 :)
Logged

Super Noodles

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 31
Re: Coppermine Forum Plugin (cpgforum)
« Reply #251 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
Logged

foulu

  • Contributor
  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 236
  • uhm
Re: Coppermine Forum Plugin (cpgforum)
« Reply #252 on: October 17, 2008, 04:45:41 pm »

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

ibanez

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 47
  • Thanks Coppermine
    • Foto Kafe
Re: Coppermine Forum Plugin (cpgforum)
« Reply #253 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

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
Logged

Αndré

  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15759
Logged

ibanez

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 47
  • Thanks Coppermine
    • Foto Kafe
Re: Coppermine Forum Plugin (cpgforum)
« Reply #255 on: November 28, 2008, 11:09:31 am »

Logged

Αndré

  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15759
Re: Coppermine Forum Plugin (cpgforum)
« Reply #256 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();
?>
Logged

ibanez

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 47
  • Thanks Coppermine
    • Foto Kafe
Re: Coppermine Forum Plugin (cpgforum)
« Reply #257 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>";
  
}

?>
Logged

Αndré

  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15759
Re: Coppermine Forum Plugin (cpgforum)
« Reply #258 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!
Logged

ibanez

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 47
  • Thanks Coppermine
    • Foto Kafe
Re: Coppermine Forum Plugin (cpgforum)
« Reply #259 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
Logged
Pages: 1 ... 9 10 11 12 [13] 14 15 16 17 ... 19   Go Up
 

Page created in 0.026 seconds with 20 queries.