Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#601 2009-03-03 00:01:37

jshan
Member
Registered: 2008-01-09
Posts: 67

Re: [plugin] [ORPHAN] rss_unlimited_categories - Unltd. Article Categories

Hi,

I just got this plugin installed. According to the author’s plugin resource, TXP will create a new table of category. For my existing site, according to the instruction, the current article/category assignments should be copied to the new table structure. Using the two SQL, I had no problem with category1, but with category2, I ran into the following error:

ERROR 1062 <23000>: Duplicate entry ’8-18’ for key 1

The SQL was:

INSERT INTO textpattern_category (article_id, category_id) SELECT t.id, c.id FROM textpattern t LEFT JOIN txp_category c on t.category2 = c.name where c.type = 'article' and t.category2 != '';

Thanks for help!

Jay

Offline

#602 2009-03-05 20:57:15

jshan
Member
Registered: 2008-01-09
Posts: 67

Re: [plugin] [ORPHAN] rss_unlimited_categories - Unltd. Article Categories

I posted the folowing question in the forum “How Do I…?” but thought it might be more appropriate to post here:

As I’m implementing rss_unlimited_categories plugin which uses a new table to maintain all the categories, how to get rid of the default TXP Category1 and Category2 dropdown menus under Write tab?

Actually, I expected to have the new Categorize dropdown replace with the default Category1 and Category2 once the plugin was installed. But apparently they are still there…

Thanks for help!

Jay

Offline

#603 2009-03-06 07:53:13

jpdupont
Member
Registered: 2004-10-01
Posts: 752

Re: [plugin] [ORPHAN] rss_unlimited_categories - Unltd. Article Categories

I use the ied_hide_in_admin plugin to remove the 2 default category fields.

Last edited by jpdupont (2009-03-06 08:00:05)

Offline

#604 2009-03-17 11:11:26

mudman
New Member
Registered: 2008-12-22
Posts: 2

Re: [plugin] [ORPHAN] rss_unlimited_categories - Unltd. Article Categories

the_ghost wrote:

ellen wrote:

Hello,
After install the rss_unlimited_admin_tab won’t appear. I’ve tried again in another TXP installation but it definitely doesn’t. It only says „Retricted Area”. How can I solve this?
Kind regards,
ellen

This add_privs() effect. Try to use search this thread – the unswer was here

Hi, I have a similar problem here. It says Restricted Area when I click the Extensions tab. I tried to search for the answer in this thread and crawled through all the pages. I still haven’t got a clue how to fix it as I am rather new to textpattern.
Can anyone help?
Regards
Mudman

Offline

#605 2009-03-26 15:41:13

marvincooper
Member
Registered: 2004-10-13
Posts: 43

Re: [plugin] [ORPHAN] rss_unlimited_categories - Unltd. Article Categories

Hi, hope this is the right place to be asking….

I am just considering whether or not to use this plugin. I am nervous because I don’t like to rely on plugins too much. Using rss_u_c means also using the show/hide admin areas plugin and I’m worried that one or both could break with each txp release. I know this is true for many plugins but as this is quite a major one I was hoping someone here could reassure me or otherwise.

At the moment I have a messy hard coded solution to not having multiple categories but I would really like it to be smarter, as I am opening up my admin to other authors.

So basically, how stable is this plugin for the future?

Cheers…. marv

Offline

#606 2009-03-26 16:18:23

jpdupont
Member
Registered: 2004-10-01
Posts: 752

Re: [plugin] [ORPHAN] rss_unlimited_categories - Unltd. Article Categories

I use this awesome plugin on a couple of site.

Awesome plugin … but don’t expect actually help or upgrades from the author.

It would be fine if someone could adopt Rob Sable plugins.

Offline

#607 2009-03-29 10:36:16

rathersplendid
Plugin Author
From: London
Registered: 2008-05-02
Posts: 163
Website

Re: [plugin] [ORPHAN] rss_unlimited_categories - Unltd. Article Categories

I am using this great plugin, and have a list of categories in my sidebar. Each category has it’s own image, which is the reason for me posting here, because I don’t seem to be able to assign a li class to each list item without creating the entire, almost hard-coded, list by hand.

