31
FaYsSaL
Re: Problem with news mod
  • 2007/4/11 12:26

  • FaYsSaL

  • Not too shy to talk

  • Posts: 115

  • Since: 2006/1/2 2


ohhh yes its :s :s:s:s
thanks marcoo and hervé
and sooryy



32
FaYsSaL
Re: Problem with news mod
  • 2007/4/11 12:25

  • FaYsSaL

  • Not too shy to talk

  • Posts: 115

  • Since: 2006/1/2 2


i've just found a template on my theme named news_index.html
Quote:


<{$xoTheme->addStylesheet('modules/news/style.css')}>


<{if $topic_rssfeed_link}>
<a rel="alternate" class="rss" href="<{xoAppUrl modules/news/backendt.php topicid=$topic.id}>" title="RSS">
<img src="<{xoImgUrl /img/rss.png}>" alt="RSS" />
</a>
<{/if}>

<h1><{$topic_title|default:$smarty.const._MI_NEWS_NAME}></h1>

<{if $displaynav == true}>
<div class="xo-navbar">
<form name="form1" action="<{$xoops_url}>/modules/news/index.php" method="get">
<{$topic_select}>
<select name="storynum"><{$storynum_options}></select>
<button type="submit" class="formButton"><{$lang_go}></button>
</form>
</div>
<{/if}>
<{if $topic_description}>
<p><{$topic.description}></p>
<{/if}>

<div style="margin: 10px;"><{$pagenav}></div>

<ul class="xodata-list">
<{foreach from=$columns.0 item=story}>
<li class="xodata-entity news-story">
<div class="xodata-title"><{$story.title}></div>
<div class="xodata-header">
<{if $rates}>
<span class="agora-attributes">
<span class="xo-label"><{$lang_ratingc}></span><span class="agora-rating"><{$story.rating}></span>
<span class="agora-votesCount">(<{$story.votes}>)</span>
</span>
<{/if}>
<{if $story.files_attached}>
<a href="<{xoAppUrl modules/news/article.php storyid=$story.id}>" title="<{$smarty.const._NW_ATTACHEDLIB}>">
<img src="<{xoImgUrl /icons/16x16/attachment.png}>" alt="Attachments" />
</a>
<{/if}>
<{if $story.poster != ''}><span class="itemPoster"><{$lang_postedby}> <{$story.poster}></span><{/if}>
<span class="datePosted"><{$lang_on}> <{$story.posttime}></span>
(<span class="itemStats"><{$story.hits}> <{$lang_reads}></span>)
<{$news_by_the_same_author_link}>
</div>
<div class="xodata-body">
<{$story.imglink}>
<{$story.text}>
<div class="more"><{$story.morelink}></div>
</div>
<div class="xodata-actions">
<{if $xoops_isadmin}>
<a class="edit" title="<{$smarty.const._EDIT}>"
href="<{xoAppUrl modules/news/submit.php?op=edit&storyid=}><{$story.id}>"><{$smarty.const._EDIT}></a>
<a class="delete" title="<{$smarty.const._DELETE}>"
href="<{xoAppUrl modules/news/index.php?op=delete&storyid=}><{$story.id}>"><{$smarty.const._DELETE}></a>
<{/if}>
<{if $rates}>
<a class="rate" title="<{$lang_ratethisnews}>"
href="<{$xoops_url}>/modules/news/ratenews.php?storyid=<{$story.id}>" rel="nofollow">
<{$lang_ratethisnews}>
</a>
<{/if}>
</div>
<div class="rounded-bottom"><div> </div></div>
</li>
<{/foreach}>
</ul>

<div style="text-align: right; margin: 10px"><{$pagenav}></div>
<{include file='db:system_notification_select.html'}>

can this make any trouble ?



33
FaYsSaL
Re: Problem with news mod
  • 2007/4/11 12:18

  • FaYsSaL

  • Not too shy to talk

  • Posts: 115

  • Since: 2006/1/2 2


even overload option via my theme doesnt work that verry strange !
i cant uninstall the mod cuz i've a lot of news big big db .
can hervé help me plz
that problem exist since my update from 1.51 to 1.53



34
FaYsSaL
Re: Problem with news mod
  • 2007/4/11 12:11

  • FaYsSaL

  • Not too shy to talk

  • Posts: 115

  • Since: 2006/1/2 2


i've done all possible options to fix the problem but nothing !
the same probleme :-s



35
FaYsSaL
Re: Problem with news mod
  • 2007/4/11 11:30

  • FaYsSaL

  • Not too shy to talk

  • Posts: 115

  • Since: 2006/1/2 2


yes that what i've seen yesterday when i've checked the lang files
can i pm u ! hervet!
thx in advance



36
FaYsSaL
Re: Problem with news mod
  • 2007/4/11 11:03

  • FaYsSaL

  • Not too shy to talk

  • Posts: 115

  • Since: 2006/1/2 2


yes,i've delete all files from template_c
my XOOPS version is 2.0.16
PHP Version: 4.4.4
MYSQL Version: 5.0.24
thx



37
FaYsSaL
Re: Problem with news mod
  • 2007/4/11 10:48

  • FaYsSaL

  • Not too shy to talk

  • Posts: 115

  • Since: 2006/1/2 2


i've just reupload the files yesterday but the problem exist
can u give me a link for a stable version !
im using the one on instant zero ! 1.53
ps : this problem doesnt existe when i was using 1.51
also i dont have the news agregators even if i active the option from admin !
thx for ur help marco



38
FaYsSaL
Re: Problem with news mod
  • 2007/4/11 10:20

  • FaYsSaL

  • Not too shy to talk

  • Posts: 115

  • Since: 2006/1/2 2


hi when i've tried just now to update (with debug mode on) i've got a lot of notices but also ive got 3 warning from news mod :-s
here are the warnings
Quote:

Warning: fopen(/modules/news/templates/blocks/news_block_new.html) [function.fopen]: failed to open stream: No such file or directory in file /class/smarty/xoops_plugins/resource.db.php line 18
Warning: filesize() [function.filesize]: Stat failed for /modules/news/templates/blocks/news_block_new.html (errno=2 - No such file or directory) in file /class/smarty/xoops_plugins/resource.db.php line 19
Warning: fread(): supplied argument is not a valid stream resource in file /class/smarty/xoops_plugins/resource.db.php line 19
Warning: fclose(): supplied argument is not a valid stream resource in file /class/smarty/xoops_plugins/resource.db.php line 20
Warning: filemtime() [function.filemtime]: Stat failed for /modules/news/templates/blocks/news_block_new.html (errno=2 - No such file or directory) in file /class/smarty/xoops_plugins/resource.db.php line 32



thanks in advance



39
FaYsSaL
Re: Problem with news mod
  • 2007/4/11 9:32

  • FaYsSaL

  • Not too shy to talk

  • Posts: 115

  • Since: 2006/1/2 2


no one:-s



40
FaYsSaL
Re: Problem with news mod
  • 2007/4/10 22:55

  • FaYsSaL

  • Not too shy to talk

  • Posts: 115

  • Since: 2006/1/2 2


up




TopTop
« 1 2 3 (4) 5 6 7 ... 10 »



Login

Who's Online

243 user(s) are online (163 user(s) are browsing Support Forums)


Members: 0


Guests: 243


more...

Donat-O-Meter

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

Latest GitHub Commits