collapse collapse
* User Info
 
 
Welcome, Guest. Please login or register.
* Search

* Board Stats
  • stats Total Members: 989
  • stats Total Posts: 18366
  • stats Total Topics: 2501
  • stats Total Categories: 7
  • stats Total Boards: 35
  • stats Most Online: 1144

Author Topic: Possible to add a line break between news items?  (Read 6076 times)

0 Members and 1 Guest are viewing this topic.

Offline Poonjab

  • BeBot User
  • **
  • Posts: 59
  • Karma: +0/-0
Possible to add a line break between news items?
« on: June 10, 2009, 07:20:00 pm »
I'm no coder and don't know a whole lot about PHP, but I'm wondering what it would take to get an extra line break "<br>" between news items when someone goes to read news items I've put on the bot?

Right now if I have more than one news item, they are clumped together and it makes it kind of hard to read or realize they are two separate news items.

Offline Sudoka

  • BeBot User
  • **
  • Posts: 22
  • Karma: +0/-0
Re: Possible to add a line break between news items?
« Reply #1 on: June 10, 2009, 08:34:28 pm »
In modules/News.php on line 210, change it to :

Code: [Select]
$inside .= "\n&nbsp;\n";
that should fix it  :)

Offline Temar

  • Contributor
  • *******
  • Posts: 1140
  • Karma: +0/-0
    • AoFiles
Re: Possible to add a line break between news items?
« Reply #2 on: June 11, 2009, 12:29:00 am »
a \n or <br> will work
altho it looks fine for me (AO)
wat game?

Offline Poonjab

  • BeBot User
  • **
  • Posts: 59
  • Karma: +0/-0
Re: Possible to add a line break between news items?
« Reply #3 on: June 11, 2009, 05:46:22 am »
a \n or <br> will work
altho it looks fine for me (AO)
wat game?

Sorry I should have mentioned it is AoC.

Offline Poonjab

  • BeBot User
  • **
  • Posts: 59
  • Karma: +0/-0
Re: Possible to add a line break between news items?
« Reply #4 on: June 11, 2009, 07:12:15 am »
In modules/News.php on line 210, change it to :

Code: [Select]
$inside .= "\n&nbsp;\n";
that should fix it  :)

That seems to have done the trick.  Thanks so much.

 

* Recent Posts
Com bot module by bitnykk
[November 25, 2024, 05:36:11 pm ]


0.8.x updates for AO by bitnykk
[June 23, 2024, 03:19:47 pm ]


0.8.x updates for AoC by bitnykk
[June 23, 2024, 03:19:44 pm ]


[AoC] special char for items module by bitnykk
[February 09, 2024, 09:41:18 pm ]


BeBot still alive & kicking ! by bitnykk
[December 17, 2023, 12:58:44 am ]

* Who's Online
  • Dot Guests: 419
  • Dot Hidden: 0
  • Dot Users: 0

There aren't any users online.
* Forum Staff
bitnykk admin bitnykk
Administrator
Khalem admin Khalem
Administrator
WeZoN gmod WeZoN
Global Moderator
SimplePortal 2.3.7 © 2008-2024, SimplePortal