![]() |
1 Attachment(s)
Attachment 139670
I am using ForceHSS' version of the hack and I have been unable to find any information regarding how to make the box where it says people have thanked for this useful post look like the attached image. I am using a theme that takes advantage of postbit legacy. Can someone help? Thanks. |
That's because it's a article that BOP5 write look at the post of mine in the first post or my Sig. The link to it is there
|
I'm wracking my brains trying to figure out how to make this work after moving parts of my vB4 suite to sub-domains (the forums and the blogs).
When we click on Thanks, nothing happens except for the "Thanks" bit disappearing. When the thread is re-loaded, nothing has changed, either. When we middle-click or otherwise open the "Thanks" in a new Tab/Window, it works fine. I tried making a post_thanks.php file in my forums sub-directory that has the same stuff most everything else in that directory has: PHP Code:
It worked great before the change to the new sub-domain. It still does not work on a clean Style. I (obviously) haven't tried disabling all my plugins, since this one would be included. XP Am I missing something? |
Quote:
|
Quote:
If I remove it, won't that remove the database of Thanks I already have? :( Note that Thanking is still possible; one can still "Thank" by opening the thank link itself in a new tab/window. It's just the AJAX that seems to crap out. |
Version you are using and vb version?
|
Quote:
|
I'm using 7.84. I -think- I was using 7.83 before I re-installed it, but it might have been 7.84.
vB version is 4.1.11. (Was on 4.1.10, but when we moved stuff to subdomains, there was a bug for going to the first unread post of a thread, and that was fixed in 4.1.11, so we just upgraded last night.) I have the site on three subdomains, basically. Normal content (including CMS) is on the plain old www.domain, forums are on forums.domain, and blogs (not that it matters) are on blogs.domain. What I "moved," well, it wasn't really a move. I left everything installed as normal. I then created a new file in my forums sub-directory on the server called post_thanks.php (originally, there was just the one on the main part of the site). I put into it the content you see above (which is the content in most files in stub directories like mine). I will install this onto my clean testing forum tonight (I split it into sub-domains as well not too long ago), and see if the problem persists. |
Quote:
|
Quote:
You do realize that vBulletin 4.1+ allows for subdomains to separate blogs, forums, and CMS, yeah? ANYways, back to the issue. I altered the post_thanks.js to have the following function changed: Code:
var post_thanks_handleFailure = function(o) Code:
Here is the request object (failed): Object { tId=1, status=0, statusText="communication failure"} Ah, fixed it. That new post_thanks.php that I put up in my forums stub directory, I put that back in, and THEN I prefixed the "sUrl" in each of the three functions with PATHS.forum+'/'. (Full code will follow at the end of this post.) Thanks is now working just fine. Code:
/*======================================*\ |
All times are GMT. The time now is 12:40 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|