You are not logged in.
(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
<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
> <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
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
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 Bombsite – ProText Themes – Textgarden
In a Time of Universal Deceit
Telling the Truth is Revolutionary.
Offline
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
Thank you for your quick replies, and pointing out to put the ‘rss_editlink tag’ in the ‘article form’.
Offline
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