MyBB Community Forums

Full Version: Suggestion for 2.0
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2 3
I was thinking a cool feature to integrate into 2.0 would be Admin, Mod, and User custom post styling.

So when a user posts, it looks normal. When an admin posts, maybe the border can be red. When a mod posts, maybe the border can be blue, etc. And these setting would be definable via templates and CSS within the theme.

So say I wanted the classic post view to be switched, but only for a post by an admin. I could set that in the templates, and use CSS to style it accordingly.

I know it can easily be done with PHP, but not everyone has knowledge of PHP. And some noobies might want to do so, but don't want to f**k around with the core files/templates/CSS and risk f*****g something up.

Just something I think would be cool to see.
Seems like a plugin to me, this isn't a very interesting or necessary feature for almost everyone I think. And it would only be useful in specific threads. I don't really need my "lol" posts on my board highlighted in red. An option to mark specific posts in a thread as "important" and show a list/menu of them would be way more useful IMO.
(2010-10-22, 02:11 AM)Uncontrol Wrote: [ -> ]Seems like a plugin to me, this isn't a very interesting or necessary feature for almost everyone I think. And it would only be useful in specific threads. I don't really need my "lol" posts on my board highlighted in red. An option to mark specific posts in a thread as "important" and show a list/menu of them would be way more useful IMO.

Hm, maybe, but not exactly what I was aiming for, though I like that idea too.
Easy to achieve with a plugin.
This can be done with a plugin. :p
-> http://mods.mybb.com/view/group-post-css
(2010-10-22, 04:14 AM)darkly Wrote: [ -> ]This can be done with a plugin. :p
-> http://mods.mybb.com/view/group-post-css

Oh hey, that's cool, thanks Toungue
I've got an idea for 2.0:

Make the top menu a bit easier to expand. You know, the one with "Member List," "Help" and whatnot.

As far as I can tell, it would need 3 things:

First, a template for the links:
<li><a href="{$link}"><img src="{$theme['imgdir']}/toplinks/{$img}" alt="" title="" />{$title}</a></li>
This allows per-theme customizations to all of the links at once without breaking plugin deactivate/uninstall.

Second, modify the header:
// ... Header stuff above menu ...
<ul>
{$toplinks}
</ul>
// ... header stuff after menu ...

And finally a hook to let us prepend/append stuff to $toplinks.


Another idea would be making the box frame it's own group of templates:
Box Frame:
<div class="box">
<div class="title">
{$title}
</div>
{$content}
{$footer}
</div>

Generic Footer:
<div class="footer">
{$footerStuff}
</div>

Contents and specific footers can be filled in by their generating scripts.

This way we don't have to screw around as much with modifying templates in plugins, and makes it easier for theme makers to ensure their themes work well with plugins.
(2010-10-22, 06:12 PM)Firestryke31 Wrote: [ -> ]First, a template for the links:
<li><a href="{$link}"><img src="{$theme['imgdir']}/toplinks/{$img}" alt="" title="" />{$title}</a></li>
This allows per-theme customizations to all of the links at once without breaking plugin deactivate/uninstall.

These are already in the header template and can be changed on a per theme basis.
(2010-10-22, 06:23 PM)adbrad Wrote: [ -> ]
(2010-10-22, 06:12 PM)Firestryke31 Wrote: [ -> ]First, a template for the links:
<li><a href="{$link}"><img src="{$theme['imgdir']}/toplinks/{$img}" alt="" title="" />{$title}</a></li>
This allows per-theme customizations to all of the links at once without breaking plugin deactivate/uninstall.

These are already in the header template and can be changed on a per theme basis.

Yeah exactly. How do you think it is now?

(2010-10-22, 03:00 PM)Uncontrol Wrote: [ -> ]
(2010-10-22, 02:27 AM)Joshee Wrote: [ -> ]Since it was an idea for a feature in 2.0, and since there is no specific forum for that, I put it here.

Suggestions and Feedback (2 users browsing)
Got a feature you would love to see added to MyBB? Got some feedback on MyBB? Let us know here, we will try to implement them.
Also, submit your ideas to the MyBB Ideas site.

http://community.mybb.com/forum-7.html

I didn't put it there because that forum is in the "MyBB 1.6 Series" category. I figured it was for suggestions and feedback on the 1.6 Series of MyBB, hence the category it's in.
Pages: 1 2 3