The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#31
|
|||
|
|||
Can someone explain how the namespaces on vbulletin and mediawiki usernames are different? What would cause a collision?
arn |
#32
|
||||
|
||||
bump!
[high]* GrendelKhan{TSU hopes there is still interest in this. [/high] |
#33
|
|||
|
|||
I've been trying to use this code to integrate a wiki and vbulletin.
There's a mistake in the initUser function... note the database query isn't correct. I fixed it here: HTML Code:
function initUser( &$user ) { $vb_find_user_query = "SELECT email FROM user WHERE LOWER(username)=LOWER('" . addslashes($user->mName) . "')"; $vb_find_result = mysql_query($vb_find_user_query, $this->vb_database); if(mysql_num_rows($vb_find_result) == 1) { $vb_user_info = mysql_fetch_array($vb_find_result); $user->mEmail = $vb_user_info['email']; } else { // ERROR? } } So, it seems the "_" underscore is the one of the forbidden chars in mediawiki.... so might cause some collision issues with vb's user database. still working on this to see how to best resolve these issues. arn |
#34
|
||||
|
||||
Quote:
<<< keeps fingers crossed. |
#35
|
||||
|
||||
I have been trying to work this out for 3.5 as well, i will post any of my results here.
|
#36
|
|||
|
|||
Ya, the namespace is a problem... One way around it is to limit the vb name space... you want to make sure there are no spaces etc... i just do it in the vbulletin register.php file in vb...
--- Another point: Not sure what the error was in the original code, BUT even after using the code by weeno, i get this error the FIRST time a user logs in (with the correct password) Quote:
the user is actually created, but this error still comes up... not sure why... the user can then login.. i am isung mediawiki 1.5 and vb 3.5... Thx. Quote:
|
#37
|
|||
|
|||
im goign to give this a go over the weekend on a test setup, hopefulyl it will work ok
|
#38
|
|||
|
|||
|
#39
|
|||
|
|||
Quote:
howzit workin so far? you gonna release a hack for the rest of us? |
#40
|
||||
|
||||
Quote:
or you just teasin us? . lol looks good though!! (mouth waters) pushing my luck: if you do release it....is it going to phrased? that is a huge point for many (me!) |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|