Leo
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: How to prevent form resubmission confirmation?Thanks, got it.
Forum: Fixing WordPress
In reply to: How to prevent Editors seeing media uploaded by other users?Thanks @cedcommerce,
The thing is I can’t find where is the file that is used for listing media in the library.
Forum: Fixing WordPress
In reply to: How to prevent Editors seeing media uploaded by other users?Hi again, @cedcommerce,
this function hides the media all over the website, I needed to hide only in the media library, when you want to upload a media, when you see the attachment browser, only there I needed them hidden.
is this possible?
Thank you,
LeoForum: Fixing WordPress
In reply to: How to prevent Editors seeing media uploaded by other users?Hi @cedcommerce,
Thanks a lot, that’s exactly what I needed!Forum: Plugins
In reply to: [BuddyPress Like] Like/Unlike Deletes FeedHi Graeme,
I have tested a lot, no activity is being removed, in this sense it is allright, what is missing, I guess, is that when someone likes an activity, it creates another activity update in their profile – user A liked user B’s activity – if you have enabled this feature in BuddyPress Like Settings.
Removing these lines from the plugin will still leave the activity in the user profiles no matter if they have unliked it or not.
I do not have this feature enabled, there’s no problem on my website now.
Regards,
LeoForum: Plugins
In reply to: [BuddyPress Like] Like/Unlike Deletes FeedHi Graeme,
I couldn’t solve the issue completely, but I could prevent the deleting of the activities.
I removed this function:
bp_activity_delete(
array(
'id' => $update_id ,
'user_id' => $user_id
)
);
from this file:
/buddypress-like/includes/like-functions.php
now the activities are not being removed, maybe there’s something else happening, for example the liked activity remains or whatever, but it was a quick thing to do to keep the activities.
Hope this helps.
Regards,
LeoForum: Plugins
In reply to: [BuddyPress Like] Like/Unlike Deletes FeedHi Darren,
Yes, I have the same problem, too, it actually removes all the activities from database.
I tested it on several websites on different themes.I tried to check the plugin files, but no success.
Will try later again and will post if I find anything useful.Regards,
LeoForum: Plugins
In reply to: [Polylang] Something went wrong after changing the Default LanguageI was not able use the filter. I tried to 301 redirect those URLs from .htaccess, but the website returned 500 Internal error. I do not think I can manage it myself. Can you please help me with this? Thanks.
Forum: Plugins
In reply to: [Polylang] Something went wrong after changing the Default LanguageOK. Thank you. I will try to fix it the way you described.
And one more thing, when I visit my website site.com it redirects to site.com/es and returns HTTP status 302. Can I make it 301 permanent redirect?Forum: Plugins
In reply to: [Polylang] Something went wrong after changing the Default LanguageHi, here they are:
The language is set from the directory name in pretty permalinks
Hide URL language information for default language – UNCHECKED
Remove /language/ in pretty permalinks
The front page url contains the language code instead of the page name or page id – CHECKED
When the front page is visited, set the language according to the browser preference – UNCHECKED
Activate languages and translations for media – UNCHECKEDSynchronization – Page template, Page order
Forum: Plugins
In reply to: [Polylang] Something went wrong after changing the Default LanguageHi Chouby,
I am sorry I am not sure I got it right.
When I select a language as Espanol at the admin language filter and make changes in theme options, the changes appear in my English pages only. Spanish remains unchanged. and any change made in Strings translation doesn’t affect my pages either. I am unable to change the Spanish strings.Can I do something to correct it?
Should I share website URL, any configuration or file, whatever that can help clarify the situation?
Thanks,
LeoForum: Plugins
In reply to: PHP eval(base64_decode(……..)) what does this mean and what to do?Yeah, sure.
I read it, and also I found a good article on Hardening PHP.Thank you!
Forum: Plugins
In reply to: PHP eval(base64_decode(……..)) what does this mean and what to do?Hi Andrew.
I have read it all, cleaned all the files from the encrypted code and made a copy. Now I am going to install a new copy of WordPress.
Also I have decrypted the code.
Thanks!
Thanks Matthew!
updated version 2.3.2 fixed it, thank you.Forum: Themes and Templates
In reply to: Menu displays like a common listAnd these 2 codes I found in the header.php:
Menu 1
<div class=”menu-links”>
<div id=”pagemenucontainer”>
<?php if(function_exists(‘wp_nav_menu’)) {
wp_nav_menu( ‘depth=1&theme_location=menu_1&menu_id=pagemenu&outer-wrapper=&fallback_cb=menu_1_default’);} else {
menu_1_default();
}
function menu_1_default()
{ ?>
<ul id=”pagemenu”>
<li <?php if(is_home()) { ?> class=”current_page_item” <?php } ?>>/”>Home<?php wp_list_pages(‘depth=1&sort_column=menu_order&title_li=’ ); ?>
</div></div>
Menu 2
<div class=”outer”>
<div id=”navcontainer”>
<?php if(function_exists(‘wp_nav_menu’)) {
wp_nav_menu( ‘theme_location=menu_2&menu_id=nav&outer-wrapper=&fallback_cb=menu_2_default’);} else {
menu_2_default();
}
function menu_2_default()
{ ?>
<ul id=”nav”>
<li <?php if(is_home()) { echo ‘ class=”current-cat” ‘; } ?>>“>Home<?php wp_list_categories(‘depth=3&exclude=1&hide_empty=0&orderby=name&show_count=0&use_desc_for_title=1&title_li=’); ?>
<?php } ?>
</div></div>Please, if anyone could help me, I would really appreciate!
Leo