Jump to content

Where to start?


shyest

Recommended Posts

So I have been around since 2007 with IPS and seen many changes come and go. The question I have is where would you start to understand how to develop your own content/plugins for your own site and secondly where would you start when you want to understand pages and the capability it has with custom code. I know about php code and such but not fluent. 

Thanks for reading. 

Link to comment
Share on other sites

I've just done my first two plugins partly as an attempt to learn the IPS framework and I agree that it is slightly tough to get off the starting blocks with it. Personally I started with this tutorial:

... and then read some of the other articles in this section.  There are also some great guides buried in the forums like this one from @HeadStand :

After that I started to go through some of the files like /system/helpers/form and /system/members to try and understand some of the classes a little bit better.

Things like the css framework are also good for specific details:

https://invisionpower.com/4guides/themes-and-customizations/css-framework/

Hope that is of some help.

Link to comment
Share on other sites

Going along same lines of I have some custom JavaScript without devmode is there a way to add it to the site/page without actually having an external file to upload? 

16 hours ago, Edward Shephard said:

I've just done my first two plugins partly as an attempt to learn the IPS framework and I agree that it is slightly tough to get off the starting blocks with it. Personally I started with this tutorial:

... and then read some of the other articles in this section.  There are also some great guides buried in the forums like this one from @HeadStand :

After that I started to go through some of the files like /system/helpers/form and /system/members to try and understand some of the classes a little bit better.

Things like the css framework are also good for specific details:

https://invisionpower.com/4guides/themes-and-customizations/css-framework/

Hope that is of some help.

Thanks @Edward Shephard for your answer. 

 

3 minutes ago, Aiwa said:

Absolutely.

Thanks @Aiwa

Link to comment
Share on other sites

20 minutes ago, shyest said:

Going along same lines of I have some custom JavaScript without devmode is there a way to add it to the site/page without actually having an external file to upload? 

Yes:

For CSS, if you are using the main editor in a page or block, then you can press the source button and add any html that you like.

Link to comment
Share on other sites

To develop new features in PHP without IPS documentation

My custom members map and weather widget are for example based on a Localisation profile field. I just used JS/PHP and this $_COOKIE var.

membermap.png

 

I tried the developer mode enabled in ACP, a lot of bugs with a lot of fatal errors which cost a lot of time. I gave up and I decided to find a workaround to develop.

With the $_COOKIE PHP variable and proper SQL query, you can retrieve member information and you can do you what you want.

Use JS/Template Sources to add features to existing IPS pages.

Link to comment
Share on other sites

Just now, Florent Cadet said:

To develop new features in PHP without IPS documentation

My custom members map and weather widget are for example based on a Localisation profile field. I just used JS/PHP and this $_COOKIE var.

membermap.png

 

Ah ok thanks. 

Link to comment
Share on other sites

1 hour ago, Florent Cadet said:

To develop new features in PHP without IPS documentation

My custom members map and weather widget are for example based on a Localisation profile field. I just used JS/PHP and this $_COOKIE var.

membermap.png

 

I tried the developer mode enabled in ACP, a lot of bugs with a lot of fatal errors which cost a lot of time. I gave up and I decided to find a workaround to develop.

With the $_COOKIE PHP variable and proper SQL query, you can retrieve member information and you can do you what you want.

Use JS/Template Sources to add features to existing IPS pages.

You uploaded the development tools released in the MP, right? Without those IN_DEV doesn't work. 

Link to comment
Share on other sites

Of course I did it and developement mode in ACP was working, But sometimes you add an element (just adding a row in developer center tab module for example, nothing else) and the forum crashs with a fatal error, you can't do nothing except disabling DEV_MODE. Disable it, enable it again, and error is gone with your developpement plugin still activated, I call that a bug and I can't develop in these conditions.

 

Link to comment
Share on other sites

5 minutes ago, Florent Cadet said:

Of course I did it and developement mode in ACP was working, But sometimes you add an element (just adding a row in developer center tab module for example, nothing else) and the forum crashs with a fatal error, you can't do nothing except disabling DEV_MODE. Disable it, enable it again, and error is gone with your developpement plugin still activated, I call that a bug and I can't develop in these conditions.

What version was that?  I've never had that issue... Unless it was something in my code that broke it :p 

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

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