![]() |
Post4VPS Post Counter Script - Printable Version +- Post4VPS Forum | Free VPS Provider (https://post4vps.com) +-- Forum: Geek World (https://post4vps.com/Forum-Geek-World) +--- Forum: Scripting & Programming (https://post4vps.com/Forum-Scripting-Programming) +--- Thread: Post4VPS Post Counter Script (/Thread-Post4VPS-Post-Counter-Script) |
RE: Post4VPS Post Counter Script - Unixfy - 06-05-2016 (06-05-2016, 11:25 AM)Dynamo Wrote:Yes, that's what I meant.(06-04-2016, 10:57 PM)karatekidmonkey Wrote: Well done, this is a great project! I hadn't known about PHP's imagettfstroketext function, maybe I'll use that later on ![]() Thanks for letting me know! RE: Post4VPS Post Counter Script - Vuluts - 06-06-2016 Cool! what a great work! hmm can I suggest something? I just think if we can put this under the Credits? ![]() Like this in the image above? RE: Post4VPS Post Counter Script - Conan - 06-06-2016 (06-03-2016, 09:21 AM)Dynamo Wrote:(06-03-2016, 07:47 AM)Conan Wrote: Post the source code because it should be open source since transfusion's code is open source.There were some problems going one with running it directly with nginx webhost (it not counts posts at all), and in Apache the texts are not clear because of some reason so i am running it half in Apache and half in nginx by separating its files into 2(we are working on it), and there might be many more bugs that's why i don't wants to release a buggy version. If you open source it, people can help you fix bugs. As simple as that. Also when saying "He wasn't ready is a lot different than saying "he was busy at that time"" (06-05-2016, 02:12 PM)karatekidmonkey Wrote:imagettfstroketext() is a function made by someone. (I forgot but you can check Transfusion's github repo called MyBBPostCounter. The function is there and the credits are there.)(06-05-2016, 11:25 AM)Dynamo Wrote:Yes, that's what I meant.(06-04-2016, 10:57 PM)karatekidmonkey Wrote: Well done, this is a great project! imagettfsroketext is different from imagettftext as imagettftext is a native function and imagettfstroketext is not. RE: Post4VPS Post Counter Script - Dynamo - 06-06-2016 Conan Wrote:Also when saying "He wasn't ready is a lot different than saying "he was busy at that time""i can't see much deference.. If a user was not ready for something then there might have his personal reasons too and here you had you were busy. first Time i had asked you then you had told that "you ran into problems"(i really can't understand which problem it can be as if you have fixed transfusion's script and its simply matter of sec in replacing the URL, might u have changed something more than that?) and after some time when i again asked you then you had told that "your exams were coming after one week", and after that you had never responded me again. Conan Wrote:imagettfstroketext() is a function made by someone. (I forgot but you can check Transfusion's github repo called MyBBPostCounter. The function is there and the credits are there.)Imagetfftextstrok is just an advance version of imagetfftext where text would have borders. if you need Imagetfftextstroke's function then then you can have this: http://johnciacia.com/2010/01/04/using-php-and-gd-to-add-border-to-text/ RE: Post4VPS Post Counter Script - TrK - 06-06-2016 (06-03-2016, 07:47 AM)Conan Wrote: Post the source code because it should be open source since transfusion's code is open source. So i released my source code for MyBBpostCounter, it is available on github at https://github.com/DarkPowerInvader/MyBBpostCounter. (06-05-2016, 11:25 AM)Dynamo Wrote: you mean how i am able to print all those text to that image? the imagettfstroketext() function is not from php its an custom function from John ciacia at http://johnciacia.com/2010/01/04/using-php-and-gd-to-add-border-to-text/ RE: Post4VPS Post Counter Script - Unixfy - 06-06-2016 I'm aware of the difference bwtween strok and regular imagetfftext. Thanks for clarifying though ![]() RE: Post4VPS Post Counter Script - Conan - 06-07-2016 (06-06-2016, 01:14 PM)Dynamo Wrote:Conan Wrote:Also when saying "He wasn't ready is a lot different than saying "he was busy at that time""i can't see much deference.. Not ready is not prepared. Being busy is not being prepared. Also porting the script is not just changing the link. If you really coded the post counter, you should've known. DOM structures are different. You would need to analyze the structures for a bit of time. Then code then test/debug. If you used the same theme as the old freevps and used mybb1.6 it should've been almost as easy as changing links. Yes I am a busy person. I couldn't go browse forums for more than 1 hour a day. And I don't have the time to analyze the structure of your forum. RE: Post4VPS Post Counter Script - Dynamo - 06-07-2016 (06-07-2016, 09:36 AM)Conan Wrote:(06-06-2016, 01:14 PM)Dynamo Wrote:Conan Wrote:Also when saying "He wasn't ready is a lot different than saying "he was busy at that time""i can't see much deference.. Well, I had revised this: Code: foreach($html->find('table[class="tborder"] tr[class="inline_row"]') as $element) RE: Post4VPS Post Counter Script - Conan - 06-07-2016 (06-07-2016, 10:19 AM)Dynamo Wrote: Well, I had revised this:"i really can't understand which problem it can be as if you have fixed transfusion's script and its simply matter of sec in replacing the URL, might u have changed something more than that?" How did you find that path? By analyzing the structure of the website right? You said that it's easy as changing the URL and I said it's not as easy as that as you need to change the paths used in the script. And to change the paths you need to analyze the structure of your forum. If you changed more than just changing the links when you said that you only need to replace the link, you contradicted yourself. Also I don't use simple_html_dom in the image post counter I made. So it isn't easy as changing that. I only used the image generation part of Transfusion's code. I didn't use simple_html_dom because having a huge class file that isn't needed now would be more confusing when debugging. I discarded my code now and I'm using S.L.C.'s code as a base because it is more efficient. The source is on my github account. RE: Post4VPS Post Counter Script - Dynamo - 06-07-2016 (06-07-2016, 11:09 AM)Conan Wrote:i told:(06-07-2016, 10:19 AM)Dynamo Wrote: Well, I had revised this:"i really can't understand which problem it can be as if you have fixed transfusion's script and its simply matter of sec in replacing the URL, might u have changed something more than that?" "i really can't understand which problem it can be as if you have fixed transfusion's script and its simply matter of sec in replacing the URL, might u have changed something more than that?" so here i am talking after you have fixed the transfusion's script (as those paths were generally used by ever user friendly Mybb 1.8.x version script, but you had already got an fixed version of that script right ?(no matter for whichever forum it was) then it just needed link replacement but you were talking of changing path according to my theme("If you really coded the post counter, you should've known. DOM structures are different. You would need to analyze the structures for a bit of time."), but it only needed to change the path just once(for updating it for MyBB 1.8.x version) and it would be ready for every forum which have user friendly URL system and have basic structure of HTML codes in search and profile page (so postcounter can crawl the info).If you have done anything Extra than that then i would be happy to look into your script ![]() |