• [MOD]Another Simple News Publishing Mod 5 0 5 1
Currently:  

Author Topic: [MOD]Another Simple News Publishing Mod  (Read 348608 times)

0 Members and 1 Guest are viewing this topic.

Offline ID25

  • Full Member
  • ***
  • Posts: 125
    • View Profile
Re: [MOD]Another Simple News Publishing Mod
« Reply #105 on: August 12, 2005, 05:52:16 PM »
TheOracle:
maybe you can help me with news mod plz?
maybe you can made news.php for me?
Archives not working with 4images 1.7.1 :(

TheOracle

  • Guest
Re: [MOD]Another Simple News Publishing Mod
« Reply #106 on: August 12, 2005, 06:22:52 PM »
Quote

Archives not working with 4images 1.7.1


Sorry. No support will be given on this one as I already explained that I do not use 4images v1.7.1.

Offline ID25

  • Full Member
  • ***
  • Posts: 125
    • View Profile
Re: [MOD]Another Simple News Publishing Mod
« Reply #107 on: August 12, 2005, 06:51:50 PM »
But, if you download this version and install, then you have it :)

if you know good php, you just see whats new there..
Where is Vincent? :)

TheOracle

  • Guest
Re: [MOD]Another Simple News Publishing Mod
« Reply #108 on: August 12, 2005, 06:57:32 PM »
Unfortunitely, I do not have all this time from my end as I'm currently building new MODs that's been requested from other users.

Offline ID25

  • Full Member
  • ***
  • Posts: 125
    • View Profile
Re: [MOD]Another Simple News Publishing Mod
« Reply #109 on: August 12, 2005, 07:34:00 PM »
Quote
I'm currently building new MODs
Maybe you can built new mod for news, but with archive?
and for 1.7.1 version :)

Maybe you know where i can download 4images 1.7.0 ?
with this(1.7.1) version many problems!

TheOracle

  • Guest
Re: [MOD]Another Simple News Publishing Mod
« Reply #110 on: August 12, 2005, 07:38:17 PM »
Quote

Maybe you know where i can download 4images 1.7.0 ?


Isn't that available from the downloads link of this site ?  :?

Offline ID25

  • Full Member
  • ***
  • Posts: 125
    • View Profile
Re: [MOD]Another Simple News Publishing Mod
« Reply #111 on: August 12, 2005, 07:41:05 PM »
Quote
Isn't that available from the downloads link of this site ?  :?
NO, just 1.7.1

TheOracle

  • Guest
Re: [MOD]Another Simple News Publishing Mod
« Reply #112 on: August 12, 2005, 07:50:43 PM »
How unfortunite. The two version days are gone I guess. 8)

Offline whirleyes

  • Pre-Newbie
  • Posts: 6
    • View Profile
    • http://whirleyes.tk
Re: [MOD]Another Simple News Publishing Mod
« Reply #113 on: August 19, 2005, 08:14:16 PM »
i've read somewhere in this forum.... i guess it's similar to the guestbook mod prob...
you have to edit your template (news.html)

find

Code: [Select]
<!-- BEGIN CONTENT -->
{if msg}<br /><b>{msg}</b><br />{endif msg}
{contents}
<br />
                  <!-- END OF CONTENT -->

replace with
Code: [Select]
<!-- BEGIN CONTENT -->

{if msg}<br /><b>{msg}</b><br />{endif msg}<br />
{news_contents}<br />
{contents}
<br />

<!-- END OF CONTENT -->

am i right???

TheOracle

  • Guest
Re: [MOD]Another Simple News Publishing Mod
« Reply #114 on: August 19, 2005, 08:20:26 PM »
I don't remember seeing that post in the past ... does it actually work ?

TheOracle

  • Guest
Re: [MOD]Another Simple News Publishing Mod
« Reply #115 on: September 05, 2005, 12:57:41 PM »
// [Bugs-Correction] - admin/news.php

I encountered some slight bugs in the admin/news.php file. For those who encountered some errors when using the search page for the news, this is what you have to do to fix.

In that file,

find :

Quote

$sql = "SELECT COUNT(*) AS news
           FROM ".NEWS_TABLE."           
           WHERE $condition";
$countusers = $site_db->query_firstrow($sql);


replace with :

Code: [Select]

$sql = "SELECT COUNT(*) AS news
           FROM ".NEWS_TABLE." n
           LEFT JOIN ".USERS_TABLE." u ON (".get_user_table_field("u.", "user_id")." = n.user_id)
           WHERE $condition";
$countusers = $site_db->query_firstrow($sql);


Then, find :

Quote

if ($limitfinish > $countusers['users'] == 0) {
    echo "<b>".$limitfinish."</b>.";


add above :

Code: [Select]

$countusers['users'] = array();


Then, find :

Quote

if ($limitnumber == "") {


add above :

Code: [Select]

$limitnumber = "";


That should be all. ;)

Offline ID25

  • Full Member
  • ***
  • Posts: 125
    • View Profile
Re: [MOD]Another Simple News Publishing Mod
« Reply #116 on: September 05, 2005, 11:12:16 PM »
At now this mod work with 4images 1.7.1
thank's  :wink:

TheOracle

  • Guest
Re: [MOD]Another Simple News Publishing Mod
« Reply #117 on: September 05, 2005, 11:41:20 PM »
Quote

At now this mod work with 4images 1.7.1


Are you saying that, after implementing this patch, this works with 4images v1.7.1 now ?  8O

Offline BartAfterDark

  • Hero Member
  • *****
  • Posts: 520
    • View Profile
Re: [MOD]Another Simple News Publishing Mod
« Reply #118 on: September 21, 2005, 08:54:54 PM »
Is there a way to put the date under the headline. It seems the only way is to edit index.php. But can't figure out what?

*EDIT*

Got it working. Just added <br /> to the main.php language file (where the date is) and that worked :)
 - lars

Offline ch€ri{Bi}²

  • Sr. Member
  • ****
  • Posts: 315
  • A PRoBLeM wIthOUt SoLuTioN Is NoT rEAllY a PRoBLeM
    • View Profile
    • Pat's Gallery
Re: [MOD]Another Simple News Publishing Mod
« Reply #119 on: October 03, 2005, 02:05:41 PM »
Quote
this works with 4images v1.7.1 now ?
Yes it works with v1.7.1.

now,
 :?: Is there a way to perform a search in the news?
ch€ri{Bi}²