 |
 |
 |
 |
#199683 - 03/02/04 10:28 PM
Re: [6.4 - 6.5 - 6.6 - 6.7] [beta] UBBNews PHP Feed
|
Admin Emeritus
Developer
Registered: 11/29/01
Posts: 789
Loc: Des Moines, IA
|
I kind of got sidetracked on the ubbnews.php after a couple of major projects cropped up this past fall. I'm getting this back on my whiteboard to address/look into further.
A workaround for the graemlin problem is to drop ubbnews.php in the noncgi directory. I'll have to examine the Z lines a bit more to determine if I can do a replace on the graemlins, or somehow break it apart and insert in the noncgi url from the vars_config.inc.php.
Regarding the quote/code/list fix, I have a tempoary one, however, it doesn't handle multiple lists correctly. I'm going to rethink the code that I injected last fall into my beta version. I think I'm going need to do a string find and count, then compare the open and close counts and append the appropriate number of closing tags.
If you want, I can post my current temporary fix, but I'll need to do further testing on my boards after I write a more permenant fix. I have an idea about how to do a more permenant fix, I just need to code and test it on my boards before I release it. It's not going to break the UBB, I'd just rather break my beta directory than anyones live sites.
_________________________
http://thegeeksinc.com [img]http://www.ubbdev.com/ud/?u=Sub_Zero&s=1[/img] points generated
|
|
Top
|
|
|
|
 |
 |
 |
 |
 |
 |
 |
 |
#199685 - 03/02/04 11:20 PM
Re: [6.4 - 6.5 - 6.6 - 6.7] [beta] UBBNews PHP Feed
|
Admin Emeritus
Developer
Registered: 11/29/01
Posts: 789
Loc: Des Moines, IA
|
I'm still alive.
I've been playing in Zend with the quote/code/list (Gotta love the Preview of the HTML and the ability to set breakpoints to examine varaible content). I did concept up a method of counting the open tags, and automatically closing the tags at the end of the teaser, regardless of where they are supposed to close. I'll probably be able to test that on a live board shortly.
The problem I'm running into on the gramelins is doing an outright replace on the img tags. If I append $NonCGIURL to all image tags, it would break any outside images in the feed. On the other hand, I cannot be guaranteed that I'm able to read /cgi-bin/vars_graemlins.cgi due to open_basedir restrictions. If I can be sure that I can read vars_graemlins, I can do some array work to "trim the fat" of the hash, and get it so I have just the graemlin image file names, and just do a search and replace on those file names. I could just include a base href, but would that break other parts of the page that it is feeding onto. That, I'm unsure of also.
_________________________
http://thegeeksinc.com [img]http://www.ubbdev.com/ud/?u=Sub_Zero&s=1[/img] points generated
|
|
Top
|
|
|
|
 |
 |
 |
 |
 |
 |
 |
 |
#199693 - 03/17/04 01:25 PM
Re: [6.4 - 6.5 - 6.6 - 6.7] [beta] UBBNews PHP Feed
|
Member
Registered: 05/03/01
Posts: 57
|
|
|
Top
|
|
|
|
 |
 |
 |
 |
 |
 |
 |
 |
#199696 - 03/18/04 02:41 AM
Re: [6.4 - 6.5 - 6.6 - 6.7] [beta] UBBNews PHP Feed
|
Member
Registered: 05/03/01
Posts: 57
|
|
|
Top
|
|
|
|
 |
 |
 |
 |
|
|