I am looking a way to show and use Vanilla 2 user data in my pages. Like phpBB3 here phpBB3 Sessions Integration. It would be fantastic if someone could give some tips how to do it.
I have this question, which I'd appreciate if someone can answer me, for a better understanding of vanilla : Ho do you guys handle the unread discussions / posts? I've searched the database and found nothing related ..
My users are experiencing this problem some of the time, but not always:
Sometimes when posting a comment the request is redirected to /garden/home/permission which says "Permission Problem A fatal error occurred while processing the request. The server returned the following response: JKLNDHGFRPJP" However there is no message that says "Couldn't post" or any message, the loading icon just stops. While this might not be a problem, could you elaborate what is happening?
I've been searching and can't find such an add-on. Does one not exist? It would be nice to have different user colors for admins, and possible different colors for male and female. Thanks!
I installed Vanilla 1.1.10 some days ago (for testing purposes) and everything was fine. I removed it from the Server but now I wanted to install it again and what I get is the following:
"Vanilla seems to have been installed already. You will need to remove the conf/settings.php, conf/database.php files, and all database tables in order to run the installer utility again."
So I removed the settings.php and database.php files but what is meant by "all database tables" and where do I find them?
The seceond thing I don`t understand is how "anyone" knows that the sotware had been installed already when the Server is empty and I download the software again.
Excuse my lack of technical understanding and (possibly) bad English, I`d be glad if someone could give me an understandable instruction how to reinstall this software since I`d really like to use ist. ;-)
So I know it should be getUrl(something) and it suppose to generate link like so /forum/people.php?ReturnUrl="current page" but I am not quite sure what it is. Can someone give me a hint?
I've just came across some problem with Model->Save() method. I have a very simple table: (UserId, Name, Surname) with primary key UserId but without auto_increment option on it. Now, when i try to save a model contains some data (1,John,Smith) using Model->Save() nothing hapens. After investigation I figured out what is wrong. The method Save() tests whether it has to insert or update the data. It looks if provided data contains primary key value. If so, then it updates data instead of insert. This causes my problem. I provide the UserId because it is required field and it's not auto_incremented, so Save method always tries to update table record which doesn't exists. Maybe we should use something like this to check whether to insert or update:
Other problem with Save is that, I always get an error UserID is not a valid integer. Even if I add it like this $this->Form->AddHidden('UserID', 1); This is caused also by the Model's Save() method as it removes primary key from data set.
when trying to install v2, when visiting the installation folder i am greeted with a Bonk error page "i purpose that we please add a link on these error pages to display the error details instead of having to edit config files.. the link could say Click to debunk"
after viewing the error details its showing /cache/Smarty/compile' does not exist, or is not a directory. this error occurred on or near library/vendors/Smarty-2.6.25/libs/Smarty.class.php Fatal Error in PHP.ErrorHandler(); library/vendors/Smarty-2.6.25/libs/Smarty.class.php
Line 1113 is highlighted then there is a backtrace /library/core/functions.error.php:132] PHP::include(); /library/core/functions.error.php:132] PHP::ErrorHandler(); /library/vendors/Smarty-2.6.25/libs/Smarty.class.php:1113] PHP::trigger_error(); /library/vendors/Smarty-2.6.25/libs/internals/core.write_compiled_resource.php:20] Smarty->trigger_error(); /library/vendors/Smarty-2.6.25/libs/Smarty.class.php:1451] PHP::smarty_core_write_compiled_resource(); /library/vendors/Smarty-2.6.25/libs/Smarty.class.php:1274] Smarty->_compile_resource(); /library/vendors/Smarty-2.6.25/libs/Smarty.class.php:1126] Smarty->fetch(); /library/core/class.smarty.php:54] Smarty->display(); etc etc etc
any ideas? i have changed the chmods around, made the missing directories and no luck
Just wondering why there is a lack of plugins being created for Vanilla 2? I haven't been on here in a while, but I would have thought more would have been created by now?
I am working a new theme for Vanilla 2. I really like the way Vanilla lets you override files by putting them in directories such as 'views/default.master.php'. I hit a wall, however, when I wanted to NOT import certain JS files such as 'jquery.menu.js'. It appears that this file is included in several controllers. The logical thing to do (I thought) was to put a directory and file in my theme called 'controllers/import.php'. This does not seem to work however.
So my question is: How can I exclude a javascript file from being included, and is it possible to override a controller?
Alright, so I've been looking around quite a bit for any documentation that fully outlines the process of creating my own theme for Vanilla 1.1.10, but I've yet to come across anything comprehensive that can help a new Vanilla user like me.
I'm wondering about the theme part because when I'm in my file manager, all of the template files sit in the root of the themes folder, where the vanilla folder is as well. My logic would have me thinking that these template files would be inside the vanilla folder, which is at the root of the themes folder; that way, if I wanted to create a new theme, I'd just copy the vanilla folder and rename it to whatever and keep it in the themes root as well. But since the template files sit outside of the vanilla folder, what am I to do if I want to create a new theme? I don't want to go playing around with the template files as they are.
I know what I've posted above surely doesn't make any actual sense, but I'm just trying to think things through. Anyways, any help is greatly appreciated.