Jump to content

Bob Crabb

Members
  • Posts

    558
  • Joined

  • Last visited

Everything posted by Bob Crabb

  1. Thank you, thank you, thank you. It is really nice that this year's Super Bowl is scheduled on my birthday.
  2. Since I use Open Office, I am spoiled by having the convenience of saving a document as a .pdf using one of its core features.
  3. Here are more specific instructions: Find: > #menu ul h2 { background: #860000; border: none; font-size: 1.0em; font-weight: normal; padding: 2px; margin-bottom: 5px; text-transform: uppercase; text-align: left; } Replace with: > #menu ul h2 { background: url(images/bgsidebar2.gif) no-repeat bottom center; border: none; font-size: 1.0em; font-weight: normal; padding: 2px 0 20px 0; margin-bottom: 2px; text-transform: uppercase; text-align: center; }
  4. No problem. Here is a great site for learning CSS, HTML, XHTML, etc http://w3schools.com to get the candy cane bars on the other side bar, just copy those css declarations into the one for #menu ul h2
  5. Looking at it, I think that the text would look better with font-weight set to normal. If you want the text to be closer to the candy cane, step down the 22px setting in padding a couple of pixels at a time until it looks the way you want.
  6. You are going to need to fix the background image to the bottom of the element, and add enough height so that the text will appear above the background image. I think that if you want the titles over the candy canes, that you would also want the text centered and it might also be a good idea to make it bold. I'm kinda winging this, so try it out and see how it works. Find: > #sidebar ul h2 { background: url(images/bgsidebar2.gif) repeat top left #860000; border: 0px dashed #860000; font-size: 1.0em; font-weight: normal; padding-top: 5px; margin-bottom: 2px; text-transform: uppercase; text-align: right; } Replace with: > #sidebar ul h2 { background: url(images/bgsidebar2.gif) no-repeat bottom center; border: none; font-size: 1.0em; font-weight: bold; padding: 2px 0 22px 0; margin-bottom: 2px; text-transform: uppercase; text-align: center; }
  7. That is the background image. replace: >background: url(images/bgmenu.gif) repeat top right #860000; with: >background: #860000;
  8. in file, wp-content/themes/Christmas-Theme2/style.css find: > #menu ul h2 { background: url(images/bgmenu.gif) repeat top right #860000; border: 1px dashed #860000; font-size: 1.0em; font-weight: normal; padding: 2px; margin-bottom: 5px; text-transform: uppercase; text-align: left; try replacing: >border: 1px dashed #860000; with: >border: none;
  9. If you bought the template, it might be best to request that the author of the template, assuming that you purchased it from the template author, find and remove the dashed border. If that is not possible, and you want assistance in this forum, you will need to post a link to the page. We can speculate that a border: dashed property is applied to the element containing the menu headings to which you refer, but that is about the extent of any meaningful analysis that one can do from a screenshot.
  10. Jeren, upgrading the themes is what complicated my install. I offer my users a choice between stock prosilver (ok, it has some mods) and two other themes that I made using the prosilver template. I think that if you want to use the quick reply, if your theme is prosilver based (or close to it) you just need to edit your template/viewtopic_body.html to include the following: > after <!-- END postrow --> add <!-- IF S_QUICK_REPLY --> <!-- INCLUDE quickreply_editor.html --> <!-- ENDIF --> and, of course, make sure that quickreply_editor.html is in your template folder. I didn't like the stock installation of the feature, where you have to click a "Quick Reply" button in order to open the form, so I made another little change to quickreply_editor.html that will elimate that step. Several of my forum users, especially the frequent posters, have commented very positively about the feature.
  11. A few days ago, phpBB announced release 3.0.6. Some of the new features include a quick reply box, RSS feeds, and enhanced CAPTCHA options. I just upgraded the forum on one of my sites last night. Although my board is heavily modified, the update program was able to resolve most of the conflicts in integrating the changed code. So far, I have only found a couple of things that didn't work right, and those were fairly easy to resolve.
  12. After posting that, I realized that you might not want everything in the box centered. For example if you want the captions to be left justified, but the image centered, then you would wrap the img tag (and anchor if it is linked) in a div with either inline style or class that would center, as described in my previous post.
  13. The center tag was deprecated in HTML 4.01 and is not supported in XHTML. In my opinion, it should be forgotten and never used. There are several W3C compliant ways of centering your images and captions. One would be to edit the CSS for the parent element. For example, in a page on your site that I viewed, the image that you centered is in a div class="textwidget". If you can find the CSS declarations for that class, you can add a line >text-align: center; That could create problems, however, if there are other cases where this class is used that you do not want centered. Therefore it would probably be best to add a class in your CSS file like this: > .center_txt { text-align: center; } then, in the html for the images that you want centered add center_txt to the class attribute of the parent element. Therefore, <div class="textwidget"> would become <div class="textwidget center_txt"> You could also add an inline style attribute, but if you are going to apply it in several places, it is easier to just add a class to the stylesheet.
  14. It might be a script time out issue. If so, you can try adjusting the max_execution_time by setting a value in your .htaccess file example: > php_value max_execution_time "120" this would set it at 120 seconds. I would try experimenting with one of the smaller files that isn't working, and work up from there. Also, if the script is reading the file and passing it on to the user, then you might have a memory imit issue. In that case you would need to experiment with the memory_limit value by setting it in your .htaccess file.
  15. If you have a reseller account, are you backing up from the root account, or from the account of the actual site. Some time ago, I found that if I back up databases for sites in my reseller account from the root account, it looks like the backup is done, but the backup files do not include all the data from the database.
  16. W3C Schools has a decent tutorial with some examples that you can copy and modify to get you started. From the home page, you can access an SQL tutorial, but for specifically writing PHP/MySQL scripts go to the PHP Tutorial, and look in the left side menu for MySQL. Here is a link to the PHP/MySQL tutorial: http://www.w3schools.com/php/php_mysql_intro.asp One word of caution, though. I haven't looked at that tutorial for a while, but I don't remember any advice in there about security, especially if you are going to insert user input into a database. So, when you get comfortable with connecting, selecting, updating, inserting, joining, etc, I would advise you to do some research on escaping and sanitizing data that is to be written into a database if you are going to write an app that will be live. Good luck, and have fun. --BC
  17. pdf files can contain embedded binary data, so make sure that when you ftp the files that they are being transferred in binary mode.
  18. Dick, Thanks for the suggestion. I left work before seeing your reply, and will try that tomorrow morning.
  19. Hello everyone -- I really hope that one of you is a Windows Server 2003 guru, and can help guide me in the right direction with this problem. We cannot connect to an ftp site from our network. I have tried using Core FTP Lite (which I use at home almost daily), and Filezilla. We do use a proxy in our network, and I have set the proper proxy name, password, port, etc, in the options of the FTP client. When I try to connect, I get a message: Resolving ftp.xxxxxx.net, via proxy (xxxxx)... Connect socket #428 to 192.168.100.100, port 8080 (to 21)... Can't establish connection --> ftp.xxxxxxx.net:21 @ Tue Sep 01 15:45:14 2009 (10060-19) A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond. Any ideas? Thank you, BC
  20. Steve, Thank you for the response. I switched the site over on Friday night, and everything worked fine. When I first saw the document_root problem when initially testing the site, I went to another of my sites, and accessed via the server name, ie servername.tchdomainname.com/~siteid , and saw the same thing happen. While testing, I just edited enough of the includes to be able to test a couple of pages, since a simple workaround was not apparent.
  21. I am testing a site that I am planning to migrate from another hosting company. Since I have not yet changed the nameservers to point to TCH, I access the site via http://server.tchaddress.com/~accountid/ The problem is that all the php includes using the $_SERVER['DOCUMENT_ROOT'] variable resolve to /usr/local/apache/htdocs... and I get an error. Of course, I can edit the includes and remove the server document root variable while I am testing, but that is rather tedious. Can I redefine document root via .htaccess so that the addresses will properly resolve while I am testing the site?
  22. I like the new look. Is the forum system still Invision Power Board?
  23. WP is so easy to upgrade manually that I never tried the auto upgrade. I'll probably try it sometime just out of curiosity.
  24. Update monkey!!! LOLOLOL -- that was me last night. If we get a few weeks reprieve from spam registrations while the spammers figure out how to crack the new CAPTCHA, it will be worth the effort.
  25. Last night, phpBB announced a new release, 3.0.5. It fixes a few minor bugs, and adds a new CAPTCHA that I hope will be more difficult to crack than the old one. Here is a link to the announcement. http://www.phpbb.com/community/viewtopic.p...4&t=1625005
×
×
  • Create New...