Register Members List Search Today's Posts Mark Forums Read

Reply
 
Thread Tools
  #16  
Old 20 Oct 2015, 05:00
Replicant's Avatar
Replicant Replicant is offline
 
Join Date: Sep 2014
Real name: Mel
VB5 datbase entry into a non-vb table

Create the following directory structure in your product directory


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Create a file called querydefs.php in the mysql directory, adjust column names as needed


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

This is the code to do the insert. You will need to set the variables appropriately. These variables worked in my test. I tested it in the createcontent.php frontend controller in the createNewNode() function.


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

That's pretty much it. Any table you want to write to that is not in the vb querydefs file, has to have an entry in your product query defs file for the api to work. You can also put named queries in the querydefs file and call them with assertQuery().
__________________
VB5 mods - RepliClock VB4 mods - Member Online Status
Reply With Quote
  #17  
Old 28 Oct 2015, 14:00
ndoktoruser ndoktoruser is offline
 
Join Date: Aug 2015
Hello Replicant, sorry for the long time with no reply, but I've tried it and it works fine!
Thank you for the help!

Soon I will edit the initial post and add the last state of all files.
Reply With Quote
Reply



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


New To Site? Need Help?

All times are GMT. The time now is 00:45.

Layout Options | Width: Wide Color: