Jump to content
xisto Community

vujsa

Members
  • Content Count

    1,008
  • Joined

  • Last visited

Everything posted by vujsa

  1. Well, I use CuteHTML for most of my editing needs and it includes a text replacement feature that I use a lot. It will search and replace text on the active document or all open documents.It isn't very fancy and doen't use any regular expressions but with a little practice, you'll figure out how to overcome that.It will do large blocks of text as well. The demo version stops providing code tips and more advanced features but the find and replace feature works great.I use an older version - CuteHTML LE from 2001 ;)You might give it a try, I'll look around and see if I still have the installer for it if you need.vujsa
  2. bakr_2k5 terminated his hosting account but still shows as HOSTED. I think he did this during the recent RED period. I tried to do a termination token for his account as well but still no luck.Can you ensure that his hosting is terminated and fix his member group.vujsa
  3. Yeah, the newegg search engine has a common flaw when used as a configuration finder.If a motherboard has multiple options for a category, they have a hard time matching them correctly.For example, if I ask for LGA775 boards for Core 2 Extreme / Core 2 Duo / Pentium D / Celeron processors, it won't match a board that also accepts a Pentium 4! This creates a problem when searching the databases since you really have to search each processor type that you want compatibilty for the manually cross reference them.But it is still so much easier than it was 5 years ago.For example, the max LAN speed you chose was 10/100/1000Mbps which means only boards that match exactly that! For my home system, I don't need a 1Gbps network since I'm not even close to 100Mbps for my internet and we don't do a lot of file sharing here! So that eliminates a large number of potential boards because the search engine wants to make exact matches. ;)5 years ago, there were so many options that you couldn't search for! Like internal LAN, internal audio, RAID, and USB ports but you could search by the number of EISA slots. ;)Another problem with newegg is that it only searches a database of newegg products. Intels search engine will include all intel compatible board! It still has many of the same problems that most configurators do though! This is because designers are lazy and don't want to return false positives. Also, this flawed system is easier to add features and products to.Thanks for the search. I have a couple of boards in mind but need more time to read the spec sheets on a few dozen to narrow the field!vujsa
  4. Well, it looks like you resolved your problem. I was going to say that I couldn't see any problem in the template that would cause the problem and that it must either be in the installation or configuration of the actual shoutbox script that caused the problem.It looks like you chose a different shoutbox script as well.I'm sorry I couldn't have been more help.vujsa
  5. Hey guys, thanks for the replies. I think I decided to replace the motherboard. Mostly because I really want to use the old one for a linux system. I have an older, smaller power supply that I can use and can either build a case or buy a really cheap one. Of course, I'll need a cheap graphics card for it as I plan to reuse my old one for the upgraded system. With A KVM switch, I should be good to go and any new board will have built in LAN support so I don't need a new NIC. Of course I suitable HDD's in storage since I don't need much for the system. 6.8GB and 40GB HDDs will be more than enough for this project! I don't worry too much about being behind in upgrades. I like to stay at least one step behind since my budget is limited usually. But if I put in a new motherboard with a 3GHz Pentium 4 and 1GB RAM for $300.00 now, I can probably upgrade that in a couple of years to a topped out Pentium D or Core 2 Duo for about another $150.00 depending on how much the processor prices drop in that period of time. Of course, I would still be behind but not as far as I am now and for my use, I don't need an ultra fast PC! Now to find the new motherboard: Probably LGA775 Socket since it is the current Intel standard for desktop motherboards and allows for a wide range of processors. Dual Channel DDR2 800/667/533 Memory Built in LAN 10/100 or better RAID - At least mirroring support ATX, not µATX At least 3 PCI slots for upgradability and 1 AGP slot (4+ PCI slots would be better) Built in video support would be nice so I can run multiple monitors without much additional cost IDE (PATA) would be nice so I don't have to buy adapters right away but SATA should definitely be available Only reputable motherboard manufacturers will be considered It is hard to shop for motherboards since there are so many that just don't meet the requirements and the selectors (configurators) vary from site to site. Even after you find the perfect board, you may not find a place to buy it! I remember spending 2 moths researching the last time I did this! But the internet has grown a lot since then and it is easier tha ever to find stuff now. Used to be mit the MOBOT @ motherboards.org and then get maybe 2 possibilities and then shop the 5 or 6 online shops that sold motherboards to find that they didn't carry either board! So go back to the MOBOT and find a few near perfect motherboards and repeat the process until you get something close to what you need for a reasonable price. I tend to spend the most money on the motherboard since it determins the amount of upgradability the system will have. Unfortunately, the current motherboard never got the benefits of such upgrades because times were pretty lean in recent years. I should have upgraded to the 2GHz processor about 2 years ago but I didn't have the money then. Now I'm behind schedual! vujsa
  6. As I understood what you just said, the shoutbox is working fine except it leaves a blank space when a guest is viewing it. This is because you do not want guests to view the shoutbox correct? If this is the case, then you need to tell the template not to try to show the shoutbox if the user is a guest like so: if (function_exists('smfshout') && !$context['user']['is_guest']) smfshout(); I tried to register at your website but haven't been Admin approved yet so I can't see what the shoutbox does for members. Hope this helps, vujsa
  7. I need a logo for my website! My website, Handy PHP is beginning to really attract a lot of traffic. As suggested, it offers PHP related resources. Now after some searching and modification, I have the website template that works for me but I need a logo. So I decided to run a contest for a new logo. Here are the rules for the contest. The logo must fit the color and layout of the website. - The website shouldn't need to be modified radically to fit the logo. If the logo is animated, flash, or other large file, a smaller (still or lower resolution) file must also be submitted with it. All designs to be considered must be submitted by April 25th, 2007. Voting on submissions will Open on April 26th, 2007 and close on May 10th, 2007. All submissions will be included in a forum poll for all members to vote on. 30 credits will be awarded from my account to the winner of the contest. - The winner of the contest is not necessarily the submission with the most votes. - Must be hosted for credits to be transfered. Enter as many submissions as you want. I reserve the right not to chose the submission with the most poll votes. - If I personally like a different logo I may chose it instead and award the designer of that submission the 30 credits. I reserve the right to cancel the contest at any time. - This would apply if too few submissions are entered, the submissions entered are not suitable, or any other reason a deem valid. I will NOT use any submission on my website that I do not award hosting credits for. Additional credits may be awarded for additional media or for non-winning submissions that will be used. - Basically, if your submission wins and additional images are needed, extra credits will be awarded for the additional images. - Also, if all or some of the images of non-winnig submissions are used as is or modified, credits will be awarded for those images. - Credit may be awarded for non-image portions of submissions such as JavaScripts etc... Requirements: A minimum of 3 files should be submited. - Large, full size graphic that would be used for the side logo / banner. - Medium, basic image only that could be integrated into other images for advertising. - Small, suitable for the basis of a favicon and other small image needs. Additional files should either modify, support, or fill in the gaps of the three minimum files. Different colors or layouts should be entered as seperate and complete submissions. The media may be in any visual format as long as it can used on a website and an alternate (common) format is also submitted. - This includes Flash, AJAX, JavaScript, GIF, PNG, JPG, layers, DHTML, CSS, etc... If you have any questions, please ask them here. I think I have a set of rules here that are fair for everyone but provide me with the flexibility needed to promote such a contest. Basically, I really need a logo and I am willing to offer something in return for a logo but want to be sure tha the contest is as fair as possible without me having to pay for something I don't want. Please post your submissions in this topic only. Links to your artwork are okay for non-forum supported media. I hope this will be an exciting contest that everyone will participate in. vujsa
  8. Even at the time that I built it, it was a modest machine. I spent a lot of time shopping for the perfect components for my system and my budget.My first PC was an IBM Aptiva which was limited in the amount of upgrading that it could handle. I quickly ran out of memory, CPU, and HDD usability.I maxed out the memory, added the second hard drive (a total of 8GB), and the processor didn't have too many faster version available. When the motherboard finally lost it's floppy drive controller, I was stuck since the Aptiva motherboard and case were both proprietory form factors. They only worked together so I couldn't just buy a new motherboard. So in spring 2002, I had to replace my Aptiva (100MHz, 256MB, 1.6GB HDD & 6.3GB HDD) with a new Pentium 4 system.As I suggested earlier, I was very particular in my selection of components. My biggest motivation was upgradability! I bought the largest, usable Full ATX case I could find. Slide out HDD mount, slide out motherboard tray, 5 ext. 5.25" drive bays, 6 3.5" int. drive bays, 1 3.5" ext. drive bay, 3 built in fan slots plus the power supply fans, and 7 expansion slots. I followed this with a 300 Watt Antec power supply with dual fans and more 12V connectors than I could ever use. I think you are seeing the theme here, make sure I have room for upgrades latter!The processor, motherboard and memory were the next step. I went with a lesser processor speed since I was sure of future upgradability. I bought a boxed Intel Pentium 4 1.7GHz, 256KB cache, 400MHz FSB. The biggest processor at the time was the same Pentium 4 with 2.2GHz 512KB cache so I wasn't too far behind. I parked that CPU in an Intel D845WN motherboard. It is a modest motherboard with 6 PCI slots, 1 AGP slot, 4 external USB ports, 1 internal USB port, 3 168 pin DIMM slots for up to 3GB of memory, and built in audio. As you may have just realized, my biggest compromise was the memory. DDR was very expensive at the time. There were so many memory emerging memory technologies to choose from, SDRAM, DDR SDRAM, and RDRAM. I choose the the PC133 SDRAM since it was a lot cheeper (like 50% less or more), the selection of motherboards was greater, and the future of RDRAM and DDR SDRAM was unclear. Really glad I didn't chose the Rambus (RDRAM) memory now since it lost the battle. I went ahead and installed a single stick of 512 MB of memory in the system.So I ended up with a very expandable motherboard and case with multiple hard drives and optical drives. Of course, I had to add some components to use the system. An FDD, NIC, modem, 3 case fans, video capture graphic card, keyboard, mouse, and more USB ports. I reused my old monitor which was a refurbished model we bought in 1996 and still works!It has be a very good system. The only trouble I had was with a HDD and that inspired me to buy twin HDD's and a RAID controler. It worked! A HDD crashed and took the RAID controler with it but I still had the backup drive which I still use. My only real problem is dust! I don't have a forced air heating system so the house gets dusty and the computer suffers from that. When enough dust collects on them, the fans slow down and the system warms up. This usually results in slower performance until I open up the case and clean it out. Dust is a bad thing, not only does it slow the fans, it blankets the components and traps heat. The war system attracts even more dust as a result and the sysem is noticably slower!Recently, I've noticed that with the new browser running, the IM client, Email, text editor, and FTP client all open the system sometimes hangs. ;)So, I've decided to upgrade. ;)The plan is to max out the CPU with a Pentium 4 2.0GHz 400MHz FSB 512KB cache processor. This is the fastest processor that is listed compatible with the motherboard that is still available. The 2.2GHz processor was the fastest that Intel says is compatible but that processor isn't available any longer. The 2.5GHz is probably fine but costs 3 times as much but is still available. I'll play it safe with the 2.0GHz! I'll double my memory for now which will give me 1GB at 133MHz. The memory increase alone should really improve my performance. Since the memory bus is 3 times sloer than the FSB, this causes a bottleneck which can only be resolved with additional memory. I can install 1GB memory modules but I haven't been able to find 1GB sticks with all of the features I want. I'll still have one additional memory slot I can add another 512MB to later if needed.I think that an additional HDD or replacement drive will come in the next year. Other than that, I I'm very happy with my computer. I wish I had an older system that I could use as a test server since my windows version of Apache, PHP, and MySQL just isn't the same as the Linux version. I think I can do the CPU and memory upgrades for $130.00 with shipping. That's a lot better than buying a new computer that which is limited in upgradability for $800.00 to $1000.00 or building a system for $1000.00 to $1400.00.The next step would either be build a new system in a few years or possibly replace the motherboard, CPU, and memory only which right now would cost me $300.00 plus whatever I need to ensure that my IDE drives will work with the motherboard. That would be for a Pentium D 3.0GHz CPU and compatable motherboard with 2GB of memory. Of course, that was a quick search for comparison purposes and the motherboard only has 3 expansion slots instead of the 4+ I prefer.I guess in the grand scheme of things, maybe the new guts is the better option which would give me a great start on that test server I'd like to build from an older system.Any thoughts?vujsa
  9. Well, it has been a while since I offered a tutorial here at Xisto. Most of my creativity has gone toward my new website, Handy PHP. The website is just getting started and it is hard to post potential content for my website here instead of there. The purpose of this tutorial is to show you how to convert a standard PHP script into a reusable PHP function. It is funny, because this tutorial is very similar in nature to the very first tutorial I wrote here. Rapid HTML code generation using simple PHP would be a good topic to read with this tutorial. Before we start, I'll try to explain the benefits of using a function instead of regular code for your scripts. Functions consolidate several lines of code into a single entity that can be requested over and over again. Imagine that your function is an art box and that your art box contains everything you need to draw a picture. You know that any time you want to draw a picture, you simply need to use your art box! If you do not have an art box, every time you want to draw a picture, you have to go find each of the needed items before you can start to draw! Imagine that you have the following script: <?php // First our input string:$a = "train, car, horse, mule, truck, plane, trolly, bus";// Convert our input string into an array:$b = split(',', $a);// Next we need to remove any extra whitespace from our value to ensure proper sorting:$i = 0;foreach ($b as $c) { $b[$i] = trim($c); $i++;}// Now we sort our values in alphabetical order:sort($b, SORT_STRING);// We now convert our array back to a string:$c = implode(", ", $b);// Finally, we output the results:echo "<pre>\n";echo "Input: \"" . $a . "\"\n"; echo "Output: \"" . $c . "\"\n"; echo "</pre>\n";?>Would output:Input: "train, car, horse, mule, truck, plane, trolly, bus"Output: "bus, car, horse, mule, plane, train, trolly, truck"While this script is not very long, it could become tiredsome to have to copy it every time we want to sort some values. Imagine that we have several strings of values we want to sort in various ways: <?php // SORT THE VEHICLES WE COMMONLY USE ALPHABETICALLY!!!!!!!!!// First our input string:$a1 = "train, car, horse, mule, truck, plane, trolly, bus";// Convert our input string into an array:$b1 = split(',', $a1);// Next we need to remove any extra whitespace from our value to ensure proper sorting:$i1 = 0;foreach ($b1 as $c1) { $b1[$i1] = trim($c1); $i1++;}// Now we sort our values in alphabetical order:sort($b1, SORT_STRING);// We now convert our array back to a string:$c1 = implode(", ", $b1);// Finally, we output the results:echo "<pre>\n";echo "Input: \"" . $a1 . "\"\n"; echo "Output: \"" . $c1 . "\"\n"; echo "</pre>\n";// SORT OUR AGED NUMERICALLY IN REVERSE// First our input string:$a2 = "32,25,65,85,45,15,75,35,24,26,46,29";// Convert our input string into an array:$b2 = split(',', $a2);// Next we need to remove any extra whitespace from our value to ensure proper sorting:$i2 = 0;foreach ($b2 as $c2) { $b2[$i2] = trim($c2); $i2++;}// Now we sort our values in alphabetical order:rsort($b2, SORT_NUMERIC);// We now convert our array back to a string:$c2 = implode(",", $b2);// Finally, we output the results:echo "<pre>\n";echo "Input: \"" . $a2 . "\"\n"; echo "Output: \"" . $c2 . "\"\n"; echo "</pre>\n";// SORT OUR FRUITS ALPHBETICALLY IN REVERSE// First our input string:$a3 = "peach, pear, orange, apple, grape, kiwi, cherry, lemon, watermelon, lime";// Convert our input string into an array:$b3 = split(',', $a3);// Next we need to remove any extra whitespace from our value to ensure proper sorting:$i3 = 0;foreach ($b3 as $c3) { $b3[$i3] = trim($c3); $i3++;}// Now we sort our values in alphabetical order:rsort($b3, SORT_STRING);// We now convert our array back to a string:$c3 = implode(", ", $b3);// Finally, we output the results:echo "<pre>\n";echo "Input: \"" . $a3 . "\"\n"; echo "Output: \"" . $c3 . "\"\n"; echo "</pre>\n";?>Would output:Input: "train, car, horse, mule, truck, plane, trolly, bus"Output: "bus, car, horse, mule, plane, train, trolly, truck"Input: "32,25,65,85,45,15,75,35,24,26,46,29"Output: "85,75,65,46,45,35,32,29,26,25,24,15"Input: "peach, pear, orange, apple, grape, kiwi, cherry, lemon, watermelon, lime"Output: "watermellon, pear, peach, orange, lime, lemon, kiwi, grape, cherry, apple" As you can see, the code has gotten much larger and we are just doing the same thing over and over again.What if we had 100 lists to sort? That would be a very large script wouldn't? In order to create a function to replace all of this code, we first have to find the differences between each of the sections of code. The very first difference is the $a variable ($a1, $a2, $a3).- The input value is different in each case. The next difference is the sort method: (sort($b1, SORT_STRING), rsort($b2, SORT_NUMERIC), rsort($b3, SORT_STRING)).- Either sort normally or in reverse with sort or rsort. - Either sort numerically or alphabetically with SORT_NUMERIC or SORT_STRING And the final difference is the implode method:(implode(", ", $b1), implode(",", $b2), implode(", ", $b3)).- Either add a comma between each item or a comma and a space between each item. These differences will be our function arguments.We will name our function list_sort(). Our function arguments would be as follows: $input $sort_order $sort_type $seperator As a result, our function would start like so: function list_sort($input, $sort_order, $sort_type, $seperator) Now to use the original code as the base for out function: <?php function list_sort($input, $sort_order, $sort_type, $seperator){ // First our input string: $a = $input; // Convert our input string into an array: $b = split(',', $a); // Next we need to remove any extra whitespace from our value to ensure proper sorting: $i = 0; foreach ($b as $c) { $b[$i] = trim($c); $i++; } // Select the correct sort method using a switch: switch($sort_order){ case 'normal': sort($b, $sort_type); break; case 'reverse': rsort($b, $sort_type); break; default: sort($b, $sort_type); break; } // We now convert our array back to a string: $c = implode($seperator, $b); return $c;}$a1 = "train, car, horse, mule, truck, plane, trolly, bus";$a2 = "32,25,65,85,45,15,75,35,24,26,46,29";$a3 = "peach, pear, orange, apple, grape, kiwi, cherry, lemon, watermelon, lime";// Finally, we output the results:echo "<pre>\n";echo "Input: \"" . $a1 . "\"\n";echo "Output: \"" . list_sort($a1, 'normal', SORT_STRING, ', ') . "\"\n";echo "</pre>\n";echo "<pre>\n";echo "Input: \"" . $a2 . "\"\n";echo "Output: \"" . list_sort($a2, 'reverse', SORT_NUMERIC, ',') . "\"\n";echo "</pre>\n";echo "<pre>\n";echo "Input: \"" . $a3 . "\"\n";echo "Output: \"" . list_sort($a3, 'reverse', SORT_STRING, ', ') . "\"\n";echo "</pre>\n";?>Would output:Input: "train, car, horse, mule, truck, plane, trolly, bus"Output: "bus, car, horse, mule, plane, train, trolly, truck"Input: "32,25,65,85,45,15,75,35,24,26,46,29"Output: "85,75,65,46,45,35,32,29,26,25,24,15"Input: "peach, pear, orange, apple, grape, kiwi, cherry, lemon, watermelon, lime"Output: "watermellon, pear, peach, orange, lime, lemon, kiwi, grape, cherry, apple" As you can see, we haven't added very much code but have managed to replace the script with a function. There a several areas of this example that provide for improvement opportunities. Can you find them? I'll give you one hint, how often do we use a string seperator in this function? While my previous tutorial related to functions dealt with using a function to build HTML, this example shows a more basic use for a function and how functions can make programming easier. I look forward to the opportunity to further discuss this as well as much more advanced functions as there is a great deal of information that hasn't been talked about here yet. This includes using function calls, default argument values for functions, and error checking. For more information, please check out these areas: split foreach trim sort rsort implode switch I hope that this tutorial will offer new users of PHP a valuable example of how to use PHP and write functions. vujsa
  10. Well, from a hosting support point of view, this issue has been resolved.Closing topic. Please feel free to discuss it further in the PHP forum!vujsa
  11. I'm not entirely sure that I understand you issue since what you are talking about doesn't really make any sense to me. If you include a file, you include ALL of it's contents into the script requesting it! So, $foo and $bar don't need to be passed in the url!, you can set them as normal! header.php: <?phpif(isset($foo) && isset($bar)){ $foobar = $foo + $bar; echo $foobar;}else{ echo "You forgot to set Foo and Bar";}?> index.php: <?php$foo = 2;$bar = 3;include('header.php');?> I think a better option for you would be to create a function for your header area! For best results, you should place all of your functions in a single include file and then call the functions as needed! I will be happy to discuss this further in the PHP forums! As it is, I really don't see that the server should be reconfigured to allow your method of file inclusion. There is a work around available for your issue at php.net if you wish to continue with this method of coding! vujsa
  12. Yes, mod_rewrite is functioning correctly. I am not having any trouble with my website which is on the same server and uses mod_rewrite.Have you made any changes to your website that could have caused this?Perhapes you should check your installation of wordpress to rule out that as a possible cause for your errors.If your error continues, please provide as much information as possible so that we may assist you better.vujsa
  13. Should read as follows: Here is my version of the paragraph:We pride ourselves on the extensive investement we are making in the area of cPanel based Free Web Hosting services. We request that the resources we provide are used for the purpose of fully develope, functioning, and active websites that contain entertaining, useful, or educational content. Should read as: Other than that, everything looked pretty good to me.Glad to see that you are giving this method a try with cPanel. Curious how you managed the injection script! I always have trouble with files that coded in the same language as the injection script... Hope this goes well. vujsa
  14. Well, this question can't be answered I'm afraid. There isn't enough information to find a solution. What forum software are you using? What ShoutBox software are you using? Versions and homepages might also help us find the scripts you will be using. vujsa
  15. Handy PHP Joomla! http://forums.xisto.com/no_longer_exists/ "Handy PHP" Mambo uses the same search system. The "Itemid" is the id of the search component in the menu database and can be omited all-together. This is the non-SEO method which will always work for searches. I think the Mambo SEO method uses the POST method for the request but the GET method is still available. If properly implemented, the original link method will not be completely replaced by the seo method so usually, if SEO is on or implemented, eith method will word. As I think of others, I'll post them here. vujsa
  16. Well, the easiest way to password protect a directory is to use the Web Protect feature in cPanel. Just goto cPanel > Site Management > Web Protect and select the directory that you want to protect. the directories are a little tricky to navigate in this program but you'll get the hang of it. It is like the filemanager where clicking the folder icon will take you into the folder but the folder name will select that folder. Generally speaking, any folder inside of a protected folder will require the same password to enter. You can add multiple users to this folder and ech folder can have a different password and/or user. It is possible to do all of this manually but if you don't get it right, there could be a hole in your security. With a script, you could even use this as your primary means of user management in restriccted areas but that usually isn't done anymore. For more information, look into password protection using .htaccess and .htpasswd. Keep in mind that this only restricts http acces to the folder. FTP access is not restricted so it is possible for someone to access your ftp account and either remove the restriction or move your sensitive script to a non-restricted folder for their use. vujsa
  17. If nothing is shown after you run the script, then it didn't work! The path must be correct! /home/username/public_html/directory/file.txt As for the directory that you can chmod to 777 but can't delete, you have to have write permission in the parent directory as well so chmod the parent to 777 as well. SSH isn't disabled, just not offered. It has been found that shell access is far more trouble to deal with than it is worth! Anyhow, if you really want to chown a file or directory, you have to write a script to do it in the file system. Since the server owns the entity, only the server can change the owner of that entity! The server only performs tasks when it is directed to do so by a script. But if you write a script and it is wrong, then the file could be owned someone other than you ar or the server and then there isn't any possibility of changing it again without an system admin to help.This would be so much easier if everything use FTP instead of the file system! vujsa
  18. An ISO is an image of a drive. Whether it be a hard drive, floppy drive, or optical drive. It is just a file! So, what you are asking makes no sence to the rest of us! I don't mean to be overly blunt but you don't seem to know what you want to ask! Most ISO readers will only look at drive formated as an optical disk, CD or DVD! It seems that you want to store your ISO files on a hard drive. Copy and paste would work for that! If you want to use these ISO's as if they were on optical media, then you need an emulator. Search for: "DVD Drive Emulators" => https://www.google.com/search?hl=en&q=dG=Google+Search "Virtual Drives" => https://www.google.com/search?hl=en&q=Vamp;btnG=Search Most of these require an OS to operate so, they won't provide a solution in the event that you are trying to create a backup of your system that can be easily installed in the event of a crash! If you are tired of "wasting" cd's/dvd's, then use rewritable disks! If you are concerned with the speed, then you need to take a deep breath and try to imagine the world when we only had 5-1/4 inch floppy drives! Anyhow, you really should try and figure out what it is that you need help with and ask a intellegent question. vujsa
  19. Let me see If I understand what you are talking about. Admin says fill out your activity forms. Faculty member fills out a dynamically generated HTML form and submits it. A handler script takes the submitted form data and saves it to some type of database. The administrator reviews the activity reports which are dynamically generated HTML forms that are dynamically filled in with the data from the database. If the administrator accepts the report, a snapshot of the pre-filled form is saved as a Static HTML file. If this is what you want to do then the object handler option you mentioned is the way to go! It should be in the script from step 4. This should save the file to a temporary directory. When the administrator "Approves" the report, then a second script should move the file to the permanant directory. You would have to code a method of prunning older / unapproved reports. You'll have to carefully design a system of naming the files to ensure that you can find the right file at a later time. Of course, this is going to use up a lot of diskspace since you are saving so much information. The form information is going to be much larger than the actual data information. Just seems strange to want to resave data that is already in a database. Try to code your object buffer to include as little HTML as possible outside of the form to save space and time. Hope this helps, vujsa
  20. Search for "favicon". Short for Favorite Icon which is also the icon in your IE favorites list! vujsa
  21. Well, I wrote this particular article to see if we trap any spam here.STAFF, please do not delete any spam that ends up here. Just set each spam reply to invisable and I'll use the IP addresses to do the rest. At the very least, maybe they won't smap the real topics as much.vujsa
  22. While developing my website which is managed using Joomla!, I found that a great number of third party components come with everything except a SearchBot. I find it very frustrating that a developer would go to all of the trouble to make a decent component and not finish the job by writting a SearchBot for it. Funny thing is that a full component is much more complicated to write than a Mambot. None of the forum bridges or components came with a SearchBot. So one day I sat down and started studying the process of writing a SearchBot for Joomla!. It turns out that there isn't that much to it. I must admit that the Mambot tutorials at Joomla! were not very good so I had to break open a couple of the default SearchBots and learn by example, trial, and error. Currently, I have written 4 SearchBot and have request for 2 more but wanted to let everyone that uses Joomla! know that I am willing to develope new Mambots by request. There are a large number of Mambot (Plugins) available at Joomla! Extensions so please look before you request. Thus far, I have only worked on "search" Mambot but the process is similar for more plugins. If I can't do it, I'll tell you! Also, if anyone is interested in developing Mambots and would like to become a part of my website, let me know. New members are always welcome. In addition to searching Joomla! Extensions, it is a good idea to do a websearch for the mambot. Some developers don't know to list their scripts on the Joomla! Extensions website. Here are a few tips when searching. Mambots that search are usually called "SearchBots". Discussion mambots are usually called "DiscussBots". The relative component's name is usually included in the searchbot name Finding a similar mambot to the one you need can give you insite to a possible name for the one you are looking for. Review the name used for the rest of the compont's installation file as an example. So using those tips and knowing that DOCMan comes with a Mambot for searching called "docman.searchbot", we can figure that the Mambot that searches SMF is called "smf.searchbot"!But the doncman.searchbot installation file is called "bot_searchV1.0-RC-2.zip" and the smf.searchbot is called smf.searchbot1.0.3.zip! Anyhow, if you need help finding a Mambot or you would like to request one form Handy PHP, just visit the website. Hope this helps. vujsa
  23. Our sister site Xisto has banned the use of Flash based tutorials. Many times these types of tutorials fail to spark any true discussion since people tend to be lazy. I personally don't mind them but "media" based tutorials really require a full text explaination of what is being seen. In my opinion, images and Flash should be used to clarify the text and not the other way around! Despite how you choose to use your Flash or images, you will only earn credits for the text that you write. I tend to do script tutorials that contain a lot of code which also isn't included in the credit calculations! The system is automated for a number of reasons but the biggest is to prevent unfair credit adjusting. There will not be any additional credits offered of medai based tutorials. vujsa
  24. Hey, no problem. I'm always happy to help if I can. Currently working of fixing a 500 word Japanese to English translation for a friend. The Japanese was so difficult that my friend could only manage to get a rough translation done. Anyway, if you have any further questions about Joomla! templating, let me know. I have some experience with them. I think you'll find that there are a number of members here that use Mambo / Joomla! that can answer questions for you. There are probably several people that wouldn't know how to have fixed the problem that you had since most templates stick with the default set of module position names. There are a number of other Joomla! quirks that tend to confuss people, so just let us know how we can help. vujsa
  25. Kind of frustrating when someone designs a Joomla! template with non-standard Joomla! module position names.It requires you to add the missing names to the database then choose those in the module edit screen:First, Joomla Admin Control Panel > Site > Template Manager > Module PositionsThen add the reqired module names in the blanks at the bottom of the list.Once you have added all of the names there, you can change the positions of each of the modules in your list of modules:Joomla Admin Control Panel > Modules > Site ModulesSelect a module that requires a new home like your login module.Edit that module and in the position drop down menu, select "grey"!This will get you all fixed up until you try to change to another template since most templates will not use these extra position names and your modules will either not show or show in odd places.Hope this helps.vujsa
×
×
  • Create New...

Important Information

Terms of Use | Privacy Policy | Guidelines | 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.