vBulletin Modifications

SQL strings to add new User vb3.0.6

Welcome to vBHackers.com! - vBHackers Updates:

Go Back   vBulletin Modifications > General vBulletin Section > General vBulletin Support

Closed Thread
 
LinkBack Thread Tools
Old 03-07-2006, 11:13 AM   #1
Charter Member
Join Date: Jun 2004
dieRooie is on a distinguished road

Default SQL strings to add new User vb3.0.6

I currently cannot add enw users via my Admin panel due to a server change. I now have php 5.0.5. and mysql 5.0 on the server and vb 3.0.6 does not run well with these. I don't know what the problem is but I need to add two new users to my forum. I want to install them with phpmyadmin directly into the database. I was wondering if anyone knows the exact SQl strings that I need to run to add the user to all tables in the database?

I know joindate is unix time and most other fields are not requiered. I tried to add them, but it seems by attempt is a failure

btw: my new vb 3.5.2 forum is being build, but it will take me a couple of weeks to install it due to custom made hacks.




Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Sponsored Links
Old 03-07-2006, 05:24 PM   #2
Charter Member
Join Date: Jun 2004
dieRooie is on a distinguished road

Default

Ok I'm trying to narrow the problems down. I found that teh code stops working after this line:
$user['options'] = convert_array_to_bits(array_merge($olduserinfo , $options), $_USEROPTIONS);

I had that problem before with other templates and the solutuion there was to add a couple of lines:
$phrasegroups = array(); <-- was already there --> $phrasegroups = array('cpuser', 'forum', 'timezone', 'user');
$specialtemplates = array(); <-- was already there
$globaltemplates = array();
$actiontemplates = array();

Unfortunately this does not help. Anyone with an idea?




Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Old 03-09-2006, 10:28 AM   #3
Charter Member
Join Date: Jun 2004
dieRooie is on a distinguished road

Default

Well found the problem and I changed it. the Array_merge function works different in PHP 5.0
If you experience the same problems please find this line:
You must first be a registered member to view any code.
And replace it with these lines:
You must first be a registered member to view any code.
I think this array_merge problem exists in more templates. But this is the one I found for now.




Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Closed Thread



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
[How To] Add Options per forum Ken Iovino vBulletin Modification Tutorials 10 03-03-2007 03:25 PM


All times are GMT -3. The time now is 09:32 PM.


SEO by vBSEO 3.2.0 ©2008, Crawlability, Inc. (Patent Pending)