![]() |
|
Article Options |
Create Multiple Options Per Forum (via Bitfields)
by
![]() Create Multiple Options Per Forum (via Bitfields) This How-To should serve as a reference to coders, who have a basic knowledge of PHP and who want to make their own mods. Help on writing hacks will NOT be provided, and any such posts will be ignored. Whereever it says mybitoptionsfield, you'll need to replace that with the actual fieldname that you are going to use.
Once done, rebuild your btifields. Now, you should be able to access the new options simply by using $foruminfo['mybitoptiontitle']. >> EOD The following members like this post: mokonzi
Last edited by akanevsky; 22 Jun 2013 at 16:11.. |
||||||||||||||||||||||||||||
Views: 7012
|
Comments |
#2
|
||||
|
||||
Thanks for taking the time to write this up
![]()
__________________
amykhar.com ---------------------------------------- I do not respond to PM requests for coding assistance. No members have liked this post.
|
#3
|
|||
|
|||
Thanks alot Anthony!
/me bookmarks!
__________________
Full Time PHP Developer Please feel free to contact me if you have any paid work to be done. No members have liked this post.
|
#4
|
||||
|
||||
What do you mean by Multiple Options?
No members have liked this post.
|
#5
|
|||
|
|||
Originally Posted by ronoxQ
I mean "two or more options held in a single database field".
__________________
I can no longer support any of my hacks. Please do not contact me for that. Feel free to create and post new versions of my hacks, as long as you give me credit for the original work. No members have liked this post.
|
#6
|
||||
|
||||
Originally Posted by Psionic Vision
Hmm... I'm still a tad confused. What options do forums have?
No members have liked this post.
|
#7
|
|||
|
|||
This tutorial is about creating new options, therefore forums WILL have whatever options you add using this tutorial, given you do it correctly
![]()
__________________
I can no longer support any of my hacks. Please do not contact me for that. Feel free to create and post new versions of my hacks, as long as you give me credit for the original work. No members have liked this post.
|
#8
|
||||
|
||||
it's just giving me sql errors is this for 3.5.x or 3.0.x
No members have liked this post.
Last edited by rogersnm; 25 Jun 2006 at 20:45. Reason: Automerged Doublepost |
#9
|
|||
|
|||
This is for 3.5.x.
__________________
I can no longer support any of my hacks. Please do not contact me for that. Feel free to create and post new versions of my hacks, as long as you give me credit for the original work. No members have liked this post.
|
#10
|
||||
|
||||
i wonder why it doesn't work then.
No members have liked this post.
|
#11
|
|||
|
|||
I don't know, it works for me. I used the steps described above to implement such thing in about 4 of my hacks by now...
__________________
I can no longer support any of my hacks. Please do not contact me for that. Feel free to create and post new versions of my hacks, as long as you give me credit for the original work. No members have liked this post.
|
#12
|
|||
|
|||
I am trying to make a link in the thread tools.
What hooks would I use instead of "forumadmin_edit_form" and "forumadmin_update_save"? No members have liked this post.
|
#13
|
|||
|
|||
I have a question about the bitfield_myproductid.xml file.
When you release a product, can you include this information in the product.xml file? That is, can you put a new child <bitfields ...></bitfields> inside the <product ...></product> element of your installer? or must you have the user place the bitfields xml file in the mysite/includes/xml folder as part of product setup? No members have liked this post.
|
#14
|
|||
|
|||
The XML must be in /includes/xml.
__________________
I can no longer support any of my hacks. Please do not contact me for that. Feel free to create and post new versions of my hacks, as long as you give me credit for the original work. No members have liked this post.
|
#15
|
|||
|
|||
Hi Psionic
Thanks for taking the time do publish this, very useful. No members have liked this post.
|
![]() |
«
Previous Article
|
Next Article
»
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Article Options | |
|
|
New To Site? | Need Help? |
All times are GMT. The time now is 11:42.