Site Links
Home
Features
Documentation
Pricing & Order
Members Area
Support Options
UBBDev.com
UBBWiki.com
Who's Online
3 registered (Tomcruise11, Peter, driv), 35 Guests and 14 Spiders online.
Key: Admin, Global Mod, Mod
Featured Member
Registered: 11/01/06
Posts: 181
Top Posters (30 Days)
Ruben 49
Gizmo 24
DennyP 23
Dunny 17
SteveS 14
AllenAyres 12
dbremer 10
drkknght00 9
SD 9
capnbob 7
Latest Photos
OK Corral Shoot Out
Testing
Basildon Train Station
Basildon Town Centre looking from the rounderbout
Basildon Town Square
Topic Options
#132262 - 03/04/99 06:08 AM Minor thoughts/suggestions - FINISHED
Anonymous
Unregistered

Hi there. I'm about to set forth installing WWWThreads 3, wish me luck. A tweak I made before starting to upload;

In previewedit.pl, and previewpost.pl (that's all I found, if I missed it in any other files please lemme know) I changed

$Body =~ s,\[pre\]\s*([^[]+)\s*\[/pre\],<pre>$1</pre>

,isg;


to read

$Body =~ s,\[pre\]\s*([^[]+)\s*\[/pre\],<font face="Courier"><pre>$1</pre></font>

,isg;


That should render everything inside the 'pre' markup tag to be in a fixed-width font, making it easier to show spacing and such. I also tweaked editpost.pl to the opposite effect, for proper rendering when editing a post. Just thought I'd share in case anyone else thought it a good idea.

Second, a suggestion (I haven't started to tweak on this one yet);

In the 'url' markup tag, how about making it match whether or not the filler (in between 'url' and '/url') begins with http:// or not, and show the link accordingly? It'd take two pattern matches, but it might help prevent 404 errors when people use the forum that are too used to using "that other forum software" (you know, that one I use now which I'm strongly considering using WWWThreads instead of) :-)

Just my deep thoughts for the day (week maybe)

Del
http://www.downinit.com/

Del
http://www.downinit.com

da da da

[ADMIN NOTE: THIS FEATURED HAS BEEN ADDED]
Top
Express Hosting
Express Hosting "We are the official hosting company of UBB.threads. Ask us about our free migration services to migrate your UBB.threads installation."



Moderator:  AllenAyres, Ian, Ron M 
Shout Box

Today's Birthdays
No Birthdays
Recent Topics
Island Permissions
by ThreadsUser
Yesterday at 03:03 PM
streaming video
by prkrgrp
05/20/12 07:02 PM
New Posts Corrupted? Can someone help?
by PianoWorld
05/19/12 09:41 AM
Custom forum permissions
by ntdoc
05/18/12 02:07 PM
Running ads
by Jeffdag
05/17/12 01:47 PM
Forum Stats
10485 Members
36 Forums
33834 Topics
181678 Posts

Max Online: 978 @ 06/24/07 11:19 PM
Random Image