61
Anonymous
Re: News 1.67 RC 1 ready for testing
  • 2012/6/9 19:43

  • Anonymous

  • Posts: 0

  • Since:


Replace line 237 in admin/index.php
<a href='".XOOPS_URL."/modules/news/submit.php?returnside=1&amp;op=edit&amp;storyid=" . $eachstory -> storyid() . "'> <img src='" . $pathImageIcon."/edit.png.' ' title="._AM_EDIT."></a>


with
<a href='".XOOPS_URL."/modules/news/submit.php?returnside=1&amp;op=edit&amp;storyid=" . $eachstory -> storyid() . "'> <img src='" . $pathImageIcon."/edit.png' title='"._AM_EDIT."'></a>


Now there is an edit and delete button in "expired articles" on admin side.

62
Anonymous
Re: News 1.67 RC 1 ready for testing
  • 2012/6/9 20:00

  • Anonymous

  • Posts: 0

  • Since:


Replace line 128 in admin/index.php
</td><td align='center'><a href='" . XOOPS_URL . "/userinfo.php?uid=" . $autostory->uid() . "'>" . $autostory->uname() . "</a></td><td align='center' class='nw'>" . formatTimestamp($autostory->published(),$dateformat) . "</td><td align='center'>" . $expire . "</td><td align='center'><a href='".XOOPS_URL."/modules/news/submit.php?returnside=1&amp;op=edit&amp;storyid=" . $autostory->storyid() . "'><img src='" . $pathIcon16."/edit.png. ' '. title="._AM_EDIT."> </a> <a href='".XOOPS_URL."/modules/news/admin/index.php?op=delete&amp;storyid=" . $autostory->storyid() . "'><img src='" . $pathIcon16."/delete.png' '.  title='._AM_DELETE.'></a>";


with
</td><td align='center'><a href='" . XOOPS_URL . "/userinfo.php?uid=" . $autostory->uid() . "'>" . $autostory->uname() . "</a></td><td align='center' class='nw'>" . formatTimestamp($autostory->published(),$dateformat) . "</td><td align='center'>" . $expire . "</td><td align='center'><a href='".XOOPS_URL."/modules/news/submit.php?returnside=1&amp;op=edit&amp;storyid=" . $autostory->storyid() . "'><img src='" . $pathIcon16."/edit.png' title='"._AM_EDIT."'></a><a href='".XOOPS_URL."/modules/news/admin/index.php?op=delete&amp;storyid=" . $autostory->storyid() . "'><img src='" . $pathIcon16."/delete.png' title='"._AM_DELETE."'></a>";


its make the icons edit en delete visible and useable on the admin side for the list of automated articles.

63
Anonymous
Re: News 1.67 RC 1 ready for testing
  • 2012/6/9 20:10

  • Anonymous

  • Posts: 0

  • Since:


Statistics News is not working.

Only showing
There are 0 Categories in the database
There are 0 Categories Online
There are 0 News in the database
There are 0 News Online

64
Mamba
Re: News 1.67 RC 1 ready for testing
  • 2012/6/9 21:29

  • Mamba

  • Moderator

  • Posts: 11364

  • Since: 2004/4/23


Thanks Renetjuh. This has been already fixed in SVN
Support XOOPS => DONATE
Use 2.5.10 | Docs | Modules | Bugs

65
Mamba
Re: News 1.67 RC 1 ready for testing
  • 2012/6/9 21:31

  • Mamba

  • Moderator

  • Posts: 11364

  • Since: 2004/4/23


Quote:
Statistics News is not working.

Confirmed. Can somebody look into it, as I might not have time soon enough for it
Support XOOPS => DONATE
Use 2.5.10 | Docs | Modules | Bugs

66
Mamba
Re: News 1.67 RC 1 ready for testing
  • 2012/6/10 6:17

  • Mamba

  • Moderator

  • Posts: 11364

  • Since: 2004/4/23


OK, Statistics in the Dashboard are now fixed in XOOPS SVN

