Ajay D'Souza | 1 Apr 2006 18:40
Picon

Re: Links broken?

Hi Michael,

get_links_list() works perfect.

However, wp_get_links seems to be giving the problem. I am using this code.
Got it from the codex a long time back.

<ul>
 <?php
 $link_cats = $wpdb->get_results("SELECT cat_id, cat_name FROM
$wpdb->linkcategories");
 foreach ($link_cats as $link_cat) {
 ?>
  <li id="linkcat-<?php echo $link_cat->cat_id; ?>"><h3><?php echo
$link_cat->cat_name; ?></h3>
   <ul>
    <?php wp_get_links($link_cat->cat_id); ?>
   </ul>
  </li>
 <?php } ?>
</ul>

Any suggestions?

Ajay

From: "Michael E. Hancock" <mhancock@...>
> Subject: Re: [wp-testers] Links broken?
> To: <wp-testers@...>
> Message-ID: <03ce01c654c8$52e57680$6402a8c0 <at> DELL8600>
(Continue reading)

Michael E. Hancock | 1 Apr 2006 19:21

Re: Links broken?

From: "Ajay D'Souza" <ajaydsouza@...>
>  $link_cats = $wpdb->get_results("SELECT cat_id, cat_name FROM
$wpdb->linkcategories");

Ajay,

Yeah, linkcategories no longer exists so you'll need to replace the line
above with something like:

 $link_cats =
get_categories("type=link&orderby=name&order=ASC&hierarchical=0");

You might want to look at the get_links_list functions in
template-functions-bookmarks.php...

Regards.

Michael
Matt Disher | 2 Apr 2006 05:24
Picon

Spelling Error

Hrms...

I get the following error when I try to use spelling:

"Could no execute AJAX call, server didn't return valid a XML."

Screenshot on www.datapoohbah.com/tech

Also, did I miss something about Links changing to bookmarks and
getting thier categories all mushed together and unmanagable :)  Or am
I just imaging that :D

I have pages back though so that's good.

Oh, yes, this is served up via IIS so that may be in issue, and other
AJAXy stuff is now broken.  Like I can't use the new Link dialog
either :(

But I can get by.

Lemme know what you need.

Like I said before I know you guys don't do a lot of IIS testing.  I
can donate a box to test against if need be.
Matt Mullenweg | 2 Apr 2006 06:30
Gravatar

Re: Write Post Toolbar Missing Icons and Category bullets

Andy Skelton wrote:
> General rule: when testing from svn or nightlies, if the editor
> suddenly pukes it was probably updated and your browser is caching
> some of the old files. Clear caches and reload every time this
> happens. Even the popups, which are iframes now, could do with an F5.

Perhaps we should have some sort of querystring on the JS call that 
changes when there are changes to the files, because this is a pretty 
common issue and is going to happen when people upgrade "for real".

--

-- 
Matt Mullenweg
  http://photomatt.net | http://wordpress.org
http://automattic.com | http://akismet.com
Ajay D'Souza | 2 Apr 2006 16:51
Picon

Re: Links broken?

Thanks for the pointer Michael. I got it to work by following the code for
get_links_list in template-functions-bookmarks.php :)

Unfortunately, it still doesn't work with 1.5. Does it work with 2.0.2?

Ajay

From: "Michael E. Hancock" <mhancock@...>
> > Subject: Re: [wp-testers] Links broken?
> > To: <wp-testers@...>
> > Message-ID: <03ce01c654c8$52e57680$6402a8c0 <at> DELL8600>
> >
> > From: "Ajay D'Souza" <ajaydsouza@...>
> > > What is the code to display links on the theme?
> > >
> > > During the last update the display of links just broke.
> > >
> > > Check the sidebar at http://www.ajaydsouza.net
> >
> >
> > Ajay,
> >
> > I'm not seeing this using the default or Classic themes with
> > get_links_list().
> >
> >
> >
> > Michael E. Hancock
> >
> >
(Continue reading)

Michael E. Hancock | 2 Apr 2006 18:12

Re: Re: Links broken?

From: "Ajay D'Souza" <ajaydsouza@...>
> Thanks for the pointer Michael. I got it to work by following the code for
> get_links_list in template-functions-bookmarks.php :)
>
> Unfortunately, it still doesn't work with 1.5. Does it work with 2.0.2?

