XindaoICT
Forum Replies Created
-
Forum: Developing with WordPress
In reply to: the_excerpt()Ok, I think I’ve found something after some research. Which is also something I definitely like!
Adding this code:
// Content Views - Do shortcode on excerpt add_filter( 'the_excerpt', 'cv_do_shortcode_excerpt', 100, 1 ); function cv_do_shortcode_excerpt( $args ) { $args = do_shortcode( $args ); return $args; }
It shows the content of the shortcode.
Now the only problem is that the PDF makes the div box extremely tall.
Already tried to change that via CSS, but not working..The PDFviewer shortcode has a predefined height, so that’s what it’s holding on to.. I want just this piece of function/filter to have a separate height..
How to do that?See screenshot for more info:
Forum: Developing with WordPress
In reply to: the_excerpt()Hey mate,
Thank you for your reply.
Can you please help me a little bit with this since I’m unfortunately not a PHP expert?What I understand out of your explanation together with this link: https://developer.www.ads-software.com/plugins/hooks/custom-hooks/: I need to create a (custom?) hook for the “the_excerpt” function in my functions.php?
What I actually want to do is only on this specific page to replace those shortcodes. I already copied the template files which I need to my child-theme folder.
Thank you.
Forum: Plugins
In reply to: [wpForo Forum] Subscribed to topic, new message alertIs there also another solution for this? For example as a popup notification? For ex: I use the OneSignal plugin for popup notifications..
Forum: Plugins
In reply to: [wpForo Forum] Removing fields from profile pageGreat, this worked for me!!
Last question:
If someone is subscribed to a topic, how do they know if there is a new message in that topic? Can they get a message or something?Hi there,
Oh but in your previous reply you said that you are also using Windows server and it was working just fine haha..
Yeah I tried that one, but didn’t help..
where it goes wrong is from step 6 onwards. Where should I get the mod_auth_kerb.so file..?
As soon as I change my httpd file, my Apache doesn’t want to start anymore..@ole1986:
Hi there,I use Apache 2.4 on Windows Server 2012.
LDAP is working fine.
SSO is the thing I’m configuring now while following your instructions.
I created a keytab and I changed my .htaccess file.
But where should I put the keytab file on the server??
Because /etc/… is probably the locaion for a Linux based machine. But where in Windows/Apache should this be saved?Hope to hear from you asap.
Forum: Plugins
In reply to: [Active Directory Integration] AD, LDAP and SSOHi Jochen,
I tried that..
I first installed this plugin
Then I replaced the files ad-integration.php and admin.php for the ones in the zipfile from: https://gist.github.com/jotazzu/5e92f33e9eea34045290.But SSO is still not working.
LDAP is working, I can log in normally but it is not logging in automatically.
What do I need to do to solve this?When I put the WP_DEBUG to true, I dont see any errors coming from AD integration. Also the log doesn’t show anything weird…
And yes I enabled SSO in the settings.Please help.