Advertisement:

Author Topic: Re: 2.0 Update Part 3  (Read 26554 times)

Offline MkC

  • Sophist Member
  • *****
  • Posts: 1,174
  • Gender: Male
Re: 2.0 Update Part 3
« on: November 01, 2007, 09:43:18 AM »
Hello,

During my tests to adapt my mods in smf 2.0 I discovered the following function:

Quote
function db_insert($method = 'replace', $table, $columns, $data, $keys, $file = false, $line = false, $disable_trans = false, $connection = null)
{
   global $smfFunc;

   if (empty($data))
      return;

   if (!is_array($data[array_rand($data)]))
      $data = array($data);

   $queryTitle = $method == 'replace' ? 'REPLACE' : ($method == 'ignore' ? 'INSERT IGNORE' : 'INSERT');

   foreach ($data as $key => $entry)
      $data[$key] = '(' . implode(', ', $entry) . ')';

   $smfFunc['db_query']('', "
      $queryTitle INTO $table
         (" . implode(', ', $columns) . ")
      VALUES
         " . implode(', ', $data), $file, $line, $connection);
}

Correct version:
Quote
function db_insert($method = 'replace', $table, $columns, $data, $file = false, $line = false, $connection = null)
{
   global $smfFunc;

   if (empty($data) || empty($columns))
      return;

   if (!is_array($data[array_rand($data)]))
      $data = array($data);

   $queryTitle = $method == 'replace' ? 'REPLACE' : ($method == 'ignore' ? 'INSERT IGNORE' : 'INSERT');

   foreach ($data as $key => $entry)
      $data[$key] = '(' . implode(', ', $entry) . ')';

   $smfFunc['db_query']('', "
      $queryTitle INTO $table
         (" . implode(', ', $columns) . ")
      VALUES
         " . implode(', ', $data), $file, $line, $connection);
}

This function it is ended or in the course of developpement?

Greetings

Offline JayBachatero

  • SMF Friend
  • SMF Super Hero
  • *
  • Posts: 19,562
  • Gender: Male
    • @jaycreations on Twitter
    • JayBachatero.com
Re: 2.0 Update Part 3
« Reply #1 on: November 01, 2007, 11:06:20 AM »
Ok my question to you is this.  Who did you get 2.0?  You're not a Chater Member and you're definately not a beta tester.
Follow me on Twitter

"HELP!!! I've fallen and I can't get up"
This moment has been brought to you by LifeAlert

Offline ALEJO

  • Jr. Member
  • **
  • Posts: 160
    • Buzarda
Re: 2.0 Update Part 3
« Reply #2 on: November 01, 2007, 12:50:55 PM »
omg ! i see a black flag with a skull in it! xD
solo el mas paranoico sobrevive

Offline MkC

  • Sophist Member
  • *****
  • Posts: 1,174
  • Gender: Male
Re: 2.0 Update Part 3
« Reply #3 on: November 01, 2007, 02:03:00 PM »
Ok my question to you is this.  Who did you get 2.0?  You're not a Chater Member and you're definately not a beta tester.
Oh my god whom one hang me high and short.
But what makes the police, fast I am testing the version 2.0, which we put me in prison....
It is cool, no panic I have never diffused a version Beta....
Just like that in the functions database for why package them not to have prevu the insert function?


Oh mon dieu que l'on pende haut et court
Mais que fait la police, vite je teste la version 2.0, que l'on me jette en prison.....
C'est cool, pas de panique, je n'ai jamais diffusé une version beta
Je voulais juste savoir pourquoi dans les fonctions associées au package il n'etait pas prevu l'insert.
« Last Edit: November 01, 2007, 03:40:51 PM by MkC »

Offline metallica48423

  • SMF Friend
  • SMF Super Hero
  • *
  • Posts: 19,842
  • Gender: Male
  • Professional Multislacker!
    • Zentendo
Re: 2.0 Update Part 3
« Reply #4 on: November 01, 2007, 02:18:43 PM »
Well, considering that you're using an illegal version of SMF 2.0, either obtained from a charter member who leaked, or using a leaked copy from the internet, do realize that you will receive no support for it, as 2.0 support is limited to active charter members and beta testers in a specific 2.0 support board.  The notable exception would be if you coadmin a board with a charter member -- but even then they must field all support requests.
« Last Edit: November 01, 2007, 02:22:50 PM by BlackMage »
Justin O'Leary
Ex-Project Manager
Ex-Lead Support Specialist

Quote
Microsoft wants us to "Imagine life without walls"...
I say, "If there are no walls, who needs Windows?"

Useful Links:
Online Manual!
How to Help us Help you   
Search
Settings Repair Tool
     

Offline Oldiesmann

  • SMF Friend
  • SMF Super Hero
  • *
  • Posts: 24,872
  • Gender: Male
  • Ask me about the function DB :)
    • oldiesmann on Facebook
    • Oldiesmann on GitHub
    • https://www.linkedin.com/in/michaeleshom on LinkedIn
    • @oldiesmann on Twitter
    • Archie Comics Fan Forum
Re: 2.0 Update Part 3
« Reply #5 on: November 01, 2007, 02:27:14 PM »
SMF 2.0 is currently only available for Charter Members - you are not, nor have you ever been, a Charter Member, and therefore should not have access to the code. Please explain to us how you got access to it.
Michael Eshom
Cincy Space - now open!

Offline ALEJO

  • Jr. Member
  • **
  • Posts: 160
    • Buzarda
Re: 2.0 Update Part 3
« Reply #6 on: November 01, 2007, 02:54:49 PM »
SMF 2.0 is currently only available for Charter Members - you are not, nor have you ever been, a Charter Member, and therefore should not have access to the code. Please explain to us how you got access to it.
u can get a vbulletin forum for "free"... so i dont think thats too hard to get a beta of smf...
solo el mas paranoico sobrevive

Offline metallica48423

  • SMF Friend
  • SMF Super Hero
  • *
  • Posts: 19,842
  • Gender: Male
  • Professional Multislacker!
    • Zentendo
Re: 2.0 Update Part 3
« Reply #7 on: November 01, 2007, 02:57:35 PM »
please do not condone the use of piracy here.. it will only lead to fighting and such.  Thanks

Justin O'Leary
Ex-Project Manager
Ex-Lead Support Specialist

Quote
Microsoft wants us to "Imagine life without walls"...
I say, "If there are no walls, who needs Windows?"

Useful Links:
Online Manual!
How to Help us Help you   
Search
Settings Repair Tool
     

Offline MkC

  • Sophist Member
  • *****
  • Posts: 1,174
  • Gender: Male
Re: 2.0 Update Part 3
« Reply #8 on: November 01, 2007, 03:16:07 PM »
Quote
Well, considering that you're using an illegal version of SMF 2.0
Quote
please do not condone the use of piracy here..

When we do not know we do not accuse....

I have legally all the beta since the branch 1.1, downloaded here even.

Furthermore when we do not respect licenses (joomla for example) we come not to qualify the others of pirates....

I allowed to indicate a correction, by using my pseudo own, the question was only there because I was surprised to see something so badly written. It has been quite a while since I need no more support of the team smf....

Greetings


Quand on ne sait pas on n'accuse pas

J'ai acquis légalement les versions bétas depuis le début de la branche 1.1, en les téléchargeant ici.

De plus quand on ne respect pas les licenses (joomla par exemple), on ne qualifie pas les autres de pirates....

Je me suis permis d'indiquer une correction en utilisant mon propre pseudo, la question était là uniquement parce que j'ai été surpris de voir cette fonction aussi mal ecrite. Il y a bien longtemps que je n'ai plus besoin du support de la team smf..
« Last Edit: November 01, 2007, 03:44:31 PM by MkC »

Offline Douglas

  • SMF Friend
  • SMF Hero
  • *
  • Posts: 3,105
  • Gender: Male
  • Non sibi sed patriae
    • @BearlyDoug on Twitter
    • TheFan.net
Re: Re: 2.0 Update Part 3
« Reply #9 on: November 01, 2007, 03:25:51 PM »
When we do not know we do not accuse....

I have legally all the beta since the branch 1.1, downloaded here even.

Furthermore when we do not respect licenses (joomla for example) we come not to qualify the others of pirates....

I allowed to indicate a correction, by using my pseudo own, the question was only there because I was surprised to see something so badly written. It has been quite a while since I need no more support of the team smf....
Either furnish proof that you are AUTHORIZED to have a copy of SMF 2.0 to any project manager, or expect to continue receiving this treatment.  It's that simple.

And if you don't, I'm quite sure that you'd be served with a DMCA, much like vBulletin does when they find unauthorized copies of their software.

Ignorance is not bliss, nor is it an excuse for stupidity.
« Last Edit: November 01, 2007, 03:27:31 PM by Douglas »
Doug Hazard
* Full Stack (Web) Developer for The Catholic Diocese of Richmond
(20+ Diocesan sites, 130+ Church sites & 24 School sites)
* Sports Photographer and Media Personality
* CFB Historian
* Tech Admin for one 1M+ post, one 2M+ post and one 10M+ post sites (last two are powered by multiple servers)
* WordPress Developer (Junkie)

Offline Kindred

  • The Mean One
  • Support Specialist
  • SMF Legend
  • *
  • Posts: 58,746
  • Gender: Male
    • Kindred-999 on GitHub
Re: 2.0 Update Part 3
« Reply #10 on: November 01, 2007, 03:28:28 PM »
you are not, nor have you ever been, a Charter Member, and therefore should not have access to the code. Please explain to us how you got access to it.

From your awkward grammatical construction, I will assume that English is not your primary language.

Please explain where you got the copy of SMF 2.0? You say that you downloaded it from here, but, since you are not a charter member, this is not probable.... At least not with the account you are currently using to post.
Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

Offline MkC

  • Sophist Member
  • *****
  • Posts: 1,174
  • Gender: Male
Re: 2.0 Update Part 3
« Reply #11 on: November 01, 2007, 03:38:34 PM »
You get tired not you will have no name of the member charter (those this are prevenus moreover). Thanks to each of your interventions, maintaining we know what it costs to help in the improvement of the product.
Beautiful spirit...  :D

For Douglas: everybody is not dishonest as you....

Greetings


N'espérer pas que je donne le nom du charter membre ( ceux ci sont prevenus).
Merci à tous pour vos interventions, maintenant on sait ce qu'il en coûte de vouloir aider à l'amélioration du produit.
Bel esprit....
Pour Douglas: tout le monde n'est pas malhonnête comme vous....
« Last Edit: November 01, 2007, 03:46:54 PM by MkC »

Offline Oldiesmann

  • SMF Friend
  • SMF Super Hero
  • *
  • Posts: 24,872
  • Gender: Male
  • Ask me about the function DB :)
    • oldiesmann on Facebook
    • Oldiesmann on GitHub
    • https://www.linkedin.com/in/michaeleshom on LinkedIn
    • @oldiesmann on Twitter
    • Archie Comics Fan Forum
