nlsubtitles
Forum Replies Created
-
Forum: Plugins
In reply to: [WP-Table Reloaded] [Plugin: WP-Table Reloaded] Vertical Alignmentalso i have a problem with the tabs.
This is my used shortcode:
[wptabs type=”tabs” style=”wpui-sevin” effect=”fade” mode=”horizontal”]But the tabs float about 10px above the content window, so the tabs do not ‘visually connect’ with the wptabcontent.
Any ideas what the problem is? Ofcourse I could manually fix it with a margin-bottom: -10px. But I don’t like to alter plugin codes.
The fact that it does not refresh and show the connection is probably because of the absence of the javascript code in your footer.
The same for the disconnecting.open your sfc-login.php and do a search (ctrl + f) for:
add_action('admin_footer','sfc_login_update_js',30);
and replace that exact line with:
add_action('wp_footer','sfc_login_update_js',30);
Then, do another search for:
if (defined('IS_PROFILE_PAGE'))
and replace that exact line with:
if (is_page('profile'))
My frontend edit profile page where the wpuf editprofile shortcode is located is named ‘Profile’ and has the slug ‘Profile’.. so that’s why
it isis_page('profile')
.. if the page where your wpuf shortcode is located has another name, for example: Editpage.. then the code will be:
if (is_page('Editpage'))
Forum: Plugins
In reply to: Infinite scroll vs. FB Like and GIn the “Javascript to be called after the next posts are fetched” window:
twttr.widgets.load();
I do not understand your question? If you put the [wpuf_editprofile] shortcode into a certain page, then that page is your User Frontend editprofile page..
Searched through the SFC plugin files and I found a solution!
in sfc-login.php I replaced the following line:
add_action('admin_footer','sfc_login_update_js',30);
with
add_action('wp_footer','sfc_login_update_js',30);
and in the same file sfc-login.php in the sfc_login_update_js function I replaced
if (defined('IS_PROFILE_PAGE')) {
with
if (is_page('profile')) {
What this does is that it displays the piece of javascript in the wp_footer and it only displays when on my edit profile front end page.
Normally, the piece of javascript only displays in admin_footer and on the Edit Profile back end page.
It’s probably a pretty dirty solution, and I don’t know if there are any security issues, but it works!
The button on the front end is displayed with:
do_action( 'profile_personal_options', $profileuser );
And it is updated with:
do_action( 'personal_options_update', $user_id ); do_action( 'edit_user_profile_update', $user_id );
What actions am I missing?
Thanks a lot madxpo, your fix works for me!!!
Only 1 problem left, making the “connect this account with facebook” button work in a frontend profile editor.. anyone got tips?
Thanks madxpo, gonna try tyour solution right now.
Will let you know if it works.Anybody? I’ve tried some stuff like just putting the jQuery in the callback box in the infinite scroll settings, but nothings seems to work.
I’m not really a javascript wizard:P
Fixed!
Added this code to my theme functions.php file:
//allow redirection, even if my theme starts to send output to the browser add_action('init', 'do_output_buffer'); function do_output_buffer() { ob_start(); }
I’ve tried this with the TwentyTen and TwentyEleven theme, both give the same error. The error line is always where the php in header.php starts.
Forum: Plugins
In reply to: Infinite scroll vs. FB Like and GHaving the same problem here!
The Like box problem is fixed thanks to the FB.XFBML.parse(); code posted by beaver, thanks!!But I also use the facebook comment count function, after pageload it does display a number (0), but that number is not correct..
<fb:comments-count href=https://example.com/></fb:comments-count>Also, I use a Tweet box, with this JS code:
<script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0];if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src=”//platform.twitter.com/widgets.js”;fjs.parentNode.insertBefore(js,fjs);}}(document,”script”,”twitter-wjs”);</script>
It does not display Tweet box image anymore after page load.Beaver, any thoughts??
Thanks for the answer!!!
At least now I know it is a known problem and not only on my site.Will try the development version!
Thanks!Otto, any thoughts?
Sorry for the huge story above, the main problem is that the WP account is not automatically connected to the FB account.
And thus the user has to ‘register’ twice if they want their FB account attached to the WP account.Pleeeease help, will buy beer!
Forum: Plugins
In reply to: [WP-PostRatings] [Plugin: WP-PostRatings] Show Image when User VotedHmm, this is probably hard to archieve because a AJAX / PHP Call needs to be made before the image is displayed, instead of after clicking it.