Textpattern Forum

You are not logged in. Register | Login | Help

#81 2008-03-27 16:00:23

merz1
Member
From: Hamburg
Registered: 2006-05-04
Posts: 994
Website

Re: Feedback on the Textpattern 4.0.6 release

(If already reported/discussed somewhere else pls. point me there)

<txp:site_url /><txp:page_url /> results in double-slash between both blocks.

Output: http://sankt-georg.info//kategorie/Tourismus/

The ‘//’ is wrong in the output.

Expected: http://sankt-georg.info/kategorie/Tourismus/

Example for usage. Bookmark everything from a site at del.icio.us:

<a href=“http://del.icio.us/post?url=<txp:site_url /><txp:page_url />” title=”“>del.icio.us</a>

Note: <txp:permlink /> only works for single articles. To bookmark anything else I did not find a working solution with TXP tags.

Any hints or tips beside hardcoding the site URL?

The TXP feature request is: Add parameter trailingslash="0" to tag <txp:site_url />.

Last edited by merz1 (2008-03-27 16:46:01)


Get all online mentions of Textpattern via OPML subscription: TXP Info Sources: Textpattern RSS feeds as dynamic OPML

Offline

#82 2008-03-27 17:45:08

ruud
Developer emeritus
From: a galaxy far far away
Registered: 2006-06-04
Posts: 4,480
Website

Re: Feedback on the Textpattern 4.0.6 release

<a href=“http://del.icio.us/post?url=<txp:php>echo rtrim(site_url(array()), '/');</txp:php><txp:page_url />” title=”“>del.icio.us</a>

Offline

#83 2008-03-27 18:41:20

merz1
Member
From: Hamburg
Registered: 2006-05-04
Posts: 994
Website

Re: Feedback on the Textpattern 4.0.6 release

> <txp:php>echo rtrim(site_url(array()), '/');</txp:php>

Always a pleasure hanging out here. Thanks Ruud!

Last edited by merz1 (2008-03-27 18:41:44)


Get all online mentions of Textpattern via OPML subscription: TXP Info Sources: Textpattern RSS feeds as dynamic OPML

Offline

#84 2008-03-31 10:20:55

SebastianS
Member
From: Australia
Registered: 2007-10-05
Posts: 46

Re: Feedback on the Textpattern 4.0.6 release

Using Rob Sable’s Plugin rss_article_edit I am getting the message:-

Warning:
Error: ‘’ is not an integer
textpattern/include/txp_article.php:751 assert_int()
textpattern/include/txp_article.php:320 checkifneighbour()
textpattern/include/txp_article.php:50 article_edit()
textpattern/index.php:116 include()
in /home/————-/domains/webdevelopmentnotes.com/public_html/textpattern/lib/txplib_misc.php on line 1999

Warning: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ‘) order by Posted desc limit 1’ at line 1 select ID from textpattern where Posted < from_unixtime() order by Posted desc limit 1 in /home/stmawes/domains/webdevelopmentnotes.com/public_html/textpattern/lib/txplib_db.php on line 81

which is similar to the one geoff777 on page 47 is getting with Textpattern 4.06.

Is their a “simple” fix for this plugin, or does it work on other upgraded 4.06 sites?
THX

Offline

#85 2008-03-31 11:16:19

thebombsite
Plugin Author
From: Exmouth, England
Registered: 2004-08-24
Posts: 3,251
Website

Re: Feedback on the Textpattern 4.0.6 release

It does work in 4.0.6 as up until about 48 hours ago I was using it myself. I’ve just read geoff777’s post and note that he has placed the link in his footer form which I’m pretty sure won’t work. As far as I recall it needs to be in your article form. The idea of the plug-in isn’t to simply take you into TXP admin but to be a direct link to a specific article in the “Write” tab. Where have you placed the tag?


Stuart – The BombsiteProText ThemesTextgarden

In a Time of Universal Deceit
Telling the Truth is Revolutionary.

Offline

#86 2008-03-31 11:50:44

merz1
Member
From: Hamburg
Registered: 2006-05-04
Posts: 994
Website

Re: Feedback on the Textpattern 4.0.6 release

Yep. From the documentation: Add the rss_editlink tag to your article form (e.g., <txp:rss_article_edit>Edit</txp:rss_article_edit>)

Works for me too in 4.0.6.

No change required!

if (@txpinterface == 'admin') {
	add_privs('editlink','1,2,3,4,5,6');

Already in the 0.1 code.

Last edited by merz1 (2008-03-31 11:53:55)


Get all online mentions of Textpattern via OPML subscription: TXP Info Sources: Textpattern RSS feeds as dynamic OPML

Offline

#87 2008-03-31 21:58:19

SebastianS
Member
From: Australia
Registered: 2007-10-05
Posts: 46

Re: Feedback on the Textpattern 4.0.6 release

Thank you for your quick replies, and pointing out to put the ‘rss_editlink tag’ in the ‘article form’.

Offline

#88 2008-04-01 13:04:59

progre55
Member
Registered: 2006-05-02
Posts: 641

Re: Feedback on the Textpattern 4.0.6 release

Rudd (or Anyone else)

I have come across the same issue (Restircted Area Under extension Tab) with a site I recently upgrdaed. The plug in that I am having an issue with is IGN Password Protect. I am getting under the Extension Tab the message “Restricted Area.” I looked inside of the plug in and saw this code:

//generate admin interface
if (txpinterface == 'admin')
{
	if (empty($prefs['ign_user_db']))
	{
		ign_pp_install();
	}

	//assign privs for interfaces
	add_privs('ign_password_protect','1,2');
	add_privs('ign_users','1,2');

	//create tabs, register callback functions for those tabs
	register_tab('extensions', 'ign_user_mgmt', 'ign_user_mgmt');
	register_callback('ign_manage_users', 'ign_user_mgmt');
}

From this thread it seems like the discussed solution is already in place.

Do you happen to have any other suggestions? It was working fine prior to the upgrade.

Thanks.

progre55

Last edited by ruud (2008-04-01 13:10:41)

Offline

#89 2008-04-01 13:10:13

ruud
Developer emeritus
From: a galaxy far far away
Registered: 2006-06-04
Posts: 4,480
Website

Re: Feedback on the Textpattern 4.0.6 release

I think add_privs('ign_user_mgmt', '1,2'); is missing.

Offline

#90 2008-04-01 13:13:42

progre55
Member
Registered: 2006-05-02
Posts: 641

Re: Feedback on the Textpattern 4.0.6 release

Rudd:

THANK YOU.

progre55

Offline

Board footer

Powered by FluxBB