Forum Replies Created
-
AuthorPosts
-
November 21, 2014 at 10:11 am #5278
sepidpooy
ParticipantScott,
Thanks for your reply. Yes, WPML basically create two English and Spanish homepages. The Slider works fine on English one. But it does not work in the Spanish. My understanding is that the javascript is not functional. Because then I inject mentioned CSS codes at least it shows an Slide which is freezed.
August 8, 2014 at 4:29 pm #4977sepidpooy
ParticipantI think I found the bug fix. It was due to custom functions that I had implemented in the function.php.
August 7, 2014 at 8:54 pm #4974sepidpooy
ParticipantI did disable all the plug-ins and the issue is still remaining in other part of the site which does require to check for user access permission.
This is not a conflict with a plug-in, this is an issue with theme.
As I said everything works fine with wordpress default theme.
February 6, 2014 at 1:21 am #4335sepidpooy
ParticipantI have deleted wp-content/upload/export/cbox-theme directory and then everything works fine. Is seems the theme was not able to update dynamic.css files within this directory since it was created with read only permissions.
February 5, 2014 at 11:14 pm #4332sepidpooy
ParticipantThanks @ScottVoth
I am use both browsers and cleaned my cache. Recently, I have modified Joyride functionality as we discussed last time here
I am going to double check my code which adds some Joyride. Please let me know if you think it has nothing to do with joyride.
I will disable additional plug-ins to see if it change.
Thanks
January 27, 2014 at 3:58 pm #4307January 26, 2014 at 8:37 pm #4304sepidpooy
ParticipantI am not using child theme.
January 26, 2014 at 12:21 pm #4301sepidpooy
Participant@bowe Thanks for your interest. It would be a pleasure to do something in return of your favor. However, I am sure you are not interested on the way I implemented it now. I have moved all tooltips from activity page to the main group page. Therefore, in my case there is no tour in the activity case. I need to fix that first and then send it for you.
I have one question for you which might help me a lot to find a solution:
You said you have also made an additional tour for Members page before. How did you add new starting point of the tour in the template-items.php?
I have realized that the a tour can be started from only one starting point (page element). Therefore, I changed the starting point from an element in the activity page into an element ID in the group home page. As a result, my activity page does not have any tour any more.
Thanks
-
This reply was modified 10 years, 7 months ago by
sepidpooy.
January 26, 2014 at 12:58 am #4292sepidpooy
ParticipantI manage to enable the joyride engine in the Group Home and fix the problem by changing this function
function cbox_theme_buddypress_tour()
{
if ( bp_is_activity_component() && !bp_is_user() && is_user_logged_i
infinity_feature( ‘cbox-buddypress-tour’ );
}into this one:
function cbox_theme_buddypress_tour()
{
if (( bp_is_group() || bp_is_activity_component() ) && !bp_is_user() && is_user_logged_i
infinity_feature( ‘cbox-buddypress-tour’ );
}January 26, 2014 at 12:22 am #4291sepidpooy
ParticipantI have investigated more and find out that joyride engine is not started in the Group Home page. As I said before, the start joyride code is located in
cbox-theme/engine/extensions/features/scripts/joyride/template.php
How can I make sure this php file is executed with the Group Home page ?
January 25, 2014 at 11:47 pm #4290sepidpooy
ParticipantHi @scottvoth
Thanks for your reply. Here is the result of my discovery and where exactly I stuck
- The joyride tour is working only on the activity page
- The joyride tooltips are defined and hooked to activity page elements in the following file: cbox-theme/engine/extensions/features/bp/tour/template-items.php
- The tooltips details including message is defined in: cbox-theme/engine/extensions/features/bp/tour/options.ini
- The joyride engine has been started in the following php file: cbox-theme/engine/extensions/features/scripts/joyride/template.php
I have defined new tooltip on the activity page by adding tooltip code hooked to a activity page element. Basically I modified template-item.php and it works file. However, if I hook the tooltip code to an element in the Group main page, the tooltip does not show up.
Does anybody knows why the joyride only work on the activity page ?
-
This reply was modified 10 years, 7 months ago by
-
AuthorPosts