Member Avatar

Hello does anybody see any error in this? [!] Unable to find the Xcode project `/Users/macbookpro/Desktop/project/platforms/ios/C:\Users\Simos\project\platforms\ios\Project.xcodeproj` for the target `Pods-C:\Users\Simos\project\platforms\ios\Project`. I copied my project from my PC to my Mac in a usb drive. THERE IS NO C:\Users\Simos\ directory on mac. Why ai i getting this?

Member Avatar
1
27
Member Avatar

Hello i ve tried to upload my first app on the App Store but i got this mesage from Apple. Any ideas how to proceed? *Your app provides a limited user experience as it is not sufficiently different from a mobile browsing experience. As such, the experience it provides is similar to the general experience of using Safari. Including iOS features such as push notifications, Core Location, and sharing do not provide a robust enough experience to be appropriate for the App Store. Next Steps To resolve this issue, please revise your app to provide a more robust user experience …

Member Avatar
0
16
Member Avatar

Hello i want to upload an audio file(.mp3). The file is uploaded on the folder, the value is inserted on the db (MySql) so far so good. But when i try to play the file on the uploads folder is says its corrupted or extension is wrong.the value is not base64 is the original name of the file html <form [formGroup]="form" (ngSubmit)="onSubmit()"> <input type="file" name="avatar" (change)="onFileSelect($event)" /> <button type="submit">Upload</button> </form> ts onSubmit() { const formData = new FormData(); formData.append('avatar', this.form.get('avatar').value); this.group_id = 0; this.media.tags = this.hashes; this.media.audio = formData; this.media.browser = true; this.userData.uploadAudio(this.media, this.group_id ).subscribe( (res) => { this.uploadResponse = …

0
10
Member Avatar

I have three tables(table, table2,table3). From table1 i want to return three rows: Title, Desc,time,'products' AS type From table2 i want to return three rows: group_title, group_desc, created,'groups' AS type From table3 i want to return three rows: name, occupation,birth,'users' AS type $sql = "SELECT DISTINCT * FROM (SELECT table1.title, table1.desc, table1.time,'products' AS type FROM table1 ORDER BY rand() LIMIT 5) AS T UNION ALL (SELECT table2.group_name,table2.group_desc,table2.created,'groups' AS type FROM tabl2 JOIN table1 ON table2.id = table1.id ORDER BY rand() LIMIT 5) UNION ALL (SELECT table3.name,table3.occupation,table3.birth,'users' AS type FROM table3 JOIN table1 ON table3.id = table1.id ORDER BY rand() LIMIT …

Member Avatar
1
31
Member Avatar

Hello i want to show html5 video with content over it . Like background image. The whole div html5 video must be of 400px height <div style="height: 400px"> <video controls poster="{{item.media_pic}}"> <source src="{{item.image_path}}" type="video/webm" /> <source src="{{item.image_path}}" type="video/mp4"> <source src="{{item.image_path}}" type="video/ogg"> Your browser does not support HTML5 video. </video> <ion-row> <ion-col col-4> some text </ion-col> <ion-col col-8> button </ion-col> </ion-row> </div>

Member Avatar
0
28
Member Avatar

Hello i am using Ionic 3 and Angular 5. Does anyone has an example for displaying items in different ion-cols (col-6, col-8,col-12)? Pinterest wise?

Member Avatar
0
26
Member Avatar

Hello i want to show the full image in a specified height div like this <div style="width:400px"> <img class="images" src="someimage.jpg"> </div> i tried this .images { width: 100%; height:auto; }

Member Avatar
1
66
Member Avatar

I have a search script that a user may search persons etc. I want to display a message if what he or types doesn't exist in the array. By default, I display some results and it displays the desired person when one writes on searchbar. but I want to show a message if what the user writes on searchbar doesn't much the array. the ngfor works perfectly I just can't show the message. I did a ngIf but doesn't show the #noThings when I type for example djlsklkssk. Note that userSet always has length > 0 because I call the …

0
12
Member Avatar

Hello i want to make a button that mutes and unmutes sound in html5 <video> tag. Here what i have so far. Sadly it doesnt work .ts soundOnOff() { let audio = document.getElementById('muteSound') as HTMLMediaElement audio.muted = true; } html <button onclick="enableMute()" type="button">Mute sound</button> <video id="muteSound" muted="true" playsinline autoplay loop preload="auto"> <source src="assets/videos/louvre.mp4" type="video/mp4" > </video>

Member Avatar
0
21
Member Avatar

Hello i want to create in html and css something like the picture i shared here. An image over two divs. Equally divided through the two divs like the picture here. Any sugestion? ![sample.png](/attachments/large/4/eab51ce489d73c359202b562bd368348.png)

Member Avatar
0
72
Member Avatar

Hello i am getting an error on a CASE WHEN THEN syntax on my mySql SELECT DISTINCT u.uid,c.c_id,u.name,u.profile_pic,u.username,u.email,c.time FROM conversation c, users u, conversation_reply r CASE WHEN c.user_one = '99' THEN c.user_two = u.uid WHEN c.user_two = '99' THEN c.user_one= u.uid END AND ( c.user_one ='99' OR c.user_two ='99' ) AND u.status='1' AND c.c_id=r.c_id_fk AND u.uid<>'1'ORDER BY c.time DESC LIMIT 15 #1064 - You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'CASE WHEN c.user_one = '99' THEN c.user_two = u.uid WHEN c.user_t' at …

Member Avatar
0
76
Member Avatar

![Screenshot_2019-03-28.png](/attachments/large/4/445eaa963a19fc15e220abceb13b7512.png) Hello i want to show font on an image. Now, the image could be whatever a user uploads- that means white of black background. The font is not looking good. I want to try out something that will look clear on both on dark or light background. I put text shadow on it but the font is not clear. It doesnt looks good. I shared a photo of the problem

Member Avatar
0
63
Member Avatar

Hello i have a problem with a Sql script `SELECT col1_id, col1_name, col2 FROM table GROUP BY ?????` col1_id col1_name col2 A john bear A john dog A john cat A john bear A john dog A john cat A john dog A john cat A john bear A john dog A john cat A john bear A john dog A john cat A john dog A john cat I want to return all results. It has to return like this: ` echo col1_id . col1_name` (A john) and then `col2` (bear,dog, cat)

Member Avatar
0
83
Member Avatar

Hello i want to UNION three tables from the same database. SELECT DISTINCT * FROM (SELECT uid as id, name as name, username as username,bio as aboutme, '' as text, 'user' as type, profile_pic as profile_pic, '' as media_pic, '' as group_pic, 'U' as mediatype, '' as image_path FROM users ORDER BY rand() LIMIT 5) AS T UNION ALL (SELECT group_id as id, group_name as name,'' as username, group_desc as aboutme, '' as text, 'group' as type, '' as profile_pic, '' as media_pic, group_pic as group_pic, 'G' as mediatype, '' as image_path FROM groups ORDER BY rand() LIMIT 5) UNION …

Member Avatar
0
52
Member Avatar

Hello i want to make a video player with HTML5. I t has to have other angular tags and an object inside the <video> tag. The source code below explkains what i want to do. Is it possible? Any suggestions? <video controls preload="metadata" style="width:100%; height:100%;z-index: 100"> <source src="//vjs.zencdn.net/v/oceans.webm" type="video/webm" /> <source src="//vjs.zencdn.net/v/oceans.mp4" type="video/mp4" /> <source src="//vjs.zencdn.net/v/oceans.ogg" type="video/ogg" /> <ion-card-content> <ion-item (click)="goUser(media.uid_fk)"> <ion-avatar item-start > <img src="{{media.profile_pic}}"> </ion-avatar> <h2>{{media.username}}</h2> <p>{{media.bio}}</p> </ion-item> <ion-item> <h2 style="color:#fff" (click)="goMedia(media)">{{media.title}}</h2> <p>{{media.description}}</p> </ion-item> </ion-card-content> </video> p.s. it shows the video but not the other inside of it, tags like h2, p ion-item

0
16
Member Avatar

Hello i want to make a gradient header on ion-navbar on my ionic 3 project. home.html `<ion-header><ion-navbar color="primary">` variables.scss `$colors: ( primary: linear-gradient(red, yellow),` This doesnt work. color="primary" works if i put a single color value (e.g. #333) Any idea how to make it gradient?

Member Avatar
0
24
Member Avatar

I want to pass a value (0 or 1) to another page so i can make an ng if to return a different button. Any help? do i need to pass a parameter from .ts file? first page.html <button ion-tem (click)="goUsers()" *ngIf="editors.length == 0" value="0"> <ion-label> Add editors </ion-label> </button> <button ion-tem (click)="goUsers()" *ngIf="editors.length > 0" value="1"> <ion-label> Add more editors </ion-label> </button> second page.html <button ion-button item-end clear *ngIf="value === '0'"> (click)="addEditor(item)"> Add as Editor </button> <button ion-button item-end clear *ngIf="value ==='1'"> (click)="deleteEditor(item)"> Already an Editor </button>

Member Avatar
0
39
Member Avatar

Hello i have a mysql statement and i want to add more parameters to get different results. SELECT DISTINCT M.message,F.friend_one,F.friend_two, F.role,U.uid,U.username FROM users U,friends F, messages M WHERE ( U.status='1' AND F.friend_one = '88') OR (F.friend_two='88' ) AND F.role='friend' 88 is the users id so i want to show M.message from friends of 88 but not 88 itself hints: when one is becoming friend with other friend_one is 88 -for example- and friend_two another user id or vice versa M table has id of user as a column of course

Member Avatar
0
56
Member Avatar

Hello i have a database which users make groups or send messages to other registered, in our project, users. So you have messages as M,users as U, groups as G. So you want to show all updates that happen in these tables WHERE (uid - thats the user id column on U table.). All tables have CREATED as datetime column. Users yable is uid on messages is uid_fk and to groups uid_fk. Can i do that with a single statement or do i need to do anything else?

Member Avatar
0
36
Member Avatar

Hello i want to create a script that allows the user to use the device mic and record audio, then display it using Typescript (.ts) file. Here is what i have so far. home.ts import { Component, ViewChild } from "@angular/core"; import { NavController, App, AlertController, Platform } from "ionic-angular"; import { Common } from "../../providers/common"; import { Media, MediaObject } from '@ionic-native/media'; import { File } from '@ionic-native/file'; @Component({ selector: "page-home", templateUrl: "home.html" }) export class HomePage { recording: boolean = false; filePath: string; fileName: string; audio: MediaObject; audioList: any[] = []; getAudioList() { if (localStorage.getItem("audiolist")) { this.audioList = …

Member Avatar
1
12
Member Avatar

Hello i am using authservice to call my MySql database with PHP api and therefore my php functions for my Ionic 3 Angular 4 app. This is how i call to get userData and it works fine import { AuthService } from "../../providers/auth-service"; public authService: AuthService, private loadingCtrl: LoadingController ) { const data = JSON.parse(localStorage.getItem("userData")); this.userDetails = data.userData; this.userPostData.uid = this.userDetails.uid; let loader = this.loadingCtrl.create({ content: 'Please wait...' }); I have another project that uses AngularFirestone import { AngularFirestore, AngularFirestoreDocument } from 'angularfire2/firestore'; import { AngularFireAuth } from 'angularfire2/auth'; import { Storage } from '@ionic/storage'; and calls the constructor like …

Member Avatar
0
15
Member Avatar

Hello i want to add fa fa-users (the users icon from font awesome) but when i do <i class="fa fa-users" aria-hidden="true"></i> i am not getting the icon, html displays the code of the font-f0c0 that is. Any guess why? p.s. i am using other fonts just fine e.g. contact, search and so on

Member Avatar
1
37
Member Avatar

Hello i want to create an app -not native- to work with iOS, Android, and Windows. I am working with Ionic Framework to do that. A programmer told that i should use CodeIgniter because i am good with PHP. Whats your opinion about Ionic and CodeIgniter?

Member Avatar
0
53
Member Avatar

Hello i have a project that uses firebase but i want to make connect to my MySql database on xampp. Any idea what to do?

Member Avatar
0
35
Member Avatar

I have a web app already running on the web. It is web responsive. I want to make update of it. I hear good things about Ionic and i started working on Ionic 3 with Angular. Its almost finished. Now i need help to sinish and publish it. I wanna ask these questions. Do you think Ionic would make a difference or i just should updated my existing web app? Is it better to use native apps/Hydrid or Web apps? Thanks

Member Avatar
0
29
Member Avatar

Hello i have a Ionic Angular project. I haven't changed any of my files and i am getting an error `data is null` after `ionic serve` That means that i can't connect to my database. I havent made any changes on the database or change any of my files. Any help?

Member Avatar
0
39
Member Avatar

Hello i made a ionic searchbar script returns the items[] ok but i want to connect it with my php authservice and return the results from a php function. I already connected my app with the authservice and i have returned JSON data in other pages so the authservice works fine i just don't know how to put the php function in here this.items = [ { title: 'one' }, { title: 'two' }, { title: 'three' }, { title: 'four' }, { title: 'five' }, { title: 'six' } ]; this is what i've done so far. searchPage.ts @Component({ …

0
9
Member Avatar

Hello i want to pass the user id (uid) from the home page to a user Details Page. Because i display multiple users on my home page i don’t wan to pass the user session id (as given by the `JSON.parse(localStorage.getItem("userData"));` ), i want to click on the name of any user on the home page and pass its id and other parameters on the user details page. home.html `<p (click)="UserPage()" [innerHTML]="item.username | linky"></p>` home.ts public userDetails: any; public resposeData: any; public dataSet: any; public noRecords: boolean; rootPage: any = HomePage; pages: Array<{ title: string, component: any }>; userPostData = …

0
8
Member Avatar

Hello i want to run my Ionic Project on my android device when i run `ionic cordova run android` on node.js command prompt i am getting this error ..... [14:26:25] webpack finished in 8.20 s [14:26:25] sass started ... Witout `from` option PostCSS could generate wrong source map or do not find Browserslist config. Set it to CSS file path or to `undefined` to prevent this warning [14:26:26] sass finished in 1.59 s [14:26:26] postprocess started ... [14:26:26] postprocess finished in 17 ms [14:26:26] lint started ... [14:26:26] build dev finished in 15.13 s > cordova run android Android Studio …

Member Avatar
0
24
Member Avatar

i am getting this problem `URL Blocked: This redirect failed because the redirect URI is not whitelisted in the app’s Client OAuth Settings. Make sure Client and Web OAuth Login are on and add all your app domains as Valid OAuth Redirect URIs.` any solution?

Member Avatar
0
65

The End.