1

(3 replies, posted in PunBB 1.2 troubleshooting)

that means.

if (user is guset) or (no id isset) or (id does not equal user id)
send them to index.php
exit script

I would not remove it. Without looking at all the code I can't say 100% but things like this are important most of the time.

2

(5 replies, posted in PunBB 1.2 troubleshooting)

I think they have the class tc3 and tc4 or something like that

look in the css and set a width for td.tc3{}

Don't forget on (some) new MySQL setups you have to flush the old passwords because of the hashing algorithm.

more info here: http://dev.mysql.com/doc/refman/5.0/en/old-client.html

4

(114 replies, posted in PunBB 1.2 discussion)

Does 1.3 use the same database structure?

sounds stupid I know but if I install 1.2.10 when/if 1.3 drops can I just replace the files?

5

(2 replies, posted in Feature requests)

When creating a new forum design it is often difficult to get eveything in place because the content is not there.

It would be helpful in the download section of this site if there was a script to generate some example content.

6

(10 replies, posted in Feature requests)

Or you could compress the CSS with this online tool

http://www.cssdrive.com/index.php/main/csscompressor/

then paste it over the old css... saves about 50% depending on how you set it.

I did something like this for my new site

http://punbb.org/forums/viewtopic.php?id=4932

new site.

http://www.themoviesbacklot.com

As you can see the login box is at the top but changes after you login.

8

(9 replies, posted in PunBB 1.2 discussion)

You would have to check so much stuff.

Usernames, post id's, post times etc etc.

9

(3 replies, posted in PunBB 1.2 troubleshooting)

Thanks for that.

PunBB is like that smart arse kid that has an answer to everything.

10

(5 replies, posted in PunBB 1.2 show off)

Thanks

11

(5 replies, posted in PunBB 1.2 show off)

Hi All,

I recently updated a website using PunBB and it is the best script i have ever used. It works so good I moved everything to to.

http://www.themoviesbacklot.com/forums/index.php

It also has site integration smile

12

(3 replies, posted in PunBB 1.2 troubleshooting)

How do i change it so once a user as clicked a new message it no longer shows as new?

I am having some trouble finding the $page_title var.

I need to edit it so it uses a | instead of /

can anyone tell me what file it's in, thanks

14

(26 replies, posted in PunBB 1.2 discussion)

PunBB is a great project so any work you do is greatly appreciated.

15

(4 replies, posted in PunBB 1.2 troubleshooting)

And thats why we love him... In a manly way *drinks beer and farts*

http://fantomaster.com/fantomNews/archi … or-update/

Google Web Accelerator (GWA) IP range, namely: 72.14.194.0 - 72.14.194.255

You can block this with your .htaccess file

Google is crap now, they have moved into so many new things that people download because it's Google but there not very good at any of it.

Why make an app that clicks all the links and ignores javascript warnings... how dumb is that.

anyway, here is fix

class ApplicationController < ActionController::Base
  before_filter :disable_link_prefetching

  private
    def disable_link_prefetching
      if request.env["HTTP_X_MOZ"] == "prefetch" 
        logger.debug "prefetch detected: sending 403 Forbidden" 
        render_nothing "403 Forbidden" 
        return false
      end
    end
end

http://david.backpackit.com/pub/37983

It looks like you got it working now.

Nice site BTW

19

(2 replies, posted in Programming)

That sounds better. something like $lang['name'], I do this with my config settings so I think it could work. Thanks

20

(2 replies, posted in Programming)

I have started work on a CMS and I want it to be able to use many languages like any other product.

But how do you create these?

The best way i can think is use define() and do something like define("lang_Delete", "Delete", true); and then call "lang_delete" when i need it.

Does this make sense, if anyone has a better idea please post.

21

(1 replies, posted in PunBB 1.2 troubleshooting)

Sorry about that, I got it now.

I changed this part in /header.php (line 37)

// Load the template
if (defined('PUN_ADMIN_CONSOLE'))
    $tpl_main = file_get_contents(PUN_ROOT.'include/template/admin.tpl');
else if (defined('PUN_HELP'))
    $tpl_main = file_get_contents(PUN_ROOT.'include/template/help.tpl');
else if (defined('PUN_REGISTER'))
    $tpl_main = file_get_contents(PUN_ROOT.'include/template/register.tpl');
else
    $tpl_main = file_get_contents(PUN_ROOT.'include/template/main.tpl');

And added

// Tell header.php to use the register template
define('PUN_REGISTER', 1);

To line 25 of /register.php

-------------

Thanks for making it so easy to edit, I love this script.

22

(1 replies, posted in PunBB 1.2 troubleshooting)

How could I create a new template in /include/template/ for the register script.

What part of the script do I need to edit so instead of using main.tpl it would use register.tpl

Thank You.

I'm in the Zen Garden, but my work does not show up becoz i changed servers and lost my CSS file.. I think Dave has it but i should get onto that.

As for this forum it is the best around, period. With some mods (like PM and PunPoll) is kicks PHPBB's ass.

The only thing i don't like is all the tabs used in the mark-up, makes ugly code and is hard to edit.

24

(1 replies, posted in PunBB 1.2 troubleshooting)

Sorry, i've got it now. I removed some CSS thinking it was junk... my mistake

25

(1 replies, posted in PunBB 1.2 troubleshooting)

http://chrisrobins.com/forum_odd.gif

It is under the user info but i can't find the style for it. It is #333333 background-color but i don't have that set an any of my styles?