Jump to content

DaveW

New Members
  • Posts

    7
  • Joined

  • Last visited

    Never

Profile Information

  • Gender
    Not Telling

DaveW's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. Hmm...i'll look into that. Thanks, i'll let you know how i'm getting on soon. -Dave
  2. I think that's the case for Joomla, but not in Mediawiki or vBulletin. I've managed to get my code to log into VBulletin and i've created a hidden form that should log onto the wiki. I'll try looking at the Joomla API, and asking on their boards. -Dave
  3. Anyone? A way to simulate the post data? I've heard it can be done with Javascript and the cURL library...any help? -Dave
  4. I'll try and keep this concise: I'm trying to write an external login procedure that will synchronize the users of a wiki and a joomla CMS with our current VBulletin users community. So far, i've written some code that can access our database and verify the password. Therefore, i'll assume i can also write the code that checks other data and performs the synchronizations. The problem lies in the actual logging in. VBulletin creates a session in it's database (I'm assuming they all do) via a file login.php, which is attached to a forum button. What i want to do is call this from my code that does the database synchronization, in the order: 1) Confirm pass 2) Sync Wiki with VBulletin (if needed) 3) Sync Joomla with VBulletin (if needed) 4) Create VBulletin session 5) Create Wiki session 6) Create Joomla Session As the VBulletin takes data from $_POST, i really don't know how to change things to make this work. How do i get the data into $_POST and call it from a PHP script, and how do i repeat this 3 times? This is the first time i've written my own code in PHP, so please forgive me if the answer seems obvious. I've searched other posts and tutorials and couldn't find anything, although i wasn't really sure what to search for. Thanks in advance to any help i receive. -David
  5. I had been looking around for ages, but i hadn't found this before. The Mediawiki website is hell to find things on. Thanks guys. -Dave
  6. Thanks so much! We're using the VBulliten and i found some great scripts on that link. Now we're probably about a month ahead of schedule with all that documentation! Honestly, you the man! -Dave
  7. I'm a member of a forum community who, about a month ago, suggested that we could start our own Wiki in order to build a structured database of technical information for the users of the forum, to save visitors trawling through month old posts in order to find info. Anyway, i'm a programmer so i was paired up with a guy who does graphic design and we got to work on a MediaWiki skin in order to make it fit in with the forums. The eventual aim is to drop the mediawiki's username database, and somehow link it up to the forum's username database. Unfortunately i'm not as good with PHP and MySQL as i should be, although i do understand the underlying theories...somewhat. Basically, i have the skills but the not the experience to do this and the fact that the MediaWiki's documentation is all a bit thrown together doesn't really help. What i'm thinking about doing is using the cookies dropped by the forum, and hacking MediaWiki so that it recognises these as loggin data. We've agreed that making people sign up for the forums and the wiki is only going to make things worse, so we really want to add the wiki's functionality right into the forums. Anyone with pointers, ideas, suggestions, i'd really appreciate them all here. I can currently only get access to the schema for the wiki, but i can tell you that the forum only drops an encrypted password and a username in it's cookie. Another possibility is that i make some sort of hook, which automatically adds a user to the wiki's database depending on the information stored in the cookie, but i'd much rather have the simplicity of a single database. Oh, and the final catch: i'd like to do all this without changing any of the forum's code. It might be possible to add a few attributes to the Forum's schema to make it compatible with the wiki, but i'd rather like to avoid having the wiki able to modify the forum's name/password database. I've got experience with Object Oriented and Functional programming languages, along with SQL and relational algebra, so i figured this was something i should be able to pick up pretty fast-i'm not doing too badly so far, but i really need a few pointers on this in order to get me started...thanks in advance for any advice and information. -Dave
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.