1

(11 replies, posted in PunBB show off)

One thing I've noticed is where it says:

Teme Odgovora Pregleda zadnji komentar

Everything below it on the same row is different. I don't know if it's suppose to be like that because I don't understand the language but just a heads up. Nice work by the way.

2

(7 replies, posted in PunBB 1.3 additions)

mara666 wrote:

Pls help me...

Do you want a different image for every post indicators? BTW Porno link in tab :0

3

(4 replies, posted in PunBB 1.3 additions)

Right now I use GIMP which is free and very very powerful. I also use paint for simple stuff like that. The post indicators are not mine though.

Well, ever a long absence I decided to come back to release a style. It's going to be called OpenWings. I'm going to show you what I have now and I want your opinions since I'll be releasing it to you guys/

http://img186.imageshack.us/img186/2328/forumstyle.png

I'm not quite sure what to do with the title yet. I'm also going to be working on the post indicators but not sure how to do it just yet. Should I just edit the .css like 1.2 or should I really use an extension?

Live Demo: (if you guys really insist)
http://openwings.oxyhost.com/forum/

Also on live demo you can see the new second post indicator cuts off because there is no description. Any fix for this?

This theme is based on CrazyPellas skin.

Edit: Off to school.

5

(3 replies, posted in PunBB show off)

Not bad, I've seen worst themes than that. If I had one thing that I could change it would be the white borders around the Topic Name, Topic #'s and Post #'s

6

(5 replies, posted in PunBB 1.3 additions)

TheStoneBreaker, you did not find the code in the header.php because you are using PunBB 1.3 and the link kierownik gave to you was for PunBB 1.2. I've not worked with PunBB 1.3 but what you want to do is find forum_navlinks put it in you're cms stuff and then what I guess you could do is go in .css and just hide your navigation? Correct me if I'm wrong, like I said haven't worked PunBB 1.3 but I have with FluxBB.

7

(21 replies, posted in General discussion)

bon, c'est arrange la?

8

(5 replies, posted in PunBB 1.2 show off)

Looks good, keep it up.

9

(4 replies, posted in PunBB 1.2 troubleshooting)

I login and it redirects me to the main page. I login again and it works fine. I logout it redirects me to the main page. I logout once more and it logs me out. I have to do it twice for it to work, how can I fix that?

MattF wrote:

Look at the wiki over on punres for the mini-portal? info.

Alright but that still doesn't fix the Recent Post.

My Portal:
http://openwings.co.cc/index.php

I would like to add on the left, the 5 top posters and the 5 recent post. How can I do this?

Alright well I've install the Arcade Mod with all the game packs but there seems to be a problem with the newscore and I have no clue what it is. Each time I submit the score the page turns blank.

<?php define('PUN_ROOT', './');
require PUN_ROOT.'include/common.php'; if ($pun_user['g_id'] == PUN_GUEST)
    error($lang_common['No permission']); // Recover the game name and the score 
$game_name = $HTTP_POST_VARS['game_name'];
// str_replace strips all spaces present in the score string
$score = str_replace(" ", "", $HTTP_POST_VARS['score']);
$topscore = 0;
$now = time();

// This is a fix for var "score" wich is send as "Score" and not as "score" like in game "Easter Egg Catch"    
if(empty($score))
    {
        $score = $HTTP_POST_VARS['Score'];
    }

