arrow_upward

Pages (16): Jump to page 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post4VPS Post Counter Script
#21
(06-07-2016, 11:37 AM)Dynamo Wrote:
(06-07-2016, 11:09 AM)Conan Wrote:
(06-07-2016, 10:19 AM)Dynamo Wrote: Well, I had revised this:
foreach($html->find('table[class="tborder"] tr[class="inline_row"]') as $element)
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).
"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.
i told:
"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 Smile
You said that you only needed to change the links. I'm pointing out that it isn't as easy as that. I'm out.
And no. It's not for updating for the new MyBB version. It's more of adaptation to your theme and customizations to your theme. I didn't have time back then to do an inspect element and test paths since I still had school that time. Also exams.
I already trashed my old script as I said. In favor of S.L.C.'s script.

KK I'm out. Bye.
http://FreeVPS.club - Free VPSs!
#22
(06-07-2016, 02:30 PM)Conan Wrote: It's more of adaptation to your theme and customizations to your theme.
Ohk lets lets think from your point of view,
Which adaptation are you talking about ? may i know (you can give me an example of its theme adaptation path coded).
can you clearly tell me which-which stuff you have fixed to make transfusion's script work ?

search pages are normally same for all mybb theme(from where pocsts use to count).
I never started this, and i am clear in what i have done in the script.
 Administrator
admin@post4vps.com


#23
(06-07-2016, 02:58 PM)Dynamo Wrote: Ohk lets lets think from your point of view,
Which adaptation are you talking about ? may i know (you can give me an example of its theme adaptation path coded).
can you clearly tell me which-which stuff you have fixed to make transfusion's script work ?

search pages are normally same for all mybb theme(from where pocsts use to count).
I never started this, and i am clear in what i have done in the script.

If i am right then conan created his own post counter with help of S.L.C.'s script, correct me if i am wrong. His postcounter is available on github at https://github.com/1Conan/FreeVPS, he no longer uses HTML DOM for post count.
[Image: a3ad5cfbf5.png]
[Image: trk1]
#24
(06-07-2016, 04:48 PM)TrK Wrote:
(06-07-2016, 02:58 PM)Dynamo Wrote: Ohk lets lets think from your point of view,
Which adaptation are you talking about ? may i know (you can give me an example of its theme adaptation path coded).
can you clearly tell me which-which stuff you have fixed to make transfusion's script work ?

search pages are normally same for all mybb theme(from where pocsts use to count).
I never started this, and i am clear in what i have done in the script.

If i am right then conan created his own post counter with help of S.L.C.'s script, correct me if i am wrong. His postcounter is available on github at https://github.com/1Conan/FreeVPS, he no longer uses HTML DOM for post count.

that's what i was looking for, looks like you have modified it by using some aspects of SLC's script that's why i guess you were saying for changing path(as i had never tried to look deep into SLC's script, his script might crawl more than just what I needed [like rep,posts,threads,etc]).
I thought that you have just modified Transfusions script ?
that would be one reason why our Thoughts were conflicting
 Administrator
admin@post4vps.com


#25
I am using this. Thanks for sharing. Makes it easier to have an eye on the post count. And I like those custom messages as well. Wink
Thanks  @Post4VPS

#26
(06-07-2016, 05:27 PM)Dynamo Wrote:
(06-07-2016, 04:48 PM)TrK Wrote:
(06-07-2016, 02:58 PM)Dynamo Wrote: Ohk lets lets think from your point of view,
Which adaptation are you talking about ? may i know (you can give me an example of its theme adaptation path coded).
can you clearly tell me which-which stuff you have fixed to make transfusion's script work ?

search pages are normally same for all mybb theme(from where pocsts use to count).
I never started this, and i am clear in what i have done in the script.

If i am right then conan created his own post counter with help of S.L.C.'s script, correct me if i am wrong. His postcounter is available on github at https://github.com/1Conan/FreeVPS, he no longer uses HTML DOM for post count.

that's what i was looking for, looks like you have modified it by using some aspects of SLC's script that's why i guess you were saying for changing path(as i had never tried to look deep into SLC's script, his script might crawl more than just what I needed [like rep,posts,threads,etc]).
I thought that you have just modified Transfusions script ?
that would be one reason why our Thoughts were conflicting

Just gonna reply to this.
I already said that I use S.L.C.'s code right now.
I didn't modify Transfusion's code to port it to the current FVPS. I just used the image generation and text. That's what I said.
You would still need to analyze the html to port transfusion's code. That's what I meant. And you aren't getting what I meant.

And simple_html_dom is annoying to debug. :3 so I don't use that.

(06-07-2016, 04:48 PM)TrK Wrote:
(06-07-2016, 02:58 PM)Dynamo Wrote: Ohk lets lets think from your point of view,
Which adaptation are you talking about ? may i know (you can give me an example of its theme adaptation path coded).
can you clearly tell me which-which stuff you have fixed to make transfusion's script work ?

search pages are normally same for all mybb theme(from where pocsts use to count).
I never started this, and i am clear in what i have done in the script.

If i am right then conan created his own post counter with help of S.L.C.'s script, correct me if i am wrong. His postcounter is available on github at https://github.com/1Conan/FreeVPS, he no longer uses HTML DOM for post count.

That's S.L.C.'s old code which isn't updated. I just implemented the image generation in that old code so if ever he updates his repo someone could use the image.
I have S.L.C.'s updated code which he asked to not release for now.

I have my old script which I already trashed in favor of S.L.C.'s code which is far better.
My old script is harder to port. :3
So let's just call this over. Damn.
http://FreeVPS.club - Free VPSs!
#27
Can I use it as my signature?? As there is written
We Do not Recommend the Image Post Counter as it can slow Our Site.
I would like to use it if you give me permission to use.
#28
(07-05-2016, 11:11 AM)Anik Wrote: Can I use it as my signature?? As there is written
We Do not Recommend the Image Post Counter as it can slow Our Site.
I would like to use it if you give me permission to use.

We Do not Recommend the Image Post Counter as it can slow Our Site.
you can answer the question yourself.
#29
(07-05-2016, 01:35 PM)perryoo11 Wrote:
(07-05-2016, 11:11 AM)Anik Wrote: Can I use it as my signature?? As there is written
We Do not Recommend the Image Post Counter as it can slow Our Site.
I would like to use it if you give me permission to use.

We Do not Recommend the Image Post Counter as it can slow Our Site.
you can answer the question yourself.

OK for Post 4 VPS's best performance I would not use it as my signature
#30
(07-05-2016, 01:37 PM)Anik Wrote: OK for Post 4 VPS's best performance I would not use it as my signature

trust me @Ankit you don't wanna make such waste posts even the previous one wasn't so great, their won't be another warning.
Pages (16): Jump to page 
lockThread Closed 


Possibly Related Threads…
Thread
Author
Replies
Views
Last Post
2,959
08-22-2019, 05:41 PM
Last Post: Mashiro

person_pin_circle Users browsing this thread: 7 Guest(s)
Sponsors: VirMach - Host4Fun - CubeData - Evolution-Host - HostDare - Hyper Expert - Shadow Hosting - Bladenode - Hostlease - RackNerd - ReadyDedis - Limitless Hosting