Quote:
Originally Posted by setishock
Gallery3 is a far superior version to use. I use it on my site for all the picture goodies. But as for integration, I've had no luck. If you get it to work I'd really like to see it.
|
I would love to use Gallery3, but I need users to be able to upload images to it flawlessly. There are a few older people on the forum, some not so computer savvy. Having them sign up for both would just be a support nightmare
--------------- Added [DATE]1335874190[/DATE] at [TIME]1335874190[/TIME] ---------------
Quote:
Originally Posted by kh99
At the end, instead of the eval(print_output(... line, try:
Code:
$templater = vB_Template::create('gallery2');
$templater->register_page_templates();
$templater->register('bodyHtml', $data['bodyHtml']);
print_output($templater->render());
and then in the gallery2 template, change $data[bodyHtml] to {vb:raw bodyHtml}
|
Thanks! That got rid of the internal server error. It seems to manhandle the gallery though and completely removes all the formatting from it. I'm trying to read up on vB_Template to see if I can figure that out...
Then I imagine the other problem I will still have (that I found earlier with using the vb3 method, but didn't mention) is when I upload a photo through it, it gives me a message about the missing security token. Looks like this isn't going to be as easy as I thought.