Tagged: bl_my_listings, manage listings, profile
- This topic has 10 replies, 2 voices, and was last updated 10 years, 3 months ago by BePro Software Team.
-
AuthorPosts
-
January 9, 2015 at 2:39 pm #3949philmayMember
ok, I am using 2 shortcodes on one page to manage property listing submissions,
[bl_my_listings] and [create_listing_form bl_form_id=”3″]for some reason I can not figure out, [bl_my_listings] completely breaks the page. absolutely nothing displays when the shortcode is used anywhere on the page unless an admin is viewing the page.
this is the code on the page, notice the shortcodes are in a VC tab element:
[vc_row][vc_column][vc_tabs][vc_tab title="My Properties" tab_id="1420564181-1-42"][vc_column_text][bl_my_listings][/vc_column_text][/vc_tab][vc_tab title="Add A Property" tab_id="1420564181-2-92"][vc_column_text][create_listing_form bl_form_id="3"][/vc_column_text][/vc_tab][/vc_tabs][/vc_column][/vc_row]
Admin viewing page:
Displays CorrectlyNon-admin viewing page (VIP Business Account):
Displays IncorrectlyWhen I remove [bl_my_listings] the rest of the page displays properly, including the Add Listing tab that contains [create_listing_form bl_form_id=”3″]
January 9, 2015 at 3:09 pm #3950philmayMemberok, so the problem is that if the user has no existing properties, the shortcode breaks the page. If i add a property to the user in question, the page displays properly. This wont really work, can you make the shortcode just display without a property?
I even tried to put the shortcode on the page outside of the tab element, in its own separate area and it still causes the ENTIRE page not to display
January 10, 2015 at 12:02 am #3954BePro Software TeamKeymasterHi,
Thanks for alerting us to this issue. We will investigate
___
BePro Software TeamJanuary 21, 2015 at 4:41 pm #4083philmayMemberany luck on this?
January 22, 2015 at 8:50 am #4091BePro Software TeamKeymasterWe released a fix. Are you still experiencing the issue?
___
BePro Software TeamJanuary 22, 2015 at 9:38 am #4093philmayMemberyes I am still experiencing the same problem.
January 22, 2015 at 11:22 pm #4100BePro Software TeamKeymasterHi,
In that case, maybe there is a misunderstanding. The feature is “My Listings”. So you cant see other peoples listings; whether you are admin or not. So to clarify, if a user did not create any listings, or had one assigned to them, they will not see any listings on their “My Listings” page.
If you look at bepro_listings/templates/list.php you will see an IF/Else declaration. We either show the listings or show a table with no listings. Unfortunately, we have no idea why that would break your template. Does the issue persist with the VC elements removed?
___
BePro Software TeamJanuary 23, 2015 at 9:15 am #4103philmayMemberyes, that is the crazy thing. it does not show the empty table at all even without vc elements.
January 23, 2015 at 1:18 pm #4106BePro Software TeamKeymasterhmm,
Can you test with some var_dump/print_r declarations to see if the program is actually engaging the IF/ELSE statement? Put one in the if statement and one in the else statement. If neither is printing, that would help us to diagnose whats possibly preventing the empty table from showing.
___
BePro Software TeamJanuary 23, 2015 at 1:53 pm #4107philmayMemberhmm, that is something i am not even sure how to do.
what file are the statements in
January 24, 2015 at 12:30 am #4110BePro Software TeamKeymasterHi,
The file is bepro_listings/templates/list.php
However, maybe we can try something different. Does the issue persist with one of the stock wordpress themes (twentytwelve, twentythirteen, etc). Also, try deactivating every plugin no created by our BePro Software Team.
This approach should help us to isolate the plugin/theme that’s causing this conflict.
___
BePro Software Team -
AuthorPosts
- You must be logged in to reply to this topic.