Gersnet Posted January 9, 2018 Share Posted January 9, 2018 No problem Pete, thanks for replying. Link to comment
The Old Man Posted January 20, 2018 Share Posted January 20, 2018 (edited) 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, 2018 by The Old Man Link to comment
Pete T Posted January 20, 2018 Author Share Posted January 20, 2018 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. Link to comment
Aetherdan Posted January 23, 2018 Share Posted January 23, 2018 (edited) 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, 2018 by Dan Richardson Link to comment
soap_box Posted March 29, 2018 Share Posted March 29, 2018 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. Link to comment
soap_box Posted March 29, 2018 Share Posted March 29, 2018 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(); Link to comment
mrbo Posted May 27, 2018 Share Posted May 27, 2018 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. Link to comment
Pete T Posted May 27, 2018 Author Share Posted May 27, 2018 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. Link to comment
mrbo Posted May 27, 2018 Share Posted May 27, 2018 I linked to an image but it doesnt adjust to the area. Link to comment
Pete T Posted May 28, 2018 Author Share Posted May 28, 2018 your image to big for sidebar its 315px your image is over this so will not display Link to comment
Square Wheels Posted May 28, 2018 Share Posted May 28, 2018 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; } mrbo 1 Link to comment
Pete T Posted May 28, 2018 Author Share Posted May 28, 2018 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 ? mrbo 1 Link to comment
Bocar Posted June 21, 2018 Share Posted June 21, 2018 Hello guys. @Pete T, how to get a paddind 1px on your plugin's blocks please ? Thanks. Link to comment
Bocar Posted June 25, 2018 Share Posted June 25, 2018 (edited) 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, 2018 by Bocar Link to comment
Pete T Posted June 27, 2018 Author Share Posted June 27, 2018 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 Link to comment
Bocar Posted June 27, 2018 Share Posted June 27, 2018 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. Link to comment
Pete T Posted June 27, 2018 Author Share Posted June 27, 2018 (edited) 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, 2018 by Pete T Link to comment
Bocar Posted June 27, 2018 Share Posted June 27, 2018 (edited) 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, 2018 by Bocar Link to comment
Bocar Posted July 6, 2018 Share Posted July 6, 2018 Hello. Can you tell how to do this please ? Link to comment
Pete T Posted July 7, 2018 Author Share Posted July 7, 2018 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. Link to comment
im_mortal Posted July 18, 2018 Share Posted July 18, 2018 Hello, Getting this when opening left-hand widget menu with the plugin enabled: IPS Support says PHP & TXT Widget uses invalid php code: Link to comment
Pete T Posted July 19, 2018 Author Share Posted July 19, 2018 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. Link to comment
jackflash Posted July 22, 2018 Share Posted July 22, 2018 (edited) 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, 2018 by jackflash Link to comment
Pete T Posted July 23, 2018 Author Share Posted July 23, 2018 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 ? Link to comment
Recommended Posts