VisioList 1.4

Basti

Administrator
Staff member
Fresh Install Instructions
http://visiolist.com/docs/Installing-visiolist

Upgrade Instructions
1) Take a backup of your files and database in case something goes wrong
2) Upload and replace all the files from the update bundle ( VL-Upgrade-1.4.zip ) via FTP
3) Run yoursite.com/install/update.php from your browser
4) New html files / html edits.
4.1) Copy wrapper_maintenance.html from parabola into your skin. This file is made for parabola, so adjust it to your liking if you use a different skin.
4.2) Copy join_recaptcha.html from parabola into your skin ( replacing old file ) and make possible changes to match your skin
4.3) Open join_premium_review.html and find
Code:
<form  name="pp_value" action="https://www.paypal.com/cgi-bin/webscr" method="post">
Replace with
Code:
<form  name="pp_value" action="https://www.{$paypal_sandbox}paypal.com/cgi-bin/webscr" method="post">

Important Changes
  • Global / Misc
    • Your site now automatically redirects site.com to www.site.com ( or other way around ) based on what you have set as your list url in admin -> settings. Htaccess snippet is no longer needed for this and can be removed.
    • New screenshot rendering server
    • site.com/index.php will redirect to domain only for SEO purposes also.
    • category url on premium sidebar list was wrongly parsed
    • out.php recieved a no-index header. Google started to read javascript so this was needed to avoid getting out urls indexed
    • in.php recieved fixes for indexed gateway page and soft 404 errors: Read more here http://visiolist.com/community/threads/multiple-homepage-urls-google-error.1841/#post-11608
    • User ip fix in case site uses cloudflare - previously a plugin
    • Maintenance mode. If enabled uses a new wrapper template which visitors are seeing ( not logged in admin ). Also uses proper headers to tell search engines that the site is currently not available and to come back in an hour
  • Join / Edit
  • Rankings
    • Tweak to rankings.php to avoid some issues regarding new ranking methods via plugins
    • Invalid categories now correctly display 404 error. This was changed to prevent duplicate content issues
  • Details page
    • Canonical php header has been added, since both /details/username/ and /details/UserName/ display the users details. Now google knows what the correct version is and not throw a duplicate content warning. This way we can keep case-insensitive in the url, and also not rely on the html tag, which could get removed if a bad plugin is in play or template developer not included the needed template tag, which is kind of nice.
  • User Panel
    • When user hits upload without selecting a banner it now shows proper error message instead success
    • Tweak to the user login session to avoid wrong username display when you login as "test" but Username is "Test".
    • Logout redirect to the home page rather than the login page
    • PayPal Sandbox mode
  • Custom Pages
    • Meta description and keywords had no effect prior this bug fix. We forgot to include the needed template tags
  • Admin
    • Deprecated overall ranking period has been removed from admin settings
  • Plugin Hooks
    • index.php hook "main_skin" changes to avoid calling plugins twice when this hook is used
    • "user_premium_auto_approve" has been added which is triggered when user returns from paypal and auto approve in on
    • "admin_approve_premium_do_approve" if auto approve is off and admin do it manually
    • ssi.php hooks "ssi_new_compile_stats" and "ssi_top_compile_stats"
    • search.php hook "search_search_result" renamed to "rankings_compile_stats". It uses same hook name as rankings.php, so plugins which append something to rankings also append it to search results
    • rankings.php hooks for the pagination. "pagination_previous", "pagination_number", "pagination_next"
  • php notices
    • Fixed many undefined indexes across multiple files. Please report if you stumble upon more.
  • HTML
    • Premium Sidebar list and featured member. Applied code so {$screenshot_path}_small.jpg could be used in the template, in case someone need to change the img code, they can manually construct the img code instead relying on the template tag which prints the img
    • Fixed a issue of wrong html: http://visiolist.com/community/thre...s-aligned-properly-in-chrome.1717/#post-10929
    • Fixed a issue with wrong html for the old, now unsupported Aardvark review system


As always please report any issues or bugs you may encounter.
 

Attachments

Last edited by a moderator:

Basti

Administrator
Staff member
Hi, yes and thank you :)

