News:

Bored?  Looking to kill some time?  Want to chat with other SMF users?  Join us in IRC chat or Discord

Main Menu

Need help removing/hiding some code in the Info Center if possible (2.0.11)

Started by chrishicks, November 23, 2015, 09:35:10 PM

Previous topic - Next topic

chrishicks

I finally got around to upgrading to 2.0 after running on 1.1.x for the last 8 years and now I'm trying to work out the little things that people helped me with way back when. I'm trying to get the new software kind of back to my "old" style because everything reverted to "stock" with the upgrade. I went through every post I've made here(460 of them) to see if I could find the topic where I asked about this for 1.1 but I didn't see anything so it's possible the post/topic was deleted or my eyes just suck(read: stupid user error :)) and I missed it. A search also didn't turn up anything that I could see.

What I'd like to do is remove the (board) next to the recent posts in the info center so it's just (post) (by user) (time) instead of (post) (by user) (board) (time). Is this still possible to do with 2.0? I'm guessing the edit needs to take place in boardindex.template.php around this // Here's where the "Info Center" starts... correct? If anyone can help me with this I'd really appreciate it.

Thank you.

Sir Osis of Liver

BoardIndex.template.php



foreach ($context['latest_posts'] as $post)
echo '
<dt><strong>', $post['link'], '</strong> ', $txt['by'], ' ', $post['poster']['link'], '</dt>
<dd>', $post['time'], '</dd>';


Ashes and diamonds, foe and friend,
 we were all equal in the end.

                                     - R. Waters

chrishicks

Thank you for the help. I really appreciate it. I have some longer board titles and it made a mess of the info center recent posts so not having them show was always a plus. Now I'm good for that again.

Advertisement: