OS & Browser Detection (version 1.5 is out) [20. 09. 2010.]

Started by Branko., December 06, 2008, 05:23:42 AM

Previous topic - Next topic

cieplutki

#240
Try on "/Packages" create new folder and name them "temp", used 755 or 777 chmod and try again install mod or try another maybe you something wrong ith Your install forum

//edit
chmod not 775 but 755 sorry for my mystake




.

sinner-rus

When will be update base? Mod can't see my iPhone, iPad, new Opera, Symbian .... it is bad!)
I am not supported by anyone. And never was. And never will.

cieplutki

Quote from: sinner-rus on August 14, 2010, 01:19:56 PM
When will be update base? Mod can't see my iPhone, iPad, new Opera, Symbian .... it is bad!)

Well you try as autor: X3mE this moda
I update only source  O:)




.

Leto Atreides II

Quote from: cieplutki on August 14, 2010, 05:19:13 AM
Try on "/Packages" create new folder and name them "temp", used 775 or 777 chmod and try again install mod or try another maybe you something wrong ith Your install forum
My Packages folder already contains a folder called 'temp' at 777. It includes some files left by the OS & Browser Detection mod.

I suspect something is fundamentally wrong with this mod, I'm going to uninstall it for now.

cieplutki





.

~Dragon~

I don't understand what is exactly problem http://custom.simplemachines.org/mods/index.php?mod=1515 permission change? I am not sure how do you know I need to practice study how do you know pretty sound  hard! i guess not easy! I have mess damn it. where is find it! I need to find fix on really problem?  permission is 777? or exactly not work?
Please do not PM or email, Thank respond please post fast to SMF!

rgpatton

When trying to install this package in SMF 2.0 RC3, I keep getting this error. Can you please help? I have tried this on my test site and active site. with other packages installed and with out. I have even tried it with default theme and with custom. I keep getting the same error. Please help, Thanks.

Error:
Table 'ccccccccxxxxxx38.messages' doesn't exist
File: /home/content/x/x/x/xxxxxxxxxx/html/SMF2/Packages/temp/install.php
Line: 19

I do not fully understand code, but when I look up this file, install.php, I do not find that message any where. Is there something I need to do in my database to make this work as I have seen it in action elsewhere and even on the theme I want to use.

Thank you for your time on this as I really would like to use this mod.


Dani88

I can not get it to work ... I installed it all but nothing appears in the profile box, or images up anything, my theme has templante display, it can be for that? Help me


Registrate en bitshare y empeza a ganar dinero compartiendo tus archivos, solo tenes que pinchar sobre la imagen

MI WEB:
==>> www.adictosweb.net <<==

cieplutki

hmmm
lets look on your ftp and find Directory \themes\default\images\os_browser_detection
copy all on hdd and copy on all them
\themes\another them\images\
like that







.

Dani88

No case or in the default theme are changes, it's like to be installed but not


EDIT: sorry, true that the mod worked once posted something, I expect to see in the topics that were already


Registrate en bitshare y empeza a ganar dinero compartiendo tus archivos, solo tenes que pinchar sobre la imagen

MI WEB:
==>> www.adictosweb.net <<==

katb

i am getting following error ,

Duplicate column name 'ua_os'
File: /home/forum/public_html/New/Packages/temp/install_1.php
Line: 22

Note: It appears that your database may require an upgrade. Your forum's files are currently at version SMF 1.1.11, while your database is at version 1.1.6. The above error might possibly go away if you execute the latest version of upgrade.php.

Please tell me how to resolve this. Thanks in advance

~Dragon~

Database Error: Table 'smithtr_v3.messages' doesn't existFile: /home/xxxx/public_html/Packages/temp/install.php
Line: 19

tell me about to problem! I have database?
where is tell me not work

Doesn't work?

but I wonder? stranger? i am not sure aware how install.php?? code?

Thank ASAP
Please do not PM or email, Thank respond please post fast to SMF!

snoopy_virtual

Quote from: smithtr on September 14, 2010, 06:09:10 PM
Database Error: Table 'smithtr_v3.messages' doesn't existFile: /home/xxxx/public_html/Packages/temp/install.php
Line: 19

tell me about to problem! I have database?
where is tell me not work

Doesn't work?

but I wonder? stranger? i am not sure aware how install.php?? code?

Thank ASAP

Hi smithtr,

I was talking today with your friend Dharshan. He asked me for help with this issue you have here.

I have been thinking about it all afternoon and I think I have found the solution:

This mod is not compatible with SMF 2.0 RC3 and it needs a few changes in it.

The problem is the mod creator X3mE apparently has not been very active in SMF during the last year.

I have sent him a PM anyway telling him what changes I think need to be done, because it is his mod, so I think is him who is supposed to do a new version if he consider it necessary, but if he doesn't answer in a couple of days I can do a new version myself and publish it here.

