101

(4 replies, posted in PunBB 1.2 show off)

Nothing special.

A few differences from the standard PunBB.... did have rewrite installed but it was pain in the arse.
Also a few selected mods installed.

HackYour.INFO - Forum

As always... Thanks goes out to people creating the mods. wink

My mistake. I thought it was outside a post...

If you change the img tag globally then it will change all images on your site to that size. sad

103

(18 replies, posted in PunBB 1.2 discussion)

Easy question... Yes/No answer... Can give reasoning if you like... big_smile

Will you use 1.2 at all when 1.3 is released?

104

(3 replies, posted in Programming)

Does anyone use this META tag below?

<META name="Revisit-After" content="X Days">

If not, anyone advise using it or not using it? and im guessing it has no priorty over your sitemap with the key engines.

If all the flags are the same size then add the following to the img tag.

width="12px" height="12px"

This should fix the problem.

I have a simliar problem. When my page loads and the img is not loaded it creates a weird shape on my site because the image is much smaller than the default IE no image icon. Setting width and height fixed this problem. big_smile

106

(1,382 replies, posted in General discussion)

Running

107

(5 replies, posted in Programming)

Check Admin - Options - Registration... then switch "Email Verify registrations" to off. wink

Smartys wrote:
Cherry wrote:

I just found this: http://punbb.org/forums/viewtopic.php?id=18132

Does that mean you * can't* rewrite the urls in v.1.2* ?

sad

No, it means that 1.3 comes with systems for working with alternative URL schemes built in. If you want to modify PunBB to add rewriting of certain links, you can, that's all done via Apache/mod_rewrite. However, you'll find that you'll also need to change all of the links in PunBB if you want to stay consistent. And that is easier said than done.

FACT! As I found out... tongue

1.2 and rewrite is not ideal... If anyone has done it 100% cleanly... they should of released it. sad

109

(5 replies, posted in Programming)

lie2815 wrote:

I guess the id is missing...

Correct! big_smile

User error on my part... sad

110

(5 replies, posted in Programming)

Ok... I have been at work all night (not working on this problem though tongue) and this is starting to annoy me now.

I have this bit of code...

$result = $db->query('SELECT subject FROM '.$db->prefix.'topics WHERE id='.$id) or error('Unable to fetch topic subject', __FILE__, __LINE__, $db->error());

When a topic has been deleted it gives me the "unable to fetch topic subject" error instead of the normal "message(Bad request)" error.

Come on, someone point out the obvious for me... please....

111

(20 replies, posted in PunBB 1.3 troubleshooting)

Smartys wrote:

StevenBullen: Just a quick question, are you sure PunDemo is updated to the newest revision? It seems to be missing revisions that are almost a month old.

Correct. Its weird because I did monitor it for a few days to make sure latest updates was happening. I will take a look in the morning and fix the problem. Plus add this to it at the same time. wink

112

(20 replies, posted in PunBB 1.3 troubleshooting)

Smartys wrote:

StevenBullen: Could you edit header.php (I guess ideally from your POV via an extension) to change the meta description to append the site's description to the end of the meta description tag?

Ok will do. Will come back with results... Could be a few days, waiting for google. tongue

Benny wrote:

The PunRes not updated long time.. there are no stable projects of Res for pun?

That dont even make sense to me but what the hell.

What do you expect from PunRes?
Plus it is really off-topic as he was asking for PunBB styles which is what PunRes offers among other things. Maybe you should put your opinion about PunRes over at the PunRes site and not a normal topic at PunBB asking a question. I think you will find the next big update at PunRes will be a great improvement on the service they will offer.

114

(20 replies, posted in PunBB 1.3 troubleshooting)

I did bring this up before... but cant find the topic. sad

basically if you look at this... Googled demo.pundemo.org

You get the following underneath the main link...
24 Feb 2008 ... Skip to forum content. Powered by PunBB. Live Demo PunBB 1.3. Updated with latest revision every 6 hours. ...

The "Skip to forum content" is nearly on every result which is annoying and not ideal. Even the "Powered by PunBB" is annoying.
Anyway... Im sure someone said this will not happen upon release.
Any update on this?

115

(2 replies, posted in PunBB 1.2 troubleshooting)

Change this

else {
    echo "Logged in as: ".pun_htmlspecialchars($pun_user['username'])."<br> Last visit: ". format_time($pun_user['last_visit'])."<br>Click <a href=\"./forum/login.php?action=out&id=".$pun_user['id']."\">Log out</a>";
}

to this

else {
    echo "Logged in as: ".pun_htmlspecialchars($pun_user['username'])."<br /> Last visit: ". format_time($pun_user['last_visit'])."<br />Click <a href=\"./forum/login.php?action=out&id=".$pun_user['id']."&csrf_token=".sha1($pun_user['id'].sha1(get_remote_address()))."\">Log out</a>";
}

I have added this

&csrf_token=".sha1($pun_user['id'].sha1(get_remote_address()))."

which is a change made in 1.2.17.

Smartys: I downloaded the latest 1.2.17 and it has the above code. But if you browse the code on trac it calls pun_hash? instead of sha1? Seems wrong to me.
EDIT: Ok smartys ignore the above comment. wink 1.2.17 was released over a month ago and your changeset is dated a month ago. So it will be in 1.2.18. tongue

Pinky1954 wrote:

Done - often reading is an advantage .....

Many others need to read this... tongue

Hey paul is it a large markup commit coming. big_smile

118

(3 replies, posted in PunBB 1.2 troubleshooting)

Is this a fresh forum?

If not... Be warned that previous users would have been defaulted to Oxygen up until the time you changed the Default in admin to Crystalblue. Hope that makes sense. If fresh forum then it dont matter.

119

(2 replies, posted in PunBB 1.2 troubleshooting)

Go to this page... http://punbb.org/downloads.php

Look down the page for "Administration plugins" and then download the "User Management" plugin. wink

Some nice plugins on that page. big_smile

120

(42 replies, posted in PunBB 1.2 show off)

Smartys wrote:

svn update merges in changes, it doesn't overwrite them. The worst case is you have a conflict, which would result in a parse error.
The easiest fix would be to define PUN_TURN_OFF_MAINT in include/essentials.php

Cheers I will sort that this evening. smile

What like this... PunRes Styles

122

(42 replies, posted in PunBB 1.2 show off)

Mark wrote:

disable the maint mode button ?

Disabling maint is not a problem...

But it is automated, so if I change the code to disable it and PunBB change the code on that page it will go back to normal. Im after a way of disabling it automatically (i.e. after the new svn gets transferred/updated).

123

(42 replies, posted in PunBB 1.2 show off)

Smartys & Co.
Any ideas how I can make it impossible for people to put the forum in "Maintenance mode". Because the SVN is updated automatically and the DB is reset regularly.

This evening I will change the DB reset to less time which will fix it in the mean while.

124

(3 replies, posted in PunBB 1.2 discussion)

I thought the default was just a darker colour. What style you using?

You could check the following mod...
Edit Post Date/Time

Hope it helps. smile