[ABD] (AJAX ADD-ON) Thanks for posts 1.0.8

Any abandoned MODs will be moved to this forum.

WARNING: MODs in this forum are not currently being supported or maintained by the original MOD author. Proceed at your own risk.
Forum rules
IMPORTANT: MOD Development Forum rules

WARNING: MODs in this forum are not currently being supported nor updated by the original MOD author. Proceed at your own risk.
User avatar
katib
Registered User
Posts: 562
Joined: Thu Jun 26, 2008 12:27 pm

Re: [RC] (AJAX ADD-ON) Thanks for posts 1.0.4

Post by katib » Mon Jun 21, 2010 12:19 am

Hello
Great Mod
I installed it
however I noticed two weired things:
1-Палыч has added the possibility to show thanker's name along with date and time like this:
The following users have thanked:
user1 (11-06-2010) user2 (02-05-2010) ...
But the ajax Mod shows only thanker's name without date and time It seems this extra info is not pulled from database!!

2- when I thank someone, the thank button desappears, that is normal, but I didnot see a button to remove thank !! I had to refresh page to display remove button
I am using last version 1.2.8 with rating system
thanks

Porutchik
I've Been Banned!
Posts: 275
Joined: Sat Dec 31, 2005 11:11 am
Location: Russia, Orenburg (Россия, Оренбург)
Name: Sergey O
Contact:

Re: [RC] (AJAX ADD-ON) Thanks for posts 1.0.4

Post by Porutchik » Mon Jun 21, 2010 9:50 am

katib
Porutchik wrote:Adapted for the Thanks for posts version 1.2.7
I not tested on version 1.2.8. This version of the mod was not validated.
My forum | Advanced Similar Topics
Excuse me please for my awful English. Thanks!. Please do not P.M., ICQ or email me for support help - you won't get any reply. If you have a question or issue, post it in the appropriate forum/topic.

User avatar
sheVcza
Registered User
Posts: 26
Joined: Tue Apr 15, 2008 3:05 pm
Location: Czech Republic
Contact:

Re: [RC] (AJAX ADD-ON) Thanks for posts 1.0.4

Post by sheVcza » Wed Jun 30, 2010 9:40 am

Hi Porutchik!

I've one problem with this MOD. All works perfectly, but I want modify style of thanks in viewtopic. So, i modify viewtopic.html and no problem. But for ajax update i need also modify ajax_thanks_viewtopic.html, and this is my problem. If I do any change in this file (just add space somewhere) and then click on thanks, I will get this:

Image

Where could be the problem?
Skalat maðr rúnar rista
nema raða vel kunni
þat verðr morgum manni
es of myrkvan staaf villisk.

Porutchik
I've Been Banned!
Posts: 275
Joined: Sat Dec 31, 2005 11:11 am
Location: Russia, Orenburg (Россия, Оренбург)
Name: Sergey O
Contact:

Re: [RC] (AJAX ADD-ON) Thanks for posts 1.0.5

Post by Porutchik » Fri Jul 16, 2010 5:27 pm

Adapted for the Thanks for posts version 1.2.8

Copy: root/ajax_thanks.php To: ajax_thanks.php
Copy: root/styles/prosilver/template/ajax_thanks_viewtopic.html To: styles/prosilver/template/ajax_thanks_viewtopic.html
Copy: root/styles/prosilver/template/ajax_thanks.js To: styles/prosilver/template/ajax_thanks.js

Optional:
Copy: root/styles/subsilver2/template/ajax_thanks_viewtopic.html To: styles/subsilver2/template/ajax_thanks_viewtopic.html
Copy: root/styles/subsilver2/template/ajax_thanks.js To: styles/subsilver2/template/ajax_thanks.js

See first post for download link.
My forum | Advanced Similar Topics
Excuse me please for my awful English. Thanks!. Please do not P.M., ICQ or email me for support help - you won't get any reply. If you have a question or issue, post it in the appropriate forum/topic.

User avatar
kmakoto
Registered User
Posts: 234
Joined: Mon Mar 01, 2010 11:35 pm

Re: [RC] (AJAX ADD-ON) Thanks for posts 1.0.5

Post by kmakoto » Wed Aug 11, 2010 5:16 pm

no reload thanks list :cry: :cry:

Porutchik
I've Been Banned!
Posts: 275
Joined: Sat Dec 31, 2005 11:11 am
Location: Russia, Orenburg (Россия, Оренбург)
Name: Sergey O
Contact:

Re: [RC] (AJAX ADD-ON) Thanks for posts 1.0.6

Post by Porutchik » Tue Aug 17, 2010 7:53 pm

Mod is updated.
Current version 1.0.6

+ [fixed] bug for topics global


Copy: root/ajax_thanks.php To: ajax_thanks.php
Copy: root/styles/prosilver/template/ajax_thanks.js To: styles/prosilver/template/ajax_thanks.js

Optional:
Copy: root/styles/subsilver2/template/ajax_thanks.js To: styles/subsilver2/template/ajax_thanks.js

See first post for download link.
My forum | Advanced Similar Topics
Excuse me please for my awful English. Thanks!. Please do not P.M., ICQ or email me for support help - you won't get any reply. If you have a question or issue, post it in the appropriate forum/topic.

User avatar
Artuurins
Registered User
Posts: 202
Joined: Sun Jul 05, 2009 12:52 pm

Re: [RC] (AJAX ADD-ON) Thanks for posts 1.0.6

Post by Artuurins » Sun Sep 26, 2010 2:50 pm

