Discussion in 'Have You Seen...?' started by Mike, Jul 30, 2010.
Wouldn't the code have to be eval()'d?
I guess that depends how it is implemented.
It is fair to say that there is more that goes into it than just writing it...and it was a looong afternoon
It's still an awesome, and unique feature Ashley
This is what I call innovation
Oh, did that come across as detracting from what Kier and Mike do...not on your nelly There is so much more that goes into ~everything~ than just writing it as Kier so modestly puts it
Wow blew my mind away.
Great feature to have for the rules, tos, about the team etc.
Kinda late to this party, but Contact Form 7 for Wordpress is an excellent implementation of a Contact Us form that is very powerful but requires no PHP in the template. It allows the site admin to define popup menus, radio buttons, checkboxes, input boxes, text areas, and file upload fields all with bbCode like tags.
There is already a contact us form as standard on xenForo... it is at http://xenforo.com/community/misc/contact or if you click contact us in the footer it is Ajaxed
This is really handy and very useful.
Will the future include the ability to include a simple comment system for a page?
It will definitely enhance pages and give more control if people can use PHP. I'm sure a way could be implemented as we are in such an early stage of development.
Mike and I are both strongly against being able to enter PHP code directly in the Admin CP, as that would (almost certainly) have to be stored in the database and then executed via evil(), but I'm formulating an idea in my head that would allow a page to make a callback to a PHP class (in an existing or uploaded file) that could be defined on a per-page basis...
Kier you know like how some templating systems have some "whitelist" php functions that you can use in the templating system, maybe you can create a class called xF_Whitelist etc and any function that you want executed directly in the templating system should extend from that class that way it will allow an admin to use PHP in the templating system
/Just an idea
What i saw within the initial presentation is creating custom pages for XenForo will be pretty easy and it can also have all abilities of internal pages.
whether it is intentional or not this is EPIC Kier.
That has 4 fields. Can you add radio buttons, checkboxes, popup menus, etc.? I was not talking about "the contact form on xenForo is limited". I was saying "One of the page types that can be created by xenForo should be a form" and then explaining how this functionality can be added without allowing PHP in page content.
Pretty sure it was intentional.
But then wouldn't they have to write something to parse the 'bbcode' for the form? That could get somewhat complicated quickly...
Meh, I don't really know how I feel about the PHP in template thing... I guess just extending classes with your own functions would work.
I would like to see this functionality definitely but I guess if not could either add an extention to do it or use external comment systems like Disqus.
Its a great feature for static info/content, but still a part of the forum.
I think this is looking fantastic - I like the wiki type layout page and think this overall system will be a great hit.
This is my first post here but I am going to browse around to see if this can do some of the things I have been hoping for about two years vBulletin would have and been neglected so will look around and see if this is going to be our new system
Separate names with a comma.