Re: Re: 2.0 Update Part 3
« Reply #12 on: November 01, 2007, 10:34:42 PM »
SMF 2.0 is currently only available for Charter Members - you are not, nor have you ever been, a Charter Member, and therefore should not have access to the code. Please explain to us how you got access to it.
u can get a vbulletin forum for "free"... so i dont think thats too hard to get a beta of smf...

That doesn't mean it's legal. We have a right to enforce our rules. If you started using a pirated copy of vBulletin and wanted to get support for it, I'm sure you'd run into the same treatment (if they didn't get you in a lot more trouble).

You get tired not you will have no name of the member charter (those this are prevenus moreover). Thanks to each of your interventions, maintaining we know what it costs to help in the improvement of the product.
Beautiful spirit...  :D

For Douglas: everybody is not dishonest as you....

Greetings


N'espérer pas que je donne le nom du charter membre ( ceux ci sont prevenus).
Merci à tous pour vos interventions, maintenant on sait ce qu'il en coûte de vouloir aider à l'amélioration du produit.
Bel esprit....
Pour Douglas: tout le monde n'est pas malhonnête comme vous....

Douglas is not dishonest. You, on the other hand, are.

There is no way you could have download SMF 2.0 from this site.
« Last Edit: November 01, 2007, 10:37:14 PM by Oldiesmann »
Michael Eshom
Cincy Space - now open!

babjusi

  • Guest
Re: Re: 2.0 Update Part 3
« Reply #13 on: November 01, 2007, 11:04:39 PM »
@MkC, I want you to do something, only for a little while.

Imagine that you are creating something, anything at all. You work extremly hard at it, maybe spend nights without sleep at all or very little sleep. Then you spend more time trying to perfection it by fixing all the bugs that the beta tester that try your product first, report to you.
Then your product, which is not ready yet for public release, that you have spent so many time, hard work and sweat, it gets stolen and ilegally gets spread over the net, wouldn''t you want to know who did it and how so you can put a stop to it to protect your hard work?

So please, contact the project managers and tell them about it, how did you get hold of it.
These guys work wonders at creating such an amazing software, or a kick ass software like Douglas would say, and they give it way to everyone for free, when it is worth quite some money. So let us try and help out these guys in every way we can by putting an end to this stealing of these guys hard work.

I hope that you will do the right thing
All the best
Babjusi

Offline MkC

  • Sophist Member
  • *****
  • Posts: 1,174
  • Gender: Male
Re: 2.0 Update Part 3
« Reply #14 on: November 02, 2007, 05:28:25 AM »
@Oldiesman: sorry to disappoint you but I downloaded my version here even, thus you teach me that the download here even is illegal.....
If I do not make a mistake, Oldiesman, it is you who forbid other modeurs to distribute a product already existing under license GPL to be to redistribute again. A reference in honesty.....
@babjusi: I downloaded all my versions here even, and I diffuse nothing, I indicated simply that functions are badly written....
To contact the project managers, Olidesman answers generally that by threats of lock of Web site, maintaining thanks to you each knows that you should not help you....

@Oldiesman: Désolé de vous décevoir mais j'ai telechargé ma version ici même, donc vous m'apprenez que le téléchargement ici même est illégal.....
Si je ne me trompe pas, Oldiesman, c'est vous qui interdisez à d'autres developpeurs de distribuer un produit déjà existant  sous license GPL d'être redistribuer à nouveau. Une référence en matière d'honnêteté.....
@babjusi: J'ai téléchargé toutes mes versions ici même, et je ne diffuse rien, j'indiquais simplement que des fonctions sont mal écrites....
Pour ce qui est de contacter les chefs de projets, Olidesman ne répond en général que par des menaces de fermeture de site web, maintenant grâce à vous chacun sait qu'il ne faut pas vous aider....

Offline Dragooon

  • SMF Friend
  • SMF Hero
  • *
  • Posts: 6,738
  • Gender: Male
  • I'm batman
    • ShitizGarg on Facebook
    • Dragooon on GitHub
    • dragooon on LinkedIn
    • SMF-Media
Re: Re: 2.0 Update Part 3
« Reply #15 on: November 02, 2007, 05:37:33 AM »
I am finding no way to download SMF 2.0 Beta 1 From THIS site, And I am with OM, He is right, you are not authorized to use that copy neither you will get support for it.

Offline MkC

  • Sophist Member
  • *****
  • Posts: 1,174
  • Gender: Male
Re: Re: 2.0 Update Part 3
« Reply #16 on: November 02, 2007, 05:55:52 AM »
I am finding no way to download SMF 2.0 Beta 1 From THIS site, And I am with OM, He is right, you are not authorized to use that copy neither you will get support for it.
it's hoax? : http://www.simplemachines.org/community/index.php?topic=190812.0
Tourist....  8)