We will see.

El verdadero sabio es aquel que lo ve todo, lo estudia todo, lo analiza todo y molesta poco.
A true wise man is he who sees everything, studies everything, analyses everything and hardly ever annoys.

Hj Ahmad Rasyid Hj Ismail

There is an update for that mod in this support thread. I've already advised him when I did the installation from him last time (several times already). I have also created a test site for him (on his own hosting) and have advised that he do all the trial there instead of on a live site. I just noted that he keep on making a new site all the time. So I stopped helping with the hope that he will learn this time round.

snoopy_virtual

OMG

I didn't read the full thread (as I normally do with any new mod I'm going to install) because I assumed smithtr already had done that.

Anyway I didn't know this mod before, and investigating it I found out I liked it, so I have read the full thread, I have downloaded the new version published by cieplutki here: http://www.simplemachines.org/community/index.php?topic=278770.msg2728368#msg2728368 with the new icons made by ahrasis here: http://www.simplemachines.org/community/index.php?topic=278770.msg2678792#msg2678792 and installed it on 2 of my forums. One using SMF 1.1.11 and other one using SMF 2.0 RC2

No problems at all with any of them.

==========================

Anyway I have done a couple of small modifications:

I have seen the Spanish translations are not complete.
Any Spanish speaking user need to add these 3 lines inside the file languages.xml to all the Spanish languages:


$txt['permissiongroup_simple_view_os_browser'] = 'Ver el SO y el Navegador detectado en los mensajes';
$txt['permissionname_view_os_browser'] = 'Ver el SO y el Navegador detectado en los mensajes';
$txt['permissionhelp_view_os_browser'] = 'Si se activa, este usuario podrá ver en todos los mensajes los Sistemas Operativos y los Navegadores, si es que son detectados.';


Also if you want you can add inside os_browser_detection.php support for the last 2 Ubuntu versions, Karmic and Lucid:

Find around line 724 the code:


        // Try to detect version
if(preg_match('/jaunty/si', $user_agent))
          {
          $client_data['system'] .= " 9.04 Jaunty)";
          }


Replace with:


        // Try to detect version
        if(preg_match('/lucid/si', $user_agent))
          {
          $client_data['system'] .= " 10.04 Lucid)";
          }
        elseif(preg_match('/karmic/si', $user_agent))
          {
          $client_data['system'] .= " 9.10 Karmic)";
          }       
elseif(preg_match('/jaunty/si', $user_agent))
          {
          $client_data['system'] .= " 9.04 Jaunty)";
          }

El verdadero sabio es aquel que lo ve todo, lo estudia todo, lo analiza todo y molesta poco.
A true wise man is he who sees everything, studies everything, analyses everything and hardly ever annoys.

cieplutki

last 2 Ubuntu versions, Karmic and Lucid added to os&browser detection
thx @snoopy_virtual




.

Hj Ahmad Rasyid Hj Ismail

Quote from: cieplutki on September 18, 2010, 03:43:24 AM
last 2 Ubuntu versions, Karmic and Lucid added to os&browser detection
thx @snoopy_virtual
Thanks for the update. I suggest you post the mod update to mod site. I hope SMF Customizer team can see this and consider a take over since original maker is not around for quite sometimes.

Dharshan

Thanks snoopy_virtual,

this is for taking your time to help out a stranger, these kinda qualities are, well ..hard to come by these days..

cheers!
R I P  : Steve Jobs | you made the world today look how it is | Thank you

snoopy_virtual

I would do another small modification.

I have been reading again the full thread and I have seen there are some people having problems with the folder you need to put the icons.

The problem is when you install the mod all the icons go to the folder /Themes/default/images/os_browser_detection/ but when you are using the mod, the file Display.template.php doesn't try to find the icons in that folder, but inside the folder of the particular Theme you are using.

Of course, for people who have been using SMF for some time is very easy to understand you need to copy the folder with all the icons (os_browser_detection) from the default Theme to your particular Theme, but for noobs with very few experience in SMF this is not something easy to understand.

The solution though is very easy and I normally use it in my mods:

If you have put the icons inside the default Theme folder, why you want to read them from other folder?

I mean, instead of using $settings['images_url'] (path to the images folder inside your particular Theme) why not use $settings['default_images_url'] (path to the images folder inside the default Theme)?

So the solution is to open the files modification.xml and modification_smf1.xml, find inside them every variable:


$settings['images_url']


(They appear 4 times in each file)

And replace them with:


$settings['default_images_url']

El verdadero sabio es aquel que lo ve todo, lo estudia todo, lo analiza todo y molesta poco.
A true wise man is he who sees everything, studies everything, analyses everything and hardly ever annoys.

Hj Ahmad Rasyid Hj Ismail

I am not sure I get this. May be I read again next time.

Advertisement: