Pete T Posted May 3, 2017 Author Share Posted May 3, 2017 19 hours ago, Toxic_Wars said: I'm adding Discord iframe The widget doesn't show when I add the following: <iframe src="https://discordapp.com/widget?id=308893001499934721&theme=dark" width="350" height="500" allowtransparency="true" frameborder="0"></iframe> The widget is actually removing itself when I save it. I go back, and it's blank. You can register an account @ https://development.cool and I'll let you test it if you want. Link to comment
pequeno Posted May 18, 2017 Share Posted May 18, 2017 Hello @Theme Tent UK Have you tested in IPS 4.2? Thanks. Link to comment
Pete T Posted May 18, 2017 Author Share Posted May 18, 2017 8 hours ago, pequeno said: Hello @Theme Tent UK Have you tested in IPS 4.2? Thanks. Not yet was planning to once finished working on updating themes to 4.2.x pequeno 1 Link to comment
Genestoy Posted June 12, 2017 Share Posted June 12, 2017 (edited) I installed it today and can't find it anywhere, tried to re-install and got error that it was already installed? Where is it, should be in the plugins list or the side blocks? Is there still any support for this, I know it was free but it should work or have it removed from the marketplace? Thanks Edited June 12, 2017 by Genestoy Link to comment
Pete T Posted June 12, 2017 Author Share Posted June 12, 2017 11 hours ago, Genestoy said: I installed it today and can't find it anywhere, tried to re-install and got error that it was already installed? Where is it, should be in the plugins list or the side blocks? Is there still any support for this, I know it was free but it should work or have it removed from the marketplace? Thanks no idea why claim no support !! also yes work no idea why not showing in the block manager maybe could provide me screenshot or login info (PM if need me look directly with login details) Link to comment
gavpedz Posted July 27, 2017 Share Posted July 27, 2017 Hi i currently use this but i want to update to 4.2 is this compatible with 4.2? Link to comment
Pete T Posted July 27, 2017 Author Share Posted July 27, 2017 3 hours ago, gavpedz said: Hi i currently use this but i want to update to 4.2 is this compatible with 4.2? yes been tested wth finial and works but if you do see any bugs please report them. Link to comment
gavpedz Posted July 27, 2017 Share Posted July 27, 2017 Thanks yes i braved it and seems to work only thing i notice is that it now seems to have a wrapper around things. Take this ad, for example, it now has a white section behind it. Is there a way to remove this? Link to comment
Pete T Posted July 27, 2017 Author Share Posted July 27, 2017 2 hours ago, gavpedz said: Thanks yes i braved it and seems to work only thing i notice is that it now seems to have a wrapper around things. Take this ad, for example, it now has a white section behind it. Is there a way to remove this? that because using the core css for widets and yet but need provide link or if use chrome or firefox then use the inspect tool. Link to comment
gavpedz Posted July 27, 2017 Share Posted July 27, 2017 Used inspect and this is what its using just not quite sure how to stop it using it for this plugin <li class="ipsWidget ipsWidget_horizontal ipsBox" data-blockid="plugin_2_sodTxtWidget_0o20nmyug" data-blockconfig="true" data-blocktitle="Custom Text" data-blockerrormessage="This block cannot be shown. This could be because it needs configuring, is unable to show on this page, or will show after reloading this page." data-controller="core.front.widgets.block" id="ips_uid_2763_4" animating="false" style="display: list-item;"><div class="ipsWidget_inner "> Link to comment
TheSkyLounge.tv Posted July 31, 2017 Share Posted July 31, 2017 Any thoughts on why I can't delete a widget? No matter how many times I remove it, it returns.... http://www.theskylounge.tv/ Link to comment
Pete T Posted July 31, 2017 Author Share Posted July 31, 2017 On 27/07/2017 at 3:17 PM, gavpedz said: Used inspect and this is what its using just not quite sure how to stop it using it for this plugin <li class="ipsWidget ipsWidget_horizontal ipsBox" data-blockid="plugin_2_sodTxtWidget_0o20nmyug" data-blockconfig="true" data-blocktitle="Custom Text" data-blockerrormessage="This block cannot be shown. This could be because it needs configuring, is unable to show on this page, or will show after reloading this page." data-controller="core.front.widgets.block" id="ips_uid_2763_4" animating="false" style="display: list-item;"><div class="ipsWidget_inner "> Not seen this reply in morning give you css you need change it so no border show on the ads. 2 minutes ago, TheSkyLounge.tv said: Any thoughts on why I can't delete a widget? No matter how many times I remove it, it returns.... http://www.theskylounge.tv/ Is this 4.1.x or 4.2.x ? Link to comment
TheSkyLounge.tv Posted July 31, 2017 Share Posted July 31, 2017 Just now, Pete T said: Not seen this reply in morning give you css you need change it so no border show on the ads. Is this 4.1.x or 4.2.x ? 4.2.x boss, happy to grant access for a peek. Link to comment
Pete T Posted August 1, 2017 Author Share Posted August 1, 2017 12 hours ago, TheSkyLounge.tv said: 4.2.x boss, happy to grant access for a peek. 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. On 27/07/2017 at 3:17 PM, gavpedz said: Used inspect and this is what its using just not quite sure how to stop it using it for this plugin <li class="ipsWidget ipsWidget_horizontal ipsBox" data-blockid="plugin_2_sodTxtWidget_0o20nmyug" data-blockconfig="true" data-blocktitle="Custom Text" data-blockerrormessage="This block cannot be shown. This could be because it needs configuring, is unable to show on this page, or will show after reloading this page." data-controller="core.front.widgets.block" id="ips_uid_2763_4" animating="false" style="display: list-item;"><div class="ipsWidget_inner "> 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. pequeno 1 Link to comment
pequeno Posted August 1, 2017 Share Posted August 1, 2017 Works fine (with my data-blockid) @Pete T but the "padding" value doesn´t work. I put padding: 0px !important; How to remove the padding in this block? Link to comment
Pete T Posted August 1, 2017 Author Share Posted August 1, 2017 1 minute ago, pequeno said: Works fine (with my data-blockid) @Pete T but the "padding" value doesn´t work. I put padding: 0px !important; How to remove the padding in this block? can provide me link and take quick look as that should work. pequeno 1 Link to comment
Aetherdan Posted August 21, 2017 Share Posted August 21, 2017 (edited) Edit: resolved. Edited September 5, 2017 by Dan Richardson Link to comment
Aetherdan Posted September 5, 2017 Share Posted September 5, 2017 (edited) Hi, love this widget, got a question. Do you know how I could reference a custom profile field value in the php widget? I have users who signup fill out their usernames for a particular game, and I want to use that value to populate a widget that shows their player statistics. I have created everything, but can't seem to work out how to get their username from the custom profile field. Edit: Resolved with this guidance: Edited September 5, 2017 by Dan Richardson Link to comment
Pete T Posted October 3, 2017 Author Share Posted October 3, 2017 On 05/09/2017 at 7:34 AM, Dan Richardson said: Hi, love this widget, got a question. Do you know how I could reference a custom profile field value in the php widget? I have users who signup fill out their usernames for a particular game, and I want to use that value to populate a widget that shows their player statistics. I have created everything, but can't seem to work out how to get their username from the custom profile field. Edit: Resolved with this guidance: never tested it in that way so no idea is my answer sorry little late and very unhelpful. Link to comment
Aetherdan Posted October 4, 2017 Share Posted October 4, 2017 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']; Pete T and PrettyPixels 2 Link to comment
motomac Posted November 2, 2017 Share Posted November 2, 2017 Hi, @Pete T I noticed a lot of errors in logs: ParseError: syntax error, unexpected end of file (0) #0 /var/www/abc.com/system/Theme/Theme.php(741): IPS\Theme\Cache\_Template->exists() #1 /var/www/abc.com/plugins/phptxtwidget/widgets/sodTxtWidget.php(53): IPS\_Theme->getTemplate('plugins', 'core', 'global') #2 /var/www/abc.com/system/Widget/Widget.php(103): IPS\plugins\phptxtwidget\widgets\_sodTxtWidget->init() #3 /var/www/abc.com/system/Widget/Widget.php(295): IPS\_Widget->__construct('33gp6dm3q', Array, NULL, 'horizontal') #4 /var/www/abc.com/system/Dispatcher/Front.php(520): IPS\_Widget::load(Object(IPS\Plugin), 'sodTxtWidget', '33gp6dm3q', Array, NULL, 'horizontal') #5 /var/www/abc.com/system/Dispatcher/Dispatcher.php(148): IPS\Dispatcher\_Front->finish() #6 /var/www/abc.com/index.php(12): IPS\_Dispatcher->run() #7 {main} Could you, please, what is it and how to fix it? Link to comment
Pete T Posted November 2, 2017 Author Share Posted November 2, 2017 3 hours ago, motomac said: Hi, @Pete T I noticed a lot of errors in logs: ParseError: syntax error, unexpected end of file (0) #0 /var/www/abc.com/system/Theme/Theme.php(741): IPS\Theme\Cache\_Template->exists() #1 /var/www/abc.com/plugins/phptxtwidget/widgets/sodTxtWidget.php(53): IPS\_Theme->getTemplate('plugins', 'core', 'global') #2 /var/www/abc.com/system/Widget/Widget.php(103): IPS\plugins\phptxtwidget\widgets\_sodTxtWidget->init() #3 /var/www/abc.com/system/Widget/Widget.php(295): IPS\_Widget->__construct('33gp6dm3q', Array, NULL, 'horizontal') #4 /var/www/abc.com/system/Dispatcher/Front.php(520): IPS\_Widget::load(Object(IPS\Plugin), 'sodTxtWidget', '33gp6dm3q', Array, NULL, 'horizontal') #5 /var/www/abc.com/system/Dispatcher/Dispatcher.php(148): IPS\Dispatcher\_Front->finish() #6 /var/www/abc.com/index.php(12): IPS\_Dispatcher->run() #7 {main} Could you, please, what is it and how to fix it? I take look this today see what going on Link to comment
sinip Posted November 6, 2017 Share Posted November 6, 2017 So far testing it in my local environment (Wamp 64bit) before I take a dive and upgrade my forum. So far so good, it does what it advertises. Metor and Pete T 1 1 Link to comment
Gersnet Posted January 9, 2018 Share Posted January 9, 2018 Hi there, Thanks for a really useful mod. Can I ask, is it possible to have widgets/blocks only show on certain themes? For example, I'd like the widgets in my sidebar to show on one theme but not another? Link to comment
Pete T Posted January 9, 2018 Author Share Posted January 9, 2018 3 hours ago, Gersnet said: Hi there, Thanks for a really useful mod. Can I ask, is it possible to have widgets/blocks only show on certain themes? For example, I'd like the widgets in my sidebar to show on one theme but not another? No the option have one theme and not another can't be done and no plans add that to this plugin. Gersnet 1 Link to comment
Recommended Posts