if(!empty($game_name) && !empty($score))
{
    // Find Topscore
    $sql = 'SELECT rank_topscore, rank_score FROM '.$db->prefix.'arcade_ranking, '.$db->prefix.'users WHERE rank_player = '.$db->prefix.'users.id AND rank_game = "'.$game_name.'" ORDER BY rank_score DESC LIMIT 1';    
    $query = $db->query($sql) or error("Impossible to select topscore.", __FILE__, __LINE__, $db->error());
    $line = $db->fetch_assoc($query);
    if($line['rank_topscore'] = 1 && $line['rank_score'] < $score)
    {
        $sql = 'UPDATE '.$db->prefix.'arcade_ranking SET rank_topscore = '.$topscore.' WHERE rank_game = "'.$game_name.'"';
        $query = $db->query($sql) or error("Impossible to update the topscore", __FILE__, __LINE__, $db->error());
        $topscore = 1;
    }
    elseif($line['rank_topscore'] >= 0 && $line['rank_score'] <= $score)
    {
        $topscore = 1;        
    }
    else
    {
        $topscore = 0;
    }

    $sql = 'SELECT * FROM '.$db->prefix.'arcade_ranking WHERE rank_player = '.$pun_user['id'].' AND rank_game = "'.$game_name.'"';
    $query = $db->query($sql) or error("Impossible to select the user and game", __FILE__, __LINE__, $db->error());
    if(mysql_num_rows($query) > 0)
    {
        $line = $db->fetch_assoc($query);
        if($line['rank_score'] <= $score)
        {        
            // Update new highscore
            $sql = 'UPDATE '.$db->prefix.'arcade_ranking SET rank_score = '.$score.', rank_date = '.$now.' , rank_topscore = '.$topscore.' WHERE rank_player = '.$pun_user['id'].' AND rank_game = "'.$game_name.'"';
            $query = $db->query($sql) or error("Impossible to update new highscore", __FILE__, __LINE__, $db->error());
    
            $sql = 'SELECT game_id FROM '.$db->prefix.'arcade_games WHERE game_filename = "'.$game_name.'"';
            $query = $db->query($sql) or error("Impossible to select the game", __FILE__, __LINE__, $db->error());
            $gameid = $db->fetch_assoc($query);
            echo '<script type="text/javascript">window.location= "arcade_ranking.php?id='.$gameid['game_id'].'"</script>';
        }
        else
        {
            // No new highscore
            $sql = 'SELECT game_id FROM '.$db->prefix.'arcade_games WHERE game_filename = "'.$game_name.'"';
            $query = $db->query($sql) or error("Impossible to select the game", __FILE__, __LINE__, $db->error());
            $gameid = $db->fetch_assoc($query);
            echo '<script type="text/javascript">window.location= "arcade_play.php?id='.$gameid['game_id'].'"</script>';
        }
    }
    else
    {
        // Is there a score?
        $sql = 'SELECT rank_score, rank_topscore FROM '.$db->prefix.'arcade_ranking WHERE rank_game = "'.$game_name.'" ORDER BY rank_score DESC, rank_topscore DESC';
        $query = $db->query($sql) or error("Impossible to select the topscore", __FILE__, __LINE__, $db->error());
        $line = $db->fetch_assoc($query);
        if($line['rank_score'] <= 0 && $line['rank_topscore'] <= 0)
        {
            $topscore = 1;
        }

        // Add new Highscore
        $sql = 'INSERT INTO '.$db->prefix.'arcade_ranking (rank_game, rank_player, rank_score, rank_topscore, rank_date) VALUES    ("'.$game_name.'", '.$pun_user['id'].', '.$score.', '.$topscore.', '.$now.')';
        $query = $db->query($sql) or error("Impossible to insert the new score", __FILE__, __LINE__, $db->error());
        
        $sql = 'SELECT game_id FROM '.$db->prefix.'arcade_games WHERE game_filename = "'.$game_name.'"';
        $query = $db->query($sql) or error("Impossible to select the game", __FILE__, __LINE__, $db->error());
        $gameid = $db->fetch_assoc($query);
        echo '<script type="text/javascript">window.location= "arcade_ranking.php?id='.$gameid['game_id'].'"</script>';
    }
} else

{
    error($lang_common['No permission']);
} ?>

Could anyone help me out with this problem? Please and thank you.

13

(4 replies, posted in PunBB 1.2 show off)

sirena wrote:

Hmmm. I don't mean to be negative, but it is indeed a bit visually boring, as matt1298 says.

Also it is not clear what the forum is about. If I stumbled upon it as a result of a page 3 SERP on some keyphrase or something, I don't think I'd linger on this forum for about more than 3 seconds, let alone register.

Oh, and why are you showing off a FluxxBB forum here smile

I was showing off my PunBB forum but changed it to FluxBB, that's why you see FluxBB instead of PunBB now. Also negative feedback is always good. I didn't get any negative feedback other than from you and matt1298. Negative feedback means the style isn't perfect and I have a few adjustments to do.

MattF wrote:

Must admit, I quite like it. big_smile The darker themes are more to my liking, personally. Plus, it does define all edges and borders nicely, which is one area where most dark themes fail completely.

Thanks for the positive feedback.

14

(4 replies, posted in PunBB 1.2 show off)

Check it out, a lot more has improved. Give me your opinions on the site and design.

Link:
http://openwings.co.cc

15

(2 replies, posted in PunBB 1.2 discussion)

I see, thanks a lot smile

16

(2 replies, posted in PunBB 1.2 discussion)

Why is it some people use caps when they write FONT-SIZE: for example and some people only do font-size. Does it change anything in particular?

17

(3 replies, posted in PunBB 1.2 show off)

Very nice theme.

18

(12 replies, posted in PunBB 1.2 troubleshooting)

j7n wrote:

I also installed the Private Messaging mod. I suppose the logout link might have been overwritten then. Unfortunately the computer where I have stored the PunBB distribution archive is currently offline, so I can't verify.

It is the private messaging mod.

19

(4 replies, posted in PunBB 1.2 troubleshooting)

yeah that's what I meant tongue

20

(4 replies, posted in PunBB 1.2 troubleshooting)

alright thanks I'll try that out smile

So your telling me if I would to do;
#punviewforum {
Div.icon background-image: url(../../img/OpenWings/post1.gif);background-repeat:no-repeat;
}
it would work?

21

(4 replies, posted in PunBB 1.2 troubleshooting)

Is it possible to have different post indicators on viewforum? On the index it would look like this Div.icon {background-image: url(../../img/OpenWings/post.gif);background-repeat:no-repeat;}  but is there a different code to make the ones in viewforum different?

22

(12 replies, posted in PunBB 1.2 troubleshooting)

I fixed it.

23

(12 replies, posted in PunBB 1.2 troubleshooting)

Yes but this is a FRESH install of punbb 1.2.17 not an upgrade....

24

(12 replies, posted in PunBB 1.2 troubleshooting)

what am I suppose to do to fix the problem then? Yes I'm running 1.2.17.

25

(12 replies, posted in PunBB 1.2 troubleshooting)

http://openwings.co.cc/login.php?action=out&id=2

I have noticed and the two other members have noticed that we can't logout.  We can only log out by clearing private data (cookies etc.)