(english)
Hello! I installed this mod using automod, with no errors, but only what i get - is blank page, when trying to browse any topic. i copied old wievtopic.php from my backups, and all is working fine, but ajax is not working - the mod works as it was working before.
(russian)
Privet! Ja ustanavil etot add-on izpolzuja automod, bez oshibok, no kogda ja proboval otkritj luboi topik, mne tolko otkrivalasj belaja pustaja stranica, no kogda ja postavil obratno fail wievtopic.php iz mojevo bekapa, vsjo snova zarabotalo, no ajax add-on tak i tak nerabotaet, rabotaet tolko thanks mod kak on rabotal ranshe, bez izminenij.

User avatar
Tophon
Registered User
Posts: 212
Joined: Wed Oct 22, 2008 12:19 am
Contact:

Re: [RC] (AJAX ADD-ON) Thanks for posts 1.0.6

Post by Tophon » Sun Sep 26, 2010 4:28 pm

Getting a pop-up error on hitting thanks button; "There was a problem with the request. Status: 503"

Any ideas?

trickoff
Registered User
Posts: 513
Joined: Mon Jan 07, 2008 12:23 am

Re: [RC] (AJAX ADD-ON) Thanks for posts 1.0.6

Post by trickoff » Sat Oct 16, 2010 8:49 pm

I also get a pop up error saying:

Code: Select all

There was a problem with the request. Status: 500

Porutchik
I've Been Banned!
Posts: 275
Joined: Sat Dec 31, 2005 11:11 am
Location: Russia, Orenburg (Россия, Оренбург)
Name: Sergey O
Contact:

Re: [RC] (AJAX ADD-ON) Thanks for posts 1.0.6

Post by Porutchik » Sat Oct 16, 2010 9:00 pm

No ideas.
My forum | Advanced Similar Topics
Excuse me please for my awful English. Thanks!. Please do not P.M., ICQ or email me for support help - you won't get any reply. If you have a question or issue, post it in the appropriate forum/topic.

trickoff
Registered User
Posts: 513
Joined: Mon Jan 07, 2008 12:23 am

Re: [RC] (AJAX ADD-ON) Thanks for posts 1.0.6

Post by trickoff » Sat Oct 16, 2010 9:59 pm

Forgot to say that this happens in all browsers IE, Safari, Chrome and Firefox

Porutchik
I've Been Banned!
Posts: 275
Joined: Sat Dec 31, 2005 11:11 am
Location: Russia, Orenburg (Россия, Оренбург)
Name: Sergey O
Contact:

Re: [RC] (AJAX ADD-ON) Thanks for posts 1.0.6

Post by Porutchik » Sun Oct 17, 2010 11:05 am

I tested this mod in IE 8, FF >= 3.5, Opera >= 10.53, Chrome
My forum | Advanced Similar Topics
Excuse me please for my awful English. Thanks!. Please do not P.M., ICQ or email me for support help - you won't get any reply. If you have a question or issue, post it in the appropriate forum/topic.

trickoff
Registered User
Posts: 513
Joined: Mon Jan 07, 2008 12:23 am

Re: [RC] (AJAX ADD-ON) Thanks for posts 1.0.6

Post by trickoff » Sun Oct 17, 2010 11:19 am

Maybe this can help?
http://www.codingforums.com/archive/ind ... 23496.html

There's a guy with the same problem, and he says that it was the <base href="..." /> that caused the problem.

Edit: http://social.msdn.microsoft.com/forums ... c6b81f7f9c

everyone is saying that the problem has to do with wrong URL

Porutchik
I've Been Banned!
Posts: 275
Joined: Sat Dec 31, 2005 11:11 am
Location: Russia, Orenburg (Россия, Оренбург)
Name: Sergey O
Contact:

Re: [RC] (AJAX ADD-ON) Thanks for posts 1.0.6

Post by Porutchik » Sun Oct 17, 2010 8:23 pm

Try to it

Code: Select all

#
#---- [OPEN] ------------
#
styles/prosilver/template/ajax_thanks.js

#
#---- [FIND] ------------
#
function getHTTPObject()
{
         //....... function content 
}

#
#---- [REPLACE WITH] ------------
#
function getHTTPObject()
{
	var xr = null;
	// Borrowed from http://ru.wikipedia.org/wiki/XMLHttpRequest
	if (XMLHttpRequest == undefined) 
	{
		XMLHttpRequest = function() 
		{
			try { xr = new ActiveXObject("Msxml2.XMLHTTP.6.0"); }
				catch(e) {}
			try { xr = new ActiveXObject("Msxml2.XMLHTTP.3.0"); }
				catch(e) {}
			try { xr = new ActiveXObject("Msxml2.XMLHTTP"); }
				catch(e) {}
			try { xr = new ActiveXObject("Microsoft.XMLHTTP"); }
				catch(e) {}
			throw new Error("This browser does not support XMLHttpRequest.");
		};
	} 
	else 
	{
		try { xr = new XMLHttpRequest(); }
			catch(e) {}
	}

	if(!xr)
	{
		alert('Cound not create XmlHttpRequest Object. Consider upgrading your browser.');
	}
	return xr;
}

#
#---- [FIND] ------------
#
							alert('There was a problem with the request. Status: ' + http_request.status);

#
#---- [REPLACE WITH] ------------
#
							alert('There was a problem with the request. ' + "\n" + 'Status: ' + http_request.status + " " + http_request.statusText);
My forum | Advanced Similar Topics
Excuse me please for my awful English. Thanks!. Please do not P.M., ICQ or email me for support help - you won't get any reply. If you have a question or issue, post it in the appropriate forum/topic.

trickoff
Registered User
Posts: 513
Joined: Mon Jan 07, 2008 12:23 am

Re: [RC] (AJAX ADD-ON) Thanks for posts 1.0.6

Post by trickoff » Sun Oct 17, 2010 11:23 pm

sorry still doesn't work :(

Locked

Return to “[3.0.x] Abandoned MODs”