vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=33)
-   -   vB3 Boardstatistic Version 2 (https://vborg.vbsupport.ru/showthread.php?t=66783)

Wential 08-24-2004 08:45 PM

Quote:

Originally Posted by apokphp
Tom, your install script results in this error:

He's knows. See my post above for the install script fix attachment. If you don't use "vb3_" as your table prefix, change it globally throughout the file. I could create one for you, but I don't know what you use.

Onkel_Tom 08-24-2004 09:07 PM

This is not the problem of apokphp !

This error from apokphp results of an not escaped character in that line, sh*t
This was from a translation fix by Zelda-King

apokphp for instance search in the file install_statistic_english.php for:

Code:

Show $postername1's
and replace that by
Code:

Show $postername1\'s
this must be done for 5 instances with the name
$postername1
$postername2
$postername3
$postername4
$postername5

Just change your search to this names and change on each line the 's to \'s

@ Wential
Your table prefix fix is 3 postings before ;)

@Zelda-King
I'm working at the moment at the flag problem and find out that there are 3 countries mixed in the table. It's ID97 Indonesia, ID98 Ireland, ID99 Israel and ID100 Isle of Man. I will fix that also in the next release...

apokphp 08-24-2004 09:13 PM

I have used Wentials, and removed the prefix. It works fine.

But as stated previously, I have a problem. I have installed this on 2 servers. One just now, using the latest English translation...works great.

The PROBLEM, is that I installed this a few weeks ago on a different server using the old English translation, which is needing a lot of help with proper translation. How can I uninstall it so I can reinstall w/ the updated install script?

apokphp 08-24-2004 09:17 PM

Also, found another bug.

When you click Top 10 posters, it displays their homepage url. When you click on the homepage url, it gives you the "page not found" error.

What is displayed in the browser upon clicking it is: See for yourself here: http://www.ez-company.net/forums/statistik.php

Zelda-King 08-24-2004 09:44 PM

Quote:

Originally Posted by Onkel_Tom
This is not the problem of apokphp !

This error from apokphp results of an not escaped character in that line, sh*t
This was from a translation fix by Zelda-King

Hmm, under the circumstances, the original sentence "View the profile of" is acceptable. It's not actually bad grammar at all. Just, well... the done way is to say "view username's profile".

Onkel_Tom 08-24-2004 10:37 PM

Quote:

Originally Posted by Zelda-King
Hmm, under the circumstances, the original sentence "View the profile of" is acceptable. It's not actually bad grammar at all. Just, well... the done way is to say "view username's profile".

No problem Zelda, we can fix it with the escaped ' ;)

Quote:

Originally Posted by apokphp
Also, found another bug.

When you click Top 10 posters, it displays their homepage url. When you click on the homepage url, it gives you the "page not found" error.

What is displayed in the browser upon clicking it is:

Thanks apokphp, I will check it

For the deinstallation there is no deinstall script right now, so you have to drop all database tables with statistik_* and also delete all templates with statistic_* and the main template STATISTC.
I requested a deinstallation script from PcFreak (the maker of this hack) a few days ago in the german vbulletin forum but get no answer right now...

Zelda-King 08-24-2004 10:39 PM

I made a list of all the countries that have the 'noflag' problem. It's easy to spot them in install_english.php by doing a text search for noflag.gif. :D

Anguilla, Brunei Darussalam, Bouvet Island, Belarus, Belize, Cocos Keeling Islands, Dem. Rep. Congo, Cote d Ivoire, Cape Verde, Christmas Island, Wesetern Sahara, Falkland Islands, Faroe Islands, French Guiana, Gibraltar, Guadaloupe, Equatorial Guinea, South Georgia and South Sandwich Islands, Guam, Heard and McDonald Islands, Israel, Jersey, Saint Kitts and Nevis, Cayman Islands, Libya, Mali, Northern Mariana Islands, Martinique, Montserrat, Mauritius, New Caledonia, Norfolk, Island, Nepal, Niue, French Polynesia, Saint Pierre and Miquelon, Pitcairn, Qatar, Reunion, Saint Helena, Svalbard and Jan Mayen Islands, San Marino, Sao Tome and Principe, El Salvador, Turks and Caicos Islands, French Southern Territories, Tokelau, East Timor, US Minor Outlying Islands, Saint Vincent and the Grenadines, Virgin Islands British, Wallis and Futuna Islands, Samoa, Mayotte.

Now here's what I DON'T get: I fixed the El Salvador link in the database as a test fix and even though that entry now correctly points to elsalvador.gif, I still see the flag on the stats page as noflag.gif. Weird. :/

Onkel_Tom 08-24-2004 11:42 PM

Did you reload the page with F5 ????
Try also CTRL + F5 to not use the Internet files cache

Onkel_Tom 08-24-2004 11:56 PM

here is the dump of the fixed country table for phpmyadmin.

If you have phpmyadmin installed on your server, just open your database and click on SQL in top and then open the file countryfix_table.txt with your favorite editor, press CTRL + A to mark all and afterwards CTRL +C to copy all.
Go to your phpmyadmin window and press CTRL +V to paste all the data in the SQL field, now press OK to process the new entries.

hope this is fine now, but I have to check also each entry step by step with image name and name of country in compare with functions_statistik.php to be sure all entries are correct.
As Zelda mentioned the El Salvador flag has also a wrong image name in database....

Zelda-King 08-25-2004 12:05 AM

Quote:

Originally Posted by Onkel_Tom
Did you reload the page with F5 ????
Try also CTRL + F5 to not use the Internet files cache

I refreshed. I cleaned my cache. I closed/reopened my browser. Anyway I'll see how this table fix goes.


All times are GMT. The time now is 02:20 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
  • Page Generation 0.01520 seconds
  • Memory Usage 1,751KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_code_printable
  • (6)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete