oh i forgot to thank you guys so thank you!
1 2011-07-13 03:22
Re: how can i edit the php code in an extension (3 replies, posted in PunBB 1.3 discussion)
2 2011-07-07 13:50
Topic: how can i edit the php code in an extension (3 replies, posted in PunBB 1.3 discussion)
without having to uninstall it first?
3 2010-06-11 22:12
Re: Bypassing Security Tokens on Custom Forms (3 replies, posted in PunBB 1.3 troubleshooting)
Use
define('FORUM_DISABLE_CSRF_CONFIRM', 1);
See wiki...
<3 you to death.
4 2010-06-09 21:40
Re: extern.php invalid code (5 replies, posted in PunBB 1.3 bug reports)
PunBB breaks all the rules B)
5 2010-06-09 21:26
Re: Bypassing Security Tokens on Custom Forms (3 replies, posted in PunBB 1.3 troubleshooting)
2 day bump :*(
6 2010-06-07 22:33
Topic: Bypassing Security Tokens on Custom Forms (3 replies, posted in PunBB 1.3 troubleshooting)
I've been adding my own apps to PunBB (assuming that's OK) and usually use:
if (!defined('FORUM_ROOT'))
define('FORUM_ROOT', './../');
require FORUM_ROOT.'include/common.php';
to get the user data and stuff.
When common.php is included and I try to submit information using a form, I get this annoying little thing from the PunBB forum:
Unable to confirm security token. A likely cause for this is that some time passed between when you first entered the page and when you submitted a form or clicked a link. If that is the case and you would like to continue with your action, please click the Confirm button. Otherwise, you should click the Cancel button to return to where you were.
I need a way to bypass it. I tried looking at PunBB source code for examples on how to properly generate the csrf token but can't get it to work.
Help?
edit: excuse me if it's in the wrong forum.
7 2010-04-17 00:04
Re: Explain: a:1:{s:7:"Username";i:5;} (2 replies, posted in PunBB 1.3 additions)
Ohh, serialize! Never seen that function before
Table: punbb_forums
Field: moderators
But I figured it out now. Thanks.
8 2010-04-15 23:08
Topic: Explain: a:1:{s:7:"Username";i:5;} (2 replies, posted in PunBB 1.3 additions)
In the database, this syntax is used to hold which users hold moderator powers over the forums
OK so,
a:1 is the number of moderators.
Then the username in quotes.
And i:5 is the ID.
But what does s:7 represent?
9 2010-04-13 01:45
Re: Making my own forum pages with the headers and footers. (3 replies, posted in PunBB 1.3 additions)
Haha, yeah I guess I kinda figured that out. Thanks for the reply.
10 2010-03-27 22:03
Re: Making my own forum pages with the headers and footers. (3 replies, posted in PunBB 1.3 additions)
Bump :*(
11 2010-03-15 03:42
Topic: Making my own forum pages with the headers and footers. (3 replies, posted in PunBB 1.3 additions)
Is what I want to do.
I know some PHP and a bunch of other languages, but I just don't understand how PunBB uses output buffering and those odd str_replace's.
Can some provide me with a template with a spot put my PHP code? In fact, any light on this topic would be very much appreciated.
12 2010-03-10 22:23
Re: Set Cron Job Forums is proudly powered by PunBB :) (5 replies, posted in PunBB show off)
Dude, I love you. I was too incomplete and/or I couldn't find a resource to help me to set up a desperately needed Cron Job for my site. Then at this moment I stumbled on this topic. You're website is a godsend to me. Thank you.