vBulletin Mods

The Official vBulletin Modifications Site
https://www.vbulletin.org/forum/showthread.php?t=328081

Inserting into DB from custom page
by Dr.CustUmz
07 Jun 2020 07:25

So I am trying to insert data into the DB via the default vB pages. I have created a simple custom page


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

and on this page I am trying to add a If post add to the DB

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

although I am having trouble getting that data to insert. I have also created a separate php file which has no issues inserting the data:

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

I just wanted to incorporate this into into the main system so I'm already connected to the database. Is there a way to do this? I have looked at other core files that do this and I thought I had everything I needed to do this, but apparently not.

shka 07 Jun 2020 08:29

Quote:

Originally Posted by Dr.CustUmz (Post 2603226)

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

Single quote username

Dr.CustUmz 07 Jun 2020 10:29

nice catch, changed them to varibles anyway and solved this =)


All times are GMT. The time now is 16:50.

Powered by vBulletin® Version 3.8.14
Copyright © 2021, MH Sub I, LLC dba vBulletin. All Rights Reserved. vBulletin® is a registered trademark of MH Sub I, LLC
Copyright ©2001 - , vbulletin.org. All rights reserved.