Jump to content


  • Posts

  • Joined

  • Last visited

Everything posted by ugintl

  1. I found a code to automatically connect people on linkedin, but it is not working. It says, illegal character. Found it here http://www.iftiseo.com/2015/02/code-to-increase-linkedin-connections.html What is wrong?
  2. Arrrh! Can't install database. SQLSTATE[42000]: Syntax error or access violation: 1071 Specified key was too long; max key length is 1000 bytes, query was: CREATE TABLE `email_triggers` ( `id` int(10) NOT NULL AUTO_INCREMENT, `enabled` enum('0','1') COLLATE utf8_unicode_ci NOT NULL, `trigger_name` varchar(255) COLLATE utf8_unicode_ci NOT NULL, `observer` varchar(255) COLLATE utf8_unicode_ci NOT NULL, PRIMARY KEY (`id`), UNIQUE KEY `trigger_name_2` (`trigger_name`,`observer`), UNIQUE KEY `trigger_name_3` (`trigger_name`,`observer`), KEY `trigger_name` (`trigger_name`), KEY `observer` (`observer`), KEY `enabled` (`enabled`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci
  3. ugintl

    Hide information

    Exactly as in freelancer.com
  4. ugintl

    Hide information

    I have a marketplace website in development stage. I searched the internet, but did not find anything. User has 2 options, either can signup as a company or individual. In other words seller or buyer resp. 1. I want to hide buyer information in search results. How? Any tutorial with complete code/snippet? 2. I want to hide seller and buyer contact details. Currently, logged-in members can see contact details. Any tutorial?
  5. can you apply it on a page to explain me? or give me an example? I guess i did not get it properly
  6. I have a php based website script which I want to make responsive. What are the ways to make it responsive? I am not a developer so need an easy way. I know a little bit of html and css. Download the template from https://www.dropbox.com/s/pfolvxhn9co2qd3/bluesky.zip?dl=0 to have an idea about the coding and website structure.
  7. ugintl

    Database error

  8. I guess you should have kept it simple and straight. I found this and it worked. <?php // First execute a common code to connect to the database and start the session require("includes/common.php"); // At the top of the page check to see whether the user is logged in or not if(empty($_SESSION['user'])) { // If they are not, redirect them to the login page. header("Location: login.php"); // Remember that this die statement is absolutely critical. Without it, // people can view your members-only content without logging in. die("Redirecting to login.php"); }
  9. ugintl

    Database error

    I uploaded website files to the web root and when i tried to access it via www.mydomain.com it gave following error A Database Error OccurredError Number: 1146 Table 'webpk_16901224_app.sesion' doesn't exist INSERT INTO `sesion` (`session_id`, `ip_address`, `user_agent`, `last_activity`, `user_data`) VALUES ('1912dd6c2dd5c411cde798d9496c9a9a', '', 'Mozilla/5.0 (Windows NT 5.1; rv:42.0) Gecko/20100101 Firefox/42.0', 1448544788, '') Filename: libraries/Session.php Line Number: 328 I tried to create a table like following through phpmyadmin, but i get an error "key id does not exist". My database name is webpk_16901224_app and it is empty. There are no tables. create table tablename( id INT NOT NULL, name VARCHAR (20) NOT NULL, age INT NOT NULL, PRIMARY KEY (id) ); The website script has 3 sql files, but i don't know how to use them. SQL files are attached. Desktop.zip
  10. This is another file that might be of interest. Do we have to make changes in this file? how?
  11. Wondering someone can tell me how to do it
  12. correction: non logged-in or non-registered users/visitors
  13. I have a website script built with php, html, css and javascript. I want to show custom page to non logged-in/registered users and after they login, they should go to index page or you can say dashboard. Currently a visitor goes directly to index page with login or register options. My website's index.php and template's index.html files are attached. Moreover, I would appreciate if anyone can tell me how can I bootstrap my website (ugintl.move.pk). I guess it is the template which needs to be modified. template folder's snap also attached. Waiting for a helpful reply index.html index.php
  14. thank you. I will look at these links. Someone told me that "to make your website responsive, change css or to bootstrap, you have to change the html". Is it true? Only changing the html will make my website responsive? Bootstrap is responsive itself.
  15. obviously there is html, css and java in that script
  16. thanks. Can you guide me how to do it?
  17. I have a script developed in php. It is non-responsive. I want to convert it to a responsive website. Is there any free tool or software or step by step guide to do it? I know a little html and css, but not php. I was wondering if there is a place where I can import my existing template, apply bootstrap with one click and export. It is an open source script and can be downlaoded from phpb2b.com.
  • Create New...