Site Links
Home
Features
Documentation
Pricing & Order
Members Area
Support Options
UBBDev.com
UBBWiki.com
Who's Online
1 registered (FordDoctor), 50 Guests and 13 Spiders online.
Key: Admin, Global Mod, Mod
Featured Member
Registered: 05/13/08
Posts: 596
Top Posters (30 Days)
Ruben 51
Gizmo 24
DennyP 24
Dunny 14
SteveS 14
AllenAyres 12
dbremer 10
SD 10
drkknght00 9
driv 8
Latest Photos
OK Corral Shoot Out
Testing
Basildon Train Station
Basildon Town Centre looking from the rounderbout
Basildon Town Square
Page 1 of 3 1 2 3 >
Topic Options
#195759 - 08/30/07 01:12 AM [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: 90
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 03:39 AM)
_________________________
UBB Since November 07, 2000.
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."
#195763 - 08/30/07 02:09 AM Re: Categories with double quotes not showing up in Category Settings [Re: QSS Tim]
SD Offline
Registered: 04/19/07
Posts: 4056
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:
_________________________

Threads tutorials . Threads & Wordpress experts . UBB resume

If I you, click this link as to why
Top
#195765 - 08/30/07 02:14 AM Re: Categories with double quotes not showing up in Category Settings [Re: SD]
Gizmo Offline

Registered: 06/05/06
Posts: 14995
Loc: Portland, OR; USA
Wouldn't it be better to just use htmlspecialchars?
_________________________
Forums: UGN Security & VNC Web Design & Development
UBB.Threads: UBB.Wiki, My UBBSkins, UBB.Sitemaps
Longtime UBB Supporter, UBB Beta Tester & Resident Post-A-Holic.
UBB Modifications, Styling, Coding Services, Disaster Recovery, and more!
Top
#195766 - 08/30/07 02:18 AM Re: Categories with double quotes not showing up in Category Settings [Re: Gizmo]
SD Offline
Registered: 04/19/07
Posts: 4056
Loc: SoCal, USA
edit: i like giz' idea.
_________________________

Threads tutorials . Threads & Wordpress experts . UBB resume

If I you, click this link as to why
Top
#195767 - 08/30/07 02:21 AM Re: Categories with double quotes not showing up in Category Settings [Re: SD]
Gizmo Offline

Registered: 06/05/06
Posts: 14995
Loc: Portland, OR; USA
A simple "no" would have been sufficient lol...
_________________________
Forums: UGN Security & VNC Web Design & Development
UBB.Threads: UBB.Wiki, My UBBSkins, UBB.Sitemaps
Longtime UBB Supporter, UBB Beta Tester & Resident Post-A-Holic.
UBB Modifications, Styling, Coding Services, Disaster Recovery, and more!
Top
#195768 - 08/30/07 02:22 AM Re: Categories with double quotes not showing up in Category Settings [Re: SD]
Yarp™ Offline
Registered: 08/30/06
Posts: 1513
Loc: Breda, NL
You might wanna try just putting in "
_________________________
Top
#195769 - 08/30/07 02:24 AM Re: Categories with double quotes not showing up in Category Settings [Re: Yarp™]
SD Offline
Registered: 04/19/07
Posts: 4056
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 ;\)
_________________________

Threads tutorials . Threads & Wordpress experts . UBB resume

If I you, click this link as to why
Top
#195771 - 08/30/07 02:37 AM Re: Categories with double quotes not showing up in Category Settings [Re: Gizmo]
SD Offline
Registered: 04/19/07
Posts: 4056
Loc: SoCal, USA
 Originally Posted By: Gizmo
A simple "no" would have been sufficient lol...


then i get dinged for < 15 :neener:
_________________________

Threads tutorials . Threads & Wordpress experts . UBB resume

If I you, click this link as to why
Top
#195772 - 08/30/07 02:50 AM Re: Categories with double quotes not showing up in Category Settings [Re: SD]
Yarp™ Offline
Registered: 08/30/06
Posts: 1513
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 03:19 AM Re: Categories with double quotes not showing up in Category Settings [Re: Yarp™]
Gizmo Offline

Registered: 06/05/06
Posts: 14995
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...
_________________________
Forums: UGN Security & VNC Web Design & Development
UBB.Threads: UBB.Wiki, My UBBSkins, UBB.Sitemaps
Longtime UBB Supporter, UBB Beta Tester & Resident Post-A-Holic.
UBB Modifications, Styling, Coding Services, Disaster Recovery, and more!
Top
Page 1 of 3 1 2 3 >



Moderator:  AllenAyres, Harold, Ian, Ron M 
Shout Box

Today's Birthdays
No Birthdays
Recent Topics
Temporary Password email not being received
by
10:02 PM
Ability to "like" individual posts (not Facebook "likes)
by doug
05/23/12 09:03 AM
Island Permissions
by ThreadsUser
05/22/12 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
Forum Stats
10489 Members
36 Forums
33841 Topics
181707 Posts

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