Welcome, Guest. Please Login or Register.
August 29, 2025, 09:45:12 PM
Home Help Search Log in Register
News: SMF is the next generation in forum software, almost completely re-written from the ground up, make sure you don't fall for cheap imitations that suffer from feature bloat!

YaBB SE Community  |  English User Help  |  English Help  |  help « previous next »
Pages: [1] Reply Ignore Print
Author Topic: help  (Read 285 times)
SFTrob
Full Member
***
Posts: 153


^ Hottie ^

sftts@hotmail.com WWW
help
« on: April 28, 2002, 03:35:43 AM »
Reply with quote

on the main index.php page under the last post column is there a way to shorter the number of characters shown for the most recent topic in a forum?  For example....

April 27th, 2002, 03:31 pm
in Re:abcdefghijklmnopqrstuvwxyz
by whoever

is there a way to limit the number of characters after "in" ?
Logged

mediman
Support Team
YaBB God
*****
Posts: 2858


WWW
Re:help
« Reply #1 on: April 28, 2002, 09:52:39 PM »
Reply with quote

yes, you can use this

$var = "teststring";
echo $vars2 = substr_replace($var, "...", 5);

result is "tests..."

medi

Logged

mainComm Dev Team
Pages: [1] Reply Ignore Print 
YaBB SE Community  |  English User Help  |  English Help  |  help « 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.032 seconds with 16 queries.