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
965 stars 579 forks source link

Adding more genders again #614

Closed byyz closed 5 years ago

byyz commented 5 years ago

Hi there. I have been reading this https://github.com/pH7Software/pH7-Social-Dating-CMS/issues/534 But I cant find this pH7-Social-Dating-CMS/_install/data/sql/MySQL/pH7_Core.sql My webhotel says this file does not excist. Am I doing somthing wrong??

Undefined-Variables commented 5 years ago

The _install folder is deleted after installation so if you are trying to update an existing site you will have to download the source code again. Once you have downloaded and unzipped it you will find the _install folder.

The .sql files are in _install/data/sql/Mysql/

byyz commented 5 years ago

Hi and thanks for your answer. Can I edit the file during a reinstallation?

Undefined-Variables commented 5 years ago

Before the install yes. But it will not have any effect until you make the other changes you need to make.

If you already have a running site I see little point in doing a total reinstall just to add extra sexes. Do you have PhpMyAdmin installed? This is the simplest way to make database changes. Personally I would make the changes using terminal.

Undefined-Variables commented 5 years ago

If you are going to do a reinstall I would hold off for a little longer. A update is coming soon and offers a few additional features.

polynamaude commented 5 years ago

@Undefined-Variables You must have a very special version of pH7CMS ! Because if you modify only the database then the only thing modified is the database. It won't offer you more gender type as it doesn't fetch a list of type from the database but those are static.

So this means you have you'll have to edit some code and it gets lost on updates. Unless you patch them every time. Use a Version Control System software like would make it simpler for you as you can do a simple merge.

Undefined-Variables commented 5 years ago

That is why I said...

{quote} Before the install yes. But it will not have any effect until you make the other changes you need to make. {/quote}

You can make changes to the database before making the changes to the code, does not make a difference, think what he is saying is if he can modify the database then install the change is easier as you don't have to update it after installs, I have made lots of changes top my database for future additions that are just coming together now.

For example, I added a table for crypto currency and made changes to the memberships table to accommodate this, not just btc I have the ability to accept 20 different coins and without having to hold entire blockchains. The changes make no difference until I let the code know they have been done.

I enjoy making changes and pretty much know this code inside out now.

byyz commented 5 years ago

Im totatally new in this world but Im planning to make a dating site. Step by step. So its ok if I have to reinstall a couple of times. At the moment I just have test site with ph7csm installed via softaculous from my webhotel

Undefined-Variables commented 5 years ago

Good for you mate, thats the best way to learn just going for it :)

polynamaude commented 5 years ago

@byyz A good start would be to install it by yourself. I have really big doubt that by using automatic installer you'll learn much. By installing yourself, you'd have learned how the install process goes and this would have saved us from needing to explain it to you.

Undefined-Variables commented 5 years ago

lol I don't use the installer, its not a practical way to do it

byyz commented 5 years ago

@polynamaude I get your point and will try to do I think @ Undefined-Variables Yes I have PhpMyAdmin installed

polynamaude commented 5 years ago

@byyz Maybe you shall start with a course of programming and get some experience before trying to host a website (and email the world because you get hacked). By the way, watch out for Youtube Javascript hacking because @Undefined-Variables had this problem too.

You'll get the cops at your doorstep.

rondlite commented 5 years ago

For example, I added a table for crypto currency and made changes to the memberships table to accommodate this, not just btc I have the ability to accept 20 different coins and without having to hold entire blockchains. The changes make no difference until I let the code know they have been done.

wow you invented a new type of blockchain... amazing.. just wonder what you store since the world might need it!

Undefined-Variables commented 5 years ago

You can use the installer for now its a big ask to just expect someone to do a manual install especially when they dont know the code, do a normal install then worry about making the changes afterwards, it will be easy using PhpMyAdmin. I have had my share of issues (learning curves).

@rondlite lol no I am using a service called coinbox! look them up its pretty simple to integrate! And has a nice interface for users too.

polynamaude commented 5 years ago

@Undefined-Variables

its a big ask to just expect someone to do a manual install especially when they dont know the code, then what the hell are you doing trying to host a website if you don't know ?

Sorry mister police officer if I ran down the street and broke everything with my car, I'm learning. Oh well there's place to learn and there's also steps in life. You learn to drive a bike before trying a motorbike.

Undefined-Variables commented 5 years ago

I am not talking about me! Are you still asleep?

polynamaude commented 5 years ago

@Undefined-Variables There's not much "coding" in the use of installer.

byyz commented 5 years ago

Thanks for your answers. I will think about this again as it all make sense what you say. I can see if I use the installer I dont get the chance to edit anything during the install

Undefined-Variables commented 5 years ago

no there is not, couple of sql sheets and a controller, and a config file.

@byyz If you are starting out you want a plain and simple standard install so you can see how it is ment to run afterwards, if you start making changes blindly you will just be lost before you even begin

