To jest tylko wersja do druku, aby zobaczyć pełną wersję tematu, kliknij TUTAJ
phpBB2 by Przemo
Support forów phpBB2 modified by Przemo

1.12.7 i starsze - Perski kalendarz

krystianr - 28-06-2010, 12:44
Temat postu: Perski kalendarz
Pozwala wyświetlać na forum daty według kalendarza perskiego


Kod:
##############################################################
## MOD Title: Persian Shamsi Date
## MOD Author: MajidOnline < info@majidonline.com > (Majid Alavizadeh) http://www.majidonline.com
## MOD Adapted : krystianr < krystianr93@wp.pl > Krystian Rudnicki www.e-gry.xaa.pl
## MOD Description: Pozwala wyświetlać na forum daty według kalendarza perskiego.
## MOD Version: 2.0.0
##
## Installation Level: Easy
## Installation Time: 10 Minutes
## Files To Edit: 6 Files
##                   includes/functions.php ,
##                   includes/usercp_viewprofile.php ,
##                   viewtopic.php ,
##                   memberlist.php ,
##                   templates/subSilver/profile_add_body.tpl ,
##                   language/lang_polish/lang_main.php
##
## Included Files: n/a
##############################################################
## For Security Purposes, Please Check: http://www.phpbb.com/mods/ for the
## latest version of this MOD. Downloading this MOD from other sites could cause malicious code
## to enter into your phpBB Forum. As such, phpBB will not offer support for MOD's not offered
## in our MOD-Database, located at: http://www.phpbb.com/mods/
##############################################################
## Author Notes :
##         Thank you for use our MOD ...
##        visit www.majidonline.com for more Persian MOD
##
##         .:... .. .  Have a Nice Time .. . ... . .:.: ..
##                     Majid Alavizadeh
##
################################################################
## MOD History:
##
##   2003-11-22 - Version 1.0.2
##      - MOD Template Fixed for better MOD compatibility
##
##   2003-11-05 - Version 1.0.1
##      - Bug Fixed
##      - First Realese (Persian Hijri Date)
##
##    2010-06-28 - Version 2.0.0
##        - Update do phpbb2 by przemo
##        - translate z Perskiego na Polski język
##
##############################################################
## Before Adding This MOD To Your Forum, You Should Back Up All Files Related To This MOD
##############################################################
## Demo/Tech-Support :     http://forum.majidonline.com
##          Direct Link :     http://forum.majidonline.com/viewtopic.php?p=26529
#################################################################

Problemy :
1. jeżeli pojawi się taki błąd na stronie głównej :
Kod:
Could not obtain user/day information

DEBUG MODE

SQL Error : 1054 Unknown column 'error' in 'where clause'

to zrób :
w pa -> ogólne -> konfiguracja -> Strony głównej -> Pokazuj obchodzących urodziny i Powitanie urodzinowe trzeba ustawić na nie i po problemie



Historia :
2010-06-28 : aktualizacja moda

Live demo : http://www.stronadtestow.ugu.pl/\

Bucu - 28-06-2010, 12:50

Cytat:
## Direct Link : http://forum.majidonline.com/viewtopic.php?p=26529


nie dziala demo. wstaw swoje, albo screena.

krystianr - 28-06-2010, 13:02

Bucu,
proszę oto demo : http://www.stronadtestow.ugu.pl/

kooza - 28-06-2010, 13:03

jakies demo lub screen ?
Cassino - 28-06-2010, 13:29

na tej stronie jest jakiś błąd



Kod:
Could not obtain user/day information

DEBUG MODE

SQL Error : 1054 Unknown column 'error' in 'where clause'