The code for each item in my category list form is:

<li class="blue">
<txp:category name="blue" link="1" >Blue [<txp:rss_unlimited_category_count section="colours" name="blue" />]</txp:category>
</li>

This is fine, but if I want to add another category, I have to duplicate this code and add it on to the list. What I would like to do is make this code reusable, more like:

<li class="<txp:category_name/>">
<txp:category name="<txp:category_name/>" link="1" ><txp:category_title/> [<txp:rss_unlimited_category_count section="colours" name="<txp:category_name/>" />]</txp:category>
</li>

…which I’m pretty sure cannot be done. Am I wrong? Have I explained it correctly?

Any help would be brilliant.

Last edited by rathersplendid (2009-03-29 10:38:08)


Admin Themes Prometheus | Stung | <txp:coder/
My Portfolio | ɹǝpuɐz.com | @MrMartineau
<txp:coder /> – Convert your designs into Textpattern-based websites
jQuery Style | @jquerystyle

Offline

#608 2009-03-29 12:01:35

els
Moderator
From: The Netherlands
Registered: 2004-06-06
Posts: 7,458

Re: [plugin] [ORPHAN] rss_unlimited_categories - Unltd. Article Categories

I don’t know the plugin, but normally you would do it like this:

<txp:category_list wraptag="ul" break="">
	<li class='<txp:category />'>
	<txp:category name='<txp:category />'><txp:category title="1" /> [<txp:rss_unlimited_category_count section="colours" name='<txp:category />' />]</txp:category>
	</li>
</txp:category_list>

Offline

#609 2009-03-30 07:33:07

rathersplendid
Plugin Author
From: London
Registered: 2008-05-02
Posts: 163
Website

Re: [plugin] [ORPHAN] rss_unlimited_categories - Unltd. Article Categories

I don’t know why I didn’t try this before, I guess I assumed that it couldn’t be done like that..

Thanks Els, I will try it now.


Admin Themes Prometheus | Stung | <txp:coder/
My Portfolio | ɹǝpuɐz.com | @MrMartineau
<txp:coder /> – Convert your designs into Textpattern-based websites
jQuery Style | @jquerystyle

Offline

#610 2009-03-30 09:38:51

rathersplendid
Plugin Author
From: London
Registered: 2008-05-02
Posts: 163
Website

Re: [plugin] [ORPHAN] rss_unlimited_categories - Unltd. Article Categories

Els, it works perfectly, thank you very much. I think my stumbling block was the fact that I didn’t know that by not declaring a break tag, or leaving it empty, that I could use one within the category_list form itself.

Cheers dude


Admin Themes Prometheus | Stung | <txp:coder/
My Portfolio | ɹǝpuɐz.com | @MrMartineau
<txp:coder /> – Convert your designs into Textpattern-based websites
jQuery Style | @jquerystyle

Offline

#611 2009-04-01 11:30:53

makss
Plugin Author
From: Ukraine
Registered: 2008-10-21
Posts: 355
Website

Re: [plugin] [ORPHAN] rss_unlimited_categories - Unltd. Article Categories

rss_unlimited_categories patch 0.7.4p1

Changes:

  • fix unsafe variables in rss_unlimited_categories_article_list
  • fix bug in Extension Tab

download link

Last edited by makss (2009-05-06 00:02:23)


aks_cron : Cron inside Textpattern | aks_article : extended article_custom tag
aks_cache : cache for TxP | aks_dragdrop : Drag&Drop categories (article, link, image, file)

Offline

#612 2009-04-01 11:44:15

rathersplendid
Plugin Author
From: London
Registered: 2008-05-02
Posts: 163
Website

Re: [plugin] [ORPHAN] rss_unlimited_categories - Unltd. Article Categories

@makss, thanks for this but I just tried installing it a received this error:

Badly formed or empty plugin code.


Admin Themes Prometheus | Stung | <txp:coder/
My Portfolio | ɹǝpuɐz.com | @MrMartineau
<txp:coder /> – Convert your designs into Textpattern-based websites
jQuery Style | @jquerystyle

Offline

Board footer

Powered by FluxBB