Jump to content

vendlus

Members
  • Posts

    141
  • Joined

  • Last visited

Everything posted by vendlus

  1. Ad-Aware works for removing hotbar as well. I don't know if it gets everything, but I ran it on a friend's machine a couple of days ago and it found a slew of hotbar entries. - Vendlus
  2. I use editplus.
  3. When I first started it up it didn't want to work, but after a minute of clicking on stuff, it suddenly works fine now. Even after closing the browser and changing back to dark, then back to light. No clue why it suddenly started working. *edit* I'm using IE6 *edit again* It works fine for me in Opera 7.21 Build 3218. And yes, it carries through to the contact, calendar, and comment pages.
  4. vendlus

    Wink

    Very nice. I was looking for a new way to do tutorials. I'll certainly try this out.
  5. No one remember seeing these anywhere?
  6. This is why I like this place. It never even crossed my mind to match the css classes with a table. That rocks. Now I just need a year to figure out all of this and how it should be coded.
  7. I'm creating a site which I plan to be database driven in that all of the information pages will be pulled from mySQL. My thing is that I don't want to have to go into the HTML to edit things everytime I want to add a field to a page. What I'm doing a the moment is using three tables (well, three table types). One is a list of all of the pages on the site. One is a list of fields for the site (so that I can bring up field headers instead of having to use the column's name, which is usually cryptic). The last is the information page. Every page has it's own table like this last one. It is simply all of the info for the page (ie, the member table just has all of the member info for the member page on it). Here's how I'm using it (sorry if this is convoluted, I'll try to edit out the unimportant stuff, like the error checking) >$rs2 = @mysql_query('SELECT * FROM '.$fieldtable.' WHERE page_id = '.$pageid); $i = 0; while ($collist = mysql_fetch_array($rs2)) { $fielddesc[$i] = $collist['fieldtitle']; $colname[$i] = $collist['col_name']; $i++; } $resultsMember = @mysql_query('SELECT * FROM ' .$membertable . ' WHERE id=\''.$id.'\''); $memberInfo = mysql_fetch_array($resultsMember); $num_columns = count($fielddesc); $strMember = ''; $i = 0; //counter while ( $i < $num_columns ){ $strMember .= $fielddesc[$i].' ' .$memberInfo[$colname[$i]].''; $strMember .= '<br />'; $i++; } echo $strMember; Basically, what I'm doing is pulling the field titles that I want to appear to the enduser from the fields table. I'm then showing the memberInfo from that column. This works fine, but it's terrible for formatting. Is there a way to control formatting decently while keeping it generic?? Right now, the only way I see to control formatting for each field is to have something like if($memberInfo[$colname[$i]] == 'name'), then format the name a certain way. But that means I have to hardcode the name field. How do you guys handle keeping what is displayed separate from how you display it, or can it even be done like I want?? *edit* Example time. Here's the page I'm currently playing with (uses the code above). h**p://bohicagaming.com/staff/memberform/members.php?id=4 See how it's all one long list of stuff? What I'd like to do is format the list so that the contact info, let's say, is separated or formatted differently from the rest so it stands out. I'm looking for a way to do this without having to hardcode those fields into the code. I really am not sure what I want can be done (or that I'm explaining it very well at all). I want to be able to use a form to edit this page later without having to touch the code basically. So what I'm looking for here is programming/database/design structure concepts as opposed to the code itself. Does that make any sense??
  8. Nice. Thumbs Up
  9. The Manage Addon Domains is there, and you can click on it. On that page is a line that says the following.... I'm not sure about your other questions (I decently new here as well), but they do include Invision's board as one of the scripts that are preloaded (well, you can just click the button and it loads it for you, so if you don't want it, it's not wasting your space). You can also just install it yourself if you like (which is what I did since I have some experience with it). *edit* doh! he beat me to the post
  10. vendlus

    Aim Icons

    Anytime. Let us know how it goes. That might be fun to implement on a site of mine someday.
  11. I don't get anything when going to h**p://free-diet.biz/ except three folders (two of which are protected by nature, and an image folder with nothing in it. Where are you putting your files on the server?? They should be in the www or public_html folder.
  12. The people who will be posting news will only be people I know (the add script is in a protected part of the site). I currently have it setup so that it uses their forum info to validate their site account, so they will have an account on the forum. I'm thinking that I can just input the post straight into the ibf_posts table. I'll have to pull from a few other tables to get things like user ids, board ids, and member groups, but I think that should do it. Maybe... we'll see.
  13. vendlus

    Aim Icons

    Ok, that code I found before is the same as the one you listed, but this place doesn't process it in another file, so it's easier to see what they are doing. Here's what they have for their icons. ><a href="aim:BuddyIcon?src=http://www.ballericons.com/icon/58856.gif"> <img src="/icon/58856.gif" border=0 alt=""></a> So it looks like you just have to link to aim:BuddyIcon?src=, then have the address to your image file. Both of them we've seen here use gif's, so I'd start with that and make sure it works before trying any other find of image. Hope that helps, - Vendlus
  14. I think that it's actually missing a number between those commas. The number of columns doesn't match the number of input numbers. Not that this matters if the fix is at that link.
  15. vendlus

    Aim Icons

    well, I don't have aim installed, so I can't test anything with it. Sorry. From clicking on the link, I get an error page (I assume because I don't have aim installed for it to connect to). The link there is >aim:BuddyIcon?Src=http://beta3.badassbuddy.com:8081/images/buddies/badassbuddy_com-sexy.gif Could that be the code?? Not sure how they are implementing it though. They have it in a page called "checkicon.phtml".
  16. Very nice Jim. The site we're making is for online gamers, so I doubt I run into many users using screenreaders, but I like the idea of the links at the bottom as well as on the flash menu. Thanks a lot.
  17. I'm coding a website that will have a news script to allow our newshounds to post news to the website. What I'd like to do is also add the news item to the news board on our forum as a new thread. I'm using Invision's board. I've used their table's before to pull member information, but not to post to. I'm sure I can figure out how to get the news item into the invision board, but I just wanted to see if anyone else has done this before. I'm thinking it'll be fairly simple, but I don't want to miss putting an id or something into some obscure table. Anyone played with invision's tables enough to know this?? *edit* wow, I didn't make that very clear, did I?? What I'm doing is using a form to submit news to the website. I want that same form to also add the news item to the forum's news board at the exact same time without the user having to do anything else. Maybe that helps.
  18. I'm in the process of making a new site and I'm to the point of figuring out exactly how I want to do the navigation. Because of how I'd like it to look, I was looking at making a small flash navigation menu. But if I do that, google can't follow the links, can it?? Is there a way to have google still be able to follow along, and have flash menus??
  19. No prob. The connect string is kind of weird, but I guess that's not a big deal since it's all variables and I'd never have to actually remember it.
  20. Somewhere on this forum, there was a post that included a link to a guy's site who had written a couple of database scripts in php. If I remember correctly, they were fairly generic scripts in what they returned to keep them fairly universal. I can't find the thread after looking since yesterday, so I'm looking for help. Does anyone else have a clue what I'm talking about?? Or just have a generic database script written up that I can look at. I'm actually not even looking to just take one, I want to look at how the script works and make changes to how I code thigns myself. Thanks.
  21. Advanced Poll 2.0.2 It's php/mySQL.
  22. Yeah, could it be something as simple as someone has one of those sites as their homepage and then when they go to your site, the browser is simply using it as the referer since they haven't been anywhere else??
  23. Indeed.
  24. You said it stopped working?? What changed?? Did you switch servers or anything??
  25. Ok, I just used it. It's easy. Here's what I did. I use a config file (called dbinfo.php) to hold all of my variables, which looks like this.... ><?php $dbhost = 'localhost'; $dbuser = 'username'; $dbpass = 'password'; $dbname = 'bohican_test'; $gametable = "games"; //name of table to be accessed ?> I then access that using the following PEAR code.... ><?php include('dbinfo.php'); require_once( 'DB.php' ); $db = DB::connect( "mysql://$dbuser:$dbpass@$dbhost/$dbname" ); $sql = 'SELECT * FROM '.$gametable; $result = $db->query($sql); while ($row = $result->fetchRow()) { echo $row[2] . '<br>'; } $db->disconnect(); ?> Of course, I should comment some of that, but it's just a test. If anyone doesn't know what the heck is going on in any of that code, just hollar and I'll go through and comment it to death. btw, "require_once( 'DB.php' );" includes the pear file. Don't worry about where it really is, just include that line and you should be fine.
×
×
  • Create New...