Slavok, yes that is exactly what I meant, sorry if I did not make that clear.
1 2009-04-28 13:03
Re: [Request] Support Forum Extension (2 replies, posted in PunBB 1.3 extensions)
2 2009-04-22 20:24
Topic: [Request] Support Forum Extension (2 replies, posted in PunBB 1.3 extensions)
I would like to see a support forum extension for PunBB. Essentially, this would modify the post icon and display either a red or green indicator (flag?) if the issue is resolved or un-resolved. It should be configurable by category or sub-category.
A request has been posted on the wiki.
Thanks!
3 2008-10-30 03:39
Re: Wordpress integration plugin :) (119 replies, posted in PunBB 1.2 modifications, plugins and integrations)
I fixed the problem I was having where when a user would click login to the forums, it would redirect them to the wordpress login and once they logged in there, it would redirect them to the profile. I wanted it to redirect back to the forum.
So here's what I did.
in wp-login.php at line 470
<input type="hidden" name="redirect_to" value="<?php echo attribute_escape($redirect_to); ?>" />
change it to look like this
<?php
if($_SERVER['HTTP_REFERER'] === "your forum address here")
{
?>
<input type="hidden" name="redirect_to" value="<?php echo attribute_escape("your forum address here"); ?>" />
<?php
}else{
?>
<input type="hidden" name="redirect_to" value="<?php echo attribute_escape($redirect_to); ?>" />
<?php
}
?>
So what this will do is say, if you are coming from my forums, once logged in, go back to my forums.
I'm sure there's a more elegant way to do this, but it works for me...at least until I have to update wordpress. Hope this helps someone.
4 2008-10-30 03:18
Re: Super Tight PunBB Integration (I hope)! (13 replies, posted in PunBB 1.2 show off)
It would probably be best if you make a wiki entry for it
5 2008-10-17 22:51
Re: Wordpress integration plugin :) (119 replies, posted in PunBB 1.2 modifications, plugins and integrations)
I'm having a similar problem,I'd like for when a user logs in, to use the wordpress login screen but then re-direct them back to the forums. Right now, when a user clicks the login button, it sends them to the wordpress login page but then once they login, they go into the wordpress dashboard.
6 2008-10-14 17:35
Re: Super Tight PunBB Integration (I hope)! (13 replies, posted in PunBB 1.2 show off)
That looks very good. I would like to know how you got it integrated with your theme.
Thanks!