Vanilla 1 is no longer supported or maintained. If you need a copy, you can get it here.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.

Connecting to Vanilla extenerally? (members page!)

blizeHblizeH ✭✭
edited September 2007 in Vanilla 1.0 Help
Hi guys,

I desperately need to develop a members page thingymebob, and I had originally planned on using the one at the moment and making a few ammendments to suit our needs more, but to be honest I just find it pretty confusing and has a load of code that we won't need so think it'll be easier to start from scratch.

So, I'm wondering... how would I go about getting a seperate file (say, members.php) to connect to the Vanilla database and then I can run my own queries and whatever on there and extract information how I need it?

Many thanks


  • Why not build an extension instead of a controller in a separate file ?
    I don't know/use it, but you could look inside of this stat extension to see how it works.
  • Yeah, I was going to use this but unfortuantely I found it all a bit confusing :P

    Could be good though, since ideally I want to limit the page to viewing just by moderators and admins anyway
  • I can help you modify the Members Page add-on, if you like.
  • Don't forget the reports of the Members Page extension killing performance. No one came up with an answer, but caching was believed to be the solution.
  • Extension killing?! :o

    Many thanks jimw, I'm not really sure what I need changing yet, but the ability to sort by visits/posts would be ace (we're limiting membership to around 25 people; anyone who visits a lot and doesn't post is going to be out basically) and also if only administrators/mods could view it that'd be great.

    But again, not really sure :o
  • Bumpedybump :(
This discussion has been closed.