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

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

0 Members and 1 Guest are viewing this topic.

Offline paburmester

  • Full Member
  • ***
  • Posts: 244
    • View Profile
Re: [MOD]Another Simple News Publishing Mod
« Reply #195 on: October 02, 2006, 03:43:09 AM »
Someone to help me? Please! I just want to know how can I save my settings in ACP. Please! :cry:

Offline paburmester

  • Full Member
  • ***
  • Posts: 244
    • View Profile
Re: [MOD]Another Simple News Publishing Mod
« Reply #196 on: October 03, 2006, 01:00:42 AM »
I found this:

Quote
1st PROBLEM: Settings for news system are not saved:
   
      SOLUTION:
      As deenee said, there is some data missing in the table "settings" for the news settings to be saved.
      This is the SQL I used to insert the lines:

         INSERT INTO `settings` VALUES ('news_home_display', '1');
         INSERT INTO `settings` VALUES ('news_nb', '2');
         INSERT INTO `settings` VALUES ('news_nb_days', '10');
         INSERT INTO `settings` VALUES ('news_cutoff', '5');
         INSERT INTO `settings` VALUES ('news_html', '0');
         INSERT INTO `settings` VALUES ('news_bbcode', '0');
         INSERT INTO `settings` VALUES ('news_bbcodeimg', '0');

      As you can see, I have assigned an initial value (the number on the right for each setting) which I thought was fine.
      So copy&paste these lines in your MySQL GUI and now from the ACP you'll be able to successfully set the news settings

But I dont know how to do it...  :oops:  can some body please explain to me?
thanks

Offline Fragezeichen

  • Jr. Member
  • **
  • Posts: 58
    • View Profile
Re: [MOD]Another Simple News Publishing Mod
« Reply #197 on: October 16, 2006, 12:20:27 AM »
hallo,
ich habe leider ein anzeigeproblem bei den news in der home.html
zwischen den zeilen ist der abstand zu groß,weis jemand wo ich das ändern kann?

there a problem with the space between the words by the home.html,how to make it smalle?
example on my page

Offline kyzer

  • Newbie
  • *
  • Posts: 11
    • View Profile
Re: [MOD]Another Simple News Publishing Mod
« Reply #198 on: October 22, 2006, 03:35:38 PM »
hi...
eih I got a little problem...
the problem is... when I'm going to add news in administration...
the page doesn't show...
I did everything right... I think!
Can you help me???

www.acoresxtreme.com

Offline Entropyx

  • Newbie
  • *
  • Posts: 14
    • View Profile
Re: [MOD]Another Simple News Publishing Mod
« Reply #199 on: November 19, 2006, 05:42:22 AM »
i installed this mod, but i get this error on index.php

Quote
Warning: Unexpected character in input: '\' (ASCII=92) state=1 in /home/myke/public_html/index.php on line 126

Parse error: syntax error, unexpected T_CONSTANT_ENCAPSED_STRING in /home/myke/public_html/index.php on line 126