polynamaude commented 5 years ago

@byyz And every place your are gonna ask will give you the same answer. We don't support Softaculous, we don't know how they deal with the install process so we don't have a clue regarding the settings of your installation.

Do the same on the Joomla support forum and the answer you'll get will be even sweeter than here. Something like... hey script kiddie.

byyz commented 5 years ago

Hehe nothing is easy in this world :) I will try to install it manually

polynamaude commented 5 years ago

@Undefined-Variables Does he have something to loose to use the installer and see what it does ? Maybe you shall keep your ideas to yourself as if I look at all you said lately, not much hasn't been either erased by yourself or finished in a "Oh I'm sorry, I was a big light headed, too fast, short tampered, etc".

You are the one opening endless issues for "sweet fuck all" and closing them soon after, adding not much more than empty words.

You say to the guy, no don't use the installer if you don't know what's the code ??? What ? Where's the need to know the source code to use the installer. Could you make a minimum effort ? You are burned and will stay as such until you grow up and show it. And this hasn't been done.

polynamaude commented 5 years ago

@byyz Even more when you just think about making an easy buck in the end but forget that it's not a sand castle.

byyz commented 5 years ago

Its actually bcuz I got a lot of spare time. I would like to try to learn something new and my plan was to keep the free for use. So I just ran into this issue about gender

Undefined-Variables commented 5 years ago

@polynamaude I think we are talking different languages or you are not reading what I am saying. I said use the installer you said hey make it a challenge and do without it!

I'm off for now anyway I have an important family diner this evening. Then im going to get some sleep!

Have a look at my site if you like feedback@ {mysite}.com password is password :)

Laters...

polynamaude commented 5 years ago

@Undefined-Variables Say "Hi!" to your parents and don't forget to brush your teeth. And think about getting a real job.

Undefined-Variables commented 5 years ago

Thank you for being nice, it suits you :)

byyz commented 5 years ago

Hey Guys. I manage to install ph7cms by myself and before that I did the changed I wanted to the sql file. So far so good :) thanks for your help. After the install are there things I should do? Change permission to folders etc?

polynamaude commented 5 years ago

@byyz I'd say... read the manual so you don't ask question already answered !

https://github.com/pH7Software/pH7-Social-Dating-CMS/wiki http://ph7cms.com/doc/ http://ph7cms.com/blog https://github.com/pH7Software/pH7-Social-Dating-CMS/wiki/How-to-ask-for-help https://ph7cms.com/doc/en/install

The best thing I can suggest... Don't do like @Undefined-Variables ... example : https://github.com/pH7Software/pH7-Social-Dating-CMS/issues/615

Accusing people of thing that didn't happened or that you don't understand.Even more when it's the person who helps you out !

polynamaude commented 5 years ago

@byyz You can access your database through the CLI and send direct SQL command by using the mysql command from shell.

byyz commented 5 years ago

Thanks :)

Undefined-Variables commented 5 years ago

@byyz Maybe you shall start with a course of programming and get some experience before trying to host a website (and email the world because you get hacked). By the way, watch out for Youtube Javascript hacking because @Undefined-Variables had this problem too.

You'll get the cops at your doorstep.

Yeah I have been hacked so many times its getting embarrassing, at least the last few times have not cost me anything. When you loose 22k its more than embarrassing it hurts like a punch in the face! But thats peanuts compared to what the scum took of me... 785btc just think how that felt!!!

polynamaude commented 5 years ago

@Undefined-Variables Hey dude ! We don't believe shit about what you say.... You forgot that people are not born yesterday.... Stop trying to show that you are a big guy when you ain't and leave other alone.

There's no problem to learn by trial and error. The problem is when you become a pain in the ass like you are, don't take the time to listen to what others have to say and go on with furious rampage. I told you from the beginning how it was going to end and you did total opposite. You continued asking unrelated questions, talking about things you don't know, etc.

Get a job or go back to school but get a life.

polynamaude commented 5 years ago

@Undefined-Variables One day you talk about thousands of dollars but not long ago you didn't have enough to pay simply for a domain name (about 10 euros). So please, don't take people for dumb. Maybe this works with people around use because they are just fed up with your shit and don't feel like getting into useless arguments.

You have nothing more than a computer that is trying to host a dating site from your home. With proof, you talked about taking the hard drive out and sending it by courier. That's impossible when you are using managed hosting in a data center.

Now go on !

polynamaude commented 5 years ago

@Undefined-Variables What the fuck don't you understand ? YOU ARE OFF TOPIC stop bothering people. Stop trying to convince people. BYE

Undefined-Variables commented 5 years ago

Dont give a shit you called me a liar and I'm not having that!

Undefined-Variables commented 5 years ago

BYE

lock[bot] commented 5 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 🤖