Nervodx

IPB Feature Plan

81 posts in this topic

This is how to make an IPB Feature Plan. Please note that this is not a RIP of WebFlake's or IPS', this is my own version, so if you find any variations that is why. If you find any bugs, please comment them below. I will not attempt to fix them, but if someone comments a fix for a bug, I will edit it into this tutorial.

Requirements:

  • Pages Application (can be found in WF's copy of IPS 4.x).
  • Basic Knowledge of PHP.
  • A knowledge of the Pages application.
  1. Go into your ACP > Pages > Databases. Click Create New to create a new Database. http://i.imgur.com/5a1x5sq.png
  2. A pop-up will appear. Make sure you are on the Create New Database and click Next.
  3. Make the name of your Database whatever you'd like, I suggest Feature Plan.
  4. Make the settings exactly as shown in the picture. http://i.imgur.com/sVFJp6O.png. It's very important to have your Use categories settings set to No.
  5. Once you've created your database head over to the Templates section. ACP > Pages > Templates (http://i.imgur.com/kDmY5SH.png) Read carefully from here on because it can be a little tricky if you miss a step.
  6. Once you are inside the Templates section click New > Add database template. Here's where you have to be careful and follow my instructions exactly.
  7. You will get a pop-up presenting you with a few options. Fill in the options exactly as show in the picture. http://i.imgur.com/b3WOsiU.png
  8. Under the HTML tab you should see a new folder called Plan with 5 different templates under it.
  9. Paste the code provided below in the appropriate template.
  10. recordRow: http://pastebin.com/M3GxdMtk
  11. filterMessage: http://pastebin.com/2zjxQ6B2
  12. categoryTable: http://pastebin.com/ZF63gtrQ
  13. categoryHeader: http://pastebin.com/rSpLb2Cx
  14. categoryFooter: http://pastebin.com/UeJtv1T6
  15. Inside the categoryHeader template you should see some non-code text. You can edit that code to change the Title and Subtitle at the top of your Feature Plan.
  16. Inside of the recordRow template search for
    {{if $row->fieldValues()['field_19']
  17. Keep that tab open and open a new tab inside of Pages in the ACP. http://i.imgur.com/pPMVVxs.png Click in the fields section of the Feature Plan database.

  18. You should see the Status section. Click on the pencil to edit the database. Open notepad or some other text editor. Paste in the URL of the page you just opened. At the end you should see something like do=form&id=19. You need the number at the end of the URL. Mine happens to be 19. Yours might be 125 or it might be 4.

  19. Move back to the tab you have open where you located

    {{if $row->fieldValues()['field_19']
    inside of the recordRow template. Change field_19 to field_YOURNUMBERHERE. Obviously filling in YOURNUMBERHERE with the number at the end of the URL you copied into a text editor.
  20. Inside the ACP go to Pages > Pages. http://i.imgur.com/DRvnNXI.png
  21. Click New Page and choose Page Builder for the Content Editor option. Click next.
  22. Make the pages name what you choose. I recommend simply Feature Plan. Go to the menu tab at the top and click add to menu. Leave those settings as is and click save.
  23. Navigate to the index page of your forums. The homepage. Click on Feature Plan in the navigation bar. Or whatever you named it.
  24. In the left you should see a little arrow peaking out. Click it.
  25. Click the arrow on Pages and drag the Database option onto the page wherever you'd like.
  26. Click the edit button on the Database module and choose the Feature Plan database.
  27. Click finish editing.
  28. Go to the Fields area of the Feature Plan database. Make a field called Summary. Make your settings exactly like this > http://gyazo.com/6143d472c4d98d8f1081549904f86449 and http://gyazo.com/7ea23135b68960bcfa498cb44ca03949
  29. Make another field called Status. Settings like this > http://gyazo.com/911306ba613c285c5af2ef423e7eb00c and http://gyazo.com/62d10796a176d03a36a2ba4ff42b023c
    {{if intval( $formValue ) === 1}}
    	<span class='c4StatusBadge c4StatusBadge_upNext'>{$value}</span>
    {{elseif intval( $formValue ) === 2}}
    	<span class='c4StatusBadge c4StatusBadge_comingSoon'>{$value}</span>
    {{elseif intval( $formValue ) === 3}}
    	<span class='c4StatusBadge c4StatusBadge_future'>{$value}</span>
    {{elseif intval( $formValue ) === 4}}
    	<span class='c4StatusBadge c4StatusBadge_done'>{$value}</span>
    {{endif}}

    Also this: http://gyazo.com/f309c9cc35833a70ff37dcbd4d397d6f

So there you go. That's my interpretation of the Feature Plan.

I hope you enjoyed this tutorial and it helped you. If I helped you out or you have a question, please drop a comment below.

@unlucky4ever A special thank you for figuring out the reputation code.

TO FIX THE ERROR WITH DISPLAYING STATUSES

In Feature Plan > Fields, Navigate to Status > Edit > Display Options and Change the Template Key from status to status2

Thanks to @otecko for this fix.

Edited by Nervodx
6

Share this post


Link to post
Share on other sites

Tnx for this tutorial. But point 10 and 11 has the same link.
10.recordRow: http://pastebin.com/EY24Jhdm
11.filterMessage: http://pastebin.com/EY24Jhdm

Is this ok, or is it a mistake?
Thanks again.

​Yes, that's a mistake. Let me fix that. Thanks!

Edit: Fixed.

Edited by Nervodx
Letting Rekoboy know that I fixed the mistake he pointed out.
0

Share this post


Link to post
Share on other sites

How do you get the status' to show? Such as Complete, Next Up, etc.? 

0

Share this post


Link to post
Share on other sites

How do you get the status' to show? Such as Complete, Next Up, etc.? 

When you create an entry you choose it at the bottom and it should display. 

0

Share this post


Link to post
Share on other sites

I managed to make it work exactly like the IPS4 one (with reputation working)

Just replace your recordRow with this one http://pastebin.com/HXxRaPfs

Of course edit everything to your numbers and stuff, if you need more help with it, just ask.

Edited by unlucky4ever
2

Share this post


Link to post
Share on other sites

So uhm. Thanks for the tutorial but it seems my IPB decided to be a dick and duplicates the module on the page, no matter what. I also can't seem to get the "status" to work (I had to manually create this, if that's the problem?). I edited the number to what the field number is but it doesn't show on the page. 

0

Share this post


Link to post
Share on other sites

I am stuck on 18 XD I feel like a idiot. What do you mean by "Status". I have this on my fields but I don't see status 

 

lB7xL9O.png

0

Share this post


Link to post
Share on other sites

I am stuck on 18 XD I feel like a idiot. What do you mean by "Status". I have this on my fields but I don't see status 

 

lB7xL9O.png

​You have to manually create the fields yourself, the fields required are 'Summary' and 'Status' but make sure you make the 'Status' key to 'status2'

1

Share this post


Link to post
Share on other sites

Hi there everyone. It appears that I am an idiot. I forgot to include a chunk of the tutorial, my bad. I will fix all of these issues later today. @Prof. Connor Manheim

@unlucky4ever

@Erza

I managed to make it work exactly like the IPS4 one (with reputation working)

Just replace your recordRow with this one http://pastebin.com/HXxRaPfs

Of course edit everything to your numbers and stuff, if you need more help with it, just ask.

Thank you for this, it will be included in the tutorial. 

2

Share this post


Link to post
Share on other sites

How do you get the status' to show? Such as Complete, Next Up, etc.? 

​See above.

0

Share this post


Link to post
Share on other sites

How do you get the status' to show? Such as Complete, Next Up, etc.? 

​See above.

​Thank you very much buddy <3 

1

Share this post


Link to post
Share on other sites

How do you get the status' to show? Such as Complete, Next Up, etc.? 

​Been updated in the tutorial. Please see steps 29 and 30.

0

Share this post


Link to post
Share on other sites

So uhm. Thanks for the tutorial but it seems my IPB decided to be a dick and duplicates the module on the page, no matter what. I also can't seem to get the "status" to work (I had to manually create this, if that's the problem?). I edited the number to what the field number is but it doesn't show on the page. 

​So regarding the "Status" thing, check above, I think I've fixed it. The duplicate module. Mine had this error too, what you have to do is make sure the page is set to have 2 columns not 1 and just drag it to one of the modules. I don't know why but this worked for me. Running IPS 4.0.7.

0

Share this post


Link to post
Share on other sites

What do you think? Remember the human.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.