View Full Version : UBB 5.30 anyone ?
hearts
03-21-1999, 02:03 PM
i got a question... if ya don't mind.
$MemberLine = "Registered Members:<font color=\"#6495ed">$TotalMembers</font>";
shouldn't that be:
$MemberLine = "Registered Members: <font color=\"#6495ed\">$TotalMembers</font>";
Stephen
03-21-1999, 03:52 PM
hearts is correct,
To avoid errors with escaping double quotes it is often easier to use the qq double-quote wrapper (so that escaping isn't necessary). E.g.
$MemberLine = qq{Registered Members: <font
color="#6495ed">$TotalMembers</font>};
You can use the {},[] and () pairs as delimiters as well as most other non-alphanumeric symbols, like #,!,| and so on.
Dean B
03-21-1999, 04:10 PM
Thx very much Stephen (& Hearts) Your qq line did the trick http://www.aota.net/ubb/smile.gif
Now whose gonna crack my last problem. Oooooo.... Justin http://www.aota.net/ubb/wink.gif
Dean.
Dean B
03-22-1999, 12:44 AM
Ok, I upgraded to 5.30 this AM and everything went smooth enough and seems to be working ok http://www.aota.net/ubb/smile.gif I have a couple of questions which maybe someone out there can answer for me. In versions 5.19 and 5.29 I can replace this -
$MemberLine = "Registered Members: $TotalMembers</font>";
with this
$MemberLine = "Registered Members: <font color=\"#6495ed">$TotalMembers</font>";
This steadfastly refuses to work with 5.30 and just throws a 500 ?
I've also been scratching my head all PM trying to work out how to give each member status their own colour eg Administrator shows as red, Rookie is white and Pro is blue. I've tried editing where I thought it was required but without any luck. Anybody help me out here ?
------------------
Regards, Dean.
**DMCity Web Board**
www.dmcity.com/cgi-bin/ubb/Ultimate.cgi (http://www.dmcity.com/cgi-bin/ubb/Ultimate.cgi)
vBulletin® v3.6.8, Copyright ©2000-2012, Jelsoft Enterprises Ltd.