Welcome Guest, Not a member yet? Register   Sign In
Implementing PHPBB Forum Integration...
#1

[eluser]kb1ibh[/eluser]
I'm struggling with a project i'm working on, and i want to see if someone has a more elegant solution than i can come up with.

In order to maintain a session when implimenting the phpBB system into a codeigniter project, you've got to append a GET variable to the end of every URL, otherwise the phpBB library is incapable of keeping track of the session, and effectively logs the user out...

the problem is, I've got a number of URL's in my views which are either relative, static, or use site_url(), and its those links which im having an issue with...

is there any elegant solution to modify ALL url's in a view?

i've contemplated possibly extending the view loader to allow modifying them, but i dont want to go to so much trouble if there's a better way of going about it

ETA: perhaps i can just implement a new helper, similar to a url helper who's purpose is simply to append a single get variable to every view, then just rewrite every view to include that...




Theme © iAndrew 2016 - Forum software by © MyBB