ADMIN 322 Posted June 30, 2015 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: Monday at 03:54 PM Timezone: Asia/Karachi Device: Windows Posted June 30, 2015 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. Go into your ACP > Pages > Databases. Click Create New to create a new Database. A pop-up will appear. Make sure you are on the Create New Database and click Next. Make the name of your Database whatever you'd like, I suggest Feature Plan. Make the settings exactly as shown in the picture. It's very important to have your Use categories settings set to No. 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. 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. You will get a pop-up presenting you with a few options. Fill in the options exactly as show in the picture. Under the HTML tab you should see a new folder called Plan with 5 different templates under it. Paste the code provided below in the appropriate template. recordRow: http://pastebin.com/M3GxdMtk filterMessage: http://pastebin.com/2zjxQ6B2 categoryTable: http://pastebin.com/ZF63gtrQ categoryHeader: http://pastebin.com/rSpLb2Cx categoryFooter: http://pastebin.com/UeJtv1T6 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. Inside of the recordRow template search for {{if $row->fieldValues()['field_19'] 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. 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. 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. Inside the ACP go to Pages > Pages. Click New Page and choose Page Builder for the Content Editor option. Click next. 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. Navigate to the index page of your forums. The homepage. Click on Feature Plan in the navigation bar. Or whatever you named it. In the left you should see a little arrow peaking out. Click it. Click the arrow on Pages and drag the Database option onto the page wherever you'd like. Click the edit button on the Database module and choose the Feature Plan database. Click finish editing. Go to the Fields area of the Feature Plan database. Make a field called Summary. Make your settings exactly like this > and Make another field called Status. Settings like this > and {{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: 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. 1 Quote 📚 Discover More Useful Sections on FundayForum 🏠 Portal Homepage 🔥 Latest Activity Wall 🔍 Search Topics & Posts 📜 All Shayari (Urdu / Roman Urdu / English) 🖋️ Famous Urdu Poets Collection 📚 Urdu Adab Literature Section 🍲 Cooking Recipes & Pakwan Zaiqa 👗 Female Fashion Discussions 🏡 Interior Decoration Ideas 😂 Jokes & Riddles Section 👨 Male Gossip Lounge ⚙️ IPS Community Help & Tutorials 🏛️ Historical Articles Blog 📸 Public Gallery Images 🖼️ Poetry Gallery Collection 👋 Welcome & Introductions Thread 📩 Contact Support
Recommended Posts
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.