Icewolf 258 Share Posted July 2, 2017 I would like to have a recent thread/post list in the side bar of the site (mainly focused on role-play threads) that updates automatically. I've no idea how you do this, but I have seen boards which have them as I think it might help draw attention to new open threads. I would also like a staff list so members can see who is on staff, etc. The site is on icy-boards so if there's a plug-in that allows me to do these things that would be great. (These are really the only things I have on the site that needs doing layout-wise.) Legends of Arda Character Archives Link to comment Share on other sites More sharing options...
Kit the Human 757 Share Posted July 2, 2017 (edited) Have you enabled prostats? It will show you the latests posts and you can turn it off for some forums. Go to ACP > Configuration > plugins for a list of plugins that Icy has installed. If you enable global tags under ACP > configuration > prostats you can just paste <prostats> into the sidebar, it will appear there. It has a lot of other functionality but you can turn it all off. To do that, after activating prostats go to: ACP > Configuration > Prostats. Scroll down to extra cells and blank them all. That will only leave you with the latest replies. Give that a shot first if you like! The templates are in the global templates if you want to fool around with it. The next plugin you want is forum team online. I've not actually used it before so I can't say anymore on that. Alternatively if you do need someone to skin those sections to match your forum, I can if you can export your theme with templates and attach it here (or pm me). I'll do it on a test forum first and then give you the code to copy and paste. Edited July 2, 2017 by Kit the Human PSI: an Occult Investigations RP Roleplay Architects: Grab a friend (or many friends!) and just write. You can also find me at: Link to comment Share on other sites More sharing options...
Icewolf 258 Author Share Posted July 3, 2017 Thanks! I didn't know about these and it will greatly cut down on the need for coding. I started the game on proboards before moving it to icyboards and then I just did it manually, so this is great. (It only worked there because there weren't a lot of active members so I could easily keep up with it.) Legends of Arda Character Archives Link to comment Share on other sites More sharing options...
Kit the Human 757 Share Posted July 3, 2017 No worries! It must be a learning curve to switch from proboards to mybb. If you prefer you can register an account for me and I can do it for you. Or if you don't prefer (totally fine, I prefer working through my own forum anyway before doing anything to any other forum) you can export and upload the theme here. Just go to Themes and click on options next to the theme you're using. Click Export Theme. Click No on Include customized items only? and Yes on Include templates in the export as well? When you're happy with the work, I'll tell you how to activate those plugins and what settings to select. PSI: an Occult Investigations RP Roleplay Architects: Grab a friend (or many friends!) and just write. You can also find me at: Link to comment Share on other sites More sharing options...
Icewolf 258 Author Share Posted July 3, 2017 (edited) In the end, I found proboards to be too limiting for what I wanted, especially in regards to the plugins because I found one which was important to the site but which stopped working. (The content rating wasn't much of a problem since I didn't want lewd stuff on the site anyway.) But one of the main problems I found was that some of the staff (whether they were volunteers or paid, I don't know.) on their support forum were a bit passive aggressive for people who needed help with their forum. (There seems to be a lot of 'if you can't code something yourself, you're a thief' attitude there which extended to fixing problems with premade layouts which proboard updates had caused.) I've got the plug-ins installed, but the only problems are that the avatar is not showing on the Forum Team Online and I can't seem to control where the Prostats is displayed - I can only have it at the top of the forum or at the bottom and I don't like the placement of it there. It doesn't look right at the top and I don't see the point in having it placed at the bottom. (I would also like only the thread title, author and time showing on the prostats.) EDIT: I managed to get the prostats to show up in the side bar. I'd just like to change the links in it to something simpler. I want the links to be Tahoma, bolded and the same font size as the forum descriptions. Edited July 3, 2017 by Icewolf Legends of Arda Character Archives Link to comment Share on other sites More sharing options...
Kit the Human 757 Share Posted July 4, 2017 (edited) that's sad! It's why I don't deal with any free hosts but icy, because I have as much control as I can get without getting into the php. Jcink might be better about that now though. It's been a while since I'm explored it. Anyway! Good work on getting the Prostats into the sidebar. For the rest. Go to: Template Sets > Global Templates > prostats_newestposts <td class="{$trow}"><table width="100%" border="0" cellspacing="0" cellpadding="{$theme[tablespace]}"> <tr class="tcat smalltext"> <td colspan="{$colspan}">{$lang->prostats_latest_posts}</td> </tr> <tr> <td colspan="{$colspan}"> <table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr class="{$trow} smalltext"> {$newestposts_cols_name} </tr> {$newestposts_row} </table></td> </tr> </table></td> Delete <tr class="tcat smalltext"> <td colspan="{$colspan}">{$lang->prostats_latest_posts}</td> </tr> <tr> This will remove the Newest Posts heading as it will be redundant soon. You should also delete <tr class="{$trow} smalltext"> {$newestposts_cols_name} </tr> That will remove the column names. You should be left with <td class="{$trow}"><table width="100%" border="0" cellspacing="0" cellpadding="{$theme[tablespace]}"> <td colspan="{$colspan}"> <table width="100%" border="0" cellspacing="0" cellpadding="0"> {$newestposts_row} </table></td> </tr> </table></td> Go Template Sets > Global Templates > prostats Scroll down to the bottom and find <strong>{$lang->prostats_prostats}</strong> Replace it with <strong>Newest Posts</strong> This will rename the table to Newest Posts rather than Board Stats (obviously you can rename it to something else.) This is where I'm at with my test forum Now go to prostats_newestposts_latest_posts You should have <td>{$readstate_icon}<a href="{$threadlink}" title="{$subject_long}">{$subject}</a></td> Replace it with <td>{$readstate_icon} <a href="{$threadlink}" title="{$subject_long}">{$subject}</a> by <a href="{$lastposter_profile}">{$lastposter_uname}</a> in <a href="{$forumlink}" title="{$forumname_long}">{$forumname}</a> on {$newestposts_specialchar}{$datetime}</td> This is what each of the variables do: {$readstate_icon} whether or not it's read <a href="{$threadlink}" title="{$subject_long}">{$subject}</a> link to the thread <a href="{$lastposter_profile}">{$lastposter_uname}</a> link to the last person to post in the thread <a href="{$forumlink}" title="{$forumname_long}">{$forumname}</a> link to the forum that the thread is in {$newestposts_specialchar}{$datetime} when the last post was made. Specialchar is the little triangle that takes you to the last post. If you want to change the specialchar variable, go to prostats_newestposts_specialchar Save that. You'll notice that now the information is repeating. Time to delete some templates. Delete prostats_newestposts_last_sender prostats_newestposts_forum prostats_newestposts_date prostats_newestposts_starter These templates only contain information that you have now put into the prostats_newestposts_latest_posts template. This is what I'm left with From there, I would mess around in prostats_newestposts_latest_posts some more. Right now all the information will want to be in the same line. Since your sidebar is thin, you might want to say, put the thread title on it's own line and things like that. Let me know if you need any help on that. To target the links in the css, add this: #prostats_table .trow1.smalltext { font-size: 11px; /*everything in the prostats table is now 11px. */ font-family: Tahoma, Verdana, Arial, Sans-Serif; /*everything in the prostats table is now Tahoma. */ } #prostats_table .trow1.smalltext a { font-weight: bold; /* all the links are bold */ } This is what I'm left with. For the forum team! Go to Global Templates > forumteamonline_row_avatar Delete what's in it and replace it with <img src="{$useravatar['image']}" alt="" style="float: left;margin-right: 5px;" height="50px" width="50px" /> The template didn't know what to do with the height width variable that was there. You can change the 50px to whatever you like. Also to correct the spelling of invisible go to Global Templates > forumteamonline_row_stats Replace: {$lang->forumteamonline_invisible} {$users['invisible']} with Invisible: {$users['invisible']} btw, if you do make a whoopsie, you can deactivate the prostats plugin and then reactivate it. That should rebuild the templates. Hope that helps! Give a yell if you get lost. Edited July 4, 2017 by Kit the Human PSI: an Occult Investigations RP Roleplay Architects: Grab a friend (or many friends!) and just write. You can also find me at: Link to comment Share on other sites More sharing options...
Icewolf 258 Author Share Posted July 4, 2017 I've decided to hide the stats part on the forum team plugin as I couldn't fix it. It's not something that's important, anyway. I've got the prostats to look like I want it to, but I can't get the starter and forum name the post is in to show up. (I've removed the triangle, and I want to remove the icon at the beginning as they take up too much space. And thanks for this as I wouldn't know where to start otherwise. Legends of Arda Character Archives Link to comment Share on other sites More sharing options...
Kit the Human 757 Share Posted July 4, 2017 No worries! prostats is dense. I spent ages breaking it and examining @Josie's codes to get some understanding of it. It looks like you've worked it out? It looks correct to me. Let me know if I'm wrong XD The variable for the username of the person who started the thread is <a href="{$profilelink}">{$username}</a> You can of course, drop it into prostats_newestposts_latest_posts. PSI: an Occult Investigations RP Roleplay Architects: Grab a friend (or many friends!) and just write. You can also find me at: Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now