Invision Community 4: SEO, prepare for v5 and dormant account notifications Matt November 11, 2024Nov 11
January 20, 20187 yr Hi @Pete T Just tried this plug-in, and it doesn't seem to honour the WYSIWYG text. Once saved it appears as plain text, no paragraphs or formatting, just a line of plain text. Am I doing something wrong? Edited January 20, 20187 yr by The Old Man
January 20, 20187 yr Author 3 hours ago, The Old Man said: Hi @Pete T Just tried this plug-in, and it doesn't seem to honour the WYSIWYG text. Once saved it appears as plain text, no paragraphs or formatting, just a line of plain text. Am I doing something wrong? The plugin design so if html codes not the WYSIWYG editor way when will automatically do all this for you the plugin made by old dev and just get update fixes allow it to work with latest version of IPS when 4.3.x comes may review how plugin designed and works as might get redesign from the ground up.
January 23, 20187 yr I have put in some faulty code into the widget, and now the particular page with the code returns a 500 error. How can i remove that particular block if I cant load the page? edit: for anyone wondering, the cms blocks are found in db under table cms_page_widget_areas. Edited January 23, 20187 yr by Dan Richardson
March 29, 20186 yr This widget is great for me, the only problem I have is that "groups who can see this", behaves differently to the way it does on advertisements (native invision) If I have a member who is in group A and group B, and I decide to hide show adverts to everyone except group B, they are hidden from that member. However, if I do the same for TXT & PHP Widget, the member will still be able to see the widget, because he is in Group A. Logically your way makes the most sense compared to the description of the field, but it's less useful in my experience.
March 29, 20186 yr On 10/4/2017 at 5:48 AM, Dan Richardson said: For anyone who is interested in the future, this is how I did it. // Initialize IPS4 Framework require_once('./init.php'); // Indicate that we should consider this a front-end session so we can obtain the currently logged in users information. \IPS\Session\Front::i(); // Fetch linked account details $setting = \IPS\Member::loggedIn()->profileFields(); $username = $setting['core_pfieldgroups_2']['core_pfield_2']; I didn't need the require or the front-end session, in fact they crashed my page, but getting the logged in user with $member = \IPS\Member::loggedIn(); worked great for me. I then solved the problem I mentioned above using $member->inGroup();
May 27, 20186 yr Hi! Thanks for an awesome widget! I wonder if it possible to import images and make them fit to the widget area? I´ve managed to import images but they stay in full size and disappears out of the window area.
May 27, 20186 yr Author 1 hour ago, mrbo said: Hi! Thanks for an awesome widget! I wonder if it possible to import images and make them fit to the widget area? I´ve managed to import images but they stay in full size and disappears out of the window area. not sure what mean provide a screenshot please.
May 28, 20186 yr Author your image to big for sidebar its 315px your image is over this so will not display
May 28, 20186 yr 3 hours ago, Pete T said: your image to big for sidebar its 315px your image is over this so will not display I added this to my custom.css as I only display ads that I control the size of, it works for me. #ipsLayout_sidebar { min-width: 275px; max-width: 275px; }
May 28, 20186 yr Author Just now, Square Wheels said: I added this to my custom.css as I only display ads that I control the size of, it works for me. #ipsLayout_sidebar { min-width: 275px; max-width: 275px; } if only using ads yeah that fine but many people use widget there other ways like add code image etc or reduce the image so making the sidebar smaller or bigger ?
June 21, 20186 yr Hello guys. @Pete T, how to get a paddind 1px on your plugin's blocks please ? Thanks.
June 25, 20186 yr On 5/28/2018 at 8:41 PM, Square Wheels said: I added this to my custom.css as I only display ads that I control the size of, it works for me. #ipsLayout_sidebar { min-width: 275px; max-width: 275px; } Hello. Thanks for your code. I put 310px and the code dpesn't make the sidebar bigger. Have you got a way to fix the padding please ? Edited June 25, 20186 yr by Bocar
June 27, 20186 yr Author On 6/25/2018 at 11:52 AM, Bocar said: Hello. Thanks for your code. I put 310px and the code dpesn't make the sidebar bigger. Have you got a way to fix the padding please ? Trying work out what trying to do ? As said PM I don't support any tweak to themes that default or third party
June 27, 20186 yr I am tring to make a banner appears right on the block I created with a good padding. 15px by default is too much. 1px is great.
June 27, 20186 yr Author 10 minutes ago, Bocar said: I am tring to make a banner appears right on the block I created with a good padding. 15px by default is too much. 1px is great. https://invisioncommunity.com/forums/topic/434890-txt-php-widget/?do=findComment&comment=2703247 the answer there just change the code for padding and id number the plugin has. Edited June 27, 20186 yr by Pete T
June 27, 20186 yr On 8/1/2017 at 12:51 PM, Pete T said: yes please as used the plugin over my own site and removed the widget find from the front end so happy take look see if we do have a bug. add this to custom.css .ipsWidget[data-blockid="plugin_2_sodTxtWidget_0o20nmyug"] { border: 0px solid #000 !important; } please let me know if that worked or not. Hello. I put : .ipsWidget[data-blockID='plugin_3_sodPhpWidget_9ool06bo1'] { padding: 1px !important; } Doesn't work for padding. Edited June 27, 20186 yr by Bocar
July 7, 20186 yr Author 23 hours ago, Bocar said: Hello. Can you tell how to do this please ? Look I say it again and again I don't support custom tweaks to your theme I provided you CSS tweak it or look the inspect code via chrome and see if will get your end result but I am not going be provide support for your request.
July 18, 20186 yr Hello, Getting this when opening left-hand widget menu with the plugin enabled: IPS Support says PHP & TXT Widget uses invalid php code:
July 19, 20186 yr Author On 7/18/2018 at 1:19 AM, im_mortal said: Hello, Getting this when opening left-hand widget menu with the plugin enabled: IPS Support says PHP & TXT Widget uses invalid php code: if read correctly you added php code into block yes or no ? if yes its that breaking your site not my plugin as there no invalid code in my plugin.
July 22, 20186 yr Hi. I am having a problem in that I cannot edit the block - (see photo below of upper right block). I need to edit the block to place an https protocol in it. I tried to uninstall the block, however, it still shows up and then people cannot sign up or open an account. Even when I turn this plugin off, it still shows. The block is up to date. Also, I cannot move the block's position . How can I fix this or uninstall manually? THANKS for you help. Edited July 22, 20186 yr by jackflash
July 23, 20186 yr Author 12 hours ago, jackflash said: Hi. I am having a problem in that I cannot edit the block - (see photo below of upper right block). I need to edit the block to place an https protocol in it. I tried to uninstall the block, however, it still shows up and then people cannot sign up or open an account. Even when I turn this plugin off, it still shows. The block is up to date. Also, I cannot move the block's position . How can I fix this or uninstall manually? THANKS for you help. if uninstalled would have drop all the data so little unsure why showing have cleared your cache ?