PDA

View Full Version : Solved Using vbulletin 3.6.12, have problem on RSS feed, and Archive



basketmen
07-02-11, 11:30
I just purchased Integration service $30 at 2011.02.04, I am using vbulletin 3.6.12, i have problem on RSS feed pages, and Archive pages

i already give pm to kamilkurczak





I. The rss feed page in default language (Indonesia) are working normal http://www.domain.com/external.php and RSS2 http://www.domain.com/external.php?type=RSS2

but in other language are not translated and the url not rewrited, see here :

RSS http://www.domain.com/en/external.php (the thread link are still like this on that page)
http://www.domain.com/showthread.php?t=96218&goto=newpost
http://www.domain.com/showthread.php?t=96217&goto=newpost

RSS2 http://www.domain.com/en/external.php?type=RSS2 (the thread link are still like this on that page)
http://www.domain.com/f/96217-vbet_delay8x/
http://www.domain.com/f/96216-vbet_delay7x/





Nb.
- In vbseocp.php i already trying set "Replace the META DESCRIPTION Content" to yes and set "Define the META DESCRIPTION Length?" to 200, the meta description are replaced with 200 first words in post, but the rss feed in other language page still not translated

- maybe similar problem with this thread http://www.vbenterprisetranslator.com/forum/troubleshooting/1393-not-translated-rss.html