Not too sure what you're asking there for 1.5, but take a look at links.php
in 1.5.2 and that may help you.

Michael
Andy Skelton | 2 Apr 2006 21:35
Picon
Gravatar

Re: Spelling Error

On 4/1/06, Matt Disher <datapoohbah@...> wrote:
> Like I said before I know you guys don't do a lot of IIS testing.  I
> can donate a box to test against if need be.

Though your offer is generous and surely appreciated, what is really
needed is for people to do IIS testing and debugging.

As a person dedicated to using IIS and testing the latest WordPress
developments, you would be infinitely more valuable than a box. So, do
you think you could track down some of the bugs you find?

Andy
Dan Milward | 3 Apr 2006 01:30
Picon
Gravatar

Re: The WYSIWYG buttons

I don't agree with you Andy. I think we should add / include the button 
to "clean word markup" as a default. It should be made as simple as 
possible for all human beings. Not just geeks.

I totally relate to Colin's problem. If TinyMC does strip out offending 
code automagicaly it doesn't do it very well.

People who write content for web pages typically write content in word 
and then copy/paste it in. If that breaks or doesn't work out of the box 
that's a problem that damages WP continuity.

Ciao,

Dan

Andy Skelton wrote:
> On 1/16/06, Colin Carmichael <colin@...> wrote:
>   
>> In my 1.5 install, I had the fully-featured tinyMCE plugin.  The WP2.0
>> version of tinyMCE is much slimmer - which overall is a good thing, but how
>> do we enable the other buttons?
>>     
>
> There are some filters in wp-includes/js/tiny_mce_gzip.php that allow
> you to modify the WYSIWYG toolbars. If the button's fuctionality is
> built into the TinyMCE 2.0 core, all you must do is add a string to
> the button array with that filter. I beleive the string you're looking
> for is "cleanup".
>
> Andy
(Continue reading)

Andy Skelton | 3 Apr 2006 01:52
Picon
Gravatar

Re: The WYSIWYG buttons

On 4/2/06, Dan Milward <dan@...> wrote:
> I don't agree with you Andy. I think we should add / include the button
> to "clean word markup" as a default. It should be made as simple as
> possible for all human beings. Not just geeks.

Dan, you can't disagree with me when you don't know my opinion on the
matter. Truth be told, I would love for all useful buttons, especially
cleanup and the less-known "Paste From Word"  to be available in the
default toolbar. Just ask Matt. Every time I update TinyMCE I try to
smuggle a bigger toolbar along with it.

I was able to sneak something in as an Easter Egg but that's all I'm
saying about that.

About this "typical" person you mention who prefers to write in Word.
That person is a significant fraction of the blogging populace but not
a major fraction and not a typefying fraction, either. The
wordpress.com feedback sometimes, but not often, brings a note from
this person. We encourage this person to use the editor we provide and
now that it includes a spellchecker we see this person abandon Word
frequently and without a complaint.

Actually, since we installed the spellchecker we haven't had a single
feedback message from anyone trying to paste from Word.

Andy
Dan Milward | 3 Apr 2006 02:14
Picon
Gravatar

Re: The WYSIWYG buttons

Andy, Sorry about that. I don't disagree with your entire opinion (and i 
love it that you try and sneak in more and more), I just disagree with 
the asking people to add a string to the button array comment. In my 
opinion when WP added the ability to add pages and TinyMCE they through 
doing so took on the responsibility for maintaining good code and tidy 
markup.

My experience in the corporate world is that a very small percentage of 
business people (especially the older people) feel comfortable writing / 
saving stuff outside of word. Also they may be at home writing news 
stories away from an internet connection (its a real problem here in New 
Zealand - our broadband sucks). Whatever the reason is its none of my 
business. It is my business to provide the goods :))

The fact that more people use word press to write posts then pages is a 
moot point that doesn't resolve the issue. I don't think its right to 
ignore any users. I suppose all I'm saying is that it feels wrong having 
to manually add the toolbar - or that it doesn't tidy up word mess 
automatically. Damn Microsoft for putting me in this situation again.... 
okay forget everything I've said. Can it just tidy it automatically :-P

Anyway I'm just trying to help. I love what you're doing and TinyMCE has 
ultimately done a great thing for WP...

Ciao,

Dan

Andy Skelton wrote:
> On 4/2/06, Dan Milward <dan@...> wrote:
(Continue reading)


Gmane