Jump to content

alapimba

Members
  • Posts

    83
  • Joined

  • Last visited

Everything posted by alapimba

  1. Hello, i'm using the plugin recipe card. https://pt.wordpress.org/plugins/recipe-card/ Unfortunly the plugin stopped working because the servers of the owner company seems to have closed of something like that. I'd like to keep using the plugin but this way i can't add or edit recipes as it allways try to connect to the server of the company... Anyone can help me modify this to send only to my own server and keep using the plugin? i have a lot of recipes on my site and it's not a great idea to change plugin and insert all again... The link to the plugin is here: https://pt.wordpress.org/plugins/recipe-card/ Here is the php of the plugin : https://endbox.com/yumprint-recipe.zip Can anyone please help me? yumprint-recipe.php
  2. Hello and thanks for your interest in helping me out. Let me explain a bit better what i need. i'll have 3 computers. computer number 1 will show a diferent image everyday (365 images/year) computer number 2 will show a diferent image every minute (1440 images / day) computer number 3 will show a diferent image every second during one minute (60 images / minute) This needs to be synchonized so when the computer returns to the 0 second is the moment that the computer 2 show the image for the next minute, Does it make sense?
  3. Hello I need to have 3 computers refreshing content every minute at the exact same time. how can i do that? i don't want to use the tag <meta http-equiv="refresh" content="60; URL=http://www.yourdomain.com/yoursite.html"> because it will not refresh syncronized with the computer clock and has i'll have 3 computers side by side it has to be at the exact same time. so i thougth about the refresh be based with the computer clock. Anyone can help?
  4. Hello I have a mysql table like this: id | user | car 1 | 1 | fiat 500 2 | 2 | vw polo 3 | 2 | vw golf 4 | 3 | renault clio 5 | 2 | fiat panda 6 | 3 | seat ibiza From this table how can i get a query that the result be like: user 2 - 3 cars user 3 - 2 cars user 1 - 1 cars Thanks
  5. everything worked perfect for my needs. Thanks a lot for your help
  6. nice seems simple. i'll try to use on my real data that it's a bit more complex. the array can be generated on a while($row = mysql_fetch_assoc($result)) loop?
  7. Hi I just realized that my example was too simple for my final needs :-\ i understand that example above. but in my work i need it a bit more complex.. imagine that instead of phone numbers only i have area code and phone numbers (in separate columns). How can i print it like: name<br> area code - phone number <br> area code - phone number2 <br> area code - phone number3 <br> e-mail In my real example this tables have books and authors. some books have more then 1 author.. and i need to print it like this: <div id="contentdiv"> <?php $i = 0; do { ?> <?php $i = $i + 1; ?> <div id="contentdiv<?php echo $row_rs_livros2['id_li']; ?>" <?php if ($i <= 1) { echo "style='display: block;'"; } else { echo "style='display: none;'"; }?>> <a href="livros.php?id_li=<?php echo $row_rs_livros2['id_li']; ?>" class="titulos_vermelho_livros"><?php echo $row_rs_livros2['livro']; ?></a><br/><br/> <?php //here i'll have more then 1 author sometimes ?> <span class="texto"><a href="autores.php?id=<?php echo $row_rs_livros2['id']; ?>" class="titulos_livros"><?php echo $row_rs_livros2['nome']; ?><?php echo $row_rs_livros2['apelido']; ?></a><br> <?php mb_internal_encoding("UTF-8"); $str = $row_rs_livros2['texto']; $limit = 300; //Specify the length of the new substring if (substr($str, $limit, 1) != ' ' && ($l = mb_strrpos(mb_substr($str, 0, $limit), ' '))) { echo mb_substr($str, 0, $l); } else { echo mb_substr($str, 0, $limit); } ?>(...)<br /> <a href="livros.php?id_li=<?php echo $row_rs_livros2['id_li']; ?>" class="style3">ver mais »</a></span></div> <?php } while ($row_rs_livros2 = mysql_fetch_assoc($rs_livros2)); ?> </div> </div> at the moment my query is still this: SELECT autores.id, autores.nome, autores.apelido, livros.id_li, livros.texto, livros.pdfs, livros.foto, livros.foto_grande, livros.livro, livros.ordem, ids.id_livro FROM autores INNER JOIN ids ON autores.id=ids.id_autores INNER JOIN livros ON ids.id_livro=livros.id_li WHERE estado = 'on' ORDER BY livros.ordem
  8. I understand a bit what you said but at the moment my tables are already so big that it will mess with other stuff on the site if i decided to change it now. (it's not a 3 column table as the example that i show...) in reallity it's 3 tables with inner joins that gives that kind of output. i have one table with id_username and e-mail i have another with id_username_phone and phone number and then i have a 3rd table with id_username and id_username_phone to connect everything. the query that i use gives that kind of result. Now i need to organize it with php... theres no way?
  9. Hello I have a mysql database that looks like this: id_name - phone number - email 1 - 927567348 - [email protected] 1 - 965437823 - [email protected] 1 - 963423495 - [email protected] 2 - 4357986345 - [email protected] 2 - 4395874355 - [email protected] 3 - 3459875234 - [email protected] and now i want to print it like this: 1 927567348 965437823 963423495 [email protected] 2 4357986345 4395874355 [email protected] 3 3459875234 [email protected] I don't know how do this. if i didn't needed to print the email in the end it would be "simple" like this: <?php $id_name = $row_rs_livros['id_name']; while ($row_rs_livros = mysql_fetch_assoc($rs_livros)) { if ($iddolivro != $row_rs_livros['id_name']) { echo $row_rs_livros['id_name']; } echo $row_rs_livros['phonenumber']; $iddolivro = $row_rs_livros['id_li']; } ?> But in this case i'm lost. Anyone can help me please? Thanks
  10. i'm making some test and at the moment with a change that i did it kinda fixed but i had to remove the css styles for the font. please try again as the problem is back on
  11. in firefox 15.0.1 for windows it don't appear that way :/
  12. Hello I'm doing a site with wordpress and i'm having problem with... i guess divs It only happends with firefox, with IE and chrome is fine. but i want it fixed on firefox too. take a look here: http://r2com.pt/wordpress/about/ The content can only be read until 2008/2009 and i have text until 2012. I can't understand what is wrong. anyone can help? Thanks
  13. Hello I did this site for a client and he is happy with that. but he reported that the site is not working in 3 diferent pc's of 3 diferent people. can you find any problem with the site? the url is http://tinyurl.com/62jjdr9 Regards
  14. this is what i did so far http://endbox.com/clientes/teste_360/ But i wanted instead of drag the image to if i'm with the mouse on the right side it goes to the right, if it's on the left the image moves to the left..
  15. A comporte solution would be better but i'll try to do something with the tips you gave
  16. Hello, anyone can point me in the right direction on how to make a 180º panorama? I have a 180º image of my office, i want to put it on a size with all the width of the open browser (100%) and the user to be able to scroll from the left to the right of the image with rollover. Anyone can help? I have searched a lot but nothing of what i found does what i need. Thanks
  17. hi i'm lost again. my idea is almost working but my code is a mess and not working exactly has i wanted. my link: http://endbox.com/clientes/jquery_test/studio5.html the working link is "project" and then the 2 first projects are working. The problem. The way as the images appear when you click the first time on "camouflage" or "campaing" is not the same way as it appear on the second click after been hidden. i don't know whats the way to code this so when i click on a area, lets say campaing if camouflage it's open the idea was camouflage close and then campaing open like on the first click. The other problem is that on IE the smartColumns(); function is not working has it should.. can you help me?
  18. ok this part i guess i understood. now hwo about the load content? How should i do about the loading of images of the gallery (as you see on the example that i just gave the link). I guess i can click on the menu and load the page and if in the page theres any action like the fadeIn it will work and no one notice that a new page just loaded. My doubts is regarding the unload of a page and load another. and i'd like that the unload happend just after a slideUp action or something like that... But i'm a bit lost in this chapter.
  19. ah ok, understood. something like <a href="#" id="menu1">menu 1</a> and then $("#menu1").click(function(){ $(".highslide-gallery").each(function(index) { $(this).delay(100*index).hide("slow"); }); }); ?
  20. Hello. I'm trying to make a site using jquery but it's been so simple as i thought it would be. Some stuff it didn't even make sense, don't if it's me , if it's the scripts that i'm using. This is what i have done so far. There a few things not using jquery but i'll replace it later (if i get helped ) The link to my tests: http://endbox.com/clientes/jquery_test/studio5.html Now my problems and doubts. My idea is to have the menu on the right, when you click on projects the grey menu appear and then if you choose the first project the thumbnails appear, if you clicked the 2nd a diferent ones would appear and the visible ones would hide. The appear and dissappear i got it working using the buttons above the left menu. But still i'm lost with lots of things. First thing is, how can i make the appear and dissappear work on the grey menu? I don't even understand how to make a link to a specific word? i saw the examples on the tutorials but they are allways refered to the a href funciont in general and not to a specific one. 2nd doubt is... the thumbnails has to be from the beguinning on the page? or they can be loaded as i click? this question is because don't make sense load the complete site at once... but then if it's loaded external, how can i control them to use the basic hide() function? other doubt that i have is related to the order as everything is loaded. I have this: $("#apa").click(function(){ $("#sliding-nav").each(function(index) { $(this).delay(100*index).fadeIn(600); slide("#sliding-nav", 25, 15, 150, .; }); }); why can't if i remove the line "$(this).delay(100*index).fadeIn(600);" this don't work anymore? I have a few other things that i didn't understand but maybe with this one answered i can figure out the others. Thank you very much.
  21. Hi I'm learning jquery and i have one doubt. this code that i wrote with bits from here and there works fine but i was looking at it and it seems like missing one }); Is this correct? (it works...) <script type="text/javascript"> $(document).ready(function() { $(".thumb").thumbs(); }); /////////// $(window).load(function(){ $("li").each(function(index) { $(this).delay(300*index).fadeIn(600); }); $("img").each(function(index) { $(this).delay(300*index).slideDown(); }); ////////// $("#go3").click(function(){ $("li").each(function(index) { $(this).delay(100*index).hide("slow"); }); /*$("#lista").animate({ width: "70em", marginLeft: "0", }, 1500 );*/ }); ///////// $("#go4").click(function(){ $("li").each(function(index) { $(this).delay(100*index).fadeIn(600); }); }); }); </script>
  22. well if i wanted to fix a car that his problem was a water pipe broken, i would not need to learn how to install pistons.. Learn javascript it's too vast...it's useless start learning javascript with "hello world" tutoriais i guess :/
  23. oh.. i'm sure you can have a answer better than that and that can really help
  24. Hello I need to do a portfolio of paintings and i found a site similar of what i have in mind. The site is http://www.pikaboo.be/ It's great because its using javascript only. I just don't know how to start my reserach for that transitions and moving objects and that stuff Anyone can give me a few tips on how to start? I have been looking at jquery and mootools it does some stuff taht it's on this site but the movement of objects and the way as they appear on the screen one by one and all that pretty stuff i have no idea how to search. Anyone can help me on where to start and how to do something like this? THank you
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.