Jump to content

merylvingien

Members
  • Posts

    267
  • Joined

  • Last visited

Everything posted by merylvingien

  1. Like the editor that you use on here to write posts This is a bbcode editor. wysiwyg editor for bbcode...
  2. Offensive? LOL You want to edit a post yes? Where is the form with the info from the database that you want to edit? P.S if you want offensive, you spelt form wrong...
  3. The reason you are getting a blank page is becuase you havent put the information in the database into your page!
  4. Background color white Date color white ?
  5. Does anyone know of a decent bbcode editor that actually works and is reasonably easy to install?
  6. Thanks alpine, i didnt even think of doing it that way Works a treat
  7. Hi Guys, i am playing with a bit of code and i have run up against something i can figure out. I have a sort of blog, but till now i havent allowed images or any html input. I have been playing with bb code to spice things up. I have the bbcode bit sorted out for the moment. What i am trying to do is: if someone posts an image, i need to detect that an image has been posted, then resize for the limits of the page layout. I have got to here so far: $text is the blog text posted by user (coming to page from database) $text= nl2br($text); $simple_search = array( //added line break '/\[br\]/is', '/\[b\](.*?)\[\/b\]/is', '/\[i\](.*?)\[\/i\]/is', '/\[u\](.*?)\[\/u\]/is', '/\[url\=(.*?)\](.*?)\[\/url\]/is', '/\[url\](.*?)\[\/url\]/is', '/\[align\=(left|center|right)\](.*?)\[\/align\]/is', '/\[img\](.*?)\[\/img\]/is', '/\[mail\=(.*?)\](.*?)\[\/mail\]/is', '/\[mail\](.*?)\[\/mail\]/is', '/\[font\=(.*?)\](.*?)\[\/font\]/is', '/\[size\=(.*?)\](.*?)\[\/size\]/is', '/\[color\=(.*?)\](.*?)\[\/color\]/is', //added textarea for code presentation '/\[codearea\](.*?)\[\/codearea\]/is', //added pre class for code presentation '/\[code\](.*?)\[\/code\]/is', //added paragraph '/\[p\](.*?)\[\/p\]/is', ); $simple_replace = array( //added line break '<br />', '<strong>$1</strong>', '<em>$1</em>', '<u>$1</u>', // added nofollow to prevent spam '<a href="$1" rel="nofollow" title="$2 - $1">$2</a>', '<a href="$1" rel="nofollow" title="$1">$1</a>', '<div style="text-align: $1;">$2</div>', //added alt attribute for validation '<img src="$1" alt="" />', '<a href="mailto:$1">$2</a>', '<a href="mailto:$1">$1</a>', '<span style="font-family: $1;">$2</span>', '<span style="font-size: $1;">$2</span>', '<span style="color: $1;">$2</span>', //added textarea for code presentation '<textarea class="code_container" rows="30" cols="70">$1</textarea>', //added pre class for code presentation '<pre class="code">$1</pre>', //added paragraph '<p>$1</p>', ); // Do simple BBCode's $text = preg_replace ($simple_search, $simple_replace, $text); then display text! I have a limit of 480 pixels width to play with. Any suggestions?
  8. This is a managed server, running whm so its pretty easy to setup new accounts etc. Its only my first day so i guess that things will work themselves out.
  9. Similar! Semi d only has 12 users per server and you are garanteed a 12th of the servers resources. They do seem to be helpful, but i just know that they saying "we got a right one here" Its not intuative at all. I mean does the domain name have to be actively pointing at the server before emails can be sent? I havent got a clue.. All i know is that emails arent being sent out... I am having issues with my php pages, which work perfectly on the previous server and my local server.. I am stressed LOL
  10. Went with a semi dedicated in the end, wish i hadnt bothered, nothing works! No emails work, my scripts are fecked beyond all recognition... Pretty unhappy with the whole experience actually
  11. I am sincerly glad that you have found what you were looking for, quite honestly i wasnt boasting, i thought you were after a downloadable script with all the uk postcodes stored in it. I have spent a lot of time searching for such a thing and never found it. Sorry you feel that i wasnt being helpful, that wasnt my intention.
  12. Does anyone actually use the preview part of dreamweaver? I havent used it for a couple of years. the preview doesnt work properly with css styled sites anyway, so i always preview within a browser!
  13. LOL Good luck with that one, the database you are talking about will be significant. Plus any code will be taylor written for each site. I have all the uk postcodes in a database but it took me a LONG time to compile it!
  14. I particularly like the "spandex" word, it reminds me of "other" websites that i look at LMFAO
  15. Too slow! I didnt even get to see it, i fell asleep as it was loading....
  16. How about wedontknowwhatyourwebsiteisaboutsohowcanwesuggestnames.com
  17. Thanks for the reply Daniel0 I have done some research into what i have now, and a couple of the sites that i have are on servers with around 300 other sites as well. I have about 10 sites that i want to host and one would assume that a dedicated machine with only 10 sites has to be better than 300 sites. All my sites are reasonable amount of traffic, ie nothing too serious, but they need to be fast, super fast! Is there somewhere obvious where i could study server administration? I have done some searching and will continue to do so. I suppose what i am meaning when i say is it easy! Is do you get a blank screen when you first fire the thing up, with a help topic stating echo "hello world"; LOL If i EVER see that phrase again i am going to commit suicide
  18. Just wondering if anyone uses a dedicated server rather than shared hosting? I have a handful of websites and the number seems to grow monthly I am not happy with the preformance of the shared hosting that i have at the moment. I assume that with a dedicated box i can host as many sites as i want? Having never delved into dedicated machines before, how easy are they to setup and use? Any info or pointers would be appreciated
  19. Looks good, the only comment i would make is the images are different sizes! It would probably be better to size them either all the same or at least the outer ones the same, and the middle one can be smaller, just keeps a uniform to the site.
  20. From what i can see from the link you supplied, you are about 10 years from a release date! Can i ask why another forum software? Is it going to be free or paid? Personaly i think you would be well advised to take a moment, look at some of the other forum software providers out there, and ask yourself "is it really worth it"? smf = free mybb = free There are two straight off the top of my head that are pretty cute forums with a whole bunch of features that is going to take you a LONG time to catch up with...
  21. Do you have passwords already stored without the md5 hash? Cause obviously they will no longer work.....
  22. I am still not sure what you want after reading your post over again LOL Anyway, i think you want the minimum height of .content to be 800px? .content {min-height:800px} If thats not it, then my apoligies, i will re read your post again and again LOL
  23. Are you sure? How about header("Refresh: 5; URL=\"somescript.php\"");
×
×
  • 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.