SKossu wrote:
tokar86a wrote:
SKossu wrote:

Ändra dessa så här

.brd .main-content .main-item li.info-topics,
.brd .main-content .main-item li.info-forum,
.brd .main-content .main-item li.info-posts,
.brd .main-content .main-item li.info-views,
.brd .main-content .main-item li.info-replies {
    width: 5em;
    text-align: center;
    }




brd .main-content .main-item li.info-lastpost {
    width: 24em;
    }



.brd .main-content .main-item li.info-lastpost cite {
    overflow: hidden;
    width: 24em;
    }




Använd sök, då borde allt rymmas prydligt.

Ja det gör det.

Går det att få färg på den delen där det står 'Forum, trådar, inlägg'' ??

Som det är på det här forumet

http://www.pokemonforumet.se/forum/index.php

Ja

tokar86a wrote:

Vart ändrar jag det?

Posts deleted. Write in English please.

552

(154 replies, posted in Supported extensions)

It is a problem of all extensions; we will add a corresponding notice when a user upgrades some extension.

553

(1 replies, posted in Discussions)

Post id is an auto incremental table column. So if any post number is used, it will not be used again.

554

(154 replies, posted in Supported extensions)

New version 1.2.6.1 of pun_pm was released.
Latest changes:

  • Fixed a possible SQL-injection on edit message page

  • Added some hooks.

555

(118 replies, posted in Supported extensions)

maststef wrote:

I still can't install the extension because the .htaccess file can't be copied into the random string folder. By the way, the folder is created, but when I try to delete it manually through ftp I get the error "No such directory exists", when I then reload the file/folder list, the  folder is gone. But if I don't try to delete the "non-existant" folder, the folder does NOT get deleted.
On the server is running Linux + Apache + Plesk. Maybe there are some problems with permissions?

Try to replace the lines 140, 141 of manifest.xml with this code:

            if (!touch(FORUM_ROOT.$basepath.$newname.'/.htaccess'))
                message('Can\'t create the .htaccess file in the new directory!');
            $fhtp = fopen(FORUM_ROOT.$basepath.$newname.'/.htaccess', 'w');
            if (!$fhtp)
                message('Can\'t open the .htaccess file');
            fwrite($fhtp, '<Limit GET POST PUT>'."\n".'Order Allow,Deny'."\n".'Deny from All'."\n".'</Limit>');
            fclose($fhtp);
            if (!touch(FORUM_ROOT.$basepath.$newname.'/index.html'))
                message('Can\'t create the index.html file in the new directory!');
            $fip = fopen(FORUM_ROOT.$basepath.$newname.'/index.html', 'w');
            if (!$fip)
                message('Can\'t open the index file');
            fwrite($fip, '<html><head><title>403 - No access</title></head><body><h1>Error 403</h1>No access</body></html>');
            fclose($fip);

If there are any errors related with creating files, contact with you hoster.

556

(118 replies, posted in Supported extensions)

TomeOne wrote:

Problem: when I did the upgrade via the manage extensions screen, I chose to upgrade and install, and it renamed the pun_attachment folder to pun_attachment.old and inserted a new pun_attachment folder.

This means all attachments posted with the previous version now become unusable, it seems.

I still see a list of attached files posted under "Manage attachments" but none of them are available to download or view.

To hotfix this, you can manually copy old folder with attachments to the FORUM_ROOT."extensions/pun_attachment/attachments/"

557

(118 replies, posted in Supported extensions)

TomeOne wrote:

Problem: when I did the upgrade via the manage extensions screen, I chose to upgrade and install, and it renamed the pun_attachment folder to pun_attachment.old and inserted a new pun_attachment folder.

This means all attachments posted with the previous version now become unusable, it seems.

I still see a list of attached files posted under "Manage attachments" but none of them are available to download or view.

Thanks for reporting this. It is an issue of pun_repository. We will think how to solve this.

558

(41 replies, posted in PunBB 1.3 extensions)

New version of pun_bbcode 1.3.2 has been released. Fixed the error with undefined variable, when BBCode is disabled in posts.

559

(41 replies, posted in PunBB 1.3 extensions)

rahahm33 wrote:

awesome, is this new version also updated in our admincp extensions section?

Yes, it is.

demo-world wrote:

@Slovak

I'am Slavok, not Slovak smile

demo-world wrote:

have installed new Version, but the Panel will not be shown in any of my browsers i have tested. On all is Java enabled ??!!

