Loren Posted January 6, 2017 Posted January 6, 2017 Thanks can you have a look at this also? Error: Call to undefined method IPS\tutorials\Article::item() (0) #0 [internal function]: IPS\Theme\class_tutorials_front_browse->tutorialHover(Object(IPS\tutorials\Article)) #1 /home/xxxxx/domains/domain.org/public_html/forums/system/Theme/SandboxedTemplate.php(57): call_user_func_array(Array, Array) #2 /home/xxxxx/domains/domain.org/public_html/forums/applications/tutorials/modules/front/tutorials/view.php(104): IPS\Theme\_SandboxedTemplate->__call('tutorialHover', Array) #3 /home/xxxxx/domains/domain.org/public_html/forums/system/Dispatcher/Controller.php(96): IPS\tutorials\modules\front\tutorials\_view->manage() #4 /home/xxxxx/domains/domain.org/public_html/forums/system/Content/Controller.php(51): IPS\Dispatcher\_Controller->execute() #5 /home/xxxxx/domains/domain.org/public_html/forums/applications/tutorials/modules/front/tutorials/view.php(53): IPS\Content\_Controller->execute() #6 /home/xxxxx/domains/domain.org/public_html/forums/system/Dispatcher/Dispatcher.php(129): IPS\tutorials\modules\front\tutorials\_view->execute() #7 /home/xxxxx/domains/domain.org/public_html/forums/index.php(13): IPS\_Dispatcher->run() #8 {main} Many thanks!
Loren Posted January 6, 2017 Posted January 6, 2017 I sent you ACP access in a PM. Errors are in the system log. They happen everyday just from people viewing the tutorials (as far as I can tell). Thanks!
Adriano Faria Posted January 6, 2017 Author Posted January 6, 2017 (edited) I think I know what is. Probably is the Ajax title edit/tutorial preview on link hover. This was incremented in core and should be in conflict with my implementation. Edited January 6, 2017 by Adriano Faria
Loren Posted January 7, 2017 Posted January 7, 2017 13 hours ago, Adriano Faria said: I think I know what is. Probably is the Ajax title edit/tutorial preview on link hover. This was incremented in core and should be in conflict with my implementation. Great! I would love to get rid of 1 plus pages of errors each day. Thank you!
jair101 Posted January 12, 2017 Posted January 12, 2017 Hi Adriano, Just purchased this, can you help me with rebuilding the stuff from 3.4? I see in the translation strings that there should be some tool to convert tutorials from 3.4, but I cannot find it. When I go to tools in settings I see this: Am I supposed to run this tool and why the description isn't visible?
Adriano Faria Posted January 12, 2017 Author Posted January 12, 2017 (edited) Weird. The lang bits are there. Yes, run this tool. Nope... missing lang bits. Fixed in the next version. Edited January 12, 2017 by Adriano Faria
jair101 Posted January 12, 2017 Posted January 12, 2017 Lightning fast reply Ok, I did, there is still some background tasks running, I just installed it on the test board, so its in the queue. I will let you know if there are some issues. Adriano Faria 1
Adriano Faria Posted January 12, 2017 Author Posted January 12, 2017 Yeap, wait for the tasks to finish then run this tool.
jair101 Posted January 14, 2017 Posted January 14, 2017 No issues after running the tool it seems. My multipage tutorials were converted to single page, but I guess it is ok, this multipage thing was turning in to nightmare.
jair101 Posted January 14, 2017 Posted January 14, 2017 Hi Adriano, I am having some issues with untraslatable strings. No matter how I try (visual language editor, admin interface, manually editiing the xml), I cannot translate the following lines: Most of them are not an issue as they are admin strings, but the top one "Select a category" appears when using the "Create" menu and it is pretty important. I suspect the problem comes from the fact that the same key exist in core. Is it possible to change the language strings in a next version so they are unique, like put tut_ in front of them? I am sure this bug within IPS, but right now I am still on demo board and you know they refuse to help with demo boards...
Adriano Faria Posted January 14, 2017 Author Posted January 14, 2017 Yes, that was my first app and we hadn't much documentation about it at the time. I already deleted a few (like perm_*) in next version. Will check those. If you can make a list, I'll provide a .php file so you run and will delete duplicates.
jair101 Posted January 14, 2017 Posted January 14, 2017 Here are the untranslatable ones: select_category perm__reply perm__add perm__read perm__view c_forum_on comments category_display settings edit_category add_category And these had no english phrases too, they are just a key: tutorial_title downloads_category_select a_auto_follow
Adriano Faria Posted January 14, 2017 Author Posted January 14, 2017 Just now, jair101 said: Here are the untranslatable ones: Ok. I'll make a php file and will send you via PM, today later or tomorrow. jair101 1
jair101 Posted January 17, 2017 Posted January 17, 2017 Hi Adriano, I just noticed that the settings for discussion topic and forum have not been transferred from 3.4 upgrade. Not sure if it is intentional, I have about 40 categories, so its not a biggie to change them manually, but maybe something to look at. Also want to remind you about the php file, I can wait few weeks if you plan on overall update though.
Adriano Faria Posted January 17, 2017 Author Posted January 17, 2017 4 minutes ago, jair101 said: Hi Adriano, I just noticed that the settings for discussion topic and forum have not been transferred from 3.4 upgrade. Not sure if it is intentional, I have about 40 categories, so its not a biggie to change them manually, but maybe something to look at. You mean settings indeed of per category forums tab? 5 minutes ago, jair101 said: Also want to remind you about the php file, I can wait few weeks if you plan on overall update though. I can send to fix a few of them but it will require edits in php files too, so a new version is required.
Adriano Faria Posted January 17, 2017 Author Posted January 17, 2017 (edited) That obviously was imported from 3.4 version. I had no problem with them on my live board. I have +/- 50 cats. Same table. Same columns. I made the update for a few users here as well. What issues do you have? Edited January 17, 2017 by Adriano Faria
jair101 Posted January 18, 2017 Posted January 18, 2017 It is just that discussion topics per category were not transferred. If it is ok on other boards don't bother as I am still on a test board, when the live upgrade is done it might be ok. I have to clean up these discussion topics anyway.
Allegheny Posted January 28, 2017 Posted January 28, 2017 I just purchased tutorials and did a clean install and noticed that in the ACP under group permissions that there are options under the Gallery tab to submit and read Tutorials. These options also show up under the Tutorials tab. Is this a bug or am I missing something?
Adriano Faria Posted January 28, 2017 Author Posted January 28, 2017 Repeated language bit. Fixed in next version. Should be released in a week or so.
Adriano Faria Posted January 28, 2017 Author Posted January 28, 2017 7 hours ago, Allegheny said: did a clean install and noticed that in the ACP under group permissions that there are options under the Gallery tab to submit and read Tutorials. These options also show up under the Tutorials tab. On 27/10/2016 at 8:37 AM, Adriano Faria said: Working on a new version. Among other things, it will have a tutorial image: - Per category setting: A new landing page will be used as index (a setting too) to list tutorials images in blocks. No ETA at this time. This year, for sure. Plus, you will be able to choose an image from the attachments of the tutorial to be the tutorial image: Compatibility with IPS 4.1.17 (Quick Tag Edit): Simon Woods 1
jair101 Posted January 28, 2017 Posted January 28, 2017 Quick question. Is the "Contributor" type badge not available in 4.x for tutorials? Not very critical for me, but I am not sure if it isnt a clash with some more postbit plugins I am using. AlexJ 1
Adriano Faria Posted January 28, 2017 Author Posted January 28, 2017 For those who submitted tutorials? No, I haven't added this on IPS4 version? Is it necessary? Inwill sens you a PM to talk about issues you have found. AlexJ 1
jair101 Posted January 28, 2017 Posted January 28, 2017 Just now, Adriano Faria said: For those who submitted tutorials? No, I haven't added this on IPS4 version? Is it necessary? Inwill sens you a PM to talk about issues you have found. Nah, not really necessary, I probably would have removed it as the area was getting cluttered with other things. I guess its not important for others too if I am the first one noticing it is missing
Recommended Posts