Search found 20 matches

by presura
Mon Aug 23, 2010 7:14 pm
Forum: Modules/Add-Ons
Topic: Module that takes an RSS entry and brings it automatically in the News section
Replies: 2
Views: 994

Module that takes an RSS entry and brings it automatically in the News section

Hi, In SMF there exists an Feed Poster that takes an RSS and add it as an entry in the Forum: http://custom.simplemachines.org/mods/index.php?mod=624 Does anyone knows if such a module is available for the CMS Made Simple? One that takes an RSS entry and brings it automatically in the News section o...
by presura
Mon Feb 23, 2009 4:17 pm
Forum: Modules/Add-Ons
Topic: Too many comments shown in admin [solved]
Replies: 4
Views: 1151

Re: Too many comments shown in admin

I solved it by modifying the action.defaultadmin.php:

$valoare = 0;
while (($row = $dbresult->FetchRow()) &&  ($valoare id = $row['comment_id'];

It shows now the last 15 comments
by presura
Fri Feb 13, 2009 11:22 am
Forum: Modules/Add-Ons
Topic: Too many comments shown in admin [solved]
Replies: 4
Views: 1151

Re: Too many comments shown in admin

No suggestion?  :'(
by presura
Thu Jan 15, 2009 11:20 am
Forum: Modules/Add-Ons
Topic: Too many comments shown in admin [solved]
Replies: 4
Views: 1151

Too many comments shown in admin [solved]

Hi, after 2 years, I have many comments on my site. However, if I want to edit or delete some, I have a problem. Ussually, I have to log in into admin: ../admin/moduleinterface.php?module=Comments After that I can edit or delete the comment. However, in Admin it takes a lot of time to load the page,...
by presura
Tue Sep 23, 2008 5:08 pm
Forum: Modules/Add-Ons
Topic: In News/Admin, the authors should see only their own articles. How?
Replies: 1
Views: 1123

Re: In News/Admin, the authors should see only their own articles. How?

I had no reactions,  >:( but I solved it by myself... Just to remind me, I changed the code in the previous EDIT file: $userid = get_userid(); if ( $author_id == $userid )       { $this->smarty->assign('submit', $this->CreateInputSubmit($id, 'submit', lang('submit'))); $this->smarty->assign('apply',...
by presura
Thu Sep 18, 2008 2:05 pm
Forum: Modules/Add-Ons
Topic: In News/Admin, the authors should see only their own articles. How?
Replies: 1
Views: 1123

In News/Admin, the authors should see only their own articles. How?

I do have a problem with multiple authors in the News Module. At the moment, one author can edit the articles of the other authors, not only their own articles. What can I do to have each author being able to modifiy only his articol (in Admin), or post new ones? I think that the solution may be not...
by presura
Tue Sep 16, 2008 11:58 am
Forum: Modules/Add-Ons
Topic: How to show in Admin only the articles of the authored logged in?
Replies: 4
Views: 1033

Re: How to show in Admin only the articles of the authored logged in?

Hmm...
Does it mean that it can not be made?
by presura
Mon Sep 15, 2008 9:39 pm
Forum: Modules/Add-Ons
Topic: How to show in Admin only the articles of the authored logged in?
Replies: 4
Views: 1033

How to show in Admin only the articles of the authored logged in?

I do have a problem with multiple authors. At the moment, one author can edit the articles of the other authors, not only their own articles. What can I do to have each author being able to modifiy only his articol (in Admin), or post new ones?
thanks in advance, cristian
by presura
Mon Aug 18, 2008 6:07 pm
Forum: Layout and Design (CSS & HTML)
Topic: How to make a clean RSS feed? [solved]
Replies: 11
Views: 3537

Re: How do make a clean RSS feed?

Just to remind me ( ;D) I made a file generate-feeds.pl in the public_html/cgi-bin The content is: #!/usr/bin/perl use CGI::Carp qw(fatalsToBrowser); #!/usr/bin/perl use LWP::Simple qw(getstore); getstore( "http://www.stiinta.info/index.php?mact=News,cntnt01,rss,0&cntnt01number=15&cntnt...
by presura
Mon Jun 23, 2008 4:25 pm
Forum: Developers Discussion
Topic: how to show the last comments?
Replies: 3
Views: 1804

Re: how to show the last comments?

Hmm, a bit of php does help... So I solved the length with the substr: ************ global $gCms; $db = & $gCms->GetDb(); $query = 'SELECT * FROM `cms_module_comments` ORDER BY `create_date` DESC LIMIT 5'; $result = $db->Execute($query); while ($result && !$result->EOF) {             ech...
by presura
Mon Jun 23, 2008 2:50 pm
Forum: Developers Discussion
Topic: how to show the last comments?
Replies: 3
Views: 1804

Re: how to show the last comments?

Hi Scooper, Thanks for your help! I did write the code where I put a link, and it works! The modiefied is below. I wonder, can you modify the code to show only the first 20 characters of the comment? Again, thanks a lot, cristian ****************** global $gCms; $db = & $gCms->GetDb(); $query = ...

Go to advanced search