Cool, two votes for now works for me. I've started messing around with the idea and seeing what it would really take to get this working again.
This was the very first application I wrote, and it is a complete mess. From the database up, this is go…
There should be a seperate .htacess file, I do believe, since they are folder-based.
I am not tooooo familar with apache and .htaccess, but I am pretty sure you just keep both.
There may be something in your root folder's .htaccess file messing th…
Alright, well throwing it out there then, who would be willing to donate for a community application?
I can't afford to spend time on this right now, as much as I would enjoy it. I haven't worked in weeks, and the going is getting tougher.
Would a…
Just seen this thread, favorited it.
I actually already built this application to an extent, it was for a company, however, and was aimed at a different purpose.
It was for custom products, and allowed users to browse and select images or upload t…
Thanks for that last comment, too, Knowing I can do this for multiple users is extremely useful.
Eventually I would like projects to be based on individuals, and allow for the creators to invite other users, allow public sign-ups, etc.
This type o…
zodiacdm said:
Thanks, It is of type Gdn_ResultSet. I used a standard get function in my model. $Data = $MyModel->Get();
but how do I reference the user name in the view now?
It was $Project->User->Name the way I had it befor…
Thanks, It is of type Gdn_ResultSet. I used a standard get function in my model. $Data = $MyModel->Get();
but how do I reference the user name in the view now?
It was $Project->User->Name the way I had it before. I am studying the user mo…
In the meantime, I have added the following in my controller;
foreach($this->Projects as &$Project) {
$Project->User = Gdn::UserModel()->GetID($Project->InsertUserID);
}
Would there be a benefit to using join over this?
Sorry, yea, kinda dumb question.
Just looking for the most practical way to achieve what I am trying to do here.
I would be making calls for multiple user's names in a 'foreach' statement in a view this way, just seemed like there should be a more…
Yes, thank you @Serg
Sorry guys been really busy lately.
At the time of writing this plugin, I was not sure how to use the configuration for link arrangement.
It seems that almost every list in the core of Garden can be sorted in the config menu,…
Sorry, I've been extremely busy, and since the community had answered the question before I could, I did not bother adding my two sense.
I will be releasing a newer version in the near future that allows administrators to disable / enable all of th…
Don't Forget you can use custom views in your theme.
Just sayin...
I've done this successfully before, just add the fields in the theme's hooks, and the custom views to the theme.
Hmm... No, the method for adding fields to the registration form included in that version does not work.
I had done this before at one point, though it required adding something to the hooks of the theme, and a custom view.
I will be releasing a n…
Ah, I actually didn't know about the overflow trick.
Another solution, though probably not really better, is to give the element after the floating one a
{ clear: both; }
which will do the same thing, though I would rather just add another propert…
well, this is done with some simple css.
The easiest way to modify css is to use a browser that supports code inspection, like google chrome or firefox with the firebug extension.
then you just right click on the object you want to change, and go …
well, what I am trying to do here is rather simple.
I am adding a one-line message to the database.
here is the code I have
Controller function:
public function Text() {
$this->PrepareController();
$this->AddModule(GalleryModule);
$th…
There is a session table in the database now, it stores session attributes if that is what you are trying to access.
I am not sure if this existed in version 2.0.17 or not though...
try searching for textarea#Form_Body or textarea.TextBox
The width and height are most likely set using javascript, not css; though a #min-height: 250px; should do the trick.
Alright, got it now, thanks for the help.
Problem was the post was going to the wrong page since I renamed the file; I was wondering where the redirect was coming from.
Hmm, alright, so I have the data set up to post in $_Request['UserID'], though it appears that simply calling $_Request in the completion script doesn't work.
I have tried using Gdn::Request() though I'm not sure how the function works...
Hmmm
This could probably be done rather easily with javascript, though I am still learning myself, though, it so I can't give you an example of code.
Here is something you may find interesting, though; a jquery plugin for form defaults.
http://w…
Hmm, some food for thought. I had figured out after the post that the script was being called through flash and thus no session or cookies.
I am only a rookie at php, and I have been reading up on jquery, ajax and json, though any attempts to pass …
Well, there are plugins which display the user roles... Haven't tried them but here are two.
http://vanillaforums.org/addon/rolebadges-plugin
http://vanillaforums.org/addon/roletitle-plugin
you could add a new role called 'staff' or 'employee' and …
Gotcha, few pages later I got this...
http://www.phpfreaks.com/forums/index.php?topic=188852.0
Didn't read all of it, but try what the guy suggests at the beginning first and go from there.
Ah, whoops. I must have missed that. I just downloaded it and it's working now.
This changes my plans a bit, then. I had been working on another application, although with different purposes, though I had included similar functionality (not nearly …
Sorry guys, must have missed this when I updated the plugin.
To make fields optional, go to the bottom of default.php and find the "Setup" function. Below this is a list of the tables it creates in the database.
The TRUE and FALSE that you see de…