👀 You are watching:
Jump to content
👉 Click here to explore Remote Jobs, Work From Home & Global News – USA 🇺🇸 | UK 🇬🇧 | Canada 🇨🇦 | Pakistan 🇵🇰 ×
🚫 Guest Access Notice ×

Recommended Posts


  • Member ID:  1
  • Group:  👑 OWNER ✨
  • Topic Count:  476
  • Topics Per Day:  0.08
  • Content Count:  214,755
  • Content Per Day:  36.46
  • Reputation:   322
  • Days Won:  58
  • Joined:  03/29/2010
  • Status:  Offline
  • Last Seen:  
  • Timezone:  Asia/Karachi
  • Device:  Windows

Posted

This is how to make an IPB Feature Plan. Please note that this is not a RIP of 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 funday'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.
    1. 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. It's very important to have your Use categories settings set to No.
    1. sVFJp6O.png
  5. Once you've created your database head over to the Templates section. ACP > Pages > Templates  Read carefully from here on because it can be a little tricky if you miss a step.
    1. kDmY5SH.png
  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.
    1. 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.  Click in the fields section of the Feature Plan database.

    1. pPMVVxs.png

  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.
    1.  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 > 6143d472c4d98d8f1081549904f86449.png
    1. and
      1. 7ea23135b68960bcfa498cb44ca03949.png
  29. Make another field called Status. Settings like this >
    1. 911306ba613c285c5af2ef423e7eb00c.png
      1. and 62d10796a176d03a36a2ba4ff42b023c.png
  30. {{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: f309c9cc35833a70ff37dcbd4d397d6f.png

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.

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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Forum Statistics

    2.6k
    Total Topics
    9.8k
    Total Posts


×
×
  • Create New...