Sidebar as a vBulletin 4.x Widget for CMS?
Not being a coder I believe every request is easy and can be done in 30 seconds...right? So here goes:
How would I go about created a widget for my vB 4 CMS out of the PhotoPost Sidebar? Since the index page of the PhotoPost page itself has all the same information at the bottom, the sidebar there is a bit redundant. However, it would be a GREAT addon for the CMS Front Page.
Since you have PHP Direct Execution and Static HTML widget templates is this as easy as cutting and pasting the contents of some existing PHP file?
No it is not that simple because template html and those variables come from queries defined in our code through the use of functions. Your CMS is not going to know that data
You would actually need to WRITE a hack to import as a plugin in vbulletin to query and define all that data and the html to render it.
You can look at our files for examples of how to do it but remember vb4 requires things to be defined and called a certain way so you definately need to make vb4 compatible hacks.
So then asking if you could also make new photo uploads appear under the What's New? search button would also be difficult? :-)
I will just wait, someone on vb.org will do it eventually.
Well any of that stuff would be a hack. The vbulletin code is not going to check for stuff outside its own programming. ;)
Thats the whole reason they created the plugin system so people who wanted to create there own mods for stuff can do so.
|All times are GMT -5. The time now is 06:23 PM.|
Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0