Forums

Unfortunately no one can be told what FluxBB is - you have to see it for yourself.

You are not logged in.

#1 Modifications (1.4) » Need help with PunOnline mod » 2010-06-23 12:55:53

kpdesign
Replies: 0

(If I've posted this in the wrong place, please move it to the proper place.)

In trying to get the PunOnline mod working with 1.4.0 (see http://fluxbb.org/forums/viewtopic.php?id=4313). I've run into an issue where the data for the users isn't being displayed. The table header displays fine, but no data is being brought in nor is the "No Users" message being displayed.

The generated source for the table is:

<div id="online" class="blocktable">
    <h2><span>Online List</span></h2>
    <div class="box">

        <div class="inbox">
            <table cellspacing="0">
            <thead>
                <th class="tcl" scope="col">Username</th>
                <th class="tc2" scope="col">Last Action</th>
                <th class="tc3" scope="col">Time</th>
                <th class="tcr" scope="col">IP</th>
            </thead>
            <tbody>
            <!-- Start listing of users -->

            <!-- End listing of users -->
            </tbody>
            </table>
        </div>
    </div>
</div>

What should be displaying between the Start listing...and End listing... comments is the list of users online. The code in the mod for that section is:

/* Grab the users */
$result = $db->query('SELECT * FROM '.$db->prefix.'online WHERE user_id > 0 AND idle=0 ORDER BY ident') or error('Unable to fetch online list', __FILE__, __LINE__, $db->error());

$num_users_page = $db->num_rows($result);

if ($num_users_page) {
    while ($num_users_page--) {
        $user_data = $db->fetch_assoc($result);
        if ($user_data['current_page']) {
            echo "\t\t\t\t".'<tr>'."\n";

        if ($user_data['user_id'] > 1)
            echo "\t\t\t\t\t".'<td class="tcl"><a href="'.PUN_ROOT.'profile.php?id='.$user_data['user_id'].'">'.pun_htmlspecialchars($user_data['ident']).'</a></td>'."\n";
        else
            echo "\t\t\t\t\t".'<td class="tcl">'.pun_htmlspecialchars($lang_online['Guest']).'</td>'."\n";

        $pathinfo = pathinfo($user_data['current_page']);
        $current_page = $pathinfo['basename'];

        if ($user_data['current_page_id'] > 0) {
            if ($current_page == 'viewtopic.php' || $current_page == 'post.php') {
                $current_page_name = $db->query('SELECT subject FROM '.$db->prefix.'topics WHERE id=\''.$user_data['current_page_id'].'\'') or error('Unable to fetch topic info', __FILE__, __LINE__, $db->error());
            }
            if ($current_page == 'viewforum.php') {
                $current_page_name = $db->query('SELECT forum_name FROM '.$db->prefix.'forums WHERE id=\''.$user_data['current_page_id'].'\'') or error('Unable to fetch forum info', __FILE__, __LINE__, $db->error());
            }
            if ($current_page == 'profile.php') {
                $current_page_name = $db->query('SELECT username FROM '.$db->prefix.'users WHERE id=\''.$user_data['current_page_id'].'\'') or error('Unable to fetch user info', __FILE__, __LINE__, $db->error());
            }
            if ($current_page == 'post.php' || $current_page == 'edit.php') {
                echo "\t\t\t\t\t".'<td class="tc2">'.$lang_online[$user_data['current_page']].': <strong><a href="'.PUN_ROOT.'viewtopic.php?id='.$user_data['current_page_id'].'">'.$db->result($current_page_name, 0).'</a></strong></td>'."\n";
            } else {
                echo "\t\t\t\t\t".'<td class="tc2">'.$lang_online[$user_data['current_page']].': <strong><a href="'.$user_data['current_page'].'?id='.$user_data['current_page_id'].'">'.$db->result($current_page_name, 0).'</a></strong></td>'."\n";
        }

    } else if ((@$lang_online[$user_data['current_page']]) == '')
        echo "\t\t\t\t\t".'<td class="tc2">'.$lang_online['Hiding Somewhere'].'</td>'."\n";
    else
        echo "\t\t\t\t\t".'<td class="tc2"><a href="'.$user_data['current_page'].'">'.$lang_online[$user_data['current_page']].'</a></td>'."\n";

        echo "\t\t\t\t\t".'<td class="tc3">'.format_time($user_data['logged']).'</td>'."\n";

        if ($pun_user['g_id'] <= PUN_MOD)
            echo "\t\t\t\t\t".'<td class="tcr"><a href="'.PUN_ROOT.'admin_users.php?show_users='.$user_data['current_ip'].'">'.$user_data['current_ip'].'</a></td>'."\n";

            echo "\t\t\t\t".'</tr>'."\n";
        }
    }

} else {
    echo "\t\t\t\t".'<tr><td class="tcl" colspan="4">'.$lang_online['No users'].'</td>'."\n\t\t\t\t".'</tr>'."\n";
}

This code worked in 1.2.x, but doesn't work in 1.4.0.

Could someone take a look at that code and tell me where the issue is so I can get this mod working? I'll be more than happy to contribute the updated mod back to the community.

Thanks in advance for any help. smile

#2 Re: Modifications (1.4) » Looking for 1.4 versions of certain mods » 2010-06-22 22:44:06

kpdesign

I got the Most Users Online mod working with 1.4.0 last night.

PunOnline semi-works - it displays the header on the online page, but will not list the users that are online or where they are.

I haven't tested the other 3 mods yet.

#3 Modifications (1.4) » Looking for 1.4 versions of certain mods » 2010-06-21 14:05:08

kpdesign
Replies: 3

I apologize if these have been posted somewhere else already.

I am looking for the 1.4 versions of the following mods:

  • Admin Logs by Caleb Champlin

  • Easy Profile Fields Extended by El Bekko, Extended by Kevin Muller

  • Most users online by El Bekko

  • PunOnline by XuMiX/orig author Chippa

  • Verification Image for new Registrations (RegKey) by xfir

I've used these in the past with a 1.2.x forum, and they work great. I'm setting up a new project and would love to use them again, but not sure if they'll work with 1.4.

Have any of you updated these mods yourself to work with 1.4, or do you know where I can download an updated version of them?

Edit: Do the 1.2 versions work out of the box by any chance?

Thanks in advance for any help you can provide. smile

#4 Re: Show off » OxygenB » 2010-05-29 09:29:41

kpdesign
Rean wrote:

I hope to that this theme will functional with 1.4 version, it's my favorite theme!

+100 on this - it's also my favorite theme. I hope a new version will be created to work with 1.4.

#5 Re: General support (1.4) » ETA for 1.4 release? » 2009-10-12 10:39:50

kpdesign

@Reines: Have you thought about using the OxygenB style to replace the existing Oxygen theme in 1.4? I think it would make a nice replacement for that theme.

#6 Re: FluxBB discussion » Switching from fluxbb to another message board service » 2009-08-06 19:37:06

kpdesign

Thanks for the response elbekko, I appreciate it. I used PunBB for several years, then switched to FluxBB when the project was forked. I've used it on a few projects, and my clients love it - simple, lightweight, and fast. Perfect forum solution!

#7 Re: FluxBB discussion » Switching from fluxbb to another message board service » 2009-08-06 16:32:03

kpdesign

With everything that's been discussed regarding the dev team in this thread, what exactly is the future path of FluxBB? I love using the software and want to see the project continue.

Not trying to start anything, would just like one/more of the devs to chime in here and let us know what we can expect.

#8 Re: Announcements » The future of FluxBB » 2009-01-25 15:18:16

kpdesign

Utchin/Pedro: If you are interested in getting the 1.3 look for a 1.2.x forum, take a look at this thread:

http://fluxbb.org/forums/topic/2545/oxygenb/

#9 Re: General discussion » Merry Christmas » 2008-12-24 16:29:11

kpdesign

I wish for each of you a holiday season filled with special times with family and friends, lots of good food, and an overabundance of love and laughter.

Merry Christmas everyone! smile

#10 Re: FluxBB discussion » Logo? » 2008-10-26 13:50:28

kpdesign

Ed. -

There is another thread (7 pages long) where this was discussed at length. The favicon you see now came from a logo design by Christian which was posted here. The best logo to match it was also created by Christian, and posted here.

I believe the team's focus right now is getting the next beta ready for release, as it should be. The logo can be incorporated into the design after that.

#11 Re: Announcements » The Converter » 2008-09-16 20:36:07

kpdesign
liquidat0r wrote:
Strofanto wrote:

What forum system will be included in the converter?

The major ones / most popular ones I presume.

elbekko -

I appreciate you taking on this effort - I know it's a lot of work, but will be worth it in the end so that more folks can switch to FluxBB.

I'd like to add one forum program to the list of requested converters that's missing from the big-boards.com list - Vanilla.

Thanks! smile

#12 Re: FluxBB discussion » Logo » 2008-09-14 15:12:22

kpdesign

I like it - I think it stand out nicely against the black background of the nav bar at the top of the website. smile

#13 Re: FluxBB discussion » Logo » 2008-09-14 13:53:40

kpdesign

Ledo - that's nice, but it really doesn't fit in with the rest of the FluxBB website design.

I think Connor is on the right track. What needs to be done with his suggested logo is to rework it a bit to match the style of the green and orange icons being used on the website now. Make the shape round rather than square, add a thin border and slight gradient in the black background, and I think we'll have a winner. wink

The FluxBB philosophy is to keep things simple and clean, and the logo should reflect that philosophy.

Just my 3 cents worth...

#14 Re: Announcements » Development team changes » 2008-08-31 00:17:54

kpdesign

Congrats to elbekko and Reines! smile

#15 Re: General discussion » CMS for PHP project » 2008-08-28 21:05:25

kpdesign

WordPress. Between the basic program and all the plugins, there isn't much you can't do with it. wink

#16 Re: FluxBB discussion » Leaving » 2008-08-21 19:52:35

kpdesign

As a member of the dev team for another open-source project (Plogger), I can attest the amount of time that must be devoted to developing a project and providing support to the end-users. It's something that I love doing and I wouldn't change it, but I do understand Smarty's position.

#17 Re: FluxBB discussion » Leaving » 2008-08-20 12:00:15

kpdesign

I'm sorry to hear that you won't be a part of the dev team, but am glad to know you'll still be around to answer questions and such.

Thanks for all your hard work on both PunBB and FluxBB.

#18 Re: FluxBB discussion » The new style » 2008-07-28 23:48:26

kpdesign

A few things jump right out at me that I don't much care for:

1. Putting Sticky or Closed on the line below the topic subject instead of preceding the subject on the same line. It makes it very difficult to differentiate between a regular thread and a Sticky or Closed one, and is not 'expected behavior'.

2. Having the forum that the post was made in on the same line with the topic starter. That needs to be a separate column as it just doesn't stand out enough.

3. JMPO, but I don't really see the need to have the date included with the OP's name as to when they started the thread.

You've done a lot of work Paul, and I don't want you to think that I don't appreciate it, because I do. smile I just wanted to express my opinion on the new style.

#19 Re: FluxBB discussion » What should be core? » 2008-07-23 11:19:26

kpdesign
Jérémie wrote:
Connor wrote:

Just wanted to say this has been mentioned before and I don't think its something we want to do, or really the feasible with all extensions being GPL.

Ransom?

How about donations, if an end user really finds the extension useful and wants to give something back to the developer?

#20 Re: General discussion » SourceForge Best New Project Finalist = FluxBB » 2008-07-10 21:22:22

kpdesign

In the list of categories on the left, click on "Best New Project" - FluxBB is listed in that category.

You are only seeing the list of finalists for the "Best Project" category when you first go to the page.

Edit: Not bad - in 2 minutes, 3 of us answered him. lol

#21 Re: General discussion » SourceForge Best New Project Finalist = FluxBB » 2008-07-10 20:41:01

kpdesign

I already voted. **crossing fingers that FluxBB wins **

#22 Re: FluxBB discussion » Submit FluxBB to opensourcecms.com » 2008-06-28 20:35:41

kpdesign

They have different sections for each type of program - CMS, blogs, e-commerce, groupware, forums, galleries, etc. - it's not just limited to actual CMS programs.

#23 Re: FluxBB discussion » Submit FluxBB to opensourcecms.com » 2008-06-28 20:19:40

kpdesign
orlandu63 wrote:

Does anyone actually use that site? Its UI and layout is horrible; I stay away from it (although I cannot speak for everyone)

Yes, I do, when I want to check out a new program and don't want to take the time/diskspace to install it. It has helped me countless times in narrowing down my selection when I'm looking for a particular type of program for a website.

Whether you like the style or not, the site is functional and it serves the purpose it was intended to. wink

#25 Re: General discussion » Hi guys, How about this mouse ? » 2008-06-21 19:20:09

kpdesign

Using my Logitech MX310 and still love it.

Board footer

Powered by FluxBB 1.4.8