These were added
Code:
$LNG['user_cp_banner_no_image'] = 'No Image selected!';
$LNG['g_invalid_category'] = 'Invalid Category. Please try again.';
$LNG['join_recaptcha_text'] = 'Spam Check';
$LNG['join_error_recaptcha'] = 'Please prove that you are a real person and not a bot.';
$LNG['a_s_paypal_sandbox'] = 'PayPal sandbox mode';
$LNG['a_s_maintenance_mode'] = 'Maintenance mode';
$LNG['maintenance_header'] = 'Maintenance mode';
$LNG['maintenance_info'] = 'We are temporarily unavailable. Please try back later.';
These were changed
Code:
$LNG['a_s_recaptcha_pub_key']
changed into
Code:
$LNG['a_s_recaptcha_sitekey']
And the new text for this one is
Code:
$LNG['a_s_recaptcha_priv_key']
changed into
Code:
$LNG['a_s_recaptcha_secret']
And the new text for this one is
 

magnum

Member
Upgrade von 1.3 auf 1.4 hat super funktionieren ;-)

Leider habe ich einen kleinen Fehler im Adminmenü.
manage_banners fehlt zum größten Teil die Beschriftung.

Bevor ich lange erkläre hänge ich ein Bild mit bei.
ich hab schon geschaut ob ich den fehler finde, aber leider ohne erfolg.
 

Basti

Administrator
Staff member
Leider habe ich einen kleinen Fehler im Adminmenü.
manage_banners fehlt zum größten Teil die Beschriftung.
Bitte einmal den plugin update check durchlaufen lassen, der ads plugins ist nicht auf der neuesten version. Die entsprechenden Zeilen wurden schon vor einiger zeit in den plugin gepackt und nun mit dem 1.4 update aus dem VL core entfernt.

English ( in short )
Ads plugins missing language phrases
Please run plugin update check, the Ads plugin is not up to date. The missing phrases were moved into the plugin quite some time ago, and now with VL 1.4 removed from the core language file
 

Basti

Administrator
Staff member
Fresh install bundle has been updated. There was an issue in the installer which caused it to fail. Namely a little tiny comma... :rolleyes:
If you experienced this issue using fresh install, please redownload VL-Fresh-Install-1.4.zip
and replace the install folder.

Sorry for the issue
 

cajkan

Active Member
Hello VL,

Does this " New screenshot rendering server " have improvements on the screenshots or the server is changed only ?
Because screenshots from ENJIN and other free website hostings gives black screenshot.
 

Mark

Administrator
Staff member
its a whole new server, and a whole new method of taking screenshots.

ENJIN has DNS misconfiguration that prevents servers from connecting to their websites, I doubt that will change with the new screenshot methods since the problem is DNS based.
 

cajkan

Active Member
Thanks for your fast reply Mark, once i update to 1.4 ill notify if it generates screenshots or not.
 

Basti

Administrator
Staff member
Just wondering, sinve you need to get the srv record of many gameservers hosted with enjin to get the real address, can it be that the screenshot also need to make use of this?
 

Mark

Administrator
Staff member
So the new 1.4 screenshot server also fails for you with those domains?
 

Basti

Administrator
Staff member
for status check using fsockopen, i use the following, dunno how the screenshot grabs it, but i guess it should be similar.

Basicly what we do is, if no response from first one, check the specific dns srv record using the address ( no http, www ).
If it has a result, grab the data the users enter in their enjin panel ( target, port ). they do that often so users not need to enter a port when connecting.
Using that one, get the A record

If you use this for a http port call, i guess it wont work though, as this srv call is the gameservers, but something similar might do the trick.
Worth a try at least :)
Code:
        $result = dns_get_record('_minecraft._tcp.' . $addr, DNS_SRV);

        if (count($result) > 0)
        {
            if (array_key_exists('target',$result[0])) $addr            = $result[0]['target'];
            if (array_key_exists('port',  $result[0])) $this->ServerPort = $result[0]['port'];
        }

        $result = dns_get_record($addr, DNS_A);

        if (count($result) > 0 && array_key_exists('ip',$result[0]))
        {
            $this->ServerAddress = $result[0]['ip'];
        }
        else
        {
            $this->ServerAddress = '127.0.0.1';
        }

        $this->Socket = @fsockopen($this->ServerAddress, $this->ServerPort, $errno, $errstr, $this->Timeout);
 
Top