Jump to content
DevFuse Forums

export template sand database fields


Sacred

Recommended Posts

hey mike

 

i've just updated my iFont mod

 

it created new database fields in members table ( 9 Fields)

 

and it also create one new template inside skin_ucp

 

now i ave no idea who to export these fields and templates ..also its not a hook as it doesnot need / create a new file .. so how do i do it!

 

My mod just need some template edits and file edits!

Link to comment
Share on other sites

  • Management

So it's an application? You'll need to have a file in the admin/application_addon/other/{app_name}/setup/versions/install/sql/ called {app_name}_mysql_tables.php

 

Good example is admin/applications/members/setup/versions/install/sql/members_mysql_tables.php. You don't need to place anything for the database prefix as IPB3 will add that during the installer, if any.

Link to comment
Share on other sites

:'(

 

how can i add data base fields and templates into a hook while it does not need or creates a file!

 

to create new hook you need to Add at least one file!

 

but my mod does not do that!

Link to comment
Share on other sites

  • Management

:'(

 

how can i add data base fields and templates into a hook while it does not need or creates a file!

 

to create new hook you need to Add at least one file!

 

but my mod does not do that!

 

Yeah, hopefully they fix that next version. I just hook have a random template bit.

Link to comment
Share on other sites

  • Management

guys on IM stold me to create an empty file then remove it from the XML! lol

not a good way of doing things but it should work!

 

lol, if it works, who cares. I'm just hoping IPS fix these developer short falls next version.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...