II. And in arhive pages (One of example archive page : http://www.domain.com/en/f/sitemap/f-43.html ), the thread links are most like this, if you can please fix it too :

http://www.domain.com/en/f/95724-vbet_delay66x/
http://www.domain.com/en/f/95722-vbet_delay65x/
http://www.domain.com/en/f/95675-vbet_delay64x/
http://www.domain.com/en/f/95639-vbet_delay63x/

but the links will translated if opened the thread first (example http://www.domain.com/en/f/93646-vbet_delay21x/ will be http://www.domain.com/en/f/93646-facts-about-north-korea/ ), and its looks like saved in vbet database, if i running Cache Cleaner, it will back using vbet_delay again in the link

Nb. Maybe similar like this thread http://www.vbenterprisetranslator.com/forum/vbet-integration-other-plugins/810-vbet-vbulletin-3-6-a.html , i already add like that instruction, the problem now is only the thread url using vbet_delay like above














let me know if you have question, or need other thing

richie

kamilkurczak
07-02-11, 11:59
ok thanks for this post. I will start working on your server.

kamilkurczak
07-02-11, 13:54
Firstly - I tried to reproduce this issue on my test forum - no results.
Secondly - I found it on your server, the place with the issue. Now, I am working on solution, but I need more time.
Thanks for your patience. :)

kamilkurczak
08-02-11, 11:07
I am working on your server now.

kamilkurczak
08-02-11, 12:20
I noticed that our hooks to external.php file are not used.
I think about external_start and external_complete hooks.
Maybe we have a conflict with mod (but I still can't find this mod) maybe you have any idea about mod?
Secondly, maybe this is provided by cache the external.php site. I am still working with this issue.

also I found this link on your site:

/f/feed.html
This is supported by some mod or not?

basketmen
08-02-11, 12:57
I noticed that our hooks to external.php file are not used.
I think about external_start and external_complete hooks.
Maybe we have a conflict with mod (but I still can't find this mod) maybe you have any idea about mod?
Secondly, maybe this is provided by cache the external.php site. I am still working with this issue.

also I found this link on your site:

/f/feed.html
This is supported by some mod or not?
i think the problem is because i use vbulletin 3.6.12, the archive files and the external.php file are not as good as vbulletin 3.8.x


but let me know if you want me to disabled all products execpt vbseo and vbet, i can try it few hours again when off peak time

kamilkurczak
08-02-11, 13:06
Can you update your vB to the 3.8.x version?
I am still working on your server and you can try all mods if you want.

I think that we can fix it, but I need a more time. I will ask Michał about this issue too.

basketmen
08-02-11, 13:36
I noticed that our hooks to external.php file are not used.
I think about external_start and external_complete hooks.
Maybe we have a conflict with mod (but I still can't find this mod) maybe you have any idea about mod?
Secondly, maybe this is provided by cache the external.php site. I am still working with this issue.

also I found this link on your site:

/f/feed.html
This is supported by some mod or not?

no, it is just Feed Listing page (http://www.vbulletin.org/forum/showthread.php?t=133365), only list the feed that already existing in a page, no related to external.php that is vbulletin file at all






Can you update your vB to the 3.8.x version?
I am still working on your server and you can try all mods if you want.

yes i cant upgrade to vb 3.8.x since some mods will only working in vb 3.6.x

ok i will try disabled all mods product except vbet, few hours again in off peak time, no problem with this, to found the problem if the problem really the mods, not the vbulletin it self





like this thread http://www.vbenterprisetranslator.com/forum/troubleshooting/1393-not-translated-rss.html

he is using vb 3.6.5 i see from the Page source, and he is not using vbseo, so the problem its looks like not in vbseo

kamilkurczak
08-02-11, 13:43
Yes, but there was a issue with syntax error (wrong encoding or something with that) and our hooks was used in translation by external.php file.
On your site vB don't use our external hooks and we can't translate this pages.

You can test all mods. I am still looking the solution on your server and I asked Michał about that, maybe he have any idea.

basketmen
09-02-11, 02:15
Ok i already tried disabled all products, except vbet


http://i291.photobucket.com/albums/ll284/basketmen/productdisabled1.jpg

http://i291.photobucket.com/albums/ll284/basketmen/productdisabled2.jpg

http://i291.photobucket.com/albums/ll284/basketmen/productdisabled3.jpg

http://i291.photobucket.com/albums/ll284/basketmen/productdisabled4.jpg

http://i291.photobucket.com/albums/ll284/basketmen/productdisabled5.jpg





but still same, not translated

http://i291.photobucket.com/albums/ll284/basketmen/productdisabled6.jpg





and i already tried upload external.php file from vbulletin 3.8.4, just want to try, but its still same, not translated too




let me know if you want me to try something else, its ok if not get it done for now, i believe the problem is in vbulletin 3.6.x version only in rss feed and archive pages, same like this thread Not translated rss (http://www.vbenterprisetranslator.com/forum/troubleshooting/1393-not-translated-rss.html), his forum dont use vbseo or any mod i think, only vbulletin 3.6.x

i need the rss feed and archive pages integrated with vbet

kamilkurczak
09-02-11, 13:43
Hello,

I am still working with your issue. Integration of vBET with vB in vesrion 3.6 is very difficult and can take very long time. We must make a chenges only in vBET code (not in vB). So we should be very patient :)

About issue with vbet_delay in archive links:
this vbet_delay is use to make a translation faster. This should be replaced by vBET to the translated title of link, but on your forum - not.

I noticed that in the place where we should make a replace a table ($vbet_DelayedBuffer) with all translated links does not exist. (but should).
This is in forum root/includes/vbenterprisetranlator_functions.php
in line:
lobal $vbet_DelayedBuffer;
if ($vbet_DelayedBuffer) {
//print_r($vbet_DelayedBuffer);
$result = preg_replace('#vbet_delay(\d+)x#e', '$vbet_DelayedBuffer[\'\\1\']', $result);
}

for normal forum pages - this function is working, for archive pages - not.
I am still looking this issue. Maybe I will make another solution of this replacement vbet_delay for you.

P.S. thanks for this vB 3.6 pack :)

basketmen
09-02-11, 16:23
Hello,

I am still working with your issue. Integration of vBET with vB in vesrion 3.6 is very difficult and can take very long time. We must make a chenges only in vBET code (not in vB). So we should be very patient :)

About issue with vbet_delay in archive links:
this vbet_delay is use to make a translation faster. This should be replaced by vBET to the translated title of link, but on your forum - not.

I noticed that in the place where we should make a replace a table ($vbet_DelayedBuffer) with all translated links does not exist. (but should).
This is in forum root/includes/vbenterprisetranlator_functions.php
in line:
lobal $vbet_DelayedBuffer;
if ($vbet_DelayedBuffer) {
//print_r($vbet_DelayedBuffer);
$result = preg_replace('#vbet_delay(\d+)x#e', '$vbet_DelayedBuffer[\'\\1\']', $result);
}

for normal forum pages - this function is working, for archive pages - not.
I am still looking this issue. Maybe I will make another solution of this replacement vbet_delay for you.

P.S. thanks for this vB 3.6 pack :)
yes its ok if not get the answer right now, the fix later can be used for all vbet customer that using vb 3.6.x too, many still using that vb version, vb.org are still use it too

let me know if there any i can do with includes/vbenterprisetranlator_functions.php file too

kamilkurczak
09-02-11, 21:53
Hello,

Translation links on your forum is working!
You can test it: モバイル&PDAの[サイトマップ] - indonesiaindonesia.com (http://www.edited.com/ja/f/sitemap/f-80.html)

But I would like to find a better solution

basketmen
09-02-11, 22:56
great thanks, if its enough for the archive pages, please fix the rss pages (external.php) too

btw please edit the real forum url too if you dont mind :)

kamilkurczak
10-02-11, 09:02
Hello,

About translation of external.
The vB 3.6 external.php file is different than the same file from vB 3.8 version.

vBET translate external in this hook: external_complete
and after that the external output should be printed.
And in version vB 3.8 the code is:

($hook = vBulletinHook::fetch_hook('external_complete')) ? eval($hook) : false;

{ ... another code ... }
echo $output;

and it works good (echo $output is after our translation)

but in your version you have:

echo $output;

($hook = vBulletinHook::fetch_hook('external_complete')) ? eval($hook) : false;


so firstly the external content is printed and after that - translated - this is wrong order!
You can see it. Just open external.php file and go to the end of this file.

I made a test and I remove echo $output after this hook and translation worked, but I can't make any pernament changes in vB code :(

I will try to find another solution.

basketmen
10-02-11, 09:46
Hello,

About translation of external.
The vB 3.6 external.php file is different than the same file from vB 3.8 version.

vBET translate external in this hook: external_complete
and after that the external output should be printed.
And in version vB 3.8 the code is:

($hook = vBulletinHook::fetch_hook('external_complete')) ? eval($hook) : false;

{ ... another code ... }
echo $output;

and it works good (echo $output is after our translation)

but in your version you have:

echo $output;

($hook = vBulletinHook::fetch_hook('external_complete')) ? eval($hook) : false;


so firstly the external content is printed and after that - translated - this is wrong order!
You can see it. Just open external.php file and go to the end of this file.

I made a test and I remove echo $output after this hook and translation worked, but I can't make any pernament changes in vB code :(

I will try to find another solution.
you can change the vb file or the vbet file, and can try vb 3.8 external.php file too if you want to


the fix tutorial can useful for other members that using vb 3.6 too


btw please edit my forum url above too if you dont mind :)

kamilkurczak
11-02-11, 11:36
hello,

1. Ok translate of external - DONE. We must edit a vB external.php file (no another way) so:
1. open and edit external.php file.
2 . in this file find and CUT:

($hook = vBulletinHook::fetch_hook('external_complete')) ? eval($hook) : false;
3. and paste before this code:

$db->query_write("
REPLACE INTO " . TABLE_PREFIX . "externalcache
(cachehash, dateline, text, headers, forumid)
VALUES
(
'" . $db->escape_string($cachehash) . "',
" . TIMENOW . ",
'" . $db->escape_string($output) . "',
'" . $db->escape_string(serialize($headers)) . "',
" . intval($podcastforumid) . "
)
");

already done on your server.

2. About archive - translation is working wery well, but I would like to find a better solution of this issue. Can I still use your server?

3. You wrote about your forum links? what does it mean? In my opinion you have good urls on your forum, translation works good and it is integrated with vBSEO. Can you explain it better? Maybe some links for example.

Thanks :)

basketmen
11-02-11, 12:25
Ok translate of external - DONE. We must edit a vB external.php file (no another way)

yes its very fine to edit the vb files, because the problem in is the vb files, like forum in this thread (http://www.vbenterprisetranslator.com/forum/troubleshooting/1393-not-translated-rss.html), thank you





2. About archive - translation is working wery well, but I would like to find a better solution of this issue. Can I still use your server?

yes its ok, let me know if you already finished

and maybe you can share the fix tutorial for others in Integration forum (http://www.vbenterprisetranslator.com/forum/vbet-integration-other-plugins/) so other vb 3.6.x users use it too






3. You wrote about your forum links? what does it mean? In my opinion you have good urls on your forum, translation works good and it is integrated with vBSEO. Can you explain it better? Maybe some links for example.


i mean link in post #13 above, please remove it

kamilkurczak
11-02-11, 12:31
Right;) edited:)
About the solution in integration part - I will make it

kamilkurczak
21-02-11, 11:20
hello,
I am after my holiday. Now I will work on your server again.
vBET variable (table with translation) is not avaliable in archive. I will try to add this table to the $_GLOBALS variable. Maybe there is a good place in your code to do that, i will try to find it :)