SELECT user_id, username, user_email, user_lang, user_birthday, user_level, user_jr FROM phpbb_users WHERE user_birthday <> 999999 AND user_birthday IN(error, 1, 2, 3, 4, 5, 6, error, 1, 2, 3, 4, 5, 6, error, 1, 2, 3, 4, 5, 6, error, 1, 2, 3, 4, 5, 6, error, 1, 2, 3, 4, 5, 6, error, 1, 2, 3, 4, 5, 6, error, 1, 2, 3, 4, 5, 6, error, 1, 2, 3, 4, 5, 6, error, 1, 2, 3, 4, 5, 6, error, 1, 2, 3, 4, 5, 6, error, 1, 2, 3, 4, 5, 6, error, 1, 2, 3, 4, 5, 6, error, 1, 2, 3, 4, 5, 6, error, 1, 2, 3, 4, 5, 6, error, 1, 2, 3, 4, 5, 6, error, 1, 2, 3, 4, 5, 6, error, 1, 2, 3, 4, 5, 6, error, 1, 2, 3, 4, 5, 6, error, 1, 2, 3, 4, 5, 6, error, 1, 2, 3, 4, 5, 6, error, 1, 2, 3, 4, 5, 6, error, 1, 2, 3, 4, 5, 6, error, 1, 2, 3, 4, 5, 6, error, 1, 2, 3, 4, 5, 6, error, 1, 2, 3, 4, 5, 6, error, 1, 2, 3, 4, 5, 6, error, 1, 2, 3, 4, 5, 6, error, 1, 2, 3, 4, 5, 6, error, 1, 2, 3, 4, 5, 6, error, 1, 2, 3, 4, 5, 6, error, 1, 2, 3, 4, 5, 6, error, 1, 2, 3, 4, 5, 6, error, 1, 2, 3, 4, 5, 6, error, 1, 2, 3, 4, 5, 6, error, 1, 2, 3, 4, 5, 6, error, 1, 2, 3, 4, 5, 6, error, 1, 2, 3, 4, 5, 6, error, 1, 2, 3, 4, 5, 6, error, 1, 2, 3, 4, 5, 6, error, 1, 2, 3, 4, 5, 6, error, 1, 2, 3, 4, 5, 6, error, 1, 2, 3, 4, 5, 6, error, 1, 2, 3, 4, 5, 6, error, 1, 2, 3, 4, 5, 6, error, 1, 2, 3, 4, 5, 6, error, 1, 2, 3, 4, 5, 6, error, 1, 2, 3, 4, 5, 6, error, 1, 2, 3, 4, 5, 6, error, 1, 2, 3, 4, 5, 6, error, 1, 2, 3, 4, 5, 6, error, 1, 2, 3, 4, 5, 6, error, 1, 2, 3, 4, 5, 6, error, 1, 2, 3, 4, 5, 6, error, 1, 2, 3, 4, 5, 6, error, 1, 2, 3, 4, 5, 6, error, 1, 2, 3, 4, 5, 6, error, 1, 2, 3, 4, 5, 6, error, 1, 2, 3, 4, 5, 6, error, 1, 2, 3, 4, 5, 6, error, 1, 2, 3, 4, 5, 6, error, 1, 2, 3, 4, 5, 6, error, 1, 2, 3, 4, 5, 6, error, 1, 2, 3, 4, 5, 6, error, 1, 2, 3, 4, 5, 6, error, 1, 2, 3, 4, 5, 6, error, 1, 2, 3, 4, 5, 6, error, 1, 2, 3, 4, 5, 6, error, 1, 2, 3, 4, 5, 6, error, 1, 2, 3, 4, 5, 6, error, 1, 2, 3, 4, 5, 6, error, 1, 2, 3, 4, 5, 6, error, 1, 2, 3, 4, 5, 6, error, 1, 2, 3, 4, 5, 6, error, 1, 2, 3, 4, 5, 6, error, 1, 2, 3, 4, 5, 6, error, 1, 2, 3, 4, 5, 6, error, 1, 2, 3, 4, 5, 6, error, 1, 2, 3, 4, 5, 6, error, 1, 2, 3, 4, 5, 6, error, 1, 2, 3, 4, 5, 6, error, 1, 2, 3, 4, 5, 6, error, 1, 2, 3, 4, 5, 6, error, 1, 2, 3, 4, 5, 6, error, 1, 2, 3, 4, 5, 6, error, 1, 2, 3, 4, 5, 6, error, 1, 2, 3, 4, 5, 6, error, 1, 2, 3, 4, 5, 6, error, 1, 2, 3, 4, 5, 6, error, 1, 2, 3, 4, 5, 6, error, 1, 2, 3, 4, 5, 6, error, 1, 2, 3, 4, 5, 6, error, 1, 2, 3, 4, 5, 6, error, 1, 2, 3, 4, 5, 6, error, 1, 2, 3, 4, 5, 6, error, 1, 2, 3, 4, 5, 6, error, 1, 2, 3, 4, 5, 6, error, 1, 2, 3, 4, 5, 6, error, 1, 2, 3, 4, 5, 6, error, 1, 2, 3, 4, 5, 6, error, 1, 2, 3, 4, 5, 6) ORDER BY username

Line : 814
File : functions_add.php


mam nadzieje ze to nie od tego moda?

krystianr - 28-06-2010, 13:50

Cassino,
kurde, ten mod się gryzie z tym w functions_add.php
Kod:
        $sql = "SELECT user_id, username, user_email, user_lang, user_birthday, user_level, user_jr
            FROM " . USERS_TABLE. "
            WHERE user_birthday <> 999999
                AND user_birthday IN($dates)
            ORDER BY username";
        if ( !($result = $db->sql_query($sql)) )
        {
            message_die(GENERAL_ERROR, 'Could not obtain user/day information', '', __LINE__, __FILE__, $sql);
        }


Znalazłem sposób na ten błąd:
w pa -> ogólne -> konfiguracja -> Strony głównej -> Pokazuj obchodzących urodziny i Powitanie urodzinowe trzeba ustawić na nie i po problemie


Aktualizacja moda w 1 poście



Powered by phpBB modified by Przemo © 2003 phpBB Group