Use Firefox cool

602

(7 replies, posted in PunBB 1.3 extensions)

Anatoly wrote:

Just read the code of include/cache.php.

Ok, now I know how they cache files are made smile Now, how do I get information from them instead of the DB? sad

Edit: Nevermind, I think I know how.

603

(3 replies, posted in PunBB 1.3 discussion)

My guess is that it could get hard to know whether you got an error or not, as you will be directly redirected.

I don't see a point for the Reply link.

605

(14 replies, posted in PunBB 1.3 extensions)

Did it work?

606

(7 replies, posted in PunBB 1.3 extensions)

Anatoly wrote:

Cache the lists of user_id's for admin/mods/other colored groups.

I don't really know how the cache works or how to add stuff to the cache.

Even better, an extension that creates a "Recycle bin" forum that gets cleaned by command or in a time lapse. Deleted topics are moved to this recycle bin. As for posts, the same could be done, except with a "Recycle bin" topic.

Go to 'Administration > Forums > Edit forums > Edit forum details'?

Wow, Facebook. That's BIG.

You don't have to completely replace it. First, backup your current database. Then, replace the current db with the old one.

Now, open phpMyAdmin, and browse 'punbb_topics'. Now, look for the "id" of this topic you want to undelete. Then, click the checkbox to the left of its id, and then click the small "Export" icon under the topics table. On the next page, click go, then select everything and save it to a text file.

Next, go to 'punbb_posts' and click "SQL" on the tabbed navbar. Now, replace '{ID}' with your topic's id on the following piece of code and paste it on the text area (if your table prefix differs, just change it):

SELECT * FROM `punbb_posts` WHERE `topic_id` = '{ID}'

Now, click "Check All" and export the info and add it to your text file.

After you have the info, restore the new db, go to phpMyAdmin, click "SQL", paste the info from the text file, and click "Go".

That should work.

611

(7 replies, posted in PunBB 1.3 extensions)

I'm currently working on an extension that allows users/groups to have different colors.

The only way I have found to do this so far is:

<hook id="fn_forum_link_end">
    global $forum_url;
    if($link==$forum_url['user'])
    {
        //Get user/group color from DB query
        $gen_link .= '" style="color:#'.$color;
    }
</hook>

Issues

  • Could end up doing too many DB queries

  • Some profile links that are not usernames (like Profile link on navbar) get colored

  • Usernames that do not have links generated by forum_link() function do not get colored

If you know another possible way to do this, post it here. Thanks smile

612

(1 replies, posted in PunBB 1.3 bug reports)

I was on an old PC the other day and noticed this:

http://i247.photobucket.com/albums/gg135/garcia-t/punbb_ff1509.png

Windows XP SP2, Firefox 1.5.09

It doesn't need to be fixed but it'd expand PunBB's cross-browser capability.

613

(2 replies, posted in PunBB 1.3 bug reports)

The Sticky/Closed notice on each topic's title is in the wrong place:
http://i247.photobucket.com/albums/gg135/garcia-t/Capturar.jpg

614

(21 replies, posted in PunBB 1.3 extensions)

It also adds the "Last edited by..." message to the quote.

615

(8 replies, posted in PunBB 1.2 show off)

-J- wrote:

Isn't it too much with all the country flags? Isn't  the load time too long? (I've got big doubts)

Probably because the images are not being cached?

Btw, you're missing Bolivia in South America...

A fast and easy way to integrate Google Analytics into your forum.

You can add your tracker ID on Administration » Settings » Setup

Download Link: http://punbb.informer.com/unofficial/pu … lytics.zip

If you find any bugs or have any tips, please post them here.

Updates

  • 1.0: First release

Thanks smile Then, I'll be moving Quick Links to the bottom of the list smile

618

(11 replies, posted in Fun)

Haha, sorry, should've warned smile

I think PunBB will work.

620

(11 replies, posted in Fun)

Awesome game. http://www.kongregate.com/games/Shinki/ … c-deluxe-2

It'll take some time to load if your internet is slow, but it's worth the wait.

621

(3 replies, posted in Feature requests)

I think the home page is kinda old and needs an update. What do you think?

PS: The "Recent Forum Posts" part of the left sidebar is not using fancy URLs.

622

(14 replies, posted in General discussion)

I don't think allowing users to choose they're own colors would be a good idea... but I could add an admin option to allow them.

Lol, nice link Anatoly.

Yeah, I have already set up a small page like you suggested.

No problem smile Enjoy PunBB

625

(16 replies, posted in Discussions)

ganes wrote:

come on'..which one is serious?
$9,99 monthly? or what?

I was just joking smile