basketmen
03-03-11, 03:27
Hi kamilkurczak, i am sorry, is it already finished?

if already finished, i want to order next integration, for zoints local mod

its similar like above, the zoints local mod page can opened like usually, only not translated


thank you before

kamilkurczak
03-03-11, 09:54
yes, this is already done.
Please make a new thread with this issue - one issue - one thread:) thanks

basketmen
03-03-11, 19:57
yes, this is already done.
Please make a new thread with this issue - one issue - one thread:) thanks
i just ordered next Integration service $30, for integrating zoints local mod like i said in post #21 above, i will create a thread and pm you the details few hours again

kamilkurczak
04-03-11, 08:25
right, i noticed that. I will integrate it. please give me an url to the page with this mod - zoints local mod and describe it. please write - is this mod free or not? where I can donwload it for me?

AfrikaansAlbanianArabicBelarusianBulgarianCatalanChineseCroatianCzechDanishDutchEnglishEstonianFilipinoFinnishFrenchGalicianGermanGreekHaitian CreoleHebrewHindiHungarianIcelandicIndonesianIrishItalianJapaneseKoreanLatvianLithuanianMacedonianMalayMalteseNorwegianPersianPolishPortugueseRomanianRussianSerbianSlovakSlovenianSpanishSwahiliSwedishTaiwaneseThaiTurkishUkrainianVietnameseWelshYiddish
Languages translations supported by vBET 4.9.2