ypeynaud
Forum Replies Created
-
Hi,
same issue as Harrison 0. when using the shorcode, redirecting to: “http://1”, although no redirect positioned.
However, I can’t set the redirect=”http://…” parameter since the URL is not fixed.
Any turnaround?
Thanks !Sure, will keep the forum posted!
OK, thanks for the answer but too bad. I thought it was included in the Pro version, that’s why I subscribed to the Premium Program.
Actually some “Post Like” plugins such as WTI Like Post Pro do that by default, but they do not provide votes, just likes.
OK, I will see whether it’s easy or not to code it. Maybe it’s not so difficult using the bp_activity_add() hook…
Thanks anyway!
Yves.Exactly! I would like to have each vote mentioned in the buddypress activity streams, i.e. something like:
“John voted This_Terrific_Post one minute ago”
with This_Terrific_Post being the linked title to the Post.or even better:
“John rated Star_3 This_Terrific_Post one minute ago”
with Star_3 being the text corresponding to the star-3 level.Is there any way to do that?
Thx in advance,
Yves.And is there a way to show post ratings in the BuddyPress activity stream?
It seems to be a missing feature of this great plugin!You may want to use wp_get_referer() in this case.
On my side, I also redirect on a dynamic uri. Since I have multiple cases and origins, I had to introduce the notion of Sessions. I use for this the Simple Session Support plugin, which works fine. I can then use the super-global $_SESSION array in which I simply set a new $_SESSION[‘specific_referer’] variable.
I set this variable with the correct value, using wp_get_referer() or any other source, depending on my specific context. Then I use OneAll Social Login filters this <way:
/*** Forcing redirect to $_SESSION['specific_referer'] after registration & login in OneAll Social Login ***/ add_filter('oa_social_login_filter_registration_redirect_url', 'my_login_registration_redirect_filter', 10, 2); add_filter('oa_social_login_filter_login_redirect_url', 'my_login_registration_redirect_filter', 10, 2); function my_login_registration_redirect_filter ($url, $user_data) { return $_SESSION['specific_referer']; }Btw, I also use this function in other redirect filters, since I rely upon Theme-my-Login and s2Member plugins, too.
Cheers,
Yves.Hi @pwizard,
I had the same issue and found the solution in Claude’s answer in this post (through filters).
Works fine for me, both for registration and login.
Hope this helps,
Yves.Forum: Plugins
In reply to: [Theme My Login] TML Fatal error: (…) /custom-redirection.php on line 93Hello @c28g
thanks for the tip! I did the same as you and @synaestesia did and it actually avoids the crash, most important.
Maybe @jfarthing84 (or someone else) will come back with a more elegant turnaround 😉 since it seems a recurring (and somehow hurting) problem. I let this topic open just in case.
Btw, your site looks great! good idea to have side-by-side login/registration forms. Most obvious!
Thx,
Yves.Hello,
Anybody got an idea on this issue?
Thx,
Yves.Thanks @cassel but I already have this kind of link in place. However, it doesn’t bring back the user to the initial page after register or log in. Maybe it is because I use BuddyPress, and that the registration process is either handled by BuddyPress (open registration on) or s2Member (open registration off), and not by WordPress.
That’s why I tried to use the Theme My Login plugin which has a referrer capability, but it seems that s2Member takes over the return path, and that’s my question.
Thanks for your suggestion.
Yves.Works just perfectly! Both with or without the toolbar looking the same across the whole site, backend & frontend. No more gliches in styles.
That’s great to me, many thx!
Yves.Oh, good if you further provide the option to keep the toolbar sitewide! So I will wait a while before making rough custom styling on my own…
YvesSo you mean that the WPST plugin does not set the toolbar styles for the admin view (backend), but only for the user view? OK, I simply didn’t catch that! So it works well: it only previews the user view on active Styles tab, that’s correct.
Nota: I actually wanted to have exactly the same toolbar styles in admin view as in user view, and I thought WPST was doing it… Never mind, I will write some admin toolbar custom styles.
Regarding your question: yes, I observe the same glitches as you do, independently of the selected Admin color scheme… Can’t understand further.
Thx,
YvesOK, sorry: your patch actually DID solve the problem for visitors also. I use WP Supercache and the residual problem vanished by clearing the cache.
Thanks for great support!
Yves.Almost! Actually it is now working fine for logged-in users, but the problem persists for unlogged visitors.
Exactly the same error message. Showing up immediately, even before the rest of the page displays…
Yves.