pH7Software / pH7-Social-Dating-CMS

😻 pH7Builder (formerly pH7CMS) is a Professional & Open Source Social Dating CMS written in PHP 8 🚀 This Social Dating Script aims to be low resource-intensive, powerful and secure. pH7Builder includes over 40 modules. It is the first Professional, Free & Open Source Social Dating Site Builder Software and the first choice for enterprise level Da
https://pH7Builder.com
MIT License
960 stars 574 forks source link

/meet-people page #808

Closed Pavkebgd closed 4 years ago

Pavkebgd commented 4 years ago

is not opening its content http://joxi.ru/YmEgMadsJNGN6A Problem arose when user types were modified/added.

Second question: Where is file for editing/adding countries?

pH-7 commented 4 years ago

Can you send upload a screenshot showing the problem?

pH-7 commented 4 years ago

Secondly, what do you mean by adding countries on meet-people page...? The page shows the current country based on your location.

pH-7 commented 4 years ago

You can also change the list of available countries in Admin Panel -> User/Admin -> Users -> Country Restriction. Check what countries are selected in there.

Hope it helps!! 🎉

Enjoy your weekend 🚀

Pavkebgd commented 4 years ago

I wanted to add a country that does not exist on country list. I will try what you suggested...

Pavkebgd commented 4 years ago

For first problem I sent screenshot showing the problem in link in my first message...When I click on browse people both in user and admin panet, no one appears...

Pavkebgd commented 4 years ago

screenshot fa4e351335

Pavkebgd commented 4 years ago

Can you send upload a screenshot showing the problem?

I found and fixed this problem.

polynamaude commented 4 years ago

@Pavkebgd It would be nice if you could explain what you did to solve your problem. So other people who may have the same problem can get help too... That's somewhat the reason of this forum.

Also, if you like the software, you can give it a Star on GitHub. Thanks

Pavkebgd commented 4 years ago

@Pavkebgd It would be nice if you could explain what you did to solve your problem. So other people who may have the same problem can get help too... That's somewhat the reason of this forum.

Also, if you like the software, you can give it a Star on GitHub. Thanks

Sure...since I changed User Types, I had problem with loading Browse People page...I solved the problem by changing user types also in: templates/themes/base/tpl/browse_user.inc

@polynamaude Will you please tell me:

  1. Where is located file in which I can add country to the list od countries?
  2. Since I plan to change domain name, where is located appropriate config file where I can make changes in domain name?
polynamaude commented 4 years ago

@Pavkebgd Hi, You simply clear the caches when you change your domain name. Also, you'll need to go into the database and change the domain name everywhere you'll see it.

Regarding the list of country, I'll give you a general hint that will be useful for many other problem you may encounter. Simply use the "fgrep" command from the shell prompt. This will allow you to search inside files. If you want to know everywhere a specific country is named then you can search by using "France" for example and it shall give you the file(s) that have the word "France" in. This shall help you find where "France" is and as it's a pretty uncommon word except as a country, you'll get your answer.

Regarding your question about countries, it has been answered higher in the thread. There's not country list used by the software itself. It uses a external service to identify your location. (My best answer).

pH-7 commented 4 years ago

I wanted to add a country that does not exist on country list. I will try what you suggested...

Oh, interesting @Pavkebgd Which one is it? I would be pleased to add it if it's not already added in there.

Pavkebgd commented 4 years ago

Serbia, you do not have it on the list, while you have country Yugoslavia, that does not exist. Will you add than Serbia to the list?

Sent from Samsung Galaxy

On Sun, 16 Aug 2020, 12:34 ♚ PH⑦ de Soria™♛, notifications@github.com wrote:

I wanted to add a country that does not exist on country list. I will try what you suggested...

Oh, interesting @Pavkebgd https://github.com/Pavkebgd Which one is it? I would be pleased to add it if it's not already added in there.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/pH7Software/pH7-Social-Dating-CMS/issues/808#issuecomment-674509678, or unsubscribe https://github.com/notifications/unsubscribe-auth/APFDRNYYDCHJ56W3T7TYBMLSA6Y2RANCNFSM4P7JSREA .

polynamaude commented 4 years ago

@Pavkebgd Have you tried doing the search as I told you ? You can use the word "Yugoslavia" and you'll find where the lists are.

This will be the fastest for you. You can even make back a pull request and we'll integrate your changes into the system.

Pavkebgd commented 4 years ago

@Pavkebgd Have you tried doing the search as I told you ? You can use the word "Yugoslavia" and you'll find where the lists are.

This will be the fastest for you. You can even make back a pull request and we'll integrate your changes into the system.

Sorry, I am not advanced user. I am not using prompt shell, I use only filezilla. Maybe I will try what you suggested. But, you said that you will add country Serbia in your system.

polynamaude commented 4 years ago

@Pavkebgd Please look at the username written... There's more than one person in this conversation.

You can find a similar software that will search thru files under Windows. For example you can either install Cygwin or Mingw, use the search option in the Eclipse IDE, PHPStorm or other, etc.

If you we're able to change the template file, you shall be able to do the same for the country.

Even if PH did say he's gonna add it, this doesn't mean you'll get it today or the day after but mostly it will be added to the release cycle.

polynamaude commented 4 years ago

@Pavkebgd You better learn a way to search thru source code as this will be much needed when you'll start debugging.

Pavkebgd commented 4 years ago

@Pavkebgd Please look at the username written... There's more than one person in this conversation.

You can find a similar software that will search thru files under Windows. For example you can either install Cygwin or Mingw, use the search option in the Eclipse IDE, PHPStorm or other, etc.

