Jump to content
xisto Community

Houdini

Members
  • Content Count

    565
  • Joined

  • Last visited

Everything posted by Houdini

  1. Try this <input type="text" style="width:400px" /> you can use a sty;e with most HTML elements such as the input, the above code will make a test box that is 400px wide and yes it is valid so embed the style into the tag you are concerned with when you told it input (width:400px then all input types took on that attribute, just use it in those input fields by whatever type you want to effect because you have text inputs, submit inputs, password input, checkbox inputs radio button inputs and so on, so you need to just put the style in those you want to make bigger.
  2. PHP-Nuke CMS sites are good at getting reankings from Google if you type IPB Nuke into Google you will see that my two IPB Nuke sites are listed # 6 and # 8, the first sentence you see is from the <META NAME="DESCRIPTION" CONTENT="Making Invision work with PHP-Nuke"> Tag and then the text that follows is from one of the first Newsarticles that has been deleted and the other sone also has the META tag listed first and goes further with a description from another News article, the strange part is that I beat out the IPB Nuke org that created the software, just because of the spelling they spell it IPBNuke with no spaces, so in your meta you might want to include every possible spelling spacing and case.
  3. Sorry I just looked at your post again (I thought I was clicking your link) it was my fault, I too have had problems but not GD related since the server move but all is OK with my stuff, the only exception being that my server time is showing as GMT+9 and that is in a block so I just changed the GMT offset to not confuse visators, can't seem to change it without rewriting the block, which I might do.Sorry if I was looking at something else.
  4. You might want to browse your site again it worked just fine for me, at least it went through the images and showed the full version, what was or is wupposed to be wrong with it?
  5. Your database is mostly an area where you are going to store cata that will change over time and need frequent updates or even new data altogether, but in order for it to be of any value it must have as little a one table that contains some sort of structure.Take for example you want a database that holds all your household items with serial numer if they have such , a description of the itms, other attributes of the item such as cose, or its appraised value and so on and this database has all this stuff so in the event that you have a disaster or theft you can bring up the information and let the insurance company and police (if it were a theft or robbery.You would need a table that had such fields as item, color, description, phptograph if any, serial number if any, cost or value, and so on. So you have tables for each of these and the data type needs to be defined within the table.So you name a database lets say mystuff (use the SQL query CREATE DATABASE 'mystuff' ), then it would have a table which you use to store your stuff kinda like: CREATE TABLE 'inventory' ('itemNumber' INT (4) AUTO_INCREMENT,'item' VARCHAR (40) NOT NULL,'value' VARCHAR (15),'color' VARCHAR (10) ,'description' VARCHAR (255),'serialnumber' VARCHAR(50),'date_aquired' DATE,PRIMARY KEY (itemNumber))of course this is just a made up example but I thinkyou should be able to get the idea, your real database might have hundreds of tables, but you need to figure out what all you want in a database and then set them all up, you might want to try a search for MySQL tutorials or SQL tutorials and learn a little about just what you want a database to do for your circumstances.
  6. The Form element has only three attributes. They are ACTION METHOD and ENCTYPE and only one is required for the form to be useful. The ACTION specifies the URL of a CGI script or a mailto link that will in the case of a script process the name=>value pairs of your form and render this data in a form that you can deal with or if you want to experiment in the ACTION just put your own email link in there in the form of <form method="post" action="mailto:yourname@yoursite.com" enctype="text/plain"><input type=text name=your_comments><input type=submit value="Submit Your Comments"></form>The default of ENCTYPE is "application/x-www-form-unencoded' which is why in the code listed above that the enctype was set to test/plain for the email. Also there are ony two METHODS GET (the default, sends the data in the URL and is limited) and POST (it sends the data in the body of the submission and can send more data than a URL). Now make your little test form with a mailto as shown above and you will get an email with one long string with a name followed by the value that was entered into that name field of the form, then another form name also followed by whatever data was entered into that name field and so on. Needless to say this is not very pretty and hard to read. So using a CGI script or I would use PHP it can be programmed to take these name value pairs and present them in a fashion that is easy for you to read and makes some sense. If you would do a search for form scripts or if you want you could try this link HERE and see if there are some scripts that you find useful for your application. I hope that will help you out a little bit, but you need to learn more about the FORM element itself and understand its intended purpose which is to send data via the form to the WEB server with the action being either a CGI script that will then process the form data a name=>value pairs or as a mailto link that will send all the name=> value pairs to an email address in one string (bot very useful if you get a bunch of form submissions because it is so hard to read). This is one drawback of using a WYSIWYG you can create a great looking form but if you don't understand what a form is for and what to do with the form data then you only end up with a great looking form that might not do anything becuase you didn't define a program to process or mailto to send the data to.
  7. You could use SnagIt to do that and I think it makes an AVI file and after you have captured your file you might want to use an editor to trim or enhance the avi in some manner, and most browsers will be able to view an avi which is much smaller than an mpeg, plus you can even capture audio if any with SnagIt, of course you will need to set it up before you capture the screenshot. With SnagIt you can even define the area that you want to capture, but the quality is kinda poor so using it is all up to you.
  8. Here's a JavaScript you might can modify and make work. IE4/5 and NN6 simply allow to script document.imageName.width = newWidth; document.imageName.height = newHeight;while with NN4 the image dimensions are readonly. You can however put a layer over the image to which you write the image with the new dimensions. The following code provides that falling back for IE4/5 and NN6 on the above assigment. Note that with NN4 the layer put over the image might cover other content as well when you increase the image size as there is no reflow of the document content around the image.<HTML><HEAD><STYLE></STYLE><script>function resizeImage (imageOrImageName, width, height) { var image = typeof imageOrImageName == 'string' ? document[imageOrImageName] : imageOrImageName; if (document.layers) { image.currentWidth = width; image.currentHeight = height; var layerWidth = image.width > width ? image.width : width; var layerHeight = image.height > height ? image.height : height; if (!image.overLayer) { var l = image.overLayer = new Layer(layerWidth); } var l = image.overLayer; l.bgColor = document.bgColor; l.clip.width = layerWidth; l.clip.height = layerHeight; l.left = image.x; l.top = image.y; var html = ''; html += '<IMG SRC="' + image.src + '"'; html += image.name ? ' NAME="overLayer' + image.name + '"' : ''; html += ' WIDTH="' + width + '" HEIGHT="' + height + '">'; l.document.open(); l.document.write(html); l.document.close(); l.visibility = 'show'; } else { image.width = width; image.height = height; }}function zoomImage (imageOrImageName, factor) { var image = typeof imageOrImageName == 'string' ? document[imageOrImageName] : imageOrImageName; if (document.layers) { var currentWidth = image.currentWidth ? image.currentWidth : image.width; var currentHeight = image.currentHeight ? image.currentHeight :Just do a search or JavaScript image resize and you might find exactly what you want, but I don't know anything about MySpace and what you are able to do with it, you might not be allowed to use script or PHP at all if not then I can't help any more than that. Sorry if this is the case.
  9. You would have to use a script to resize, with PHP you would have to have the GD libraries installed and enabled on the server, they may or may not, they might not even support php, if that is the case then you would have to use a JavaScript, try foing a search for javascript, but I am not sure if that would be able to handle it, becase JavaScript is client side and not server side, plust you woul have to sniff out the browsers resolution which JavaScript can do, but then you are talking about adding alot of code and also if the user has Java disabled then it wouldn't work anyway, bot sure without PHP it could be done.
  10. Try this link if you want to use imagemagic http://forums.xisto.com/topic/86756-topic/?findpost= there you can set up the coopermine photo gallery and then look at the code and within it you can see the path and all that info, if keep the program if you wish or eliminate it. Then with the path info and all you whould be able to do what you want.
  11. You need to use Client for Microsoft Networks not Family Logon, but just go to XP and then under Netwaork tasks then just select Setup a Home or small Office network. It will run a wizard that will set up both of your machines giving you the option to make a floppy or use your WIN XP cd to set up the other machine.
  12. There are a few more things about PHP-Nuke besides the directory structure that are different in PHP-Nuke ported version of phpBB2 forums, and one is the database, I have not seen this MOD and would have to look at it and could help you to port it, if it is possible, not all are like EasyMod or if it is you woul have to do a rewrite of nearly the entire program, and then it would only work with PHP-Nuke.If you could give a link to the file in question I would be happy to look at it and either go ahead and port it and e-mail it to you or add the file on one of my 3 sites that offers ported mods for phpBB to those that use PHP-Nuke or PC-Nuke CMS.
  13. Try shooting with a panty hose over the lens, I have done the vasolineand if I remember correctly also achieved some interesting effects with the pantyhose also.
  14. You may already have MySQL installed before you installed another copy: To find out if you have MySQL type ps -ax in the list of programs that appears look for one called mysqld If MySQL is installed but not running then try typing this: find / -name "mysql*" if a directory named mysql is found you have it installed! So you want to start it up Change to the dirsctory mysql/bin type safe_mysql &. then you should see a prompt. The MySQL comes out of the box with root and no password so you can use that until you set up your own passord and username
  15. I have written a JavaScript that prompts auser for 5 table attributes for entry into the posting area and it produces this: [table bd = 15 bgc = green bdc = red cp =10 cs =10] It is then passed through this preg_replace for display in the preview or as a submission in a post: $txt = preg_replace( "#\[table bd=(.+?)bgc=(.+?)bdc=(.+?)cp=(.+?)cs=(.+?)\](.+?)\[/table\]#is", "<table border=\\1bgcolor=\\2bordercolor=\\3cellpadding=\\4cellspacing=\\5>\\6</table>", $txt ); What it produces however is this: <table border = 5 bgc = blue bordercolor = black cp = 9 cs = 2> When what I want is this: <table border = 5 bgcolor = blue bordercolor = black cellpaddingp = 9 cellspacing = 2> What is it that is wrong with this code and giving this odd unwanted result? Help would be most certainly appreciated because I am tired of looking at it, my eyes are getting crossed and things are getting blurry.
  16. Good expalination vujsa and the links ought to help them get going with their site, but there is however a little more that happens with a post with Invision, when the post is submitted or previewed it is parsed into HTML for display, and when submitted it is stored as IB Code in the database. When you click a link of a post it is fetched from the database then reparsed back into HTML. If a user clicks to edit a post (possible here but difficult) then the HTML that shows in the messsage text area is then reconverted into IB Code for the editing process, and whan submitted the altered post takes the place of the IB Code that was stored on the database.
  17. Here are some links that might help you out a little bit, what you want is image mapping and the links below will hopefully be of assistance. http://www.echoecho.com/htmllinks07.htm http://forums.xisto.com/no_longer_exists/ http://forums.xisto.com/no_longer_exists/ http://forums.xisto.com/no_longer_exists/ http://www.w3.org/Daemon/User/CGI/HTImageDoc.html Tools; http://www.ihip.com/tools.html http://forums.xisto.com/no_longer_exists/ Good Luck with your project!
  18. I just noticed something really strange about his post, did you notice that the post count was 0 maybe he took all his posts with him also. How do you end up with a zero post count?
  19. Have you bothered to try replacing the power supply? I di not see any mention of looking at that, power supply problems can cause really strange behavior.
  20. Made new icons finally and added more control over the tables, now have a total of five icons related to tables that allow just a table opening and closing tag, or a table attribute tag that prompts for five attributes, border size, background color, bordercolor cellpaddin and cell spacing. Also an icon tha allows for both rowspan and column span with a table using a prompt, and the td tag and tr tag, really makes setting up a table much easier, since the attributes must be entered in a specific order with a specific spacing is why I used a prompt for entering the values and producing the resultant tag for IPB. Here is what the posting body looks on a working site right now. Getting the preg_replace to work right was a challange especially if the spacing was incorrect or the attributes were not in the correct order, but I learned a shole lot about regex and preg_replace in this project.
  21. First let me ask how long have you been running this site? Also did this just start happening, because 7.83 is out now so your version is well lets say kind of old. Have you properly set up your URL information in both the forums Administration Control and also in the PHP-Nuke Admin Control Panel under Prefrences, or have you accidentally changed that information, if you just set the site up and have not set you email address and site URL and all that stuff properly it wil not work. Try registering a dummy account with the PHP-Nuke ACP and then register the same dummy as a forum user and see if the mail works after you have made sure that your URL info is correct.
  22. I have just found some Icons that I can alter for the color to blend with my other IB code icons so you can click a table or row properties then enter into a prompt the required data for rowspan, colspan, row or column background color, table alignment, cell alignment, and perhaps a table footer but I would just use the [th] cause I dont really know what difference there would be between a header and a footer, but I am not the best user of tables, I know enough to produce a satisfactory one but nothing really complex. Sometimes it would be nice to have a table in a post to clear up an idea and present data in a more attractive manor, or you could use a borderless table with two or three columns to make a newspaper or magazine like post if you really wanted, it would definately add interest tot he site. If you would like the code for the tags I have then PM me and I'll let you have them to play around with.
  23. You should have a form that tells the HTML how to handle the form in the very beginning of the form it should look like the below, you just need to fill in the proper information. <form action="processform.xxx" method ="post"><code ........................................more code><input type="submit" value ="process"></form> Now you will need a program that will process this form and send e-mail to you with the processed results that part is up to you and in th above example the processform.xxx will be replaced by whatever program you want to process the file, that is where your problem is since you said that your form action referred to a robot or something else that couldn't work. You need a file that will take the posted information that is in the named fields of the form and do something with it.
  24. I had the exact same thing, my IB post table was screwed up, so I tried repairing the table and still got an error so I dropped the table and recreated it with my latest backup and got back on lin, if I lost a post or two then that is just what happens, because you lose even more if you don't fix it.Hope you got it fixed.
  25. While working on some code for the phpBB2 I got to messing around with the idea and then looked at the code for IPB and found that there was no code at all for such functions so I wrote my own and now use it on my local server as well as one here on Xisto and one on another site. Below is the result of the code I came up with. It allows tables with or without borders, with the border size definable, and colspan as well as rowspan which are also definable and table headers as evidenced by the little table I made and posted. here is what it looks like. If you would like to try it out for your self then go to IPB-Nuke test site and try the Test forum or you can see the same post in the IB Code Projects Test Forum. I plan on offering this as well as other codes I have written on that site, but first I need more testing and also to have to actually write the install for them so I would rather have several ready and just write one install guide for it.
×
×
  • 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.