"Bootstrap Changes to Forum LIST BBCODE Tags"

Post #303026791 by Neo on Monday 3rd of December 2018 11:12:09 AM

Bootstrap Changes to Forum LIST BBCODE Tags

Added some Bootstrap to our lists (first draft subject to change) with PHP changes to the functions_bbcode.php:

       if ($listtype)

                        $outstuff = '<ol class="list-group" style="list-style-type: ' . $listtype . '">' . $output . '</ol>';
                        $outstuff = "<ul class=\"list-group\" >$output</ul>";
                        $outstuff = '<div class="neo-bbcode-list">'.$outstuff.'</div>';

and also this:

        * Handles a single bullet of a list
        * @param        string  Text of bullet
        * @return       string  HTML for bullet
        function handle_bbcode_list_element($text,$listtyle)
                return "<li class=\"list-group-item\">$text</li>\n";
                return "<li class=\"list-group-item\"><i style=\"font-size:0.8em;font-color:rgba(0,0,0,0.4)\" class=\"fa fa-circle\"></i> $text</li>\n";

To give these results in the forums:

These 2 Users Gave Thanks to Neo For This Post:

6 More Discussions You Might Find Interesting

1. Solaris

Redirecting Bootstrap

Exactly how can I redirect bootstrap data generated by Networker to a file? The company's policy is to have this electronically saved remotely. The idea is to have the bootstrap info saved to a file and then use rsync to move that file to a remote server. So instead of sending it to a printer... (0 Replies)
Discussion started by: Jshwon
0 Replies

2. Post Here to Contact Site Administrators and Moderators

Testing BBCODE URL for DragonByte

Here is the URL we will use: https://www.unix.com/post-here-contact-site-administrators-moderators/241569-doesnt-allow-me-use-code-tags.html I will put this in this text with the URL BBCODE. Now I will save the thread and test the URL. (1 Reply)
Discussion started by: Neo
1 Replies

3. What is on Your Mind?

Changes to BBCODE for CODE and QUOTE

Hey, Scrollbars still do not work in code tags (works on mobile because the mobile site does not use any table tags, only div tags), but hopefully that will change when I convert the bits for post and threads to div tags or update to Bootstrap CSS for tables. In the meantime, I have update... (0 Replies)
Discussion started by: Neo
0 Replies

4. What is on Your Mind?

Number of Small Forum Code Changes (TODO List Items)

In the past few days have I have done a lot of code cleanup work in various categories, including faster page loading and bug fixes: Move countless inline style directives to external CSS stylesheets for key pages (faster page loading) Fixed bug in member panel going between desktop and... (6 Replies)
Discussion started by: Neo
6 Replies

5. What is on Your Mind?

Quick Bootstrap Reformat of Forum Staff Page

This page still needs work (complete redesign), but in the meantime, I quickly added some Bootstrap classes to "pretty it up": https://www.unix.com/staff.php https://www.unix.com/staff.php (0 Replies)
Discussion started by: Neo
0 Replies

6. What is on Your Mind?

Patreon Badges Now Available as BBCODE at UNIX.COM

Dear All, We have a lot of amazing moderators and other very talented unix.com members who provide tireless top quality free technical support assistance to others. As a service to those long term unix.com members, I am making a new Patreon BBCODE badge available which can be posted in forum... (8 Replies)
Discussion started by: Neo
8 Replies

Featured Tech Videos

All times are GMT -4. The time now is 12:42 AM.
Unix & Linux Forums Content Copyright 1993-2019. All Rights Reserved.
Privacy Policy