JavaScript should be enabled, not Java.
Check the "Use BBCode Bar" option in your profile, it should be enabled. Also BBCode should be enabled in posts in the administration menu. On what pages do you check the functionality of the extension?

560

(41 replies, posted in PunBB 1.3 extensions)

New version of pun_bbcode 1.3.1 has been released!
New features

  • The BBCode panel is now added only if JavaScript is enabled.

  • Added space below and after smiles.

  • The BBCode tag "img" isn't added to the BBCode Bar if img tag isn't enabled in posts.

New version pun_quote 2.2 has been released. Quoted text is added to the current cursor position now.

562

(118 replies, posted in Supported extensions)

pun_attachment 1.0.2 has been released. Bug reported by TomeOne was fixed.

You can add links in the section "Add your own links to the main navigation menu" at the page  "<FORUM_URL>admin/settings.php?section=setup".

564

(2 replies, posted in Discussions)

There is only a concept of a new version of PunBB. I can't say anything specific about the date of release of PunBB 2.0. It will have an entirely new Forum core. Before developing PunBB 2.0, we plan to release some new versions of the core, which will add some features to PunBB 1.3. The current aim is development of new Forum styles and extensions.

New version of pun_admin_events 0.8.2 has been released. The mechanism of searching events was improved. Interface of the "Events" page was changed.

Please, post here the errors that appear when the debug mode is enabled. And how do you determine, that the problem is in the function "validate_manifest"?

NiCk Newman wrote:

but dont u think there's a better way then not using 3 more queryes like what If i changed my tables from text to int field be better?

There was only one query, which joined 3 tables. Not 3 queries. Sorry, I missed the link to your DB-scheme. The type "Text" doesn't do for most of the columns in your table. You need to optimize the structure of your table. I think, it should be:
from_name VARCHAR(200);
from_id INT(10) UNSIGNED;
page TINYINT(3);
amount FLOAT(5, 2);
to_name VARCHAR(200);
time INT(10) UNSIGNED;
type TEXT;
msg TEXT;
to_id INT(10) UNSIGNED;

Thanks for your work smile

569

(11 replies, posted in PunBB 1.2 troubleshooting)

Have you installed any mods that can affect the searching page?

SinfulOne wrote:

I have a problem with validate_manifest function in include/xml.php
It didn't work for me. So i can't install any extensions.

What errors appeared on the manage extensions page?

Thanks for the article! We will investigate the problems in parser.

To do this, you need to join 3 tables: cashlogs and 2 users tables (the first one is needed to get imgaward of the user with from_id, the second one - to get imgaward of the user with to_id). The php code with this sql query will look like:

$result = $db->query('SELECT c.*, u1.imgaward AS award_from, u2.imgaward AS award_to FROM '.$db->prefix.'cashlogs AS c INNER JOIN '.$db->prefix.'users AS u1 ON c.from_id = u1.id INNER JOIN '.$db->prefix.'users AS u2 ON c.to_id = u2.id ORDER BY time DESC LIMIT '.$start_from.', 25') or error('Unable to fetch log info', __FILE__, __LINE__, $db->error());

Now you can get awards of users via array keys 'award_from' and 'award_to'.

NiCk Newman wrote:

Sorry  dont know that kinda of talk, so the query i posted is what you mean right ? {sorry im french}

No. As I posted above, this query will be slow for big amounts of rows in a DB. It will be more efficient if you:

  • Process all fetched topics and collect all last_poster values.

  • Fetch award of last_posters with an SQL-query.

  • Create an associative array where key is a username and values is award.

After this you can use this array to get user's award.

NiCk Newman wrote:
<?php echo "Thanks slovak"; ?>

I'm Slavok smile

574

(3 replies, posted in PunBB 1.3 troubleshooting)

RB wrote:

As you know, this page generates "redirect_url" (hidden input value), which, in my case, could be either 'mysite.com' (if i came from 'mysite.com/[nothing_here_anymore]') or 'mysite.com/punbb/login.php' (if i came from 'mysite.com/[anything_but_punbb_folder]') -- btw, why is that?

What value the redirect_url should have in your situation? The redirect_url is a previous visited page.

575

(6 replies, posted in PunBB 1.3 discussion)

tbint wrote:

The subscribe link is still active. Wonder what they will subscribe to now.

When a user subscribes to some topic, notifications about new posts in that topic will be sent to user's e-mail. This feature is not related with RSS.