autox420
Forum Replies Created
-
Forum: Plugins
In reply to: [WP Steam Auth] Redirect after loginSearch plugin redirect after login
Forum: Plugins
In reply to: [Asgaros Forum] User description in forum and profile.Solved it!
// Show biographical info. if (!empty($userData->description)) { $cellValue = trim(esc_html($userData->description)); echo '<iframe width="390" height="395" src="https://test.com/'.$cellValue.'" frameborder="0"></iframe>'; }
Forum: Plugins
In reply to: [Asgaros Forum] User description in forum and profile.I have tryied your dev version it did work: https://github.com/Asgaros/asgaros-forum/archive/b29fe75f6f522e5b10fb9a1de297c12a88b6494d.zip
I check the source of how the description is pulled.
// Show biographical info. if (!empty($userData->description)) { $cellTitle = __('Biographical Info:', 'asgaros-forum'); $cellValue = trim(esc_html($userData->description)); $this->renderProfileRow($cellTitle, $cellValue); }
Can i add php code to it? If yes how? I would like to add this code.
Something like this.// Show biographical info. if (!empty($userData->description)) { $cellTitle = __('Biographical Info:', 'asgaros-forum'); $cellValue = trim(esc_html($userData->echo '<iframe width="390" height="395" src="https://test.com/'.description.'" frameborder="0"></iframe>'; )); $this->renderProfileRow($cellTitle, $cellValue); }
Forum: Plugins
In reply to: [Asgaros Forum] Profile link to buddypress how?Well you are trying to explain it like pros. Im not a pro im just a simple user who follows easy instructions.
The buddypress linking is working yes. But only when im view a forum thread.
This is code that i use right now.
function my_filtered_post_username($username, $author_id) { $profile = bp_core_get_userlink($author_id); return '<b>'.$profile.'</b>'; } add_filter('asgarosforum_filter_post_username', 'my_filtered_post_username', 10, 2);
I want that usernames also can be clickable when viewing the forum categories and the forum where the threads are.
I have tryed to change modify and so on the things you wrote. But it doesnt work for me the best i got was that usernames redirect to the forum thread.Can you please give me the right code if you can?
Forum: Everything else WordPress
In reply to: Why do people help for free?Thanks for the answers.
Forum: Plugins
In reply to: [Asgaros Forum] Profile link to buddypress how?Found a solution: https://www.asgaros.de/support/?view=thread&id=197
function my_filtered_post_username($username, $author_id) { $profile = bp_core_get_userlink($author_id); return '<b>'.$profile.'</b>'; } add_filter('asgarosforum_filter_post_username', 'my_filtered_post_username', 10, 2);
Yes you were right in a previous post. I did something wrong there.
Its solved now!And yes that other code also worked.
But how do i make the usernames clickable everywhere?
Its only clickable in the threads.
How to make them clickable everywhere in the forum?Forum: Plugins
In reply to: [Asgaros Forum] Profile link to buddypress how?Getting closer but still not there.
This links all users to themselfs.function my_filtered_post_username($username, $userID) { global $current_user; $name = $current_user->user_login; return '<a href="https://test.com/members/'.$name.'">'.$username.'</a>'; } add_filter('asgarosforum_filter_post_username', 'my_filtered_post_username', 10, 2);
Forum: Plugins
In reply to: [Asgaros Forum] Profile link to buddypress how?@asgaros well when i disable profiles in settings then it works in someway. It redirects me to https://test.com/members/
But i need it to redirect to.
<a href="https://test.com/members/<forum_username>"> or <a href="https://test.com/members/<worpdress_username>">
The code im using is.
function my_filtered_post_username($username, $userID) { return '<a href="https://test.com/members/">'.$username.'</a>'; } add_filter('asgarosforum_filter_post_username', 'my_filtered_post_username', 10, 2);
@yworld.
Doesnt work.Forum: Fixing WordPress
In reply to: Low resolution style?Thanks for the word responsive didnt know abput that word.
Well i hope i can solve it with this.https://torquemag.io/2016/05/make-wordpress-theme-responsive/
Forum: Plugins
In reply to: [Asgaros Forum] Profile link to buddypress how?Well with the code i posted in the first thread the usernames are clickable when viewing a forum thread. But when viewing forum the usernames arnt clickable how do i solve that?
I think i can solve the buddypress thingy i need but can you help me on the way?
<a href="https://test.com/members/<forum_username>"> <a href="https://test.com/members/<worpdress_username>">
Do you understand what i need help with?
Thanks!Forum: Fixing WordPress
In reply to: My site disappearedWhat problem do you have?
Btw the background image is loading so slow feels like 1993 again!Forum: Fixing WordPress
In reply to: Plugin Recommendationhttps://www.ads-software.com/plugins/floating-div/
+
Spoiler- This reply was modified 7 years ago by autox420.
Forum: Plugins
In reply to: [Asgaros Forum] User description in forum and profile.Do you know if php code is allowed in the description?
Not for users but for webmaster?I would like to do this.
get_user_description
Get the user description directly with php code.
Cause in my site users are forced to write description when registering.Forum: Plugins
In reply to: [Asgaros Forum] Threaded repliesThat would be ugly.
Forum: Plugins
In reply to: [Asgaros Forum] Remove menu how?Yes ok and yes it worked. Thanks!