Rashed Latif
Forum Replies Created
-
Forum: Plugins
In reply to: [TT Guest Post Submit] Custom Author Code not workingHi
This code you need to look at your theme files. Find similar code which is described in the tutorial in your theme files and replace that code.
You dont need to replace any code in plugin.
Hope that helps.Forum: Plugins
In reply to: [TT Guest Post Submit] How do I add a new field to the form?You can do it manually editing the code. I have plan to add the option to add new fields from option menu in the later versions.
Forum: Plugins
In reply to: [TT Guest Post Submit] RedirectYou can hardcode the link.
To do that you need to change the following codeextract(shortcode_atts(array( 'author' => '1', 'redirect_url' => get_permalink(), ), $atts ) );
to
extract(shortcode_atts(array( 'author' => '1', 'redirect_url' => YOUR DESIRED LINK ), $atts ) );
I will add an option page for this plugin in my next version where i will add an option to change redirect link.
Let me know if it works.
Forum: Plugins
In reply to: [Sidebar Login Widget] Redirect Loops & Login FailuresCan you please send me the link where you are trying to use this plugin?
Forum: Plugins
In reply to: [TT Post Viewer] cannot activate pluginHi litter
Have you tried it on any other theme just for testing purpose. I m not sure but could be some conflict with your plugin. It’s just an assumption. Let me know how it will go.Forum: Plugins
In reply to: [Sidebar Login Widget] Translation ready?Hi ciro
I have plan to do it but not sure when. Hopefully in a few weeks time maybe.Forum: Plugins
In reply to: [Sidebar Login Widget] Login fail redirectYes thats definitely a solution but i just figured out both our solution may end up with redirection loop problem for some hosts.
The best way to redirect to wp-login page is disable/remove the following portion of code and let wordpress handle it.
add_action('wp_login_failed', 'handle_login_failure'); /* * This method will handle the login failure process. */ function handle_login_failure($username){ // check what page the login attempt is coming from global $current_error; $referrer = $_SERVER['HTTP_REFERER']; if ( !empty($referrer) && !strstr($referrer,'wp-login') && !strstr($referrer,'wp-admin') ) { wp_redirect(home_url() . '/?login=failed&errcode='.$current_error ); exit; } }
Forum: Plugins
In reply to: [TT Guest Post Submit] Help with an error messageLaszlo, Thanks. I think thats a good approach to fix this issue.
I will make this change and and update the plugin.Forum: Plugins
In reply to: [Sidebar Login Widget] Login fail redirectThis plugin is developed in that way. When login attempt is failed it will redirect to home page. Because sidebar login widget will be on the home page sidebar in most of the cases so user can try to login again.
But if you want that after the login failure it will be redirected to worpress login screen then replace the following code
wp_redirect(home_url() . '/?login=failed&errcode='.$current_error );
with
wp_redirect( $referrer . '/wp-login.php' );
This line is in function called “handle_login_failure”
Hope that will help.
Forum: Plugins
In reply to: [TT Guest Post Submit] Help with an error messageFollowing two link may help you.
In my opinion its something wrong with your theme. In the first link you can have an idea of re installing the theme which may solve the issue.
In the second link you will have an idea of how to remove some spaces or other stuff from the file mentioned in the error message. In your case it will be
/themes/genesis/lib/structure/header.php
/plugins/tt-guest-post-submit/tt-guest-post-submit.php
I have already checked in tt-guest-post-submit.php and its ok but you can check again.
and also you can try wp-config.php as mentioned in the link and also function.php of your theme.But make sure you know what you are doing otherwise you may end up with something worst. Better take a backup first.
https://www.ads-software.com/support/topic/warning-session_start-cannot-send-cache-limiter
https://codex.www.ads-software.com/FAQ_Troubleshooting#How_do_I_solve_the_Headers_already_sent_warning_problem.3FForum: Plugins
In reply to: [TT Post Viewer] Image size huge in firefoxThats actually pretty simple. You dont have to do anything with code. In the options page you should be able to select whether you like to display thumbnail or not. In the help file its also described how to use shortcodes to override options selected in options page. you dont have to resize the image size to 0x0.
hope that helps.
Forum: Plugins
In reply to: [TT Guest Post Submit] Help with an error messageThanks sffood for pointing out this issue. I haven’t experienced that warning message otherwise i would have definitely fixed that before.
As its just an warning message, not an error so the plugin should still work.I have looked at the problem over the internet and found few possible reason that can cause this issue. So i changed the code little bit to make fix that issue.
Please download the plugin again and try to use it and let me know if that makes any change or not.
Forum: Plugins
In reply to: [TT Post Viewer] cannot activate pluginThis link may give you an idea why its happening
https://www.ads-software.com/support/topic/plugin-could-not-be-activated-because-it-triggered-a-fatal-error-18?replies=7Forum: Plugins
In reply to: [TT Post Viewer] Image size huge in firefoxIs it happening for all browsers or just firefox?
Actually to use the size entered in the options page you need to resize the images using any image resize plugin. I prefer “Force Regenerate Thumbnail”.If the entered dimension was used before then you might have the image of that size already and it will appear with the correct size straight away. But if the dimension is completely new then there need to be a image file of that size and “Force Regenerate Thumbnail” or any other similar plugin actually does that job.
Try this way and if it doesn’t work please let me know.
I would prefer a review as well.
Forum: Plugins
In reply to: [TT Guest Post Submit] Root path visibleThanks again Yeroon. I haven’t noticed that. I have fixed that in the updated version. I really appreciate.