Sub Menu
Links Menu
Online Users

In total there are 314 users online :: 3 registered, 0 hidden and 311 guests

Most users ever online was 1091 on Wed Aug 16, 2023 5:27 pm

Registered users: Bing [Bot], Google [Bot], Majestic-12 [Bot] based on users active over the past 60 minutes

[BUG & FIX]Period before word script; news block.

Support for IntegraMOD 141

Moderator: Integra Moderator

[BUG & FIX]Period before word script; news block.

PostAuthor: Teelk » Sat Feb 03, 2007 4:46 am

The word .script has a period before it and any word containing the word .script is also affected. eg. ..script, de..scription.

The fix is as follows...

OPEN includes/news.php
FIND
Code: Select all
    $text = str_replace("\n", "\n<br>\n", $text);

AFTER ADD
Code: Select all
   if ( strpos($text, '..script') !== false){
   $text = str_replace("..script", ".script", $text);
   }
Last edited by Teelk on Wed Dec 31, 1969 4:00 pm, edited 1 time in total.
User avatar
Teelk
Dev Team
Dev Team
 
Posts: 1309
Likes: 0 post
Liked in: 0 post
Joined: Tue Mar 14, 2006 5:25 pm
Cash on hand: 0.00
Location: Canada

Return to IntegraMOD 141

Who is online

Registered users: Bing [Bot], Google [Bot], Majestic-12 [Bot]