Support has been upgraded!
The Support Forum is closed. Not to worry! Providing the top quality support you expect and we're known for will continue! We're not ending support, just changing where you submit requests. This will provide you with the best experience possible.
Premium Support
Have you purchased an addon for Connections such as one of our premium templates or extensions with a valid license and you need help?
Please open a Support Ticket in your user account.
Free Support
Are you using the free Connections plugin? Don't worry, you are still very important to us! We are still providing you with the same high quality support that we're known for.
Please open a new support topic in the WordPress support forums for Connections.
- This topic has 18 replies, 2 voices, and was last updated 7 years, 7 months ago by
Steven Zahm.
-
AuthorPosts
-
02/17/2016 at 1:56 pm #365663
jon-2
ParticipantMy client has over 1200 members using the connection plugin. His site has been running extremely slow and hosting said he is using a TON of Virtual Memory (1.5G) vs Physical Memory (1G). Are these too many members for this plugin?
Here is the page:
http://negotiationexpertise.com/mcne-agents/view/all/02/17/2016 at 2:35 pm #365667Steven Zahm
Keymaster@ jon
Showing 1200 entries on a page could be an issue. Though not really a Connections issue. If you tried displaying 1200 WordPress page/post title on a single page that would have the same impact. Maybe even more.
As a test on my host (with a limit of 1200 since I have 30K in my Connections db and all those can not be listed on a single page):
- PHP 5.3.29 takes about 11 seconds to load using 140MB of memory.
- PHP 7.0.3 takes about 2.5 seconds to load using 53MB of memory.
What can you take from that, I guess not to much really because I really have no idea on the impact of virtual memory, not being a server admin. But I do know that a whole host of things can contribute the server resource usage down to how the host is configured to what software version they are using. One example is PHP7 which is far, far, more memory efficient and much faster.
I see you are using Super Cache. It says the page is created in about 10 seconds. Make sure to use a longer cache expiration time, maybe 24 hours, that way the page is only created once a day. That will definitely reduce server resource usage since the page would only be created one a day.
Not sure if that is of any help, hope it is.
02/17/2016 at 6:19 pm #365724jon-2
ParticipantLooking at my current setup, is there anyway to make the plugin work where no listings show up on the primary page and still have the state selections show the listings by name only?
Here is my page code:
Select a state or Province below to find a MCNE certified agent in your area. Experience the benefits that premier negotiation training can bring to your real estate transaction.
<
form class=”cn-form” action=”” method=”get”>
<select class=”cn-category-select cn-enhanced-select” name=”cn-cat” onchange=”this.form.submit()” data-placeholder=”Please Select Your State to Find a MCNE Agent”>
<option value=””>Search by State/Province</option>
<option class=”cn-cat-level-0″ style=”padding-left: 7px !important;” value=”4″>Alabama</option>
<option class=”cn-cat-level-0″ style=”padding-left: 7px !important;” value=”5″>Alaska</option>
<option class=”cn-cat-level-0″ style=”padding-left: 7px !important;” value=”6″>Arizona</option>
<option class=”cn-cat-level-0″ style=”padding-left: 7px !important;” value=”7″>Arkansas</option>
<option class=”cn-cat-level-0″ style=”padding-left: 7px !important;” value=”8″>California</option>
<option class=”cn-cat-level-0″ style=”padding-left: 7px !important;” value=”55″>Canada</option>
<option class=”cn-cat-level-1″ style=”padding-left: 19px !important;” value=”61″>Alberta</option>
<option class=”cn-cat-level-1″ style=”padding-left: 19px !important;” value=”60″>British Columbia</option>
<option class=”cn-cat-level-1″ style=”padding-left: 19px !important;” value=”62″>Manitoba</option>
<option class=”cn-cat-level-1″ style=”padding-left: 19px !important;” value=”58″>New Brunswick</option>
<option class=”cn-cat-level-1″ style=”padding-left: 19px !important;” value=”57″>Nova Scotia</option>
<option class=”cn-cat-level-1″ style=”padding-left: 19px !important;” value=”59″>Ontario</option>
<option class=”cn-cat-level-1″ style=”padding-left: 19px !important;” value=”56″>Prince Edward Island</option>
<option class=”cn-cat-level-0″ style=”padding-left: 7px !important;” value=”54″>Colorado</option>
<option class=”cn-cat-level-0″ style=”padding-left: 7px !important;” value=”9″>Connecticut</option>
<option class=”cn-cat-level-0″ style=”padding-left: 7px !important;” value=”10″>Delaware</option>
<option class=”cn-cat-level-0″ style=”padding-left: 7px !important;” value=”11″>District of Columbia</option>
<option class=”cn-cat-level-0″ style=”padding-left: 7px !important;” value=”12″>Florida</option>
<option class=”cn-cat-level-0″ style=”padding-left: 7px !important;” value=”13″>Georgia</option>
<option class=”cn-cat-level-0″ style=”padding-left: 7px !important;” value=”14″>Hawaii</option>
<option class=”cn-cat-level-0″ style=”padding-left: 7px !important;” value=”15″>Idaho</option>
<option class=”cn-cat-level-0″ style=”padding-left: 7px !important;” value=”16″>Illinois</option>
<option class=”cn-cat-level-0″ style=”padding-left: 7px !important;” value=”17″>Indiana</option>
<option class=”cn-cat-level-0″ style=”padding-left: 7px !important;” value=”18″>Iowa</option>
<option class=”cn-cat-level-0″ style=”padding-left: 7px !important;” value=”19″>Kansas</option>
<option class=”cn-cat-level-0″ style=”padding-left: 7px !important;” value=”20″>Kentucky</option>
<option class=”cn-cat-level-0″ style=”padding-left: 7px !important;” value=”21″>Louisiana</option>
<option class=”cn-cat-level-0″ style=”padding-left: 7px !important;” value=”22″>Maine</option>
<option class=”cn-cat-level-0″ style=”padding-left: 7px !important;” value=”23″>Maryland</option>
<option class=”cn-cat-level-0″ style=”padding-left: 7px !important;” value=”24″>Massachusetts</option>
<option class=”cn-cat-level-0″ style=”padding-left: 7px !important;” value=”25″>Michigan</option>
<option class=”cn-cat-level-0″ style=”padding-left: 7px !important;” value=”26″>Minnesota</option>
<option class=”cn-cat-level-0″ style=”padding-left: 7px !important;” value=”27″>Mississippi</option>
<option class=”cn-cat-level-0″ style=”padding-left: 7px !important;” value=”28″>Missouri</option>
<option class=”cn-cat-level-0″ style=”padding-left: 7px !important;” value=”29″>Montana</option>
<option class=”cn-cat-level-0″ style=”padding-left: 7px !important;” value=”30″>Nebraska</option>
<option class=”cn-cat-level-0″ style=”padding-left: 7px !important;” value=”31″>Nevada</option>
<option class=”cn-cat-level-0″ style=”padding-left: 7px !important;” value=”32″>New Hampshire</option>
<option class=”cn-cat-level-0″ style=”padding-left: 7px !important;” value=”33″>New Jersey</option>
<option class=”cn-cat-level-0″ style=”padding-left: 7px !important;” value=”34″>New Mexico</option>
<option class=”cn-cat-level-0″ style=”padding-left: 7px !important;” value=”35″>New York</option>
<option class=”cn-cat-level-0″ style=”padding-left: 7px !important;” value=”36″>North Carolina</option>
<option class=”cn-cat-level-0″ style=”padding-left: 7px !important;” value=”37″>North Dakota</option>
<option class=”cn-cat-level-0″ style=”padding-left: 7px !important;” value=”38″>Ohio</option>
<option class=”cn-cat-level-0″ style=”padding-left: 7px !important;” value=”39″>Oklahoma</option>
<option class=”cn-cat-level-0″ style=”padding-left: 7px !important;” value=”40″>Oregon</option>
<option class=”cn-cat-level-0″ style=”padding-left: 7px !important;” value=”41″>Pennsylvania</option>
<option class=”cn-cat-level-0″ style=”padding-left: 7px !important;” value=”42″>Rhode Island</option>
<option class=”cn-cat-level-0″ style=”padding-left: 7px !important;” value=”43″>South Carolina</option>
<option class=”cn-cat-level-0″ style=”padding-left: 7px !important;” value=”44″>South Dakota</option>
<option class=”cn-cat-level-0″ style=”padding-left: 7px !important;” value=”45″>Tennessee</option>
<option class=”cn-cat-level-0″ style=”padding-left: 7px !important;” value=”46″>Texas</option>
<option class=”cn-cat-level-0″ style=”padding-left: 7px !important;” value=”1″>Uncategorized</option>
<option class=”cn-cat-level-0″ style=”padding-left: 7px !important;” value=”47″>Utah</option>
<option class=”cn-cat-level-0″ style=”padding-left: 7px !important;” value=”48″>Vermont</option>
<option class=”cn-cat-level-0″ style=”padding-left: 7px !important;” value=”49″>Virginia</option>
<option class=”cn-cat-level-0″ style=”padding-left: 7px !important;” value=”50″>Washington</option>
<option class=”cn-cat-level-0″ style=”padding-left: 7px !important;” value=”51″>West Virginia</option>
<option class=”cn-cat-level-0″ style=”padding-left: 7px !important;” value=”52″>Wisconsin</option>
<option class=”cn-cat-level-0″ style=”padding-left: 7px !important;” value=”53″>Wyoming</option>
</select>[connections page_limit=50 card_width=335 card_height=170]
02/18/2016 at 12:38 am #365738jon-2
ParticipantOkay, just disabled your plugin and now the site runs fast again. I am going to use the tileplus theme. It seems like the best option. Is there anyway to make the top dropdown wider so I can fit my text in?
02/18/2016 at 9:46 am #365769Steven Zahm
Keymaster@ jon
re: is there anyway to make the plugin work where no listings show up on the primary page and still have the state selections show the listings by name only?
Take a look at this, I think that’ll do what you’re asking.
re: disabled your plugin and now the site runs fast again.
How do you mean? There is no impact on page load times except for the page which has Connections on. I do test this by having the most basic shared hosting plan available on Bluehost. You know the one, you can run WordPress on it, but you really shouldn’t. And all pages still load as well as can be expected. Even the page with Connections on it loads just fine, no real noticeable impact. It actually loads quicker than the core posts archive page in WordPress.
re: Is there anyway to make the top dropdown wider so I can fit my text in?
Here’s some custom CSS that’ll force the min width based on the long string placeholder string that is set. Just add it to the theme’s custom CSS area and flush your cache.
#cn-tile-plus select.cn-category-select.cn-enhanced-select { min-width: 320px; }
Speaking of cache…
It seems your cache expiration time is set to something less than 10 minutes based on the info in the page source provided by Super Cache. In the time it has taken me to reply, the page was cached and expired and cached again. On a mostly static site like this you can easily get away with a much longer cache expiration time.
02/18/2016 at 10:16 am #365772jon-2
ParticipantIs there any way to disable the listings on the primary connections page and then display once the user searches using the state dropdown or input search? Thank you for your help on this.
02/18/2016 at 11:19 am #365777Steven Zahm
Keymaster@ jon
I think you might have missed my answer in my previous reply… take a look at this page. I believe that will do what you want.
02/18/2016 at 11:24 am #365778jon-2
ParticipantOh okay, I see the link now. Thank you.
02/19/2016 at 9:37 pm #366032jon-2
ParticipantHello,
I added the snippet plugin and then created a snippet using the script, and added the tag to the connections homepage (http://negotiationexpertise.com/mcne-agents/)
Here is my tag: (I have also tried ‘false’ with or without the ” marks and had no luck either)
[connections page_limit=50 card_width=335 card_height=170 initial_results='true']
02/20/2016 at 10:33 am #366096Steven Zahm
Keymaster@ jon
Generally when this does not work it is for one of the following reasons:
- The was an error introduced when copy/pasting the code for the snippet. Double check the code.
- The snippet was not activated. Make sure you did activate the snippet. This is the most common error. It is saved but not activated.
- There is an error in the shortcode. Make sure you edit shortcodes while in the Text tab of the WordPress editor. Copy/pasting from a webpage while in the Visual editor pastes HTML which breaks the ability of WordPress to properly read the shortcode. My suggestion is to delete the shortcode, switch the editor to the Text tab and then manually type it in again.
I did have an error in the doc, the shortcode option should be
initial_results='false'
. I fixed that. Apologies for that error! -
AuthorPosts
You cannot reply to this support topic. Please open your own support topic.