Cu3er Implementation

Permalink
Hi everyone,

I'm C5'ing a template I purchased from themeforest. It's going well but I'm having trouble with the Cu3er slideshow on my homepage.

Can anyone walk me through how to get this working in C5? It doesn't need to be editable through C5 - I can coach the user on where to upload the images. Thanks.

Aaron

 
pvernaglia replied on at Permalink Reply
pvernaglia
I have Cu3er running, I used an iframe block and pointed it to the demo.html file in the cu3er directory. It works fine, so I never bothered to put any more effort into embedding it into the theme.
Mnkras replied on at Permalink Reply
Mnkras
take a look at piecemaker gallery in the MP does exactly what you want
Pritam replied on at Permalink Reply
"Can anyone walk me through how to get this working in C5? It doesn't need to be editable through C5 - I can coach the user on where to upload the images. Thanks. Aaron"

I would suggest you to go to this thread, this is discussed thoroughly in this thread.

http://www.concrete5.org/community/forums/customizing_c5/how_to_aut...

Note: this specifically discusses about embedding the auto_nav block within the template, however this can be applied to any blocks.

Hope this helps !! ;)
thephilm replied on at Permalink Best Answer Reply
thephilm
http://www.concrete5.org/marketplace/addons/cu3er-slideshow/

Integrated add-on!!!
Mnkras replied on at Permalink Reply
Mnkras
cool didn't know it was approved :3
sebastienj replied on at Permalink Reply
sebastienj
Hello,

Is strange to know that it is in a template because the licence is really strict...:
* SWF containing CU3ER may not be embedded as part of a template, application, and/or web site where stated template, application, and/or web site is re-sold and/or re-distributed for independent use by third parties, without specific prior written permission.
* SWFs containing CU3ER may not be embedded in a template, content management system, and / or online web service in a manner where the SWF is replicated and used as a slideshow viewer for photos contributed by more than one party.
* CU3ER may not be sub-licensed or resold.
* You agree not to decompile, reverse engineer, disassemble, or otherwise determine or attempt to determine source code for the executable code of CU3ER, and agrees not to permit or authorize anyone else to do so.
* CU3ER redistribution must reproduce the above copyright notice, this list of conditions and the disclaimer in the documentation and/or other materials provided with the distribution.
* Neither the name of CU3ER nor the name of it contributor (Stefan Kovac) may be used to endorse or promote products associated with CU3ER without specific prior written permission.
elyon replied on at Permalink Reply
elyon
Yeah, exactly. Did they provide written permission to distribute this add-on?
ThemeGoodness replied on at Permalink Reply
ThemeGoodness
They actually just created this new license. It used to be free to use in any template reason so many themeforest templates use it. Prior to changing it they posted in the themeforest author forums that the change was being implemented so a rush to make more templates with this thing came flooding through before the change was made. Not sure about the addon here however. I did download it the other day thinking it might be the only time I could. =p
Pritam replied on at Permalink Reply
Was just trying this block however, after uploading the images and adding the block I kept getting this error message

"Warning: file_get_contents(/robertovierapackages/cu3er/blocks/cu3er/descriptionTemplate.xml) [function.file-get-contents]: failed to open stream: No such file or directory in D:\Applications\xampp\htdocs\robertoviera\packages\cu3er\blocks\cu3er\controller.php on line 378

Warning: file_get_contents(/robertovierapackages/cu3er/blocks/cu3er/configTemplate.xml) [function.file-get-contents]: failed to open stream: No such file or directory in D:\Applications\xampp\htdocs\robertoviera\packages\cu3er\blocks\cu3er\controller.php on line 380
{"aID":"57","arHandle":"slideshow","cID":"62","error":fals


I wonder why in the above error message it shows the file path as /robertovierapackages

This is the dir structure where Cu3er package is installed

D:\Applications\xampp\htdocs\robertoviera\packages\cu3er\blocks\cu3er
Arismoon replied on at Permalink Reply
Arismoon
I had the same issue. I ended up hardcoding the full path because when I would try to change the DIR_REL path in the config/site.php file, the entire site would not function.

For my specific situation I guess its because I am running the site on a shared server (typical hosting) and so based on my url DIR_REL is blank ('') but the path cu3er is looking for is based off of that variable and thus wrong since my files are located at like /home/name/somethingelse for instance.

I don't think it would be a problem running from localhost or a dedicated server.

Hope this helps.
Pritam replied on at Permalink Reply
@arismoon thanks for sharing your work around , I tried installing this on the server and tried downloading this package from the dashboard, the install went sucessful.

However, this time when trying to add this block I kept getting these error messages:

Warning: file_get_contents(/packages/cu3er/blocks/cu3er/buttonTemplate.xml) [function.file-get-contents]: failed to open stream: No such file or directory in /home/godizus/public_html/xtreamdimension.com/packages/cu3er/blocks/cu3er/controller.php on line 379

Warning: file_get_contents(/packages/cu3er/blocks/cu3er/descriptionTemplate.xml) [function.file-get-contents]: failed to open stream: No such file or directory in /home/godizus/public_html/xtreamdimension.com/packages/cu3er/blocks/cu3er/controller.php on line 381

Warning: file_get_contents(/packages/cu3er/blocks/cu3er/configTemplate.xml) [function.file-get-contents]: failed to open stream: No such file or directory in /home/godizus/public_html/xtreamdimension.com/packages/cu3er/blocks/cu3er/controller.php on line 383
{"aID":"23","arHandle":"Header Nav","cID":"1","error":false,"bID":"107"}


Hope to hear whats causing this error.
natalie replied on at Permalink Reply
I'm having the exact same problem as your "second" set of error messages.

i.e.:

Warning: file_get_contents(/newsite2010/packages/cu3er/blocks/cu3er/descriptionTemplate.xml) [function.file-get-contents]: failed to open stream: No such file or directory in /home/nnpro/public_html/newsite2010/packages/cu3er/blocks/cu3er/controller.php on line 381

Warning: file_get_contents(/newsite2010/packages/cu3er/blocks/cu3er/configTemplate.xml) [function.file-get-contents]: failed to open stream: No such file or directory in /home/nnpro/public_html/newsite2010/packages/cu3er/blocks/cu3er/controller.php on line 383
{"aID":"11","arHandle":"Main","cID":"1","error":false,"b
jb1 replied on at Permalink Reply
jb1
Hi guys,
I've just updated the package in the marketplace to fix this problem. It was affecting servers that didn't allow the PHP 'file_get_contents' function due to security restrictions. The new version (1.1.4) will work fine for you.

JB
Kiesel replied on at Permalink Reply
Hi

I add the suggestion to use DIR_BASE instead of BASE_URL in the controller.php, function pathfromfileid, 5th line, so you don't need "url_fopen" activated on the server - which is a potential security risk and deactivated on many servers.
dirtycatgraphics replied on at Permalink Reply
And where can i find the package?
jb1 replied on at Permalink Reply
jb1
http://www.concrete5.org/marketplace/addons/cu3er-slideshow/

Also check out c5extras.com.
jcwilliams5 replied on at Permalink Reply
I'm trying to use this add on and I'm not sure how to make it fit into my desired block. Whenever I add it is is super huge and I try to adjust the px in the edit box and that makes no difference.