Forum Replies Created
-
Author
-
RoaderParticipant
Ok. I go to use qTranslate while you work for solution.
So, please, do not forget it.
But, also remember the big problem of security and speed.I think, that if you add more improves, you can sell SD 60$ (for new buyers)
My friend, is bbpress very necessary?
I can see, that if I disable this, the blog not work. But,
No dating page uses forums. Only this!RoaderParticipantDoes Not Work (with this Registration Form): Force User to use Strong Passwd (function of WordFence). :-/
RoaderParticipantOther solution is:
An .htaccess in wp-admin folder:
COPY CODE# Protect wp-admin by my IP order deny,allow allow from 0000000000 #Change it for your IP deny from all <Files admin-ajax.php> Order Allow,Deny Allow from All Satisfy Any </Files>
————————
But, there are some problems…
Radu. I found this code ===> But, does not work. :-/
I dont know if is Sweetdate Registration Form or BuddyPress… The problem is, that you can Register with whatever Email, i.e. mydog@mydogisbig.comAnd, there is not a button of field to Resend the Email Confirmation, after you complete.
COPY CODE// Restrict WordPress Registration to Email Whitelist function is_valid_email_domain($login, $email, $errors ){ $valid_email_domains = array("yahoo.com","hotmail.com","outlook.com","gmail.com","aol.com","mail.com");;// whitelist email domain lists $valid = false; foreach( $valid_email_domains as $d ){ $d_length = strlen( $d ); $current_email_domain = strtolower( substr( $email, -($d_length), $d_length)); if( $current_email_domain == strtolower($d) ){ $valid = true; break; } } // if invalid, return error message if( $valid === false ){ $errors->add('domain_whitelist_error',__( '<strong>ERROR</strong>: you can only register using @gmail.com or @outlook.com emails' )); } } add_action('register_post', 'is_valid_email_domain',10,3 );
RoaderParticipantLaura, a partial solution is:
In functions.php:
COPY CODE// Restrict WP Dashboard add_action( 'init', 'blockusers_init' ); function blockusers_init() { if ( is_admin() && !current_user_can( 'administrator' ) && !( defined( 'DOING_AJAX' ) && DOING_AJAX ) ) { wp_redirect( home_url() ); exit; } }
In .htaccess (fist line only)
// Change wp-login to your custom url
RewriteRule ^your-custom-login-name$ http://your-domain.com/wp-login.php [NC,L,R]
RoaderParticipantI almost forget it.
8) Support to translate Buddypress Custom Fields (again Radu, qTranslate works, but it is outdated, so WpGlobus or similar).Returning to the Topic of: How can I see …
The code you gave me does not work well.
COPY CODEform.custom.form-search .seven, .row .seven {width:75%;} form.custom.form-search .five.mobile-four.columns {width:25%}
The idea is to align the text ==> to the left:
Username
Email
PasswordAlso: I am, Looking for, City…
And expand some more the fields:
(Passwsd) [ Required ] and [ Confirm ]
Attachments:
You must be logged in to view attached files.RoaderParticipantIn order not to open another Ticket, I will remind you of this here.
Theme is good, but needs more implementations.
See LINKS:
Here I will list the ones I consider most important.
1) Security (and Optimize Css and Js. See the other post: How can I hide, or remove author from …).
You could add a solution for “Notification and Approval messages are moved to the Spam Folder”. Yes, I know, there are STMP plugins, but, not works.
So, if you have a solution, please!Also, if you want, the option: Private Messages: only for friends or for any logged in user. But, for that, you would have to buy the Brajesh Plugin or create a similar function.
2) Add more search criteria: members, groups and forums. For now, Ajax Search only works with Post.
3) Include Shadow in the text of the Profile’s Cover. The same function for the Group Cover. Radu, you said you were going to add this. Remember that if the background is clear, the text is NOT visible.
4) Scroll Down or Scroll directly to Notifications, Messages, etc. When the user clicks the Menu …
5) Message Pagination or Quick Message Navigation.
This function is important because messaging is currently tedious, not very easy or very practical.6) Attach Files in Messages.
(Only: jpg, gif, mp3 and mp4 not more than: 5mb).7) – Login with other accounts: Not only Facebook. I. e. Google Plus, etc.
– Option: Hide those footer area from whatever page that you want.
_ Option: Custom Copyright Area.https://archived.seventhqueen.com/forums/topic/very-important-feature-requests
https://archived.seventhqueen.com/forums/topic/features-for-the-next-update-please
https://archived.seventhqueen.com/forums/topic/dynamic-messages-viewMy friend, Remember, this petition is NOT only for me, it is for ALL your clients.
So, DO NOT wait 5 months to add these functions, or the other VOTES.
Attachments:
You must be logged in to view attached files.RoaderParticipantFor Public Messages or Mentions:
Force to Display @your-nickname instead of @your-username.
I’m waiting your php code.
My friend, Remember, this petition is NOT only for me, it is for ALL your clients.
Attachments:
You must be logged in to view attached files.RoaderParticipantGood Morning or Night my friend Radu.
You, as a developer, must provide three features: Security, Speed* and Easy Optimization.
Here, let’s talk about Security.
Many buy Themes 7THQ, but they are newbies, they do not know anything about Security.
You should put a Warning in the Theme, which says:
You can secure your site by installing any of these plugins:
– All in one wordpress security and firewall.
– Wordfence.– (For speed: Wp Super Cache, or whatever).
(I.e.
Well, now let’s go to the following:
THE USER NAME MUST BE PRIVATE.
At the moment there is a Vulnerability in both WordPress and BuddyPress.
LOOK AT THE PHOTOS.
If you publish something, and you click Right
On the Public Name, the User Name is displayed in the URL.WordPress (Blog):
www.yoursite.com/author/your-username
SweetDate (Messages, WidGets, Comments, etc.):
COPY CODEhttps://seventhqueen.com/demo/sweetdatewp/members/demo/messages/
BuddyPress:
www.yoursite.com/members/your-username
BbPress:
www.yoursite.com/forums/profile/your-username
This is so wrong. IS NOT SAFE.
If you go to the Profile of any user, it shows:
Your Public Name
@your-usernameThis should not be like that.
Therefore, you must create a PHP Function that FORCES to display only the NickName:
Profile:
Your Public Name
@your-nicknameURLs:
COPY CODEwww.yoursite.com/members/your-nickname www.yoursite.com/author/your-nickname www.yoursite.com/forums/profile/your-nickname seventhqueen.com/demo/sweetdatewp/members/YOUR-NICKNAME/messages/
********* PLEASE, CHECK THIS LINK
———-
NickName and Public Name will be automatically created according to First Name and Last Name.
The idea is that the Username of All users is Private.
On the Registration Form (WP / BP).
If a user enters his User Name just like the Full Name, he should receive an Alert:Please enter a different username, it can not be the same as your Full Name.
———
NOTE:
Includes (KLEO functions) reCaptchaIn: Registration Forms, I forgot my Password, Login,
So that they do not affect the Login for Subscribers.
The All In On Wp Security and F plugin adds a Captcha but affects User Login.
———
* SPEED: Check your Theme (sweetdate/demo) using GTmetrix and Page Speed Insights.I. e. Minify Css and Js.
I you want: Includes (only for specific css):
LoadCSS.jsThis plugin: Speed Up – Optimize CSS Delivery by Simone Nigro, Resolves this request for PageSpeed, but, affects the Theme, because there are some sensitive CSS. So, you can adapt the Code.
AND: Your Theme has problems with the Css for Mobile: Things misaligned, Buttons too large, etc. Remember that!
Attachments:
You must be logged in to view attached files.RoaderParticipantLaura,
Te escribo por aquí para no abrir un nuevo Ticket.Ya que trabajas más con CSS, hazle un chequeo usando GTmetrix o PageSpeed Insight al Theme, usa el link del demo.
Ahí verás una serie de Recursos que deben ser mejorados. Por ejemplo: sweetdate/assets/styles/app.css
Demes Minify (minificar) el Código, lo abrí y veo demasiados espacios en blanco o saltos de línea, eso hace que el Theme sea lento.
Yo he hecho modificaciones usando los Tips de estas herramientas pero… cuando actualice el Theme en la próxima versiones que uds lancen, Todos esos cambios se perderán, así que tendré que volver a Optimizar. Por esa razón te pido que Optimices, para que el trabajo para uno sea menor.
Otra cosa, el .po Español del Theme tiene errores!
La versión para Mobile del Theme tiene bastantes errores de CSS. Botones descentralizados, desalineamientos, etc., etc.
RoaderParticipantCOPY CODEif( current_user_can('editor') || current_user_can('administrator') ) { $author = sprintf( '<a class="url fn n" href="%1$s" title="%2$s" rel="author">%3$s</a>', esc_url( get_author_posts_url( get_the_author_meta( 'ID' ) ) ), esc_attr( sprintf( __( 'View all posts by %s', 'kleo_framework' ), get_the_author() ) ), get_the_author() ); }
And the code is??
Radu, remember, I dont know php…
This feature is a solution for a problem of security, I know that you understand.RoaderParticipantHi Radu,
I put your pastebin and your functions code, but not work with WpGlobus.
Your Code work only with qTranslate.The problem is, my friend, that qTrans is outdate! And maybe, it was abandoned.
So, Please, make your code compatible with WpGlobus also.
Attachments:
You must be logged in to view attached files.RoaderParticipantCustom fields are not translated.
Attachments:
You must be logged in to view attached files.RoaderParticipantAnd Thanks for your functions code, works! But, qTranslate outdate… Ummm
WordPress has a big problem with Outdate plugins and Security. So, WpGlobus for now is the solution, but your code does not work with this.
RoaderParticipantRoaderParticipantHi!
Yes, top Okey!
Down, Not! So, please… fix it! Or tell me why.But, I prefer, also, that you add support for WpGlobus or PolyLang, because qTranslate maybe, was abandoned.
Attachments:
You must be logged in to view attached files.RoaderParticipantMy friend Radu, I’m using this pastebin code, but, like you can see,
In Profile Info, does not change. Appears: [:es]Nombre[:][:en]Name[:]Solution?
RoaderParticipantHi Radu. Your Code works in the tabs, okey, but, there is an error, in profile info check this.
Name appears without change, [:es]Nombre[:][:en]Name[:]And remember please, adapt this code for WpGlobus also. WpGlobus works with: {:en}text{:} also qTranslate.
Attachments:
You must be logged in to view attached files.RoaderParticipantHi!
How can I align these fields or texts to left? I did try, but, I cant get itAttachments:
You must be logged in to view attached files.RoaderParticipantMy friend. Think in others alternatives: Polylang and WpGlobus.
Because, if right now qTranslate X was abandoned, then it is no longer useful.
Outdate plugin for WP is very dangerous.
But, okey, I go to try! But, again… try with other alternatives.
RoaderParticipantLet me try my friend.
qTranslate X is okey, but the problem is, this plugin is Outdate!For this reason, check others alternatives: polylang and wpglobus.
RoaderParticipantHi Radu… My friend. WPML is expensive!
So, PLEASE! Think free solutions, like Polylang, WPGlobus (well plugin have two versions: free and Pro), qTranslate X (8 months outdate… but…).I need to know Whats string do you use for this area and BuddyPress Profile Fields… etc.
RoaderParticipantSaludos otra vez.
Probando me di cuenta de algo. Esas areas marcadas no son traducibles porque uds no añadieron posibilidad de traducción para esas areas o strings indicadoras para traducción.Actualmente estoy usando WPGlobus, funciona un tanto, el qTranslate X lo han dejado desactualizado, lleva 8 meses así.
En fin, me gustaría saber cómo habilitar traducción para esas areas que no se están traduciendo.
Attachments:
You must be logged in to view attached files.RoaderParticipantRoaderParticipantHola Laura. AYUDA!!
He tratado de hacer que WordPress reconozca los .mo y .po del Theme /sweetdate / languages
Instalé un switcher de idiomas, funciona con BuddyPress, o sea, este reconoce los .mo y .po de BP puestos en wp-content /languages / plugins y cambia de inglés a español sin problemas.
Pero con el lang del theme no funciona así wp-content /languages / themes.
Ni así wp-content / themes / sweetdate (o sweetdate-child) / languages.Prueba y me avisas por favor.
Código para intentar hacer funcionar el reconocimiento o carga del idioma del Theme:
COPY CODE// Load translation files from your child theme instead of the parent theme function child_theme_slug_setup() { load_child_theme_textdomain( 'sweetdate', get_stylesheet_directory() . '/languages' ); } add_action( 'after_setup_theme', 'sweetdate_theme_slug_setup' );
Fuente: http://docs.easydigitaldownloads.com
Otra fuente (Link).
RoaderParticipantNo my friend, NO more plugins.
WordPress has problems of Security right now!
For example, BuddyPress has vulnerabilities. Do you know that?I’ve spent two weeks looking for security solutions.
For this reason, I prefer clean code.
RoaderParticipantRadu, this plugin does not work. Settings is very, very basic. The advance options does not appears.
For the next Theme Update. Add options of Security. Maybe a captcha integrated and more.
RoaderParticipantWarning: Dont copy and paste this htaccess without check.
Please, open the file and delete this part:
#AIOWPS_LOGIN_WHITELIST_START
<FilesMatch “^(banana_Split)”>
Order Allow,Deny
Allow from whatsmymate.com
Allow from 108.167.183.46
Allow from 148.0.96.55
</FilesMatch>
#AIOWPS_LOGIN_WHITELIST_ENDRoaderParticipantSPEED (HOSTGATOR)
COPY CODE# Enable Gzip <ifModule mod_gzip.c> mod_gzip_on Yes mod_gzip_dechunk Yes mod_gzip_item_include file .(html?|txt|css|js|php|pl)$ mod_gzip_item_include handler ^cgi-script$ mod_gzip_item_include mime ^text/.* mod_gzip_item_include mime ^application/x-javascript.* mod_gzip_item_exclude mime ^image/.* mod_gzip_item_exclude rspheader ^Content-Encoding:.*gzip.* </ifModule> # Enable Deflate <IfModule mod_deflate.c> AddOutputFilterByType DEFLATE text/plain AddOutputFilterByType DEFLATE text/html AddOutputFilterByType DEFLATE text/xml AddOutputFilterByType DEFLATE text/css AddOutputFilterByType DEFLATE text/javascript AddOutputFilterByType DEFLATE application/xml AddOutputFilterByType DEFLATE application/xhtml+xml AddOutputFilterByType DEFLATE application/rss+xml AddOutputFilterByType DEFLATE application/atom_xml AddOutputFilterByType DEFLATE application/javascript AddOutputFilterByType DEFLATE application/x-javascript AddOutputFilterByType DEFLATE application/x-shockwave-flash AddOutputFilterByType DEFLATE image/svg+xml .svg .svgz </IfModule> # Enable mod_headers <ifModule mod_headers.c> # 6 MONTH <FilesMatch ".(ico|gif|jpg|jpeg|png|flv|pdf|mp3|mp4)$"> Header set Cache-Control "max-age=15552000" </FilesMatch> # 1 WEEK <FilesMatch ".(js|css|swf)$"> Header set Cache-Control "max-age=604800" </FilesMatch> # 60 MIN <FilesMatch ".(html|htm|txt)$"> Header set Cache-Control "max-age=2700" </FilesMatch> </ifModule> # Expires <IfModule mod_expires.c> ExpiresActive On ExpiresByType image/jpg "access plus 60 days" ExpiresByType image/jpeg "access plus 60 days" ExpiresByType image/gif "access plus 60 days" ExpiresByType image/png "access plus 60 days" ExpiresByType audio/x-wav "access plus 1 month" ExpiresByType audio/mpeg "access plus 1 month" ExpiresByType video/mpeg "access plus 1 month" ExpiresByType video/mp4 "access plus 1 month" ExpiresByType video/quicktime "access plus 1 month" ExpiresByType video/x-ms-wmv "access plus 1 month" ExpiresByType text/css "access 5 days" ExpiresByType application/pdf "access plus 1 month" ExpiresByType text/x-javascript "access plus 1 week" ExpiresByType application/x-shockwave-flash "access plus 1 month" ExpiresByType application/x-javascript "access plus 1 week" ExpiresByType application/javascript "access plus 1 week" ExpiresByType image/x-icon "access plus 1 month" ExpiresDefault "access plus 2 days" </IfModule>
If you use All In One WordPress Security And FireWall, DONT Active Captcha with this plugin.
Here I sharing my Htaccess. Good Luck!
Attachments:
You must be logged in to view attached files.RoaderParticipantThe plugin All In One Wp S and F has Captcha, but does not work with SweetDate. :-/ I dont know WHY!
-
AuthorPosts