[Skip to main content](#vessel-content)

#   Simple MYSQL database addition.

##

- **[rijndersCMS](/forum/user/6961-rijnderscms "View rijndersCMS's Profile")**
- [![rijndersCMS's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/6961-rijnderscms "View rijndersCMS's Profile") Topic Author
- [ Offline](/forum/user/6961-rijnderscms)

Less More

- Posts: 11
- Thank you received: 0
-
-

13 years 11 months ago [\#80737](#80737) by [rijndersCMS](/forum/user/6961-rijnderscms "View rijndersCMS's Profile")  *[Simple MYSQL database addition.](/forum/15-general-talk-about-hikaserial/76486-simple-mysql-database-addition#80737 "On my website, it is possible to collect rewards by doing activities on the website.  Case scenario: 1. You vote on a website. 2. You get to pick a reward on the website. 3. The reward gets added to a mysql database. 4. You can collect the reward on the game.  What i need: 1. You buy an item in the shop. 2. The item gets added to the mysql database. (by an ID number + player name) 3. You can collect the item in game.  If i buy Hikaserial, can i get any support adding this? I will provide the php files from the case scenario, which should make it fairly easy.")* was created by *[rijndersCMS](/forum/user/6961-rijnderscms "View rijndersCMS's Profile")*

On my website, it is possible to collect rewards by doing activities on the website.

Case scenario:
1. You vote on a website.
2. You get to pick a reward on the website.
3. The reward gets added to a mysql database.
4. You can collect the reward on the game.

What i need:
1. You buy an item in the shop.
2. The item gets added to the mysql database. (by an ID number + player name)
3. You can collect the item in game.

If i buy Hikaserial, can i get any support adding this?
I will provide the php files from the case scenario, which should make it fairly easy.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzE1LWdlbmVyYWwtdGFsay1hYm91dC1oaWthc2VyaWFsLzc2NDg2LXNpbXBsZS1teXNxbC1kYXRhYmFzZS1hZGRpdGlvbj90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Jerome](/forum/user/80-jerome "View Jerome's Profile")**
- [![Jerome's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar80.png)](/forum/user/80-jerome "View Jerome's Profile")
- [ Offline](/forum/user/80-jerome)
- HikaShop core developer

Less More

- Posts: 26402
- Thank you received: 4081
-
- [](http://obsi.dev)
-

13 years 11 months ago [\#80767](#80767) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Simple MYSQL database addition.](/forum/15-general-talk-about-hikaserial/76486-simple-mysql-database-addition#80767 "On my website, it is possible to collect rewards by doing activities on the website.  Case scenario: 1. You vote on a website. 2. You get to pick a reward on the website. 3. The reward gets added to a mysql database. 4. You can collect the reward on the game.  What i need: 1. You buy an item in the shop. 2. The item gets added to the mysql database. (by an ID number + player name) 3. You can collect the item in game.  If i buy Hikaserial, can i get any support adding this? I will provide the php files from the case scenario, which should make it fairly easy.")*

Hi,

In which table do you want to add this data ?
It is possible thanks to a custom generator plugin to generate serials with your format "ID number + player name".
The basic process would store this data directly in an hikaserial table. It would be possible for the generator plugin to manually insert the data into another table.

With more information we would be able to give you more help for your project.

Regards,

---

Jerome - Obsidev.com
HikaMarket &amp; HikaSerial developer / HikaShop core dev team.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzE1LWdlbmVyYWwtdGFsay1hYm91dC1oaWthc2VyaWFsLzc2NDg2LXNpbXBsZS1teXNxbC1kYXRhYmFzZS1hZGRpdGlvbj90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[rijndersCMS](/forum/user/6961-rijnderscms "View rijndersCMS's Profile")**
- [![rijndersCMS's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/6961-rijnderscms "View rijndersCMS's Profile") Topic Author
- [ Offline](/forum/user/6961-rijnderscms)

Less More

- Posts: 11
- Thank you received: 0
-
-

13 years 11 months ago [\#81449](#81449) by [rijndersCMS](/forum/user/6961-rijnderscms "View rijndersCMS's Profile")  Replied by *[rijndersCMS](/forum/user/6961-rijnderscms "View rijndersCMS's Profile")* on topic *[Simple MYSQL database addition.](/forum/15-general-talk-about-hikaserial/76486-simple-mysql-database-addition#81449 "On my website, it is possible to collect rewards by doing activities on the website.  Case scenario: 1. You vote on a website. 2. You get to pick a reward on the website. 3. The reward gets added to a mysql database. 4. You can collect the reward on the game.  What i need: 1. You buy an item in the shop. 2. The item gets added to the mysql database. (by an ID number + player name) 3. You can collect the item in game.  If i buy Hikaserial, can i get any support adding this? I will provide the php files from the case scenario, which should make it fairly easy.")*

I will upload the files i am using for my voting system.

you can test my voting system here:
[ home.rijnderscms.nl/vote.html](http://home.rijnderscms.nl/vote.html)

Here are the voting PHP and mysql files:
[ play.rijnderscms.nl/downloads/myvote.zip](http://play.rijnderscms.nl/downloads/myvote.zip)

Once you are hosting the PHP files, and you go 2 the website the first time,
it will make you set up the MYSQl DATABASE.
If it asks for an GTL toplist password just enter something random.

Also in the voting system in the end, it will ask you to enter your name in my game,
i would also like this to be added to the checkout, so it adds the name to the database.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzE1LWdlbmVyYWwtdGFsay1hYm91dC1oaWthc2VyaWFsLzc2NDg2LXNpbXBsZS1teXNxbC1kYXRhYmFzZS1hZGRpdGlvbj90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Jerome](/forum/user/80-jerome "View Jerome's Profile")**
- [![Jerome's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar80.png)](/forum/user/80-jerome "View Jerome's Profile")
- [ Offline](/forum/user/80-jerome)
- HikaShop core developer

Less More

- Posts: 26402
- Thank you received: 4081
-
- [](http://obsi.dev)
-

13 years 11 months ago [\#81730](#81730) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Simple MYSQL database addition.](/forum/15-general-talk-about-hikaserial/76486-simple-mysql-database-addition#81730 "On my website, it is possible to collect rewards by doing activities on the website.  Case scenario: 1. You vote on a website. 2. You get to pick a reward on the website. 3. The reward gets added to a mysql database. 4. You can collect the reward on the game.  What i need: 1. You buy an item in the shop. 2. The item gets added to the mysql database. (by an ID number + player name) 3. You can collect the item in game.  If i buy Hikaserial, can i get any support adding this? I will provide the php files from the case scenario, which should make it fairly easy.")*

Hi,

I still don't understand nothing on what you want to do.
HikaSerial is a unique data generator for HikaShop. You can create generator plugin which could do a lot of things during the generation like, adding some data in another tables.
But HikaSerial has been design to work with HikaShop triggers (thanks to the bridge plugin "hikashop serials").

After that, the other checkout process are HikaShop integration, not HikaSerial.

Regards,

---

Jerome - Obsidev.com
HikaMarket &amp; HikaSerial developer / HikaShop core dev team.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzE1LWdlbmVyYWwtdGFsay1hYm91dC1oaWthc2VyaWFsLzc2NDg2LXNpbXBsZS1teXNxbC1kYXRhYmFzZS1hZGRpdGlvbj90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[rijndersCMS](/forum/user/6961-rijnderscms "View rijndersCMS's Profile")**
- [![rijndersCMS's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/6961-rijnderscms "View rijndersCMS's Profile") Topic Author
- [ Offline](/forum/user/6961-rijnderscms)

Less More

- Posts: 11
- Thank you received: 0
-
-

13 years 11 months ago [\#81957](#81957) by [rijndersCMS](/forum/user/6961-rijnderscms "View rijndersCMS's Profile")  Replied by *[rijndersCMS](/forum/user/6961-rijnderscms "View rijndersCMS's Profile")* on topic *[Simple MYSQL database addition.](/forum/15-general-talk-about-hikaserial/76486-simple-mysql-database-addition#81957 "On my website, it is possible to collect rewards by doing activities on the website.  Case scenario: 1. You vote on a website. 2. You get to pick a reward on the website. 3. The reward gets added to a mysql database. 4. You can collect the reward on the game.  What i need: 1. You buy an item in the shop. 2. The item gets added to the mysql database. (by an ID number + player name) 3. You can collect the item in game.  If i buy Hikaserial, can i get any support adding this? I will provide the php files from the case scenario, which should make it fairly easy.")*

I want it to add data in a new table, the product ID + a filled in extra field.
That's all.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzE1LWdlbmVyYWwtdGFsay1hYm91dC1oaWthc2VyaWFsLzc2NDg2LXNpbXBsZS1teXNxbC1kYXRhYmFzZS1hZGRpdGlvbj90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Jerome](/forum/user/80-jerome "View Jerome's Profile")**
- [![Jerome's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar80.png)](/forum/user/80-jerome "View Jerome's Profile")
- [ Offline](/forum/user/80-jerome)
- HikaShop core developer

Less More

- Posts: 26402
- Thank you received: 4081
-
- [](http://obsi.dev)
-

13 years 11 months ago [\#81959](#81959) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Simple MYSQL database addition.](/forum/15-general-talk-about-hikaserial/76486-simple-mysql-database-addition#81959 "On my website, it is possible to collect rewards by doing activities on the website.  Case scenario: 1. You vote on a website. 2. You get to pick a reward on the website. 3. The reward gets added to a mysql database. 4. You can collect the reward on the game.  What i need: 1. You buy an item in the shop. 2. The item gets added to the mysql database. (by an ID number + player name) 3. You can collect the item in game.  If i buy Hikaserial, can i get any support adding this? I will provide the php files from the case scenario, which should make it fairly easy.")*

Hi,

So the best solution is to implement a little custom plugin which would trigger the event onAfterOrderUpdate in order to check the order confirmation, load the full order, check all products in the order and add the data in your specific table.

Regards,

---

Jerome - Obsidev.com
HikaMarket &amp; HikaSerial developer / HikaShop core dev team.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzE1LWdlbmVyYWwtdGFsay1hYm91dC1oaWthc2VyaWFsLzc2NDg2LXNpbXBsZS1teXNxbC1kYXRhYmFzZS1hZGRpdGlvbj90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

Board Categories HikaShop Install &amp; Update Product &amp; Category Display Content Creation Sales and Orders Orders management Reports &amp; Statistics Customers Checkout Payment Methods Shipping Methods Import &amp; Export (CSV, XLS…) Specific Features Affilation Taxes Wishlist Vote Carousel &amp; Slider Mass Actions Filters &amp; Search Discount &amp; Coupon Feature Request Integrations Showcase General Talk about HikaShop Development HikaShop 3.0 Beta Translation Commercial Jobs HikaShop Components HikaMarket Market: Feature requests Market: How to? Market: Bug Report HikaSerial General talk about HikaSerial Serial: Bug Report Serial: How to? Support en Français de HikaSerial (French Support) HikaSubscription HikaAuction Auction: Feature requests Auction: How to? Auction: Bug report Hikashop around the world Support en Français (French Support) Russian FAQ. Курс выживания с Hikashop. Частые вопросы и о Расширения Hikashop Наши сайты на Hikashop 日本語版サポート(Japanese Support) Thai German Archives Bug Report How to?

Moderators: [Obsidev](/forum/user/7040-obsidev "View Obsidev's Profile")

[](/forum/topics/feed/mode-topics?format=feed&type=rss)

Time to create page: 0.071 seconds

[Powered by](/forum/credits) [Kunena Forum](https://www.kunena.org)