If you we're able to change the template file, you shall be able to do the same for the country.

Even if PH did say he's gonna add it, this doesn't mean you'll get it today or the day after but mostly it will be added to the release cycle.

I realised, but late, that PH, not you, mentioned adding... Thank you for useful things you mentioned in your reply...

polynamaude commented 4 years ago

@Pavkebgd The modifications you already made are only the beginning of the interesting possibility you are about to discover. You'll gain much by customizing the system to meet your own specific needs.

If you ever take time to make translation to another language, we'll be more than happy to integrate it to the distribution if you make a pull request when done.

If you want to get a good start learning PHP, I'd suggest you look for the PHP Object Oriented guide for Wordpress as a book to start reading.

Don't hesitate if you ever have other questions

pH-7 commented 4 years ago

Serbia, you do not have it on the list, while you have country Yugoslavia, that does not exist. Will you add than Serbia to the list? Sent from Samsung Galaxy … On Sun, 16 Aug 2020, 12:34 ♚ PH⑦ de Soria™♛, @.***> wrote: I wanted to add a country that does not exist on country list. I will try what you suggested... Oh, interesting @Pavkebgd https://github.com/Pavkebgd Which one is it? I would be pleased to add it if it's not already added in there. — You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub <#808 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/APFDRNYYDCHJ56W3T7TYBMLSA6Y2RANCNFSM4P7JSREA .

Thank you @Pavkebgd! I will add right away your beautiful country in the system and will be available in the next version (v16.0.0). I feel really sorry that your country wasn't in the CMS.

Pavkebgd commented 4 years ago

Thank you @pH-7 ! Untill then, can you help me locating the file where I can add it now for my site?

Also, one small issue - May I and where in files I can remove or edit this attention message that appears (screenshot attached)?

viber_image_2020-08-17_14-21-53

pH-7 commented 4 years ago

Hey @Pavkebgd

Also, one small issue - May I and where in files I can remove or edit this attention message that appears (screenshot attached)?

In templates/themes/base/tpl/layout.tpl, remove

      {* To avoid scammers *}
      {if $is_user_auth AND $current_url != $url_root}
        <div class="warning_block center">
          <p>
            <strong>{lang 'Attention!'}</strong>
            {lang 'Some of the women (or men) profiles you see on dating sites might be scams to collect money.'}<br />
            {lang 'People who are really interested in you will never ask for money.'}<br />
            {lang "Be careful, don't send the money to anybody!"}
          </p>
        </div>
      {/if}

from line 165 to 176

Hope it helps!

Enjoy your weekend!

pH-7 commented 4 years ago

Right now, adding a new country is a big complex since it involves inserting a new row into the database as well https://github.com/pH7Software/pH7-Social-Dating-CMS/commit/7f4d7b94fe2745e03114301e455c72476b806731

It will be included by default in the stable v16 which is schesuled for the end of this month. I really appreciate your understanding!

Pavkebgd commented 4 years ago

Hey @Pavkebgd

Also, one small issue - May I and where in files I can remove or edit this attention message that appears (screenshot attached)?

In templates/themes/base/tpl/layout.tpl, remove

      {* To avoid scammers *}
      {if $is_user_auth AND $current_url != $url_root}
        <div class="warning_block center">
          <p>
            <strong>{lang 'Attention!'}</strong>
            {lang 'Some of the women (or men) profiles you see on dating sites might be scams to collect money.'}<br />
            {lang 'People who are really interested in you will never ask for money.'}<br />
            {lang "Be careful, don't send the money to anybody!"}
          </p>
        </div>
      {/if}

from line 165 to 176

Hope it helps!

Enjoy your weekend!

Thank you! You too as well!

Undefined-Variables commented 4 years ago

This guide explains how to add user types properly.

https://github.com/pH7Software/pH7-Social-Dating-CMS/wiki/How-to-add-additional-genders

Pavkebgd commented 4 years ago

@Undefined-Variables Thank you, I have followed that guide.

Pavkebgd commented 3 years ago

After update to V16, you can find updated list of countries when you Edit profile, but during registration and in search form, it is still an old list of countries?

Maybe I didn’t properly updated site or this is bug?

From: ♚ PH⑦ de Soria™♛ [mailto:notifications@github.com] Sent: Friday, August 21, 2020 4:20 PM To: pH7Software/pH7-Social-Dating-CMS Cc: Pavkebgd; Mention Subject: Re: [pH7Software/pH7-Social-Dating-CMS] /meet-people page (#808)

Right now, adding a new country is a big complex since it involves inserting a new row into the database as well https://github.com/pH7Software/pH7-Social-Dating-CMS/commit/7f4d7b94fe2745e03114301e455c72476b806731 7f4d7b9

It will be included by default in the stable v16 which is schesuled for the end of this month. I really appreciate your understanding!

— You are receiving this because you were mentioned. Reply to this email directly, view https://github.com/pH7Software/pH7-Social-Dating-CMS/issues/808#issuecomment-678315332 it on GitHub, or unsubscribe https://github.com/notifications/unsubscribe-auth/APFDRN277P32OAXBSCJ7IODSBZ7BTANCNFSM4P7JSREA . https://github.com/notifications/beacon/APFDRN4REXTTJGSZBNOKO63SBZ7BTA5CNFSM4P7JSREKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOFBXEKRA.gif

github-actions[bot] commented 2 years ago

Hi there, I locked the thread since there has not been any recent activity after it was closed. Please open a new issue for related bugs. Thank you, Pierre-Henry Soria 🤖