|
|
Joined: Jan 2002
Posts: 39
Member
|
Member
Joined: Jan 2002
Posts: 39 |
Let's say that I want to change the font color of $i below where it says ", $i topics started": [code][/code]I'm running into a problem with the quotation marks around the statement when I try to add something like . The forum spits out a script error. Is there any way that I can get this to work?
Thanks in advance. 
|
|
|
|
Joined: Nov 2001
Posts: 1,080
Member
|
Member
Joined: Nov 2001
Posts: 1,080 |
Hmm...I'm not a Perl coder but just by looking at what you have you can't use the "quotes" in the font tag. You could try: Even that I don't know if that will work. I need to actually test it to see.
|
|
|
|
Joined: May 2000
Posts: 1,356
Addict
|
Addict
Joined: May 2000
Posts: 1,356 |
use qq// operator: [code][/code]
|
|
|
|
Joined: Nov 2001
Posts: 1,080
Member
|
Member
Joined: Nov 2001
Posts: 1,080 |
Sweet. 
|
|
|
|
Joined: Nov 2001
Posts: 1,704
Moderator / Da Masta
|
Moderator / Da Masta
Joined: Nov 2001
Posts: 1,704 |
Or you could escape the quotation marks with backslashes, ie: [code][/code]The possibilities are endless... Though I'd go with jeo's way, it's a lot easier to do it his way than to go escaping characters all the time 
|
|
|
|
Joined: Nov 2001
Posts: 1,080
Member
|
Member
Joined: Nov 2001
Posts: 1,080 |
So that's what the black slashes are for...Interesting. Makes me curious about the "/" slashes...The UBB Code Block has that as well as the Statistics Mod. The Stats almost looks as if the codes were written in reverse?
|
|
|
|
Joined: Jan 2002
Posts: 39
Member
|
Member
Joined: Jan 2002
Posts: 39 |
Thanks guys, I appreciate it. 
|
|
|
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.
|
|
Posts: 87
Joined: December 2001
|
|
Forums63
Topics37,575
Posts293,931
Members13,824
|
Most Online6,139 Sep 21st, 2024
|
|
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
|
|
|
|
|