jnz31
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: permalinks issue Warning: preg_match()hi
could you plz explain how you solved this?
i do have the same problem and it only occurs, if i enable wp-ecommerce. drives me nuts. php and pcre are pretty much up to date (php: 5.4.9, pcre: 8.31 2012-07-06). saw that you mentioned pcre in the wpsc forum.
thanks!Forum: Plugins
In reply to: [WP eCommerce] uninstaller – or how to uninstall completly?nope. that doesnt help.
know why? cause you need wpe-commerce to be active to use this plugin. and when its active it creates some entries in the db. you cant delete these options settings with this. and i guess there is more stuff that fuck up my site. and my problem is not a theme problem, even if i use the default theme the site is all fucked up, means the site shows one post and on every other page on the site you get these php error messages
Warning: preg_match() [function.preg-match]: Compilation failed: unrecognized character after (? or (?- at offset 3 in /…/wp-includes/class-wp.php on line 204
now you can get rid of these error warning, when you update your permalink structure. when i set it to default, the site doesnt pull out these error messages, but my home page isnt loaded properly. plus if i set the structure back to my custom setting the errors reappear.
is it possible to give me some support over here? what shall i do?Forum: Plugins
In reply to: [WP eCommerce] links are brokenand the ajax thing: i hadnt activate the “fancy notifications” as well.. i saw them on another site and was missing them here.
Forum: Plugins
In reply to: [WP eCommerce] links are brokeni hadnt activate the menu as my primary menu. works fine now, too.
Forum: Plugins
In reply to: [WP eCommerce] links are brokenfirst i added the new menue.
i have to check why this is not appearing on the site (didnt even work in the previous test, guess i have to change some minor thing, im no wordpress killa) but the site still was running fine.
then i added the pages, which are subbpages of a page called information (NOT wpec related at all): error.de- and reactivated wpec: works.
now this is some frustrating trail and error shit. but im happy it works now.
i dont know, if you got me right. or maybe im not getting you..
i want to modify the general search field, to be capable to search for the event owner, which is a standard wp author.
where should i modify what..?
(i think i have to modify the plugin core. correct me if im wrong..)
and yes, im still willing to pay for that feature..Forum: Plugins
In reply to: [SH Slideshow] [Plugin: SH Slideshow] cant add images to mini slideshowok. another mess.
when i successfully insert my images into the slideshow, its taking the original files.
not the resized file, that i picked via the radio button, but the 4000px files, my client uploads..there HAS to be another option, to include the images (e.g. to pick the resized files), no?
looks like this is all obsolete in 5.1.3
nice <3update (for EM 5.1.3):
place this code into your functions.phpthe placeholder is called #_JNZCONTACTURL
add_filter('em_event_output_placeholder','jnz_author_url',1,3); function jnz_author_url($replace, $EM_Event, $result){ global $wp_query, $wp_rewrite; switch( $result ){ case '#_JNZCONTACTURL': $replace = get_the_author_meta( 'user_nicename', $EM_Event->event_owner ); } return $replace; }
please note: this only pulls out the author slug, not any “authors” or whatever custom URL structure..
thx marcus. updates some weeks ago but fucked everything up. updated again and it looks like its all working.
user_name != user_nicename ??
thanks marcus for pushing me in the right direction. here is my filter that replaces #_JNZCONTACTURL
add_filter('em_event_output_placeholder','jnz_author_url',1,3); function jnz_author_url($replace, $EM_Event, $result){ global $wp_query, $wp_rewrite; switch( $result ){ case '#_JNZCONTACTURL': $replace = $EM_Event->contact->user_nicename; } return $replace; }
remember: this “only” pulls out the slug, not the complete url
best
jnzbut that would pull out the username, not the users slug.
i have a user called “Ben 51”, its slug is ben-51, and your solution would pull out yoursite.com/members/Ben 51/ what would end up in 404.hi marcus
thanks for your help.
im inside of the settings of EM. on the Default single event format i want to pull out a link to the author of the event. each event author is also an wp-author on the page and posts its very own events..
hi marcus, thanks for the quick reply
could you get a bit more specific, please?
i tried
<a href="[events_list owner=#_CONTACTUSERNAME]">#_CONTACTUSERNAME</a>
but that pulls out a list (guess you picked the wrong shortcode)
so i tried [event owner=#_CONTACTUSERNAME] but that wouldnt pull out a link or anything similar neather.. so i searched a bit more but i couldnt find any proper combination / value.thx
so why do you have to enable buddypress to link to the authors page of an event..??
or could this be solved on another route?