Thorworx
Forum Replies Created
-
@artvandelay33 Not yet, but we are working on other stuff right now. I want to tackle this next, so I thought I might get a headstart with an answer, but looks like no one knows this?
Go to Ultimate Member > User Roles > open any user role. If you scroll down, there is a list of capabilities. I thought I remembered a defined capability, something like create_sub_accounts but I cannot find this anymore.
Most likely it is a combination of enabling certain capabilities to this user role like:
edit_users
cretae_users
delete_users
remove_usersThe problem that I see here, is that these capabilities are NOT limited to just your account, so if you enable this I am afraid it would enable the user to randomly delete and change ANY user data in the directory and not just what s/he created on their own.
I think in the end we have to code this capability ourselves so we can control the action…
Clarification. That info is a feature in the user capabilities. But there is no documentation anywhere? Any help on how to use this?
THX; SOLVED! I activated the directory and made it visible only to me as the admin. I can search for individual field values now and find the right people instantly.
Hi @champsupertramp
thank you for getting back. Your answer prompted me to further test my settings and I could solve it.I need to assign a UM role to new signups by default. The user I tested had the old WP contributor role and a UM role both. That must have blocked it.
I will now assign a new “default” UM role to each new signup. This seems to work! Thanks anyway! Thorsten
HI CHamp, thanks for the offer, but I am not 100% sure if it comes from Ultimate Member anymore. I ramped up security with iThemes Security and Wordfence the same day. It might have something to do with that as well.
The problem stays if I disable any of these 3 Plugins including UM, Wordfence, and iThemes Security) I still get the same error (which might be caused by Cache – I always have problems with that).
Did you ever hear of something like that rewrite before in another context?
THANKS ??
Hi CHamp, I guess that is not how Anker links work. By default you just name the section “demo” without the hash. If you do not include a /#demo in the menu item it would try to redirect to /demo which does not exist, same as /#/demo. Anyway its a super weird dynamic rewrite I did not encounter in 15 years of WordPress anywhere!
My current workaround is to create standalone pages for these sections. I found no other working solution ??
Forum: Fixing WordPress
In reply to: Cannot paste any content into posts?Forum: Plugins
In reply to: [Social Count Plus] View RSS countHello,
this plugin looks awesome! Great idea to include the post and comments count!But what about the RSS feed again? Any way to include the MyMail Newsletter Subscribers instead?
Because this is such a great tool and not everybody is using Feedburner any more!So basically I just want to display the native WordPress Newsletter Subscribers (from MyMail) instead of Feedburner.
Best Regards, Thorsten
Hi… I left gmap.js renamed and even tried to remove all relations to gmap out of header.php but nothing worked.. its still the same 3 problems.. now I am starting to guess that it may not be related to the template … what now?
Best regards…
The whole template works on JQuery, as basically this is just a single huge slideshow… so it just killed the whole site and I could not check anything at all… any other suggestions?
Although I did not see any Google Maps support at all, here is the code from that gmap.js theme file:
*/
(function($){$.fn.gMap=function(options){var opts=$.extend({},$.fn.gMap.defaults,options);return this.each(function(){var googlemaps=google.maps;var $this=$(this);var LatLng=new googlemaps.LatLng(opts.latitude,opts.longitude);var mapOptions={zoom:opts.zoom,center:LatLng,mapTypeControl:opts.mapTypeControl,zoomControl:opts.zoomControl,panControl:opts.panControl,scaleControl:opts.scaleControl,streetViewControl:opts.streetViewControl,mapTypeId:opts.maptype,scrollwheel:opts.scrollwheel};var $gmap=new googlemaps.Map(this,mapOptions);$this.data(“$gmap”,$gmap);var $geocoder=new googlemaps.Geocoder();if(opts.address){$geocoder.geocode({address:opts.address},function(result,status){if(status==google.maps.GeocoderStatus.OK){$gmap.setCenter(result[0].geometry.location);}else{if(opts.log)console.log(“Geocode was not successful for the following reason: “+status);}});$gmap.setZoom(opts.zoom);}
else{if(opts.latitude&&opts.longitude){$gmap.setCenter(new googlemaps.LatLng(opts.latitude,opts.longitude),opts.zoom);}
else{if($.isArray(opts.markers)&&opts.markers.length>0){if(opts.markers[0].address){$geocoder.geocode({address:opts.markers[0].address},function(result,status){if(status==google.maps.GeocoderStatus.OK){$gmap.setCenter(result[0].geometry.location);}else{if(opts.log)console.log(“Geocode was not successful for the following reason: “+status);}});}
else{$gmap.setCenter(new googlemaps.LatLng(opts.markers[0].latitude,opts.markers[0].longitude));$gmap.setZoom(opts.zoom);}}
else{$gmap.setCenter(new googlemaps.LatLng(opts.latitude,opts.longitude));$gmap.setZoom(opts.zoom);}}}
if(opts.controls.length!=0){for(var i=0;i<opts.controls.length;i++){map.controls[opts.controls[i].pos].push(opts.controls[i].div);}}
for(var j in opts.markers){var marker=opts.markers[j];if(opts.log)console.log(“putting marker no “+j+” at “+marker.latitude+’, ‘+marker.longitude+” with address “+marker.address+” and html “+marker.html);var _gicon={};_gicon.image=opts.icon.image;_gicon.iconSize=($.isArray(opts.icon.iconsize))?new googlemaps.Size(opts.icon.iconsize[0],opts.icon.iconsize[1]):opts.icon.iconsize;_gicon.iconAnchor=($.isArray(opts.icon.iconanchor))?new googlemaps.Point(opts.icon.iconanchor[0],opts.icon.iconanchor[1]):opts.icon.iconanchor;_gicon.infoWindowAnchor=($.isArray(opts.icon.infowindowanchor))?new googlemaps.Size(opts.icon.infowindowanchor[0],opts.icon.infowindowanchor[1]):opts.icon.infowindowanchor;var _gshadow={};_gshadow.shadow=opts.icon.shadow;_gshadow.shadowSize=($.isArray(opts.icon.shadowsize))?new googlemaps.Size(opts.icon.shadowsize[0],opts.icon.shadowsize[1]):opts.icon.shadowsize;if(marker.icon){_gicon.image=marker.icon.image;_gicon.iconSize=($.isArray(marker.icon.iconsize))?new googlemaps.Size(marker.icon.iconsize[0],marker.icon.iconsize[1]):marker.icon.iconsize;_gicon.iconAnchor=($.isArray(marker.icon.iconanchor))?new googlemaps.Point(marker.icon.iconanchor[0],marker.icon.iconanchor[1]):marker.icon.iconanchor;_gicon.infoWindowAnchor=($.isArray(marker.icon.infowindowanchor))?new googlemaps.Size(marker.icon.infowindowanchor[0],marker.icon.infowindowanchor[1]):marker.icon.infowindowanchor;_gshadow.shadow=marker.icon.shadow;_gshadow.shadowSize=($.isArray(marker.icon.shadowsize))?new googlemaps.Size(marker.icon.shadowsize[0],marker.icon.shadowsize[1]):marker.icon.shadowsize;}
var gicon=new googlemaps.MarkerImage(_gicon.image,_gicon.iconSize,null,_gicon.iconAnchor);var gshadow=new googlemaps.MarkerImage(_gshadow.image,_gshadow.iconSize,null,_gicon.iconAnchor);if(marker.address){if(marker.html==’_address’){marker.html=marker.address;}
if(opts.log)console.log(‘geocoding marker: ‘+marker.address);(function(marker,gicon,gshadow){$geocoder.geocode({‘address’:marker.address},function(results,status){if(status==google.maps.GeocoderStatus.OK){var gmarker=new googlemaps.Marker({position:results[0].geometry.location,icon:gicon,title:marker.html,map:$gmap});var infowindow;if(marker.html){var infoOpts={content:opts.html_prepend+marker.html+opts.html_append,pixelOffset:_gicon.infoWindowAnchor};if(opts.log)console.log(‘setup popup with data’);if(opts.log)console.log(infoOpts);infowindow=new googlemaps.InfoWindow(infoOpts);googlemaps.event.addListener(gmarker,’click’,function(){if(opts.log)console.log(‘opening popup ‘+marker.html);infowindow.open($gmap,gmarker);});}
if(marker.html&&marker.popup){if(opts.log)console.log(‘opening popup ‘+marker.html);infowindow.open($gmap,gmarker);}}else{if(opts.log)console.log(“Geocode was not successful for the following reason: “+status);}});})(marker,gicon,gshadow);}
else{(function(marker,gicon,gshadow){if(marker.html==’_latlng’){marker.html=marker.latitude+’, ‘+marker.longitude;}
var gpoint=new googlemaps.LatLng(marker.latitude,marker.longitude);var gmarker=new googlemaps.Marker({position:gpoint,icon:gicon,title:marker.html,map:$gmap});var infowindow;if(marker.html){var infoOpts={content:opts.html_prepend+marker.html+opts.html_append,pixelOffset:_gicon.infoWindowAnchor};infowindow=new googlemaps.InfoWindow(infoOpts);googlemaps.event.addListener(gmarker,’click’,function(){if(opts.log)console.log(‘opening popup ‘+marker.html);infowindow.open($gmap,gmarker);});}
if(marker.html&&marker.popup){if(opts.log)console.log(‘opening popup ‘+marker.html);infowindow.open($gmap,gmarker);}})(marker,gicon,gshadow);}}});}
$.fn.gMap.defaults={log:false,address:”,latitude:0,longitude:0,zoom:10,markers:[],controls:{},scrollwheel:true,maptype:google.maps.MapTypeId.ROADMAP,mapTypeControl:true,zoomControl:true,panControl:false,scaleControl:false,streetViewControl:true,html_prepend:'<div class=”gmap_marker”>’,html_append:'</div>’,icon:{image:”https://www.google.com/mapfiles/marker.png”,shadow:”https://www.google.com/mapfiles/shadow50.png”,iconsize:[20,34],shadowsize:[37,34],iconanchor:[9,34],infowindowanchor:[9,2]}}})(jQuery);THX, I tried that but nothing changed at all.. tried with several browsers as well.. always the same 3 problems from above… any other suggestions?