Llasse
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Logout Link In 3.0 Menu?So am I, as I just need the logout function, not all the other links
I have fixed it for now, as I have commented the following line in
/wp-content/themes/p2/inc/p2.php
add_filter( 'wp_get_attachment_url', lambda( '$url', 'str_replace(get_bloginfo("url")."/", site_url("/"), $url);' ), 11);I don’t really understand it, but I think it replaces the blogurl with the siteurl (which in my case has an extra /blog/ attached) so that it produces double /blog/blog/ whenever this is used..
Maybe someone else has this problem and could be helped by this.. I will also report this thread to P2-developers..
Settings:
wordpress-adress: http://root.com/blog/
blog-adress: http://root.commedia library settings fields for uploading are both empty
also, when i change the blog-adress to http://root.com/blog/ back again, it works again..
http://root.com/blog/wp-admin/media-upload.php?p2-upload=true&post_id=0&type=image&tab=library does NOT work (frontend editing)
http://root.org/blog/wp-admin/media-upload.php?post_id=83&type=image&tab=library works (dashboard editing)
Forum: Plugins
In reply to: [Plugin: WP-Table Reloaded] Admin Interface – smaller width for columnsYes, this is really really nice support.. thanks a lot!
Forum: Plugins
In reply to: [Plugin: WP-Table Reloaded] Admin Interface – smaller width for columnsBut as this seems to be only a CSS-issue, there might be a relatively easy fix – I just cannot make out why my changes (deleting the 190px/changing it) don’t show any effects – especially as the width:100% parameter must (even if it overrides something) refer to a containing element – which must have the size…
Am I working on the correct CSS file?
(Sorry that I’m somehwat unpatient, but there is someone else on the user side, who is not really understanding “why can you fix the design on every page of the entire site with two clicks and not make this table look smaller?” hehe..
Any more comments on the CSS-file?
Forum: Fixing WordPress
In reply to: is_page not “completely” workingtry using
wp_reset_query();in front of the whole process.. TheLoop does strange things when called twice without being reset(Worked for me..)
It seems as if for every post that is added, the_content(); produces an extra
<br />as my new wp_query (with showposts=1) only returns one post , but TheLoop still processes all the posts there are, and displays a<br />for each “empty post” (as it only got one from wp_query();)Understanding this still doesn’t help me find a senseble solution. I used this workaround, as the site has to go online this weekend (but I’d be glad to get some help!)
while (have_posts()) : the_post(); $content = get_the_content(); str_replace("<br />","",$content); echo $content; endwhile;Forum: Plugins
In reply to: [Plugin: NextGEN Gallery] Import Folder – outside wordpress directoryGiven your directories:
root/pictures/stuff/ (the one to import)
root/wordpress/ (your wordpress)just type /../pictures/stuff/
so the /../ should do the work of importing folders outside your wordpress directory.. hope this helps
Forum: Fixing WordPress
In reply to: [Plugin: NextGEN Gallery] Allowing Public Uploads?http://ww.wp.xz.cn/extend/plugins/nextgen-public-uploader/ might help you guys
Forum: Plugins
In reply to: [Plugin: NextGEN Gallery] ID 675: A failure occurred [more] 1I have installed the exact same NextGEN Files on another server, but don’t get the error there.. it must be a server error, but how can I fix it?
Forum: Plugins
In reply to: [Plugin: NextGEN Gallery] ID 675: A failure occurred [more] 1Google Chrome 3.0.195 and Firefox (although I don’t know the version here) have produced the error for me and a colleague using it on his computer..
Forum: Plugins
In reply to: [Plugin: ICS Calendar] PHP function to display the calendar on homepage?Yes, this would also be nice for templates, where you could either choose a specific calendar either in multiple widget or as a php-command on certain template-files (where you’d only want to display maybe calendar #3)
Forum: Fixing WordPress
In reply to: How do I add custom stylesheets to TinyMCE?I think I am looking for the equivilant of tiny_mce_config.php or something like that?
Forum: Plugins
In reply to: [Plugin: NextGEN Gallery] ID 675: A failure occurred [more] 1Sorry… the file was plugin/nextgen-gallery/admin/js/ngg.ajax.js
But I still have the problem, the file looks like this on these lines now:
success: function(msg){ switch (parseInt(msg)) { case -1: nggProgressBar.addNote( nggAjax.settings.permission ); break; case "0": nggProgressBar.addNote( nggAjax.settings.error );Why do I remove the doubledashes for the -1 statement for case?