It looks like you're new here. If you want to get involved, click one of these buttons!
update GDN_UserRole set RoleID=16 where UserID=2;You should now be a forum admin .. visit in your browser to confirm.
update GDN_User set Permissions='arr:{"0":"Garden.Email.Manage","1":"Garden.Settings.Manage","2":"Garden.Routes.Manage","3":"Garden.Messages.Manage","4":"Garden.Applications.Manage","5":"Garden.Plugins.Manage","6":"Garden.Themes.Manage","7":"Garden.SignIn.Allow","8":"Garden.Registration.Manage","9":"Garden.Applicants.Manage","10":"Garden.Roles.Manage","11":"Garden.Users.Add","12":"Garden.Users.Edit","13":"Garden.Users.Delete","14":"Garden.Users.Approve","15":"Garden.Activity.Delete","16":"Vanilla.Settings.Manage","17":"Vanilla.Categories.Manage","18":"Vanilla.Spam.Manage","Vanilla.Discussions.View":["1","2","3"],"Vanilla.Discussions.Add":["1","2","3"],"Vanilla.Discussions.Edit":["1","2","3"],"Vanilla.Discussions.Announce":["1","2","3"],"Vanilla.Discussions.Sink":["1","2","3"],"Vanilla.Discussions.Close":["1","2","3"],"Vanilla.Discussions.Delete":["1","2","3"],"Vanilla.Comments.Add":["1","2","3"],"Vanilla.Comments.Edit":["1","2","3"],"Vanilla.Comments.Delete":["1","2","3"]}' where UserID=2
./design/garden.css4. in the default.master.php (in your vanilla theme named wordpress) load the wordpress template like so:
./design/bckmenu.png
./design/menu.css
./design/conversations.css
./design/profile.css
./design/activity.css
./design/button_bg2.png
./design/reset.css
./design/vanilla.css
./about.php
./views/default.master.php
./views/profile/password.php
<?php include_once( TEMPLATEPATH . '/vanilla_header.php' ); ?>
<?php<br />// PAUL WAS HERE5.1 interesting note .. most people advise to load wp-blog-header.php however this will cause 404 headers if you have friendly permalinks turned on in wordpress (there is even post on this forum asking about this problem)
require_once('../wp-config.php');
$wp->init();
$wp->register_globals();
?>
Comments
Vanilla developer [GitHub, Twitter]
If I had this information two days ago life would have been a lot easier. I have however learnt a fair amount of how themes and views work in garden ...
I'd like to better load wp variables (putting in the index.php is just asking for trouble I reckon)
http://vanillaforums.org/page/PHPMasterView
bummer really .. I'll just have to make a note of it before I upgrade :)
//edit: I plan to go even further and integrate Wordpress comments with Vanilla, so a second addon is inevitable for me anyway.
Vanilla developer [GitHub, Twitter]
code:
./design/garden.css
./design/bckmenu.png
./design/menu.css
./design/conversations.css
./design/profile.css
./design/activity.css
./design/button_bg2.png
./design/reset.css
./design/vanilla.css
./about.php
./views/default.master.php
./views/profile/password.php
I can find some of them, and others i can't. Am i looking hard enough? If not where should i get these files from?
any ideas?
@Wellsy89
Garden has evolved considerably :) .. it could quite well be in a different place.
tail -f /var/log/apache2/error.log
is your friend :)