Jump to content

Spring

Members
  • Posts

    224
  • Joined

  • Last visited

Everything posted by Spring

  1. I definitely fixed it. Thanks though.
  2. So I'm playing around with Regex : here's a working example https://regex101.com/r/ttNcvw/1 as you can see, in the second capture group, specifically here [/url][url=ok.com]ok As you can see, it's capturing everything that comes after the first , I've been working on trying to have it stop once it finds the first rather than the last instance of /url] so that it will be able to capture links on the same line, rather than having to put them on different lines. How would I change this properly?
  3. Is the supporter badge permanent or is it recurring monthly with the payment? Also, will this badge be ported over to the new forum?
  4. and appending .delay isn't working?
  5. Understood. I look forward to the migration.
  6. Hmm, if you're going for a paid solution why did you guys decide choose IPB over VB? This is just out of curiosity.
  7. I believe you're looking for The setInterval() Method. http://www.w3schools.com/js/js_timing.asp
  8. Why are you looping through DB results using for instead of foreach? (Sorry may be a little confused at the question) but return the resource as an array and loop? mysql_fetch_array() http://php.net/manual/en/control-structures.foreach.php
  9. You must have been using phpbb2...which is very outdated and well, very exploitable. I would definitely suggest giving it another try, phpbb3 has been almost completely rewritten and has an amazing admin panel for easy configuration and I'm sure it has an integration from SMF to phpbb mod. It has a very very wide following now and is very popular. I'm sure it will fit your needs perfectly. Again, just a suggestion Though I guarantee you will find it more to your liking then IPB.
  10. Why not Phpbb? It's very easy to mod, I've used it for a quite a few of my projects. It's very widely used and has tons of mods available for public use submitted by members and the PHPBB developers alike. Not to mention is very frequently updated. https://www.phpbb.com/
  11. We will assume the menus have the Id's of menu1 and menu2. Please feel free to share a better way if you have one! I'm no expert in jquery. $("#menu1").change(function() { val = $(this).val(); if(val == 0 ){ $("#menu2").val(0); } }); ‚Äč
  12. http://php.net/manual/en/control-structures.elseif.php
  13. Hey guys, I have a question that you can hopefully help me with, I'm writing a simple forum, and I'm wondering how I would go by handling a thread that has been 'stuck' so that it isn't moved when more threads are made. I could use some a push in the right direction thanks.
  14. Okay, well storing it in it's original format is fine, should I output it with that function? Or keep it outputted normally as well? I just want to make sure it's safe.
  15. 1.)Depends on where you buy the domain, what kind of domain etc. check out http://www.godaddy.com 2.)Most likely, just google it.
  16. So, If I want to store something like: Hello<br /> <b>This is a sentence </b> I would need to use htmlentities So I could output the HTML after it's stored in the database safely?
  17. If I use get results in a url I want it to be encoded for example id=45 would be something like id=Fg53FAmmC
  18. Is there an alternative way to encode url params besides: base64_encode examples would be great.
  19. Is this what you mean? 1 = male 2 = female 0 = all? if($xx = 0){ $sql = "SELECT * FROM table WHERE gender = 1 AND gender = 2"; }
  20. http://remysharp.com/2007/04/12/jquerys-this-demystified/
  21. document.getElementById("reg_name").innerHTML=reg_n; document.getElementById("reg_password").innerHTML=reg_p; document.getElementById("reg_email").innerHTML="reg_email + reg_p_m"; What are you doing here..? There is no element with the id = to "reg_name" I'm getting a null error. I think you should re-write this function.
×
×
  • 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.