Site Links
Home
Features
Documentation
Pricing & Order
Members Area
Support Options
Who's Online
4 registered (Bill B, ChevyGuy, FordDoctor, Gardener), 17 Guests and 19 Spiders online.
Key: Admin, Global Mod, Mod
Featured Member
Registered: 01/10/04
Posts: 1703
Top Posters (30 Days)
Ruben Rocha 179
Gizmo 112
Rick 109
Thelockman 80
driv 43
AllenAyres 35
ntdoc 28
Ian 24
Sirdude 23
ScriptKeeper 20
Latest Photos
My Home System
test photo gallery
Bernese Mountain Dogs
My Daimler
Dorado and shark
Page 1 of 3 1 2 3 >
Topic Options
Rate This Topic
#195759 - 08/29/07 10:12 PM [Fixed 7.3][7.2.2] Categories with double quotes not showing up in Category Settings
QSS Tim Offline
journeyman

Registered: 10/20/04
Posts: 78
Loc: Oroville, CA
I've noticed that some of our categories are not showing up in Category Settings. They display in the Forum management screens, display on the board, but when I go to Category Settings, the Name Fields are blank. This was present this morning in 7.2.1, and is still present after upgrading to 7.2.2.

In the database, I can clearly see the expected fields in the CATEGORY_TITLE fields in the ubbt_categories table.

Thanks,
Tim


Edited by Sirdude (11/09/07 12:39 AM)
_________________________
A UBB system admin since November 02, 2000.

Top
#195763 - 08/29/07 11:09 PM Re: Categories with double quotes not showing up in Category Settings [Re: QSS Tim]
Sirdude Moderator Offline

*****

Registered: 04/19/07
Posts: 2077
Loc: SoCal, USA
2 ways to fix it.. 1st is workaround. 2nd is 1 line code change.

1. Change your double quotes to single.

or

2. open admin/catmanage.php
2a. find:
 PHP:
$cat[$i]['title'] = $ctitle;

2b. replace:
 PHP:
$cat[$i]['title'] = htmlspecialchars($ctitle);


:2c:
_________________________


Top
#195765 - 08/29/07 11:14 PM Re: Categories with double quotes not showing up in Category Settings [Re: Sirdude]
Gizmo Moderator Offline

***

Registered: 06/04/06
Posts: 12006
Loc: Portland, OR; USA
Wouldn't it be better to just use htmlspecialchars?
_________________________
UGN Security, Elite Web Gamers & VNC Web Design Owner
Longtime UBB Supporter, UBB7 Beta Tester & Resident Post-A-Holic

Top
#195766 - 08/29/07 11:18 PM Re: Categories with double quotes not showing up in Category Settings [Re: Gizmo]
Sirdude Moderator Offline

*****

Registered: 04/19/07
Posts: 2077
Loc: SoCal, USA
edit: i like giz' idea.
_________________________


Top
#195767 - 08/29/07 11:21 PM Re: Categories with double quotes not showing up in Category Settings [Re: Sirdude]
Gizmo Moderator Offline

***

Registered: 06/04/06
Posts: 12006
Loc: Portland, OR; USA
A simple "no" would have been sufficient lol...
_________________________
UGN Security, Elite Web Gamers & VNC Web Design Owner
Longtime UBB Supporter, UBB7 Beta Tester & Resident Post-A-Holic

Top
#195768 - 08/29/07 11:22 PM Re: Categories with double quotes not showing up in Category Settings [Re: Sirdude]
blaaskaak Offline

****

Registered: 08/30/06
Posts: 1299
Loc: Breda, NL
You might wanna try just putting in "
_________________________

Top
#195769 - 08/29/07 11:24 PM Re: Categories with double quotes not showing up in Category Settings [Re: blaaskaak]
Sirdude Moderator Offline

*****

Registered: 04/19/07
Posts: 2077
Loc: SoCal, USA
yah blaaskaak, that works with no change, so call that option 3 (maybe should even be 1) \:\)

and giz, the more i think about it.. you are right... i prefer htmlspecialchars..

giz 1, sd 0 ;\)
_________________________


Top
#195771 - 08/29/07 11:37 PM Re: Categories with double quotes not showing up in Category Settings [Re: Gizmo]
Sirdude Moderator Offline

*****

Registered: 04/19/07
Posts: 2077
Loc: SoCal, USA
 Originally Posted By: Gizmo
A simple "no" would have been sufficient lol...


then i get dinged for < 15 :neener:
_________________________


Top
#195772 - 08/29/07 11:50 PM Re: Categories with double quotes not showing up in Category Settings [Re: Sirdude]
blaaskaak Offline

****

Registered: 08/30/06
Posts: 1299
Loc: Breda, NL
 Originally Posted By: Sirdude
yah blaaskaak, that works with no change, so call that option 3 (maybe should even be 1) \:\)


I used &amp; to get my catagories xhtml valid. With just an & it gave a warning.

 Originally Posted By: SirDude
and giz, the more i think about it.. you are right... i prefer htmlspecialchars..


Me too, makes the whole page more xhtml valid.
_________________________

Top
#195776 - 08/30/07 12:19 AM Re: Categories with double quotes not showing up in Category Settings [Re: blaaskaak]
Gizmo Moderator Offline

***

Registered: 06/04/06
Posts: 12006
Loc: Portland, OR; USA
<< Validation Nazi...

go fig, he makes me feel like crap (it's truely been a very bad night) and then agrees with me; talk about being confused...
_________________________
UGN Security, Elite Web Gamers & VNC Web Design Owner
Longtime UBB Supporter, UBB7 Beta Tester & Resident Post-A-Holic

Top
Page 1 of 3 1 2 3 >


Shout Box

Today's Birthdays
brushie, cass, Monte G., twebman, White Gold Wielder
Recent Topics
Shrinking graemlins
by Djuma
Today at 05:48 PM
2 problems I'm seeing now.
by DougMM
Today at 04:39 PM
Which CSS Style Controls the bottom lines
by David DelMonte
Today at 01:51 PM
UBBThreads vs. vBulletin -- Defections & Why So Tough to Compare?
by WebMagic
Today at 12:28 PM
Font and column shifts occuring
by Bill B
Yesterday at 06:21 PM
Forum Stats
4261 Members
33 Forums
30532 Topics
154961 Posts

Max Online: 978 @ 06/24/07 08:19 PM