Page 2 of 3 FirstFirst 123 LastLast
Results 11 to 20 of 22

Thread: Is it POSSIBLE ??? Translations in specific lines ???

  1. #11
    Join Date
    May 2007
    Location
    Planet Earth
    Posts
    1,389

    Default Re: Is it POSSIBLE ??? Translations in specific lines ???

    I scanned all the files with DreamWeaver for the word "ago" and got zero results.

    I suspect this type of thing is located in includes/functions.php which is Zend Encoded. I don't think the guys at vShare purposely "lied" about the ability to translate vShare, they probably just didn't take into account the fact that some of the language they use is within some of their Zend Encoded files. Which sux for us until Admin can address it.

    Try the hostonnet forums.
    If it's not fun, stop doing it!

  2. #12
    Join Date
    Sep 2008
    Location
    Germany - Deutschland
    Posts
    90

    Default Re: Is it POSSIBLE ??? Translations in specific lines ???

    Weeeeeellll, I found this here under include/smarty/libs/function.html_select_date.php
    (Sorry, had the wrong section a couple of minutes ago)

    Code:
        }
    
        if ($display_years) {
        	$field_separator_count++;
            if (null !== $field_array){
                $year_name = $field_array . '[' . $prefix . 'Year]';
            } else {
                $year_name = $prefix . 'Year';
            }
    That's not all of it, but it looks to me as though there might be something in there that could be changed perhaps?
    In particular this line here, looks like it could have the word Year translated because that sure looks an awful lot like a visible reference.


    Code:
                $year_name = $prefix . 'Year';
    Problem is that I can't even be 100% certain if it'll actually have an effect on the portal at all since smartycode is used so widely, often without being cleaned up real well from one app to the next. But hey, I'll give it a spin shortly after doing some backups 'n stuff. Will report on the results. Later ...

    .


    Okay, I'm back, went ahead and tried editing the Day, Month, and Year function.
    Didn't do any good though, not in the admin section, nor the portal itself.


    But if smarty has anything to do with it, I still think that those are the files since there are several of them for date, time, etc. functions. I just don't know enough about that code to be able to figure out exactly where the changes would have to be made ... if that would indeed make a difference in the first place.

    Sorry, I'm giving it up for today. My eyeballs feel like they're in the back of my head ... :)

    .
    .
    EinfachClicken - Family friendly, Fast, Fun, Informative
    Videoportal: http://www.meineclipshow.einfachclicken.de/
    Freebie Flashgames: http://www.megaspass.einfachclicken.de/
    GERMAN HOMEPAGE - http://www.einfachclicken.de/ TONS of FREE STUFF in over 40.000 files.

  3. #13
    Join Date
    May 2007
    Location
    Planet Earth
    Posts
    1,389

    Default Re: Is it POSSIBLE ??? Translations in specific lines ???

    Yeah, I noticed those too, ...however, still can't find the "days ago, hours ago"...the common word being "ago", which is what I searched for and came up empty handed. I checked every file, every one of them, including the smarty and java stuff.

    I still think that stuff is in the include/function.php which is Zend Encoded.
    If it's not fun, stop doing it!

  4. #14
    Join Date
    Sep 2008
    Posts
    1,019

    Default Re: Is it POSSIBLE ??? Translations in specific lines ???

    The code above is a smarty function for building date-based drop down menus. However, changing that code will do nothing for you as "Year" isn't displayed. Rather, PHP uses that to build the dates. It is used on the signup pages where dates are asked for (if you have age turned on).

    It would really help you to learn a bit about PHP programming (the basics). By doing this, it will save you a lot of frustration trying to find things that you can translate. There are many things that "look" like they are displayed in the browser but, in fact, are not.
    vShare Solutions
    Custom vShare Modules and Services

    Now, your visitors can watch videos on your site using their mobile or tablet device with the Mobility Mod for vShare 2.8!

  5. #15
    Join Date
    May 2007
    Location
    Planet Earth
    Posts
    1,389

    Default Re: Is it POSSIBLE ??? Translations in specific lines ???

    That's why I'm guessing it's in the zend encoded php files. Would I be correct in assuming that?
    If it's not fun, stop doing it!

  6. #16
    Join Date
    Sep 2008
    Posts
    1,019

    Default Re: Is it POSSIBLE ??? Translations in specific lines ???

    Yes. A lot of what he is wanting (and needing) to change is in the encrypted files. Some of the files are merely displaying what is written in the DB. Some of his issues (such as the xx days ago) is due to the fact that some of the commands being used in the PHP files are not localized (for example, the function date() is English only. To make the output localized, you have to use the setlocale() and strftime() functions). In order for him to achieve exactly what he is wanting, he is going to need an open-source script. He can spend as much time as he would like on vShare. It's just not going to do him much good.
    vShare Solutions
    Custom vShare Modules and Services

    Now, your visitors can watch videos on your site using their mobile or tablet device with the Mobility Mod for vShare 2.8!

  7. #17
    Join Date
    May 2007
    Location
    Planet Earth
    Posts
    1,389

    Default Re: Is it POSSIBLE ??? Translations in specific lines ???

    oh noes.

    Hey, since I have your attention and you're a php guru...would you make us a SMF forum bridge...how much would you charge?
    If it's not fun, stop doing it!

  8. #18
    Join Date
    Sep 2008
    Posts
    1,019

    Default Re: Is it POSSIBLE ??? Translations in specific lines ???

    What all are you looking for in terms of a "bridge?" Are you just wanting the two applications to share user data? Or are you wanting something more complicated?
    vShare Solutions
    Custom vShare Modules and Services

    Now, your visitors can watch videos on your site using their mobile or tablet device with the Mobility Mod for vShare 2.8!

  9. #19
    Join Date
    May 2007
    Location
    Planet Earth
    Posts
    1,389

    Default Re: Is it POSSIBLE ??? Translations in specific lines ???

    What everyone here at vShare has been screaming for is a bridge between vShare and SMF Forms in terms of log in so that ppl don't have to log in twice (one user login for both things).

    Think you can do it? You will make a lot of "best friends" if you do. LOL
    If it's not fun, stop doing it!

  10. #20
    Join Date
    Sep 2008
    Posts
    1,019

    Default Re: Is it POSSIBLE ??? Translations in specific lines ???

    I'm pretty certain that I can do it. What I'm not certain about is whether it can be done. Here are the challenges:

    1. User Information Sharing
    2. User Session Sharing

    The problem is that with both of those challenges, the easy solution lies within the encrypted PHP files (i.e. having the signup php copy the information into the other program on account creation and having login.php create both sessions when a user logs in). I'd have to really look into this to see how much can be done for this (without violating any of vShare's terms).
    vShare Solutions
    Custom vShare Modules and Services

    Now, your visitors can watch videos on your site using their mobile or tablet device with the Mobility Mod for vShare 2.8!

Page 2 of 3 FirstFirst 123 LastLast

Similar Threads

  1. Can the show_video function be channel specific?
    By tnuriel in forum General Discussions
    Replies: 3
    Last Post: 05-18-2009, 02:54 PM
  2. SEVERAL MISSING Files for Translations !!!
    By EinfachClicken in forum Installation Support
    Replies: 5
    Last Post: 09-16-2008, 11:42 AM
  3. Would it be possible to make a channel specific RSS feed?
    By tnuriel in forum Feature Requests
    Replies: 0
    Last Post: 03-30-2008, 07:17 AM
  4. make users login on a specific page
    By devarioj in forum Frequently Asked Questions
    Replies: 22
    Last Post: 09-24-2007, 09:04 AM
  5. Email subject lines?
    By mersh in forum Template Modifications
    Replies: 3
    Last Post: 07-05-2007, 07:52 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •