nata-lee
Forum Replies Created
-
Forum: Plugins
In reply to: [Video Thumbnails] post format filterHello!
Thanks for the filter!!
But the code has a typo, an exclamation before has_post_format is needed, because we need to set an empty markup for posts which are NOT videos.
function limit_video_thumbnails_to_post_format( $markup, $post_id ) { if ( !has_post_format( 'video', $post_id ) ) { $markup = ''; } return $markup; } add_filter( 'video_thumbnail_markup', 'limit_video_thumbnails_to_post_format', 10, 2 );
Thank you!
I’m going to test it for a while.Forum: Plugins
In reply to: [Video Thumbnails] post format filterHello! Have you any plan to add the option? Or filter that I could use in my functions.php? It’s no good to change the code of the plugin at any update.
Same problem. Nothing helps
Forum: Plugins
In reply to: [User Role Editor] Lost admin access probably after the updateThanks a lot, I investigated, the warning is related to another plugin.
Forum: Plugins
In reply to: [User Role Editor] Lost admin access probably after the updateThank you, I’ve got the admin access again!
But I’ve got a warning:
The following plugins might cause (open graph) issues with Yoast WordPress SEO: Facebook
Is it ok?Forum: Plugins
In reply to: [User Role Editor] Lost admin access probably after the updateMy admin account have default ‘administrator’ role, no renamed copies.
Forum: Plugins
In reply to: [WP-United : phpBB WordPress Integration] Integration IssueHi, I have some news for you.
There is a script at /wp-united/functions-css-magic.php that adds
style="width:XXXpx;"
to elements that have width=XXX% style. This is a bug.You can workaround by replacing all width=100% in template files of Advanced BBCode Box 3 for PHPBB with
style="width:100%;"
Don’t forget to clean the template cache of phpbb.
Forum: Plugins
In reply to: [WP-United : phpBB WordPress Integration] Subsilver2well, did you clear the cache? The template cache of phpbb, general cache of phpbb and the cache of the wp-united? Now it looks like you didn’t change anything.
For example one table, the first after the menubar:
<div id="menubar"> <table width="100%" cellspacing="0" style="width:100px;"> <tbody><tr> <td class="genmed"> <a href="./ucp.php?mode=login&sid=856ce32133f6ef9c4a848882c36430c6"><img src="./styles/subsilver2/theme/images/icon_mini_login.gif" width="12" height="13" alt="*" style="height:13px;;width:12px;"> Login</a> </td> <td class="genmed" align="right"> <a href="https://docfgolf.com/?sid=856ce32133f6ef9c4a848882c36430c6"><img src="./styles/subsilver2/theme/images/icon_mini_profile.gif" width="12" height="13" alt="WordPress Blog" style="height:13px;;width:12px;">WordPress Blog </a> <a href="./faq.php?sid=856ce32133f6ef9c4a848882c36430c6"><img src="./styles/subsilver2/theme/images/icon_mini_faq.gif" width="12" height="13" alt="*" style="height:13px;;width:12px;"> FAQ</a> </td> </tr> </tbody></table> </div>
Forum: Plugins
In reply to: [WP-United : phpBB WordPress Integration] Subsilver2And here is the same problem, not with subsilver but with tables
https://www.ads-software.com/support/topic/integration-issueForum: Plugins
In reply to: [WP-United : phpBB WordPress Integration] Subsilver2I inverstigated ang now guess you need to do something with 239-248 lines of /wp-united/functions-css-magic.php. But it is just a supposition, I didn’t check it.
I guess these lines read <table width=”100%”> and add style=”width:100px;”. The code replace % with px and this is a problem (as I suppose).
So you can try to do some tricks:
1. Change the subsilver template and replace all subsilver tables styles width=”100%” with style=”width:100%;”, for example:
<table class="tablebg" cellspacing="1" width="100%">
with<table class="tablebg" cellspacing="1" style="width:100%;">
2. Deep think about the exclusion of width=100% from the regexp((<[^>]+\b)(?=width\s?=\s?[\'"]?\s?([0-9]+)\s?[\'"]?)([^>]*?))(\/?\s*>)
I think the first way is much easier to check and to implement.
Forum: Plugins
In reply to: [WP-United : phpBB WordPress Integration] Subsilver2Hello newbye,
Very interesting issue… And it’s perhaps related to <table>s tags. Prosilver based on <div>s and all is fine, but subsilver uses <table>s and got
style="width:100px;
You are not the only one with this issue.Forum: Plugins
In reply to: [WP-United : phpBB WordPress Integration] Integration IssueDid you try to replace <table> by <div>?
Forum: Plugins
In reply to: [WP-United : phpBB WordPress Integration] Integration IssueDid you try a MIDDLE setting?
If it doesn’t work… well… I would try to change the template of the mod ( Advanced BBCode Box 3). Yes, it’s boring, but… I would try to replace table html elements: <table>, <tr> and so on with <div> and check if it helps.Using tables is not a good idea, I guess… Just look into the original template of phpbb – no tables near any buttons or text areas.
Forum: Plugins
In reply to: [WP-United : phpBB WordPress Integration] Re-create forum pageCongratulations! But could you say why do you need it? Just very interesting, because I turned it off and decreased errors (according to google webmasters).
Forum: Plugins
In reply to: [WP-United : phpBB WordPress Integration] Re-create forum pageHello Beckis, why do you need a forum page? I guess it is useless thing which adds sid to the url. If you need a forum to your menu, just add an url, for example: https://yoursite.name/forum/