Welcome, Guest. Please Login or Register.
April 25, 2024, 09:41:40 PM
Home Help Search Log in Register
News: If you are still using YaBB SE, please consider upgrading to SMF as soon as possible.

YaBB SE Community  |  Development  |  Completed mods  |  [Beta 1.4.1]Recent Posts Ticker « previous next »
Pages: 1 [2] Reply Ignore Print
Author Topic: [Beta 1.4.1]Recent Posts Ticker  (Read 5281 times)
A.M.A.
YaBB God
*****
Posts: 685


.:: :-) ::.

evolve_xp@hotmail.com WWW
Re:Dots and Comma
« Reply #15 on: September 30, 2002, 10:41:55 AM »
Reply with quote

It seems that the problem is with posts that contain  a comma or multiple dots ..
Anyhow here is the fix:

Open your Subs.php and search for function yysrs() now scroll down till you reach print <<<EOT above it put this code:
for($scRcnt=0; $scRcnt<=9; $scRcnt++)
{
$scRecent[$scRcnt] = preg_replace("/'/", " ", $scRecent[$scRcnt]);
$scRecent[$scRcnt] = preg_replace("/\./", " ", $scRecent[$scRcnt]);
}
hope this will work.. If it does I'll update the mod
« Last Edit: October 01, 2002, 08:33:27 AM by Arab_ME » Logged

PioneeR
Llama Hunter
YaBB God
*****
Posts: 767


Re:[Beta 1.4.1]Recent Posts Ticker
« Reply #16 on: September 30, 2002, 05:10:06 PM »
Reply with quote

Yep, that seems to have fixed it

Thanks  ;D
Logged
A.M.A.
YaBB God
*****
Posts: 685


.:: :-) ::.

evolve_xp@hotmail.com WWW
Re:[Beta 1.4.1]Recent Posts Ticker
« Reply #17 on: September 30, 2002, 05:11:48 PM »
Reply with quote

ok I'll updated later.

thanks for the feedback
Logged

PioneeR
Llama Hunter
YaBB God
*****
Posts: 767


Re:[Beta 1.4.1]Recent Posts Ticker
« Reply #18 on: September 30, 2002, 05:42:35 PM »
Reply with quote

The only problem is now.. that code seems to replace the . in index.php so that it turns into /yabbse/index%20php
Logged
A.M.A.
YaBB God
*****
Posts: 685


.:: :-) ::.

evolve_xp@hotmail.com WWW
Re:[Beta 1.4.1]Recent Posts Ticker
« Reply #19 on: September 30, 2002, 05:54:30 PM »
Reply with quote

 :( ... I will post a fix when I got home.
Logged

A.M.A.
YaBB God
*****
Posts: 685


.:: :-) ::.

evolve_xp@hotmail.com WWW
Re:Dots and Comma
« Reply #20 on: September 30, 2002, 10:04:00 PM »
Reply with quote

It seems that the problem is with posts that contain  a comma or multiple dots ..
Anyhow here is the fix:
Open your Subs.php and search for function yysrs() now scroll down till you reach
$scRecent[]= "<a href=\"$scripturl?board=$row[ID_BOARD];action=display;threadid=$row[ID_TOPIC];start=$row[numReplies]\">$row2[subject]</a> $txt[525] $dummy  on ".timeformat($row['posterTime'])."";above it put this code:
$row2[subject]=preg_replace("/'/", " ", $row2[subject]);hope this will work.. If it does I'll update the mod.
do not forget to delete the pervious code.
Logged

PioneeR
Llama Hunter
YaBB God
*****
Posts: 767


Re:[Beta 1.4.1]Recent Posts Ticker
« Reply #21 on: October 01, 2002, 02:00:53 AM »
Reply with quote

That seems to have done it  ;D

Thanks for that update!  ;D ;D
Logged
sensovision
Full Member
***
Posts: 100


WWW
Re:[Beta 1.4.1]Recent Posts Ticker
« Reply #22 on: January 28, 2003, 08:33:54 PM »
Reply with quote

Hi! Anyone try to install this Mod on SE 1.5.1 RC1?
Logged

Denis

Are you good with the graphic? check out our design logo contest!
Pages: 1 [2] Reply Ignore Print 
YaBB SE Community  |  Development  |  Completed mods  |  [Beta 1.4.1]Recent Posts Ticker « previous - next »
 


Powered by MySQL Powered by PHP YaBB SE Community | Powered by YaBB SE
© 2001-2003, YaBB SE Dev Team. All Rights Reserved.
SMF 2.1.4 © 2023, Simple Machines
Valid XHTML 1.0! Valid CSS

Page created in 0.088 seconds with 21 queries.