![]() |
Quote:
I nie muszę zmieniać serwera :rolleyes: Wcześniej pisałeś coś o dodawaniu do sitemapy vbseo i o własnym pajączku. Udostępnisz? Good work. It is too early to issue a verdict, but unless your amendment, the entire operation takes a little longer? |
Quote:
|
Quote:
Thanks for appreciate :) |
Dave.
How do I can add the translated pages to the vbseo sitemap? I can't find how. :erm: |
Hello, im form argentina. I dont understand the part of the translateflag.php... My forum is in spanish.. i have to put Spain.. but i dont understand if i only have to add the code at the end of the correct line. Explain more.
|
Quote:
|
Quote:
That is my thread at vbseo. It will add showthread pages in the languages you enter in the code. For other pages ask in my thread, im sure the vbseo guys will help out again. |
$alanguages = array('ar', 'bg', 'next', 'etc');
if(!$archived) foreach($alanguages as $hl) { $vbseo_stat['t']++; vbseo_add_url(vbseo_url_thread($threadrow, $p, $archived).'?hl='.$hl, $prior, $threadrow['lastpost'], $freq); } |
FYI I'm just testing a new version that should sort the db error emails once and for all, thanks.
|
I done everything but i have this error
Parse error: syntax error, unexpected $end in /home/reinodra/public_html/includes/functions.php(5721) : eval()'d code on line 59 Mi site: www.floggerss.com.ar |
Quote:
I just tried this our Dave and it has really crazy results on the amounts of new urls generated, ours is still running and it has already made 7 sitemaps from what was only two I think, is this normal? Not sure if it should be making this many lol 9 sitemaps total, changes listed are: +234,909 URLS, that is staggering! |
Quote:
|
I would reupload the default vb functions file you edited, you should always back up before editing your files :) that should fix it providing you never altered the original before this time ;)
|
Okei, but this only happen if i enable the plugings, if i turn it off, the forum works okei... if its on.. it shows you that error, in the header and if you want to translate the forum
|
Quote:
|
Quote:
|
Quote:
Normal URLs x28 :) |
It clearly states in the vbseo thread that you edit the vbseo_functions file, please pay attention.
If you edited the standard vb functions file than i would re-download the original from vb.com |
Dave...
Can you go to this page, please: http://glitchpc.com/forums/showthread.php?t=942 I have this installed and the page translates, but I get MySQL connection errors. Can you please advise as soon as possible? Thank you. |
Quote:
|
Thanks, Dave...
Fixed! It was an issue with the $mysqlserver = "localhost"; edit. Just had to change that to the database server for the MySQL database. |
Quote:
I didnt edit anything, i only follow the instructions... i re upload the file.,. but the same error. |
wait, i use the same database... is the same?? i config that in the translate.php
|
Brilliant mod. Can't seem to get the flag bit to work though lol. Not sure why.
Voted 5 stars and nominated :) |
Quote:
|
Every time i hit a flag to translate i get a blank page!
All steps done, i have a standard vbulletin forum without vbSeo! Any solutions? |
Quote:
|
Nevermind i just saw the update!
It would be cool if you'd update immediately, just to save time to those who are experiencing this kind of problem! |
Hello right now google translates non braking spaces to normal spaces what can damage some layouts. To change this behaviour edit vb Global Translator hook
and replace: Code:
require_once("translate.php"); Code:
$output = str_replace(" ", "< >", $output); |
Quote:
You should make it into a product to help us simpletons out :p |
v2.3 should be fully tested soon. False database error emails gone, finally. So far so good.
|
Quote:
|
For those who has a blank page .
After 3 days working with NLP-er .. This maybe becuase : Firewall blocked google IP . Curl functions disable on " disable_functions " On PHP .. This functions must be enabled : curl_exec and curl_init Thanks Dave ... Thanks NLP-er ... my best regards |
One more suggestion for this mod ..
for example : In arabic , pages direction is rtl In english its ltr it's nice if the mod make the page direction Based on the langauge . Sorry about my poor english :$ . |
Quote:
Code:
$output = str_replace("NOT_TRANSLATED_TEXT", "<NOT_TRANSLATED_TEXT>", $output); Code:
$output=callback($output); Code:
$output = str_replace("<NOT_TRANSLATED_TEXT>", "NOT_TRANSLATED_TEXT", $output); |
Still making fun with cache by improving it so get new issue here :)
During spidering my site I realized, that sometimes google translation returns just empty result. And right now those empty results are included in cache, so If once filled - used forever... To avoid this you must do 3 things. 1. Made change described under link - approptiate handling of non breaking spaces (not sure does necessary but I'm already working on correted code, and it works this way) https://vborg.vbsupport.ru/showpost....&postcount=189 2. In translate.php change: Code:
/* Save to cache */ Code:
/* Save to cache */ Dave - it would be good to include it in new release :) 3. get rid of already cached dummy content by executing those queries: Code:
delete from wt_cache where translated='' or translated is null; Note that I'm still working improving cache so future changes are possible :) Who don't like to mess in code - just wait till Dave made new official release with changes included :) For others - installing this will give me feedback about possible issues which I don't have on my forum. Also - Dave I noted you was asking to wrote changes proposals as PM - I prefere this way because I have a chance that someone will use it and maybe discover some additional issues before official release. |
the 2 tables medium and short are increasing, but nothing is in the translated fields of the tables....its just empty on my end. the site isnt translating. ill be uninstalling this i guess untill a later date.
|
v2.3 Official Release
* More change to database optimization. To Upgrade Upload the new translate.php and run the following MySQL query on your DB. Code:
delete from wt_cache where translated='' or translated is null; |
Quote:
I'm still trying to sort the few remaining DB errors, it's a PITA to fix, I can get rid of them but the DB has to be opened and closed twice to avoid timeout so it makes everything slow... Grrrr. Ha. I'll keep trying. :) |
Quote:
Firewall blocked google IP . Curl functions disable on " disable_functions " On PHP .. This functions must be enabled : curl_exec and curl_init |
All times are GMT. The time now is 04:11 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:
|