1

(2 replies, posted in Programming)

OK, thanks for the Link!

I think it helps. wink

2

(2 replies, posted in Programming)

Moin - Moin,

I've a question, I use special fonts and not all visitors have these special fonts on the PC, is there a way to make these fonts for visitors available?

Greetz B.

Is there an extension for Opera like Web Developer?

Hi,

I've found an other solution, not so good as an text-file but that is also OK.
If anyone uses Firefox, go to https://addons.mozilla.org/extensions/s … p;pageid=7
Install Web Developer, that gives you full control to the css-files. You can see what are you changing and save than the Changes.

Try it out, it's a nice tool! tongue

Greetz B.

Moin - Moin,

does someone have plan of the current board, where all formats
and their situation is held? I try to build the PunBB into a web page,
lose however slowly the overview. Unfortunately I found an old
guidance over the search only.

Can anyone help?

6

(4 replies, posted in PunBB 1.2 troubleshooting)

Hi,

Paul wrote:

Now open the stylesheet. Edit Body so it looks like this

BODY {
background-color: #FFFFFF;
margin: 20px 0px; padding: 0px;
/*Hack to centre board in IE5 - combined with #wrapper below */
text-align: center;
}

Change background-color to whatever is right for your board/style.


Add the following after BODY

#wrapper {
/* Re-Aligns text to left. To be combined with IE centre hack*/
text-align: left;
width: 95%;
margin: 0px auto;
}

I think there is a better way, because on Pauls solution sometimes (I know: redirect) the text is centered. I think the follow code functions also on all Browsers.
My solution is the same with other code:

BODY {
background-color: #FFFFFF;
margin: 20px 0px; padding: 0px; 
}
#wrapper {
width : 760px;
position : absolute;
left : 50%;
margin-left : -380px;
}

Greetz B.

7

(2 replies, posted in Feature requests)

Yes,

if you follow th link you see at the site in the third column a ? if the tread is not completed (answered), if it's complete there is a tick. I think you followed him and then you understand my wish.

Greetz L.

8

(2 replies, posted in Feature requests)

Hi,

is it terible to make a mod, where the user who start a topic, can mark the topic as agred? I think to ad one or two columns, by starting topic there is a symbol "not agred" and if the topic is finished the user who start the topic can mark it as "agred".

I think its a good mod for support boards, so the admins, mods and users can see quickly where they can help and which topic is completed. Also for private use the mod where genial.

I've seen this mod on an other board (IPB), take a look: http://www.ipbsupport.de/board/index.php?showforum=16
It's the third column.

Greetz L.

9

(0 replies, posted in Programming)

Moin - Moin,

i've ad a mod, wich is very useful, to my board. Now I want ad some infos into the footer of this side, this:
Das neueste Mitglied ist: XXX
Registrierte Mitglieder online: 1
Gäste online: 0
Online:  B. Scheuert

is tha terrible, what I've to do?

Greetz L.

10

(8 replies, posted in PunBB 1.2 discussion)

I've send it to you. wink

11

(8 replies, posted in PunBB 1.2 discussion)

Have you a E-Mail adress for me where i'll send it? In the Forum is only the Formular.
You can download it on my Forum, its the same in RAR and ZIP.

But first take a look in my Forum, that LP is running on it, if you mean its OK or not.

12

(2 replies, posted in PunBB 1.2 show off)

Moin - Moin,

it's nice, but by using the VB-Style you must see this thread, http://www.punres.org/viewtopic.php?id=524.
You have to modify something that the -+ for the collapseing is in the right position.

OPEN "index.php" SEARCH (~LINE 72 AND 79)

<span style="float:right">

REPLACE WITH

<span class="collapse">

OPEN "vbstyle_*_cs.css" SEARCH

.pun H2 {
*
}

COPY CODE ".pun H2" AND REPLACE AFTER ".pun H2"
RENAME THE FIILED IN ".pun H2" TO ".pun H2 span.collapse"
If padding is 10px change it to 5px
FILL IN ".pun H2 span.collapse"

float:right;

Thats all, than it must look right.

Greetz L.

13

(8 replies, posted in PunBB 1.2 discussion)

Moin - Moin,

I've over-worked the language pack, it works on my board and there you can download it too.
There was to much mistakes in the old language pack, so I must overwork it.

Have Pun! wink

14

(2 replies, posted in Programming)

OK, thanks for that Information.

15

(2 replies, posted in Programming)

Hi,

What I've to do, if I want to show the debug info one line deeper and centered?
I've tryed so much (<br><p> etc.), but it always destroy the Board.

My code:

            <p class="conr">Powered by <a href="http://punbb.org/">PunBB</a><?php if ($pun_config['o_show_version'] == '1') echo ' '.$pun_config['o_cur_version']; ?><br />© Copyright 2002?2005 Rickard Andersson<br />Style © Copyright 2005 <a href="http://forum.haresnet.de">haresnet.de</a></p>
<?php