Are these statistics the right ones? If not, what kind of statistics should we include? Please note that there is a whole tab of Statistics, so we don't want to duplicate them here.
Support XOOPS => DONATE
Use 2.5.10 | Docs | Modules | Bugs

67
Anonymous
Re: News 1.67 RC 1 ready for testing
  • 2012/6/10 8:39

  • Anonymous

  • Posts: 0

  • Since:


Mamba thanks. I will test it soon (hopefully today).

For me the statistics OK.

- Another question or suggestion. An expired article is not equal to a deleted article. A deleted article is removed from the database, so not visible in admin and userside.

- An expired article is not actual anymore, useful for background information, visible in admin side but not in userside.

is it possible and simple to configure what kind of articles will show up in the news archive? For now only the actual articles displayed in the archive.

In my opinion it is a good feature if the admin also can decide to display the expired articles in the archive.

Do you understand my point? What do you think?

68
Mamba
Re: News 1.67 RC 1 ready for testing
  • 2012/6/10 9:13

  • Mamba

  • Moderator

  • Posts: 11364

  • Since: 2004/4/23


Quote:
is it possible and simple to configure what kind of articles will show up in the news archive? For now only the actual articles displayed in the archive.


For me the idea of "expired" article is to make them "private", visible only for the Admin.

If we want all people to see them in the Archive, then just remove the "expired" date, and then you'll have them visible in the Archive to everybody.
Support XOOPS => DONATE
Use 2.5.10 | Docs | Modules | Bugs

69
Cesagonchu
Re: News 1.67 RC 3

News 1.67 RC3 and Xoops 2.5.5

1- Typos

The typos which you corrected, returned :

Quote:
replace
// Added in verisn 1.50

with
// Added in version 1.50



Line 195

replace
// Added in verisn 1.67

with
// Added in version 1.67


2- Errors

=> modules/news/submit.php (when I preview)

Undefined variablesubtitle in file /modules/news/include/storyform.inc.php line 43

(you however corrected it before)


=> Images of articles do not download

=> The module does not validate the change of editor (eg TinyMCE)


3- Modifications

To display the "title" as it should :

in news\article.php

line 303 and 304

add :

$xoopsTpl->assign('lang_delete'_NW_DELETE);
$xoopsTpl->assign('lang_edit'_NW_EDIT);



and in news\templates\news_article.html

Line 6 and 7

modify :
<a href="<{$xoops_url}>/modules/news/submit.php?op=edit&amp;storyid=<{$story.id}>"><img src="<{xoModuleIcons16 edit.png}>" title="NW_EDIT"></a>
<
a href="<{$xoops_url}>/modules/news/admin/index.php?op=delete&amp;storyid=<{$story.id}>"><img src="<{xoModuleIcons16 delete.png}>" title="._NW_DELETE."></a>

with :
<a href="<{$xoops_url}>/modules/news/submit.php?op=edit&amp;storyid=<{$story.id}>"><img src="<{xoModuleIcons16 edit.png}>" title="<{$lang_edit}>"></a>
<
a href="<{$xoops_url}>/modules/news/admin/index.php?op=delete&amp;storyid=<{$story.id}>"><img src="<{xoModuleIcons16 delete.png}>" title="<{$lang_delete}>"></a>

70
Mamba
Re: News 1.67 RC 3
  • 2012/6/17 21:17

  • Mamba

  • Moderator

  • Posts: 11364

  • Since: 2004/4/23


Thanks, Cesag.

Errors fixed in XOOPS SVN

Quote:
=> Images of articles do not download

I am not sure I understand it

Quote:
=> The module does not validate the change of editor (eg TinyMCE)

How and why should it do it? You change the Editor in preferences, and that's it. Do I miss something here?

Support XOOPS => DONATE
Use 2.5.10 | Docs | Modules | Bugs

Login

Who's Online

224 user(s) are online (45 user(s) are browsing Support Forums)


Members: 0


Guests: 224


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Mar 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits