06-07-2016, 11:37 AM
(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?"
and removed those ignore 2 rows codes,added some more substr() and it started counting posts correctly,(i had tested it for other forums too [including freevps] and it was working fine). i really wonder what you change to fix its postcount (if you can release your version of postcount then it can be easy to see that in which manner you have changed the postcount script, and i might suggest something so it can work for every forum).Code: (Select All)foreach($html->find('table[class="tborder"] tr[class="inline_row"]') as $element)
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.
"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
Administrator
admin@post4vps.com