11,530 Posted Topics
This has been frustrating me for about 20 minutes already and I don't want to spend much more time on it, so any help would be much appreciated. The editor that we use which syntax highlights Markdown text has has bug in which it highlights text as code when it … | |
Re: Please click the `Code` button in the editor toolbar when attempting to post code. | |
![]() | |
Re: > Unfortunately you didn't use code tags cofrrectly so we can't copy it to our editor and compile it ourselves. Formatting fixed. | |
Re: Code needs to be indented by at least four spaces to be code. When people just copy and paste code without formatting it correctly, the bits which are indented already show up as code. | |
After receiving some complaints that the editor font size was too small, I went ahead and significantly increased it to mimic live posts. What do you think? Is it better now or too big? | |
Re: Hi :) I'm Dani. I'm the founder, admin, and also I code the site. James (aka deceptikon) is a co-admin who also helps code. Davey (aka happygeek) is a co-admin who writes our monthly newsletter and maintains our editorial section. Sanjay (aka ~s.o.s~) is a co-admin who leads up the … | |
Re: 1. Known bug. Will be fixed. 2. There are no plans for this to currently be implemented. It would require a database schema redesign and there is no easy way to currently tell *what* is the last post for each individual member. 3. This hasn't existed for about two years … | |
Re: Did you paste it into a post where it is expecting [BBCODE], or did you paste it into one of the HTML templates? | |
Re: Yup ... it's attempting to syntax highlight with C/C++ style highlighting. To force VB-style highlighting, use fenced blocks like this: ~~~ vb Code goes here (not indented) ~~~ | |
Re: The old DaniWeb was really flawed :( It *really* was. This new system has much better bones but it's still an evolution process. To receive email notifications, click the Watch this Article button at the bottom of the page. You can also go into your Edit Profile page and select … | |
Re: Line 30 of report.php is trying to send out email. Apache is a web server which can serve PHP pages. MySQL is a database server which manages the database. You need a mail server in order to send out email. ![]() | |
I have the following queries (as examples): ~~~ sql SELECT articles.* FROM articles WHERE articles.forumid IN (2,8,118,9,61,58,34,114,112,113,125,124,4,134,42,14,71,181) ORDER BY lastpost DESC LIMIT 0, 30 ~~~ ~~~ sql SELECT articles.* FROM articles WHERE articles.forumid IN (2,8,118,9,61,58,34,114,112,113,125,124,4,134,42,14,71,181) AND NOT deleted ORDER BY lastpost DESC LIMIT 0, 30 ~~~ ~~~ sql SELECT articles.*, … | |
Re: > The "1." under the book.php code should not be in the code. I don't know why it shows up there. I fixed the formatting. Please be sure to properly format your code. | |
Re: When viewing an article, you can click the "Watch this Article" button towards the bottom of the page. There's also an option in the profile editor to automatically watch articles that you post in. | |
| |
I've been working on our editor a bit tonight, and there are some changes to its functionality. Now, when you click the buttons such as Bold, Italic, etc., the editor automatically gets focus and highlights the dummy text. Therefore, you can immediately start typing to replace it. Also, I went … | |
Re: Do you mean you want to scrape their content? Check out what's available through their APIs, as elbeato said. | |
Re: A DaniWeb cookie does not prefill your username and password in for you. In fact, we would have no way of filling in the password field because we do not store your password in plain text in a cookie on your machine. As James #2 mentioned, this is a browser … | |
Re: This is a big problem nowadays with the recession, because everyone is getting laid off and taking lesser jobs. So all of the entry-level jobs that typically require very little experience are now being filled by people with lots of experience willing to work for less money. Try investigating internships. … | |
Re: > Most forums, like Daniweb, use 'nofollow' so if you are looking for backlinks from this site, it's not going to happen. To take it a step further, signatures are not shown at all to guests (which includes bots). | |
Re: There's some type of bug ... you're posting a legit site, but for some reason the hover is showing an asian porn site of some kind! | |
Re: And we're forgetting one ... Congrats to Sanjay for being promoted to co-Administrator! :) | |
Re: Is it just me, or is everyone listing all the same things, but just in a different order?? On-page optimization are things you have direct control of because they are ON your actual page. Off-page submission are things you don't have direct control of because they are on other sites. … | |
Re: Using a P2P file sharing problem is completely legal ... as long as you use it to share files you have the right to own. File sharing programs are just tools. Like any tool, you can use it legally or illegally. I can chop a salad with a knife or … | |
Re: Your code wasn't indented. Is it better now? | |
Re: I would assume that the live tech agents are work @ home people who can multitask, responding to quite a handful of people at once. I would agree with the $8-10 range. That being said, I definitely think it's a good thing to have. I enjoy the instant gratification of … | |
Re: You can use other contextual ads with AdSense as long as they don't mimic the look and feel of AdSense ads, or in any way cause confusion as to what is an AdSense ad and what isn't. Of course, you can put every ad known to man on your site, … | |
Re: Hi there ... Sorry about all the problems you've been having posting, but I REALLY appreciate your help in diagnosing the problem. You can just post in the Windows category under Hardware and Software, or under the Shell Scripting category in Software Development. | |
Re: I was making a change to the posts table, and that locked the entire posts table for a good 20 minutes. :( | |
Sooo ... I learned during my schema migration that our webpages use UTF-8 encoding but our MySQL database (all InnoDB tables) uses latin1. After finally running some utf8_decode() php magic, I was finally able to successfully get all posts to display correctly again. However, now that I realize there's an … | |
Just as the title asks ... can selenium be used to automate forum spamming? If so, what are some techniques to combat that? | |
Re: > With the old system, I was able to click "Edit" to immediately correct the typo. Will look into this :) > Wouldn't it make more sense to label that control "Save" Hmm, I'll think about it. :) | |
Re: Haha, Hi Katie! Welcome to DaniWeb!! :) Your class assignment is to post a question here? That's really cool! I wish I got credit for posting here when I was in school! | |
Is anyone else seeing this?! There's a little musical note icon next to my Google Analytics charts, and when I click on it, Analytics "plays" my graph with synthesized piano tunes! I think this is the most useless, ridiculous feature ever to come out of Google. | |
Soooo Initial Impressions .... Markdown vs BBCode ... ? :) | |
Re: So your question is whether => means the same thing as =. In the world of multi-dimensional arrays, no, they aren't quite the same. However, according to the code you're showing us, '=>' is being literally printed as a result of the echo statement. Literally *anything* could be printed there. … | |
Re: No, this feature was readded only two days ago, after this thread was started. | |
Re: What have you tried yourself? Where specifically are you stuck? We won't just do your homework for you. | |
Re: Here's the code properly formatted: <?php require_once('auth.php'); // only for registered users ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>TCK Portal | Profile</title> <style type="text/css"> <!-- body { font: 100%/1.4 Verdana, Arial, Helvetica, sans-serif; background: #4E5869; margin: 0; padding: 0; … | |
Re: Hi, Firstly, thanks! Secondly, please bare with us :) It actually isn't just a design change. The entire site was completely migrated over to a new platform, so a lot of things are different under the hood. As of right now, you will only receive one email a day with … | |
Re: Yes, unfortunately I can't think of an easy way to copy/paste this code. :( Stevo, can you repost it without your manually-added line numbers? |
The End.