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 2 [3] 4   Go Down

Author Topic: News Bulletin - RSS feed generator, News Bulletin, News Manager...  (Read 87955 times)

0 Members and 1 Guest are viewing this topic.

DaBe

  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Posts: 110
Re: News Bulletin - RSS feed generator, News Bulletin, News Manager...
« Reply #40 on: January 01, 2008, 01:12:50 pm »

hello

ist there possible: the news use the comment system from the coppermine-gallery?


pls help.
Logged

just_some_guy

  • Supporter
  • Coppermine addict
  • ****
  • Offline Offline
  • Posts: 539
  • I am currently on holiday, back in a few weeks. :D
Re: News Bulletin - RSS feed generator, News Bulletin, News Manager...
« Reply #41 on: January 01, 2008, 03:13:04 pm »

I don't really understand what you mean. An interface for writing news articles is created by the plugin.
Logged
Tambien, Hablo Espaņol      PHP - Achieve Anything
"The Internet is becoming the town square for the global village of tomorrow. " - Bill Gates
Windows 7 Forums

DaBe

  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Posts: 110
Re: News Bulletin - RSS feed generator, News Bulletin, News Manager...
« Reply #42 on: January 02, 2008, 12:11:27 pm »

yes..but a comment system like a blog was nice.

the user than can write comment to the news.
Logged

just_some_guy

  • Supporter
  • Coppermine addict
  • ****
  • Offline Offline
  • Posts: 539
  • I am currently on holiday, back in a few weeks. :D
Re: News Bulletin - RSS feed generator, News Bulletin, News Manager...
« Reply #43 on: January 02, 2008, 07:31:40 pm »

Nice idea, i might look into that for the future.
Logged
Tambien, Hablo Espaņol      PHP - Achieve Anything
"The Internet is becoming the town square for the global village of tomorrow. " - Bill Gates
Windows 7 Forums

.andrew

  • Coppermine newbie
  • Offline Offline
  • Posts: 6
Re: News Bulletin - RSS feed generator, News Bulletin, News Manager...
« Reply #44 on: January 03, 2008, 05:14:19 pm »

Hi, I have one small problem.Could you please make a lite version of the box that comes into the index, so in won't be expandable, and it would contain only 5 news, but only title and date, without that part of the news.
Thanks again.

P.s:sry fot my bad english  :(
Logged

just_some_guy

  • Supporter
  • Coppermine addict
  • ****
  • Offline Offline
  • Posts: 539
  • I am currently on holiday, back in a few weeks. :D
Re: News Bulletin - RSS feed generator, News Bulletin, News Manager...
« Reply #45 on: January 04, 2008, 12:49:39 pm »

I'll look into this and get back to you.
Logged
Tambien, Hablo Espaņol      PHP - Achieve Anything
"The Internet is becoming the town square for the global village of tomorrow. " - Bill Gates
Windows 7 Forums

.andrew

  • Coppermine newbie
  • Offline Offline
  • Posts: 6
Re: News Bulletin - RSS feed generator, News Bulletin, News Manager...
« Reply #46 on: January 04, 2008, 04:55:42 pm »

Ok thank you were much  :).
oh and if someone could tell me what I have to write in the index.php it would be great ;D
thanks again  :D
Logged

DaBe

  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Posts: 110
Re: News Bulletin - RSS feed generator, News Bulletin, News Manager...
« Reply #47 on: January 04, 2008, 08:27:42 pm »

hello..

is that compatible with the stramm modpack ?

because I have a critical error, when I want install
Logged

just_some_guy

  • Supporter
  • Coppermine addict
  • ****
  • Offline Offline
  • Posts: 539
  • I am currently on holiday, back in a few weeks. :D
Re: News Bulletin - RSS feed generator, News Bulletin, News Manager...
« Reply #48 on: January 04, 2008, 09:35:45 pm »

Yes it is compatible, i have the modpack installed and working fine as you can see on my site.
Logged
Tambien, Hablo Espaņol      PHP - Achieve Anything
"The Internet is becoming the town square for the global village of tomorrow. " - Bill Gates
Windows 7 Forums

just_some_guy

  • Supporter
  • Coppermine addict
  • ****
  • Offline Offline
  • Posts: 539
  • I am currently on holiday, back in a few weeks. :D
Re: News Bulletin - RSS feed generator, News Bulletin, News Manager...
« Reply #49 on: January 04, 2008, 09:39:49 pm »

Can you turn on debug mode and provide the proper error, thanks.
Logged
Tambien, Hablo Espaņol      PHP - Achieve Anything
"The Internet is becoming the town square for the global village of tomorrow. " - Bill Gates
Windows 7 Forums

just_some_guy

  • Supporter
  • Coppermine addict
  • ****
  • Offline Offline
  • Posts: 539
  • I am currently on holiday, back in a few weeks. :D
Re: News Bulletin - RSS feed generator, News Bulletin, News Manager...
« Reply #50 on: January 05, 2008, 11:10:46 am »

Hi, I have one small problem.Could you please make a lite version of the box that comes into the index, so in won't be expandable, and it would contain only 5 news, but only title and date, without that part of the news.
Thanks again.

