![]() |
Using widget on CMS vBulletin Hi, sometimes but not always, we have an error on or cms page : Code: Content visible to verified customers only.First : Code: Content visible to verified customers only.Code: Content visible to verified customers only.Code: Content visible to verified customers only.Regards, Olivier |
First off this is not a bug or something that we provide product support for. Your not having a problem with our default application. Your telling me your using mod's hacks whatever you want to call them and your having issues. I will tell you that you can not use hacks multiple times when they have functions within them because you can not redeclare a function that is already the same name in previous code which is the heart of your issue. So basically your issue is your using someone's work in an incorrect way which is causing your problem. If you want to replicate and have multiple blocks that all use specific functions you must do one of two things. Rename any references to function names to something specific in any secondary or third code blocks or remove the function blocks in the second and third code blocks that is in question so you are not redeclaring it. That will problally point you in the right direction for your hacking mistake. |
Quote:
in fact i already removed before the code Code: Content visible to verified customers only.Logical but i just realize now my mistake. Regards, Olivier |
Yes whatever widget is first has to have the function and the rest do not. |
Another way to look at this also is you can load any functions outside of any specific widget by creating a global cms plugin in vbulletin which loads all the functions your using and loads anytime the cms is accessed. That is the beauty of the vb plugin system. That way you can create any widget you want without actually including the functions and create this issue trying to replicate the same thing over and over. ;) |
| All times are GMT -5. The time now is 04:27 PM. |
Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0