Jump to content

TXT & PHP Widget


Pete T

Recommended Posts

Posted
On 9/17/2020 at 3:04 PM, jesuralem said:

Hi @Pete T, i have 1.0.1 installed but ips 4.5.2 keeps telling me it is up to date although 1.0.2 is available.

@Adriano Faria had the same issue with members country and managed to solve it so maybe it is on the dev side...

Did work now correct version number is there ?

Posted

Thank you for this plugin @Pete T, do you have any plans to update it so that you can select which devices it shows to? e.g. I could exclude mobile. This visibility option is a core setting in 4.5. so I guess it should hopefully be relatively easy to add that feature into it? All of the other widgets I have have it, please would you be able to add it if possible? It would be great 🙂 

Posted

Implementation question. I use Adsense with an ad in the page header location.  However when users select "Unread Content" to view new posts the header ad disappears above the thread header. No option is available for this location in the ad setup section.  I suspect this behavior is because the Unread Content is dynamic, created on the fly when the users click on Unread Content.  Would this work if placed only on the Unread Content page, or end up displaying multiple header ads on the home landing page for the forums?

Posted

@Pete T -- I am on 1.00 of this plugin for years now and we went to 4.5. I see that there are updates now, but if I go ahead and update, will that result in any current PHP & TXT Widgets breaking down? Will we lose content?

Posted
18 minutes ago, Aldro said:

@Pete T -- I am on 1.00 of this plugin for years now and we went to 4.5. I see that there are updates now, but if I go ahead and update, will that result in any current PHP & TXT Widgets breaking down? Will we lose content?

I never tested the full amount of options as in both text widget and phone widget but all my text did stay with the upgrade, but I always say any client/custom backup first before upgrading just incase.

Posted
On 9/23/2020 at 11:07 PM, P15-D24 said:

Implementation question. I use Adsense with an ad in the page header location.  However when users select "Unread Content" to view new posts the header ad disappears above the thread header. No option is available for this location in the ad setup section.  I suspect this behavior is because the Unread Content is dynamic, created on the fly when the users click on Unread Content.  Would this work if placed only on the Unread Content page, or end up displaying multiple header ads on the home landing page for the forums?

you have to add the block to that page.

  • 4 weeks later...
Posted

This has been such a great and useful plugin! Thank you so much, @Pete T!

Now that I've updated Invision to the latest build, I'm just making sure it won't break my site: Is this plugin compatible with Invision Community 4.5 before I re-enable it?

Thanks again! 

Posted
12 hours ago, mr_hopp said:

This has been such a great and useful plugin! Thank you so much, @Pete T!

Now that I've updated Invision to the latest build, I'm just making sure it won't break my site: Is this plugin compatible with Invision Community 4.5 before I re-enable it?

Thanks again! 

Quote
  • Compatibility
    4.2
    4.3
    4.4
    4.5

 

  • 2 months later...
Posted

I really like the concept behind the plugin. IT creates so many opportunities for developers. Thank you for creating and supporting it.

What the code would like for checking within the plugin 

1. what the topic id is?

2. the the usergroup id is?

3. read the database field value for forums_topics table's topic_meta_data field?

Thank you very much.

  • 1 month later...
Posted (edited)

So I just upgraded from IPS v4.4.9 to IPS v4.5.4.2  and I expected some plugins to no longer function or require updating. I removed this plugin and reinstalled the latest available download. The widget boxes show up and I can place them in a page and edit them... once all is saved and the page is refreshed - the output is missing.  Any suggestions? I really find this plugin useful and kinda need it not... I'm hooked!

Edited by Ford Doctor
Posted

Hello @Pete T.

 

 

When I put an image in HTML, the code changes after a while to become a spacer.gif image code.

 

 

Why that ?

 

 

Can you fix this problem ?

 

 

Thank you.

Posted (edited)

Hello @Pete T.

 

 

 

On your app, when I put an image with the PHP code fonction, the image disapears after a few days and the code of the image is replaced by a spacer.png image.

 

 

How can I fix this problem please ?

 

 

 

Thank you.

Edited by Bocar
  • 2 weeks later...
Posted

Hello!

Does this plugin allow me to use objects within the IPS namespace? I'm hoping to write some custom code that requires their datetime object, but when I try to stick that code in a php block, it errors out the entire page and I have to manually remove the block from the database.

Perhaps I'm doing something wrong? I'm not very familiar with how to import a class into PHP, especially the IPS ones if they allow it. (I really jsut want their client-side timezone conversion)

<?php
require("init.php");

// this block runs fine, but if I remove the die() for the rest, it kills the page.
if ( !defined( '\IPS\DateTime' ) )
{
	echo "Something has gone wrong.\n";
	echo getcwd();
	die(1);
}

// I've clipped out some other code, but it's safe to assume $event exists with these properties
// The code worked fine when I used normal php datetime objects
$eventStart =  \IPS\DateTime::createFromFormat(DateTime::ISO8601, (string)$event->startTimeUTC);
$eventEnd =  \IPS\DateTime::createFromFormat(DateTime::ISO8601, (string)$event->endTimeUTC);

 

  • 3 weeks later...
Posted

This plugin seems to be a little broken in v4.5.4, when enabled it displays fine, but i am not able to edit any other newly added blocks on the page. When I disable it, adding blocks works as it should.

  • 3 months later...
Posted

Love the plugin and it's exactly what I need. But I haven't updated to IPS 4.6 yet due to compatibility concerns. Any idea if this plugin is compatible or if it will be updated if not.

Thank you!

Posted
8 hours ago, David.. said:

I recently switched to using this. Hope it gets updated for 4.6!

Hmmm, it doesn't seem like it's going to be.

Is it definitively broken on 4.6?

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...