// Display debug info (if enabled/defined)
/* if (defined('PUN_DEBUG')) */
{
    // Calculate script generation time
    list($usec, $sec) = explode(' ', microtime());
    $time_diff = sprintf('%.3f', ((float)$usec + (float)$sec) - $pun_start);
    echo "\t\t\t".'<p class="conr">[ Generated in '.$time_diff.' seconds, '.$db->get_num_queries().' queries executed ]</p>'."\n";
}

?>
            <div class="clearer"></div>

16

(3 replies, posted in General discussion)

Sorry, my mistake!

Found it on Line 148, an have it outlined!

Thanks! wink

17

(3 replies, posted in General discussion)

What you mean "outline"?

My code is outlined, or not?

        // Load cached quickjump
        @include PUN_ROOT.'cache/cache_quickjump_'.$pun_user['g_id'].'.php';
        if (!defined('PUN_QJ_LOADED'))
        {
            require_once PUN_ROOT.'include/cache.php';
            generate_quickjump_cache($pun_user['g_id']);
            require PUN_ROOT.'cache/cache_quickjump_'.$pun_user['g_id'].'.php';
        }
    }

18

(3 replies, posted in General discussion)

Moin - Moin,

in some boards you can see in the footer:

[ Generated in 0.031 seconds, 11 queries executed ]

What is this? How can I made this? Is it a Mod? Is it terrible?

Greetz L.

19

(6 replies, posted in Programming)

My code was not messed, it's from my viewforum.php. *???*

I think I know what you mean, but I can't PHP, so I must see a functional code then I can make one for me I think.
I must also ad a table in my db for that. *My God; SQL* sad

I want much but its not my world.

20

(6 replies, posted in Programming)

I've made it corectly, now comes:

Parse error: parse error, unexpected '}' in /web/forum/viewforum.php on line 159

I think there is something wrong or missing in my DB????

21

(6 replies, posted in Programming)

Sorry but I'm a DAU

I looked in viewforum.php and found this:

while ($cur_topic = $db->fetch_assoc($result))
    {
        $icon_text = $lang_common['Normal icon'];
        $item_status = '';
        $icon_type = 'icon';

        if ($cur_topic['moved_to'] == null)
            $last_post = '<a href="viewtopic.php?pid='.$cur_topic['last_post_id'].'#p'.$cur_topic['last_post_id'].'">'.format_time($cur_topic['last_post']).'</a> <span class="byuser">'.$lang_common['by'].' '.pun_htmlspecialchars($cur_topic['last_poster']).'</span>';
        else
            $last_post = ' ';

        if ($pun_config['o_censoring'] == '1')
            $cur_topic['subject'] = censor_words($cur_topic['subject']);

        if ($cur_topic['moved_to'] != 0)
            $subject = $lang_forum['Moved'].': <a href="viewtopic.php?id='.$cur_topic['moved_to'].'">'.

I think you mean where == null, I must edit something????? Right???

22

(6 replies, posted in Programming)

Hi there once again,

I want to ad a new Symbol for the Post status indicators "moved topics"(imoved = moved topics). I think I must it ad on the "viewforum.php" but I dont know how.

On http://punbb.org/forums/viewtopic.php?id=7800 #4 is a List wich indicators are available.

/* 10.1 These are the post status indicators which appear at the left of some tables.
.inew = new posts, .iredirect = redirect forums, .iclosed = closed topics and
.isticky = sticky topics. By default only .inew is different from the default.*/

Is there anyone who can help me to find a solution?

Greetz L.

23

(2 replies, posted in Programming)

Problem away, in my code was missing a dot.

The right code is:

$tpl_temp = $message.'<br /><br />'.'<p><center><img src="http://www.haresnet.de/forum/img/loader/'.$pun_user['style'].'.gif" border="0" width="156" height="37" alt="Umleitung"></center></p><p><a href="'.$destination_url.'">'.$lang_common['Click redirect'].'</a></p>';

I found it's a nice Gimmik! smile

Greetz L.

24

(2 replies, posted in Programming)

Hi,

I've edited "functions.php" and tryed this code at line 943:

$tpl_temp = $message.'<br /><br />'.'<p><center><img src="http://www.haresnet.de/forum/img/loader/'.$pun_user['style'].'gif" border="0" width="156" height="37" alt="Umleitung"></center></p><p><a href="'.$destination_url.'">'.$lang_common['Click redirect'].'</a></p>';

But by redirecting comes no grafic, whats wrong with the code? sad

25

(2 replies, posted in Programming)

Moin - Moin,

I need a little help to modify my PunBB. I've made a little anim gif (I mean it's verry pretty) and put the follow code into lang/common.php

'Click redirect'        =>    '<p><center><img src="http://www.haresnet.de/forum/img/loader/loader.gif" border="0" width="156" height="37" alt="Loader"></center></p><p>Click here if you do not want to wait any longer (or if your browser does not automatically forward you)</p>',

My graphik is blue like the "Oxygen" style, what I've to to if I want to use a different colored graphic for the "Litium" style?
I want to use for each style I have another graphic.

I hope you understand my stupid English.

If you want to see it and have a look for action: My PunBB Forum

User: test
Pass: test