Offline Alessio

  • Jr. Member
  • **
  • Posts: 59
    • View Profile
    • Webax.it [Alessio's photogallery]
Re: [MOD]Another Simple News Publishing Mod
« Reply #200 on: November 21, 2006, 09:36:52 AM »
Hi Entropyx,

try this

Makes sense to me :

Quote

"news_archives" => "<a href=\"".$site_sess->url(ROOT_PATH."news.php"\" class=\"link\">".$lang['news_archive']."</a>",


should be :

Code: [Select]

"news_archives" => "<a href=\"".$site_sess->url(ROOT_PATH."news.php")."\" class=\"link\">".$lang['news_archive']."</a>",

« Last Edit: November 21, 2006, 10:08:26 AM by Alessio »
Alessio
my homepage: http://www.webax.it

Offline Alessio

  • Jr. Member
  • **
  • Posts: 59
    • View Profile
    • Webax.it [Alessio's photogallery]
Re: [MOD]Another Simple News Publishing Mod
« Reply #201 on: November 21, 2006, 10:46:34 AM »
I found this:

Quote
1st PROBLEM: Settings for news system are not saved:
   
      SOLUTION:
      As deenee said, there is some data missing in the table "settings" for the news settings to be saved.
      This is the SQL I used to insert the lines:

         INSERT INTO `settings` VALUES ('news_home_display', '1');
         INSERT INTO `settings` VALUES ('news_nb', '2');
         INSERT INTO `settings` VALUES ('news_nb_days', '10');
         INSERT INTO `settings` VALUES ('news_cutoff', '5');
         INSERT INTO `settings` VALUES ('news_html', '0');
         INSERT INTO `settings` VALUES ('news_bbcode', '0');
         INSERT INTO `settings` VALUES ('news_bbcodeimg', '0');

      As you can see, I have assigned an initial value (the number on the right for each setting) which I thought was fine.
      So copy&paste these lines in your MySQL GUI and now from the ACP you'll be able to successfully set the news settings

But I dont know how to do it...  :oops:  can some body please explain to me?
thanks

Hi Paburmester,
- you must enter into your phpmyadmin,
- then click this button
- a new window will open
- paste this code into the window

         INSERT INTO `settings` VALUES ('news_home_display', '1');
         INSERT INTO `settings` VALUES ('news_nb', '2');
         INSERT INTO `settings` VALUES ('news_nb_days', '10');
         INSERT INTO `settings` VALUES ('news_cutoff', '5');
         INSERT INTO `settings` VALUES ('news_html', '0');
         INSERT INTO `settings` VALUES ('news_bbcode', '0');
         INSERT INTO `settings` VALUES ('news_bbcodeimg', '0');

- click Go


« Last Edit: November 21, 2006, 11:28:06 AM by Alessio »
Alessio
my homepage: http://www.webax.it

Offline Alessio

  • Jr. Member
  • **
  • Posts: 59
    • View Profile
    • Webax.it [Alessio's photogallery]
Re: [MOD]Another Simple News Publishing Mod
« Reply #202 on: November 21, 2006, 11:20:53 AM »
Hi,
can you tell me how to show only Title and Date instead of Title, Posteb by "user", Date, Time.

for example:
New photos! -- 17.11.2006

insteaf of
New photos! -- Posted by webax on 17.11.2006 08:17

Another question,
I have not understood how to fix the blank page in the archive, can you help me?
« Last Edit: November 21, 2006, 11:44:13 AM by Alessio »
Alessio
my homepage: http://www.webax.it

Offline Entropyx

  • Newbie
  • *
  • Posts: 14
    • View Profile
Re: [MOD]Another Simple News Publishing Mod
« Reply #203 on: November 22, 2006, 01:03:11 AM »
Hi Entropyx,

try this

Makes sense to me :

Quote

"news_archives" => "<a href=\"".$site_sess->url(ROOT_PATH."news.php"\" class=\"link\">".$lang['news_archive']."</a>",


should be :

Code: [Select]

"news_archives" => "<a href=\"".$site_sess->url(ROOT_PATH."news.php")."\" class=\"link\">".$lang['news_archive']."</a>",

that worked, thank you :)

Offline Entropyx

  • Newbie
  • *
  • Posts: 14
    • View Profile
Re: [MOD]Another Simple News Publishing Mod
« Reply #204 on: November 22, 2006, 02:41:27 AM »
another problem, my settings for the news in Admin CP doesn't save...
after pressing update, it just goes back to the default settings

Offline Alessio

  • Jr. Member
  • **
  • Posts: 59
    • View Profile
    • Webax.it [Alessio's photogallery]
Re: [MOD]Another Simple News Publishing Mod
« Reply #205 on: November 22, 2006, 09:11:11 AM »
another problem, my settings for the news in Admin CP doesn't save...
after pressing update, it just goes back to the default settings


read this message http://www.4homepages.de/forum/index.php?PHPSESSID=0aab8f80d69fc1e80cf7d6fd3b7b1115&topic=9064.msg71516#msg71516
Alessio
my homepage: http://www.webax.it

Offline Alessio

  • Jr. Member
  • **
  • Posts: 59
    • View Profile
    • Webax.it [Alessio's photogallery]
Re: [MOD]Another Simple News Publishing Mod
« Reply #206 on: November 22, 2006, 09:13:09 AM »
hallo zusammen, ich hoffe jemand kann mir auf deutsch antworten.

ich habe folgendes problem:
wenn ich das archiv öffne, wird eine leere seite (news.html) angezeigt.

sonst funktioniert alles einwandfrei, nur die daten im archiv werden nicht
angezeigt.

was ist hier falsch.... hoffe mir kann jemand helfen! vielen dank

hier der link: http://test.hostserver1.de, dann NEWS BOX, dann ARCHIV


ZUSATZ:

Problem gelöst, folgendes hatte gefehlt:

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

(fett)

danke an jens für den tip!!!

wow! now ARCHIVES is ok! I have 4images 1.74
thanks Ivan!!
Alessio
my homepage: http://www.webax.it

Offline Entropyx

  • Newbie
  • *
  • Posts: 14
    • View Profile
Re: [MOD]Another Simple News Publishing Mod
« Reply #207 on: November 22, 2006, 03:56:56 PM »
another problem, my settings for the news in Admin CP doesn't save...
after pressing update, it just goes back to the default settings


read this message http://www.4homepages.de/forum/index.php?PHPSESSID=0aab8f80d69fc1e80cf7d6fd3b7b1115&topic=9064.msg71516#msg71516
sweet thanx :)

Offline Alessio

  • Jr. Member
  • **
  • Posts: 59
    • View Profile
    • Webax.it [Alessio's photogallery]
Re: [MOD]Another Simple News Publishing Mod
« Reply #208 on: November 25, 2006, 12:52:27 PM »
Hi,
can you tell me how to show only Title and Date instead of Title, Posteb by "user", Date, Time.

for example:
New photos! -- 17.11.2006

insteaf of
New photos! -- Posted by webax on 17.11.2006 08:17


can anyone help me? pleaseeeee
Alessio
my homepage: http://www.webax.it

Offline Alessio

  • Jr. Member
  • **
  • Posts: 59
    • View Profile
    • Webax.it [Alessio's photogallery]
Re: [MOD]Another Simple News Publishing Mod
« Reply #209 on: November 27, 2006, 08:49:54 PM »
hi alessio,
your modify code is in lang/italian/main.php

$lang['news_posted_by'] = " -- <b>%s</b>";

try this ;)

Hi Ivan, thank you for your reply.
I have already tried it but don't work. I have also tried to edit news.php with a partial success, news in homepage are ok but not the news in archives.
« Last Edit: December 03, 2006, 01:39:32 PM by Alessio »
Alessio
my homepage: http://www.webax.it