Forum Replies Created
-
Author
-
mbfitParticipant
Hi thanks, apologies for my lack of knowing, I don’t know what to do with that 🙂
mbfitParticipantHi it goes to a blank page when I do a member search location age etc to this url result don’t know what helps so I’ll just show everything:
http://www.sexualaffinity.com/members/?field_3=Man&field_6=Woman&field_17=Toronto&field_2=21&field_2_to=39&bs=+homepage didn’t go to blank which usually does on first log in for me, I had cleared my history etc before logging in. A friend tried on different browsers and homepage comes up blank.
I copied the code trying two locations not in child theme:
/**
* Change BuddyPress default Members landing tab.
*/
define(‘BP_DEFAULT_COMPONENT’, ‘profile’ );
define(‘WP_MEMORY_LIMIT’, ‘256M’); (I put here to try)/* That’s all, stop editing! Happy blogging. */
define(‘WP_MEMORY_LIMIT’, ‘256M’); (and I put here try)
Log error still shows this line still
[22-May-2017 17:31:14 UTC] PHP Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 64 bytes) in /home3/sexualaf/public_html/wp-includes/wp-db.php on line 1841
mbfitParticipantSorry I don’t where this came from but it is not a part of my post:
Normal
0false
false
falseEN-CA
X-NONE
X-NONEMicrosoftInternetExplorer4
mbfitParticipantYes thank you that worked.
There is one last one which is related to the Quick Profile Navigation button. When scrolling through the back arrow button is still blue. I attached an image.
Thanks!!
Attachments:
You must be logged in to view attached files.mbfitParticipantHi Laura, ok everything is done except for the BLUE HOVER jpeg above which is on the PROFILE page navigation between ACTIVITY>PROFILE>>>>to SETTINGS
THANKS!
mbfitParticipantHi Laura,
yes on image BLUE-HOVER which is the members page the links between Activity to Settings all turn blue still, also the quick profile nav arrow is blue.
Thanks!
mbfitParticipantHi Laura thank you I will try it out tonight. With the drop down actually I was just curious what it does because for me when I click on it, it doesn’t do anything
mbfitParticipantActually I stand corrected, I went to POF and they’re the same, textarea for city as opposed to drop down.
So a general question, if I where to add in individually states and provinces I suppose there is no way that if one where to select say Canada it will populate the provinces only for Canada in the next drop down before a city textarea?
I’m going to assume a developer will be needed if I want anything specific in that regard?
mbfitParticipantHello I have done that and all is still the same. I have a drop down country field which populates and if I understand correctly the selection for city incorporates a text field? This is a rather big oversight, as no sites really does this anymore, there is always a drop down selection for countries, cities etc.
Will this ever be updated?mbfitParticipantHi Laura, so I’m still not sure what to do. I created an account at Geonames. From there I saw zipfiles I can download such as allcities.zip etc.
I did not see anything as far as activating an account? Other then creating the account.As far as part on the Dash:
Geonames username
This field is required for the service to work. Get one from geonames.org and enable the free service from your account _________________what would I put there?
Thanks
mbfitParticipantI think this is ok, we’ve adjusted it a bit so that everything has been looking better on various size screens.
mbfitParticipantHello, I wanted to ask when inputting words in the Slider, it responds differently with different screen sizes (on different computers). An example is some words don’t fit on screen. Is there a setting that makes it dynamic to different screen sizes that I missed?
I put an example. On my larger screens the words fit.Thanks.
Attachments:
You must be logged in to view attached files.mbfitParticipantHello. I know that’s there but nothing comes up.
City autocompleteEnable or disable City autocomplete based on Country field
Your City profile Field Type must be set as Text Box
This uses http://geonames.org APII have click to on.
Geonames usernameThis field is required for the service to work. Get one from geonames.org and enable the free service from your account
That I left empty and I’m wondering if that is what I need to input? When I go there I’m pretty clueless as what to do.
Then after there are these:
City fieldSelect which is your City field that will autocomplete.
Which I select City in the drop down.Country fieldSelect you Country field. Based on this, the City field will populate.
If you do not have one, set the Country Code bellow.
Again I select Country but there is no issue here with selecting Countries as it already has a list to choose from.Then the last one I leave blank:
Country CodeIf you don’t have a Country field then set here the ISO-3166 alpha2 code of you Country for which you want to enable the autocomplete.
http://www.geonames.org/countries/mbfitParticipantHi Laura.
So when filling out the fields and one say selects a country I can see in the drop down menu that the list is extensive with may countries to select.
When choosing city it seems to be default textarea to type a city in. If I want to have it be a drop down menu like the Country one, fields are empty and I had read somewhere that there is a site to generate a city list and I input that code somewhere in the Dashboard?So example if I put in Canada
next selection is a city so a drop down menu will look like this:Ontario
-Toronto
-Montreal
-etc
Province
-city
-city
-etcState
-city
-city
-etchope that makes sense.
mbfitParticipantThanks Laura! I will put that on the back burner for now. See what plays out down the road.
mbfitParticipantHello, while that did put that into the Forums page it doesn’t seem to have the same affect as the Homepage as I expected and seems to be placed in alignment with the width of the forum table then having that ‘landing’ front page look.
I attached images. Also I noticed the short code prints on the bottom of the page as well. I put an image.So is that doable?
mbfitParticipantHi the logo worked thanks!
As far as pathing goes I don’t have a kleo folder under wp-content/themes. It did have a ‘forum’ folder under themes where I found the loop-forums.php so I created a bbpress folder under child theme copied that php into it and put in the above code at the bottom but it didn’t work:
<?php
/**
* BuddyPress – Forums Loop
*
* Querystring is set via AJAX in _inc/ajax.php – bp_dtheme_object_filter()
*
* @package BuddyPress
* @subpackage bp-default
*/?>
<?php do_action( ‘bp_before_forums_loop’ ); ?>
<?php if ( bp_has_forum_topics( bp_ajax_querystring( ‘forums’ ) ) ) : ?>
<?php bp_forum_pagination_count(); ?>
<?php bp_forum_pagination(); ?>
<?php do_action( ‘bp_before_directory_forums_list’ ); ?>
<table class=”forum”>
<thead>
<tr>
<th id=”th-title”><?php _e( ‘Topic’, ‘buddypress’ ); ?></th>
<th id=”th-postcount”><?php _e( ‘Posts’, ‘buddypress’ ); ?></th>
<th id=”th-freshness”><?php _e( ‘Freshness’, ‘buddypress’ ); ?></th><?php do_action( ‘bp_directory_forums_extra_cell_head’ ); ?>
</tr>
</thead><tbody>
<?php while ( bp_forum_topics() ) : bp_the_forum_topic(); ?>
<tr class=”<?php bp_the_topic_css_class(); ?>”>
<td class=”td-title”>
” title=”<?php _e( ‘Permanent link to this post’, ‘buddypress’ ); ?>”><?php bp_the_topic_title(); ?>
<p class=”topic-meta”>
<span class=”topic-by”><?php /* translators: “started by [poster] in [forum]” */ printf( __( ‘Started by %1$s’, ‘buddypress’ ), bp_get_the_topic_poster_avatar( ‘height=20&width=20’) . bp_get_the_topic_poster_name() ); ?></span><?php if ( !bp_is_group_forum() ) : ?>
<span class=”topic-in”>
<?php
$topic_in = ‘‘ . bp_get_the_topic_object_avatar( ‘type=thumb&width=20&height=20’ ) . ‘‘ .
‘‘ . bp_get_the_topic_object_name() .’‘;/* translators: “started by [poster] in [forum]” */
printf( __( ‘in %1$s’, ‘buddypress’ ), $topic_in );
?></span>
<?php endif; ?>
</p>
</td>
<td class=”td-postcount”>
<?php bp_the_topic_total_posts(); ?>
</td>
<td class=”td-freshness”>
<span class=”time-since”><?php bp_the_topic_time_since_last_post(); ?></span>
<p class=”topic-meta”>
<span class=”freshness-author”>
“><?php bp_the_topic_last_poster_avatar( ‘type=thumb&width=20&height=20’ ); ?>
<?php bp_the_topic_last_poster_name(); ?>
</span>
</p>
</td><?php do_action( ‘bp_directory_forums_extra_cell’ ); ?>
</tr>
<?php do_action( ‘bp_directory_forums_extra_row’ ); ?>
<?php endwhile; ?>
</tbody>
</table><?php do_action( ‘bp_after_directory_forums_list’ ); ?>
<?php bp_forum_pagination_count(); ?><?php bp_forum_pagination(); ?><?php else: ?>
<?php _e( ‘Sorry, there were no forum topics found.’, ‘buddypress’ ); ?><?php endif; ?>
<?php do_action( ‘bp_after_forums_loop’ ); ?>
<?php putRevSlider(‘full_screen_no_form’, ‘2,10’); ?>
mbfitParticipantHello I found a solution at the bbpress forums, I’ll share here if others read this
//This function changes the heading “Freshness”
function rew_change_translate_text( $translated_text ) {
if ( $translated_text == ‘Freshness’ ) {
$translated_text = ‘Change Name Here’ ; }
return $translated_text;
}
add_filter( ‘gettext’, ‘rew_change_translate_text’, 20 );mbfitParticipantHi yeah I saw that and didn’t select. Now I know. I’ve reinstalled and started again. Much thanks I will close the ticket.
-
AuthorPosts