P.s:sry fot my bad english  :(

news.php

Find

Code: [Select]

$sql ="SELECT * FROM cpg1411_plugin_news  WHERE active=1 ORDER BY date DESC";

Replace with

Code: [Select]

$sql ="SELECT * FROM cpg1411_plugin_news  WHERE active=1 ORDER BY date DESC LIMIT 5";


Find

Code: [Select]
<tr>
                        <td align="left" class="tableh2" colspan="3" onclick="show_section('section')">
                                <span onclick="show_section('section')" style="cursor:pointer" align="left"><a href="javascript:expand();"><img src="images/descending.gif" border="0" width="9" height="9" alt="" title="{$lang_admin_php['click_expand']}" /> <b>News</b></span><a/>
                        </td>

Replace With

Code: [Select]
  <tr>
                        <td align="left" class="tableh2" colspan="3"">
                                <span align="left"><b>News</b></span>
                        </td>

Find and Remove

Code: [Select]
<script type="text/javascript">
function expand()
{
        var Nodes = document.getElementsByTagName("table")
        var max = Nodes.length
        for(var i = 0;i < max;i++) {
                var nodeObj = Nodes.item(i)
                var str = nodeObj.id
                if (str.match("section")) {
                        nodeObj.style.display = 'block';
                }
        }
}

</script>

Find and Remove

Code: [Select]
<script type="text/javascript">
        onload = hideall;
</script>

Find and Remove

Code: [Select]
echo '<tr>';
echo '<td align="left">';
echo  $row["value"] ,"<br />";
echo '</td>';
echo '</td>';
echo '<br/>';
Logged
Tambien, Hablo Espaņol      PHP - Achieve Anything
"The Internet is becoming the town square for the global village of tomorrow. " - Bill Gates
Windows 7 Forums

dke

  • Guest
Re: News Bulletin - RSS feed generator, News Bulletin, News Manager...
« Reply #51 on: January 06, 2008, 06:35:53 pm »

Hmm i installed this plugin and it does not appear anywhere, not sure whats wrong, probably something in my template.html? i have more custom stuff installed
Logged

just_some_guy

  • Supporter
  • Coppermine addict
  • ****
  • Offline Offline
  • Posts: 539
  • I am currently on holiday, back in a few weeks. :D
Re: News Bulletin - RSS feed generator, News Bulletin, News Manager...
« Reply #52 on: January 06, 2008, 10:36:40 pm »

In Album list view add /news.
Logged
Tambien, Hablo Espaņol      PHP - Achieve Anything
"The Internet is becoming the town square for the global village of tomorrow. " - Bill Gates
Windows 7 Forums

dke

  • Guest
Re: News Bulletin - RSS feed generator, News Bulletin, News Manager...
« Reply #53 on: January 07, 2008, 01:00:33 pm »

hmmm im pretty sure i did add /news in that secion, ill check once again when i get home.
Logged

.andrew

  • Coppermine newbie
  • Offline Offline
  • Posts: 6
Re: News Bulletin - RSS feed generator, News Bulletin, News Manager...
« Reply #54 on: January 07, 2008, 03:20:46 pm »

Thank you very much just_some_guy , I'll try that :D

Later edit:It works!!  :oThank you very much :D :) ;D
« Last Edit: January 07, 2008, 03:35:33 pm by .andrew »
Logged

.andrew

  • Coppermine newbie
  • Offline Offline
  • Posts: 6
Re: News Bulletin - RSS feed generator, News Bulletin, News Manager...
« Reply #55 on: January 12, 2008, 09:29:31 pm »

just_some_guy, could you please make am V3 that will contain a news.php page where users can see all the news and comment them?But only if you have time, and you want to. Thanks :)
Logged

just_some_guy

  • Supporter
  • Coppermine addict
  • ****
  • Offline Offline
  • Posts: 539
  • I am currently on holiday, back in a few weeks. :D
Re: News Bulletin - RSS feed generator, News Bulletin, News Manager...
« Reply #56 on: January 17, 2008, 08:22:44 pm »

I have started work on a blog plugin/mod for coppermine, so watch this space.  ;D
Logged
Tambien, Hablo Espaņol      PHP - Achieve Anything
"The Internet is becoming the town square for the global village of tomorrow. " - Bill Gates
Windows 7 Forums

jimh

  • Coppermine newbie
  • Offline Offline
  • Posts: 2
Re: News Bulletin - RSS feed generator, News Bulletin, News Manager...
« Reply #57 on: January 18, 2008, 08:38:00 am »

A blog is what I'm after. So thanks in advance for the work you're doing!

Jim
Logged

rascalli

  • Coppermine newbie
  • Offline Offline
  • Posts: 5
Re: News Bulletin - RSS feed generator, News Bulletin, News Manager...
« Reply #58 on: January 27, 2008, 11:17:14 am »

would it be possible to have the news items aligned on the left ?

As now I see them in the middle.

Also , how can I delete the hide function ? Already have it to show , but would like it to have it shown always

And last but not least , how can I post links to new photo categories ?
« Last Edit: January 27, 2008, 11:50:10 am by rascalli »
Logged

just_some_guy

  • Supporter
  • Coppermine addict
  • ****
  • Offline Offline
  • Posts: 539
  • I am currently on holiday, back in a few weeks. :D
Re: News Bulletin - RSS feed generator, News Bulletin, News Manager...
« Reply #59 on: January 27, 2008, 11:58:46 am »

This will do mostly what you want http://forum.coppermine-gallery.net/index.php?topic=48219.msg237901#msg237901, The link feature does not exist at this time, sorry.
Logged
Tambien, Hablo Espaņol      PHP - Achieve Anything
"The Internet is becoming the town square for the global village of tomorrow. " - Bill Gates
Windows 7 Forums
Pages: 1 2 [3] 4   Go Up
 

Page created in 0.02 seconds with 19 queries.