Previous Thread
Next Thread
Print Thread
Rate Thread
Braxton #211419 09/14/2001 1:38 PM
Joined: Apr 2001
Posts: 50
Journeyman
Journeyman
Offline
Joined: Apr 2001
Posts: 50
Also, does anybody know how to chop the news includes at the first, second or third instance of a period (.) or similar punctuation mark (?!) in PHP? Complete sentences look so much better.

The way w3tnews.php works is to (1) have the body of the news message set to NONE; (2) set body of the news message to FULL; or (3) specify an arbitrary number of characters to be displayed. This last option is problematic, because it can truncate hyperlinks/URLs and totally mess up the news includes.

I saw a solution for this on the PERL board, but I'm not enough of a code monkey to figure out a solution in PHP.

(I think this is how the news script should work by default.)


+++ Quis custodiet ipsos custodies? +++
Sponsored Links
Entire Thread
Subject Posted By Posted
NewsPro Integration Rushster 08/20/2001 5:49 AM
Re: NewsPro Integration santana 08/20/2001 7:40 AM
link? Dr_Manhattan 08/20/2001 7:16 PM
Re: link? santana 08/21/2001 3:07 AM
not a hack, but a feature Dr_Manhattan 08/21/2001 6:57 PM
Re: NewsPro Integration Roofdog 08/27/2001 6:42 PM
Re: NewsPro Integration kcweb 09/14/2001 5:00 AM
I'll second that Dr_Manhattan 09/14/2001 9:38 PM

Link Copied to Clipboard
Donate Today!
Donate via PayPal

Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.

Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.
Recommended Hosts
We have personally worked with and recommend the following Web Hosts:
• Shock Hosting
• Stable Host
• bluehost
• InterServer
Visit us on Facebook
Member Spotlight
Ruben Rocha
Ruben Rocha
Lutz,FL,USA
Posts: 253
Joined: January 2000
Forum Statistics
Forums63
Topics37,583
Posts293,957
Members13,826
Most Online151,614
Nov 14th, 2025
Today's Statistics
Currently Online 2265
Topics Created 0
Posts Made 0
Users Online 0
Birthdays 27
Top Posters
AllenAyres 21,080
JoshPet 10,369
LK 7,394
Lord Dexter 6,708
Gizmo 5,834
Greg Hard 4,625
Top Posters(30 Days)
Top Likes Received
isaac 82
Gizmo 20
Brett 7
WebGuy 2
Morgan 2
Top Likes Received (30 Days)
None yet
The UBB.Developers Network (UBB.Dev/Threads.Dev) is ©2000-2026 VNC Web Services

 
Powered by UBB.threads™ PHP Forum Software 8.1.0
(Snapshot build 20261026)