S'agit il d'un Hoax: http://www.simplemachines.org/community/index.php?topic=190812.0
Touriste....  8)
« Last Edit: November 02, 2007, 06:11:35 AM by MkC »

Offline Dragooon

  • SMF Friend
  • SMF Hero
  • *
  • Posts: 6,738
  • Gender: Male
  • I'm batman
    • ShitizGarg on Facebook
    • Dragooon on GitHub
    • dragooon on LinkedIn
    • SMF-Media
Re: Re: 2.0 Update Part 3
« Reply #17 on: November 02, 2007, 05:57:14 AM »
I am finding no way to download SMF 2.0 Beta 1 From THIS site, And I am with OM, He is right, you are not authorized to use that copy neither you will get support for it.
it's hoax? : http://www.simplemachines.org/community/index.php?topic=190812.0
Tourist....  8)
What does that topic have to do with this? I meant, There is no way for YOU to download SMF 2.0.

Offline MkC

  • Sophist Member
  • *****
  • Posts: 1,174
  • Gender: Male
Re: Re: 2.0 Update Part 3
« Reply #18 on: November 02, 2007, 05:59:37 AM »
What does that topic have to do with this? I meant, There is no way for YOU to download SMF 2.0.

Quote
Simple Machines are proud to annouce that today, 25th August 2007, the first beta release of SMF 2.0 is in the hands of our Charter Members.

Misleading advertising?
It is better and better....

Instead of you occupy affairs of the others and with selling what you do not master to try of you occupy of your site, your members will there be very happy:



Publicité mensongère?
C'est de mieux en mieux....

Au lieu de vous occupez des affaires des autres et de vendre ce que vous ne maitrisez pas essayer de vous occupez de votre site, vos membres en seront très heureux:

« Last Edit: November 02, 2007, 07:08:28 AM by MkC »

Offline Paracelsus

  • Sr. Member
  • ****
  • Posts: 876
  • Gender: Male
Re: 2.0 Update Part 3
« Reply #19 on: November 02, 2007, 09:49:53 AM »
You're just being rude... there's no need for that, is it? You're acting like a kid!