Dani 4,645 The Queen of DaniWeb Administrator Featured Poster Premium Member

Cool. Thread marked as solved.

Dani 4,645 The Queen of DaniWeb Administrator Featured Poster Premium Member

If you use the JavaScript invocation in your templates, you should be able to use source=$forumid within the URL.

Dani 4,645 The Queen of DaniWeb Administrator Featured Poster Premium Member

phpAdsNew allows you to specify a "source" for an advertisement (i.e. page1, page2, etc.), for logging purposes. I have customized my vBulletin to make this source be the name of a forum. JavaScript is messy because it is a client-side language, which means it is interpreted by the web browser instead of the server.

Dani 4,645 The Queen of DaniWeb Administrator Featured Poster Premium Member

I was actually thinking that it probably did cover the swap function() which is why I did a google search for it. When I couldn't come up with a list of functions it included, I figured I'd just ask you directly. I'm going to recede back into my PHP world just about now :)

Dani 4,645 The Queen of DaniWeb Administrator Featured Poster Premium Member

Narue, I see in your example you use #include <algorithm>
I never heard of this library? I did a google search for algorithm.h and can't seem to find a listing of functions?

Dani 4,645 The Queen of DaniWeb Administrator Featured Poster Premium Member

I copied this off of www.csharphelp.com

int Reverse(char* str)
{

if (NULL==str)return -1; //no string
int l=strlen(str)-1; //get the string length
if (1==l)return 1;

for(int x=0;x < l;x++,l--)
{
str[x]^=str[l];  //triple XOR Trick
str[l]^=str[x];  //for not using a temp
str[x]^=str[l];
}

return 0;

}

Also, check out the following:

http://www.daniweb.com/code/snippet117.html

Dani 4,645 The Queen of DaniWeb Administrator Featured Poster Premium Member

HTML tutorials can be posted in the web design tutorials forum: http://www.daniweb.com/techtalkforums/forum76.html

http://www.daniweb.com/tutorials/ for a listing of all of our tutorial forums.

Dani 4,645 The Queen of DaniWeb Administrator Featured Poster Premium Member

Update: Ahh, you're right. I don't have SP2 ;) Nevermind.

Dani 4,645 The Queen of DaniWeb Administrator Featured Poster Premium Member

Hmm ... you're talking about the media explorer bar, right? Because I see it and yet I have SP2. I keep up on Windows Updates as well, hmph.

Dani 4,645 The Queen of DaniWeb Administrator Featured Poster Premium Member

Open IE. Then click on the View menu ... then Explorer Bar, and then Media. I hope that's what you're looking for. Perhaps something happened when you used Windows Update to upgrade from Windows Media Player 9 to version 10? I'm not sure :(

Dani 4,645 The Queen of DaniWeb Administrator Featured Poster Premium Member

Right click on your desktop. Click on "Arrange Icons By" and make sure "Lock Web Items on Desktop" is disabled. When it is enabled, you get the blue border.

Dani 4,645 The Queen of DaniWeb Administrator Featured Poster Premium Member

I would check out www.phpbb.com :)

Dani 4,645 The Queen of DaniWeb Administrator Featured Poster Premium Member
Dani 4,645 The Queen of DaniWeb Administrator Featured Poster Premium Member

If you try to send money to an unregistered account, they will receive an email saying "You've received a payment. All you have to do is sign up and register with us to receive it." Now being an unverified member is something different than being an unregistered member. Unverified members can receive payment from someone else's PayPal balance, but not credit card payments.

Dani 4,645 The Queen of DaniWeb Administrator Featured Poster Premium Member

First of all, change your main() line to be int main()

The problem that you are having is that the program opens, does what it's supposed to do, and then closes. At the end of the program, right above the return 0 line, try entering:

char x;
cin >> x;

What that will do is prompt for a character to be input right before the program closes. Therefore, the program won't automatically close until it gets user input.

Dani 4,645 The Queen of DaniWeb Administrator Featured Poster Premium Member

Sorry guys for the confusion. I was actually leaning my comment towards Narue. ;)

Dani 4,645 The Queen of DaniWeb Administrator Featured Poster Premium Member

Whoa! Let's not be this rude please folks. I did a google search for towers of hanoi and a bunch of informative links came up:

http://www.cut-the-knot.org/recurrence/hanoi.shtml
http://mathforum.org/dr.math/faq/faq.tower.hanoi.html

They should answer your question.

Dani 4,645 The Queen of DaniWeb Administrator Featured Poster Premium Member

Are they the fancy Apple monitors with the clear plastic border? If so, they use an ADC connector. It's a special type of DVI connector that puts DVI, USB, and power into one cable. First, you'll need to ensure that your video card has DVI support. You'll then need to purchase an ADC to DVI converter cable from Apple. If I remember correctly, it's a bit over $100.

Dani 4,645 The Queen of DaniWeb Administrator Featured Poster Premium Member

Just be sure you have int target and not n target ;) If anything, it's good code practice to use descriptive variable names.

Dani 4,645 The Queen of DaniWeb Administrator Featured Poster Premium Member

Ahh, Aitch. I was just about to suggest Quark XPress too. It is actually the #1 program to use for desktop publishing.

Dani 4,645 The Queen of DaniWeb Administrator Featured Poster Premium Member

I actually have no problem with paying a monthly fee to certain sites, depending upon what they are. For example, I have purchased a membership subscription to digitalblasphemy.com in the past, a site that offers high quality 3D wallpaper. Their premium (paying) members are the only ones who can get access to widescreen and dual-monitor wallpaper, which is very rare to find. (And I'm very proud of my cinema displays!) I don't think I would pay for a support site though, such as experts-exchange or daniweb. However, I am seriously considering purchasing a subscription to webmasterworld.com. It is also around $10/month, but their premium members-only section is made up of a lot of experienced, well-respected webmasters, and really does offer a lot of very good information - and I like the site enough to be willing to donate to it.

Dani 4,645 The Queen of DaniWeb Administrator Featured Poster Premium Member

Hey Stack! Don't be mean to me ;) No corporation, just lil ol' me.

In the past, most of our revenue was derived from selling text link advertisements. If you notice, there is now only one text ad at the bottom ... in prior months, there were a couple, each one going for a few hundred dollars. In addition, google adsense has always been used in addition to selling advertising directly.

Unfortunately, that $2,500 campaign fell through, and all money was reimbursed. It turns out that the site owner had not thoroughly thought out their business plan, or something along those lines.

This brings all of our revenue back to text ads and google ads and banner ads. As I just said, many text ad people didn't renew for some reason or another :( And google has dropped the payout they offer via AdSense since they went public for some reason.

So that leaves banner ads for nearly all of our revenue ... which means that such ads comprimise a much larger percentage of our revenue than in the past.

Please also keep in mind, however, that I advertise DaniWeb with Google AdWords ... always spending nearly half of the profit made the previous month. Of course, I didn't foresee the $2,500 campaign being canceled, AdSense paying less, nor the canceling of the text ads. For that reason, I ended up just breaking even. However, when you guys had asked me to cut out two …

Dani 4,645 The Queen of DaniWeb Administrator Featured Poster Premium Member

Just to wrap this up, so far I have gotten mixed reviews about the new ad units on the site. Personally I think they look fine, but that is because I put them there ;) But just to say that they are providing all of the revenue we've lost from disabling the other ads, and are generating very good results. They obviously aren't entirely unwanted, as they are generating decent clickthrus as well. I think that from my standpoint, our main competitor at this point is www.experts-exchange.com, the only other successful I.T. forum that covers as much as we do. And when you consider that to compensate for the costs, they not only show ads, but they also charge a mandatory $10/month to all members, DaniWeb isn't so bad off ;) I'm doing as much as I can to keep DaniWeb advertiser-supported and not member-supported ... members contribute way more than enough as it is! If you guys have any suggestions, please do let me know. I am always open to ideas. But just to keep you guys posted - these new ads take us out of any financial crisis and put us in good, no-worry territory.

Dani 4,645 The Queen of DaniWeb Administrator Featured Poster Premium Member

I have added a new advertisement area to the top of the forum pages (with the thread listings). The money they bring in should be able to cover the revenue lost from spyware advertisements and potentially any future advertisements we need to weed out. Please let me know if you think it is overly obtrusive and perhaps we can come up with something else. Thanks!

Your donation contest idea seems cool. :) That's something you'd have to talk to Stack Overflow about, though ... he's in charge of our contests :)

Dani 4,645 The Queen of DaniWeb Administrator Featured Poster Premium Member

Hey there dlh. Thanks for your input. I appreciate it. I will definitely consider adding a donate X form to the subscription page. However, I think you misunderstood me. As I said, I need about one dollar per signup. However, I don't plan on asking my members for this money. Instead, I plan on perhaps partnering with some company in that I would put their advertisement on the registration page or work some sort of partnership out where I end up making about one dollar per signup through advertising. Definitely not going to be charging the members.

Dani 4,645 The Queen of DaniWeb Administrator Featured Poster Premium Member

As I mentioned, we need a little over a dollar per new member who registers with the site to be all okay again. By this I mean just $1.50 one time when someone signs up. (Not any sort of recurring fee). I am thinking of perhaps a partnership with some sort of company to show their offer when a new member registers. Not exactly sure how yet - but if I could get about a dollar per signup, then that would be perfect. Any ideas? :)

Dani 4,645 The Queen of DaniWeb Administrator Featured Poster Premium Member

Hey guys. I have removed the No-Adware ad in addition to the Weatherbug one. However, by cutting out those two much needed advertisements, we are now losing an average of $80 per day. That's right guys ... filtering out those two ads has unfortunately brought DaniWeb completely into the red. I have moved the "Donate" link up to the top of the site navigation from the bottom, but other than that, I am desperate looking for other ways to boost revenue ... and quickly. After doing some calculations, I came to the conclusion that we need to make at least $1.25 each time someone registers with us in order to stay in the black.

Dani 4,645 The Queen of DaniWeb Administrator Featured Poster Premium Member

I have decided to look further into filtering out the No-Adware banners. It will take about a day for me to investigate exactly how much I would be losing if I filtered it out, and whether it might be possible to receive an alternate ad in its place (though this is doubtful). Perhaps I just browse the Internet way too much, and have done so for way too long, but I was always under the impression that it was unsaid knowledge that a site never endorses its advertisements. Hmm. As far as getting the word out about the Google Ads ... while this is true, it is against Google's terms of service to spread the word about this -> ads should only be clicked on for their own merit and genuine interest in the ad - not to show support for the site they are on.

Dani 4,645 The Queen of DaniWeb Administrator Featured Poster Premium Member

I'm using phpAdsNew with local invocation. No messy JavaScript on my site :)

Dani 4,645 The Queen of DaniWeb Administrator Featured Poster Premium Member

As I said, I am definitely willing to remove advertisements that are simply spyware. If you find such an ad, please do let me know, and I will filter it out. However, it's somewhat of a different story if it is an opinion that an advertiser is selling a product you disagree with or think is a rip-off - because that is more of an objective opinion. If I cancel an advertiser's campaign, I need a viable reason that would hold up in court should the need arise, as my advertisers often prepay me and therefore there is a legal binding to not drop their advertisements midway through a campaign.

However, if there are any advertisements that are definite spyware or malware, please do let me know with as much detailed information about them as possible. Thanks!

- Dani

Dani 4,645 The Queen of DaniWeb Administrator Featured Poster Premium Member

Hmm ... Do you think that I am sounding too money hungry? Please keep me grounded ;) I am open to suggestions. But take the following scenerio ... an advertiser contacts me and says "I would like to purchase $XXX worth of advertising. They prepay, and then send me the link to their site. Do I then turn them down and say, "sorry, I think you're overcharging, your product is a rip-off, here is your money back" ... from a marketing perspective, word will spread VERY quickly among advertisers and that could be the demise of Daniweb.

Dani 4,645 The Queen of DaniWeb Administrator Featured Poster Premium Member

Alex is correct, but I just want to comment on this. I do have the ability to filter out certain advertisements that are inappropriate, etc. And I did so to the WeatherBug ads, granted I was told that the software is spyware.

However, please keep in mind that when I filter out ads, they are not replaced with other ads. Instead, they become unsold advertising revenue. For example, turning down the WeatherBug campaign has cost DaniWeb $XX per day, but that is something I have no problem doing on an ethical ground.

I just want you guys to keep this in mind when suggesting that I remove advertisement campaigns. For example, it is simply not practical for me to turn down advertisers who would like to advertise products I simply don't like, don't feel are of good quality, or are based on anything that is at all objective. It's simply not a practical solution for a business which receives all of its revenue from advertising.

However, if you guys stumble upon any advertisements that are illegal, spyware, etc., then I have no problem turning away the advertiser. Please just keep in mind that I don't personally endorse any advertisements on the site.

Dani 4,645 The Queen of DaniWeb Administrator Featured Poster Premium Member

Unfortunately Apple decided that there is enough support out for OS X nowadays that OS9 is not needed. But that isn't necessarily so if you're one of those who runs a lot of old classic apps. If you have Jaguar installed with OS9, you can upgrade to Panther while keeping your OS9 intact.

Otherwise, if you did a fresh install of Panther, you should still be able to install OS9 off of your Jaguar cd.

alc6379 commented: Awesome. I didn't know that OS 9 was still on the Jaguar CD! +3
Dani 4,645 The Queen of DaniWeb Administrator Featured Poster Premium Member

And Done. :)

Dani 4,645 The Queen of DaniWeb Administrator Featured Poster Premium Member

Just tell me the name you want - and I'll do a username change for you.

Dani 4,645 The Queen of DaniWeb Administrator Featured Poster Premium Member

We usually don't allow username changes as it just goes against the whole sense of community - afterall, we all know each other on here by our usernames. However, I do make exceptions if you provide me with a new username.

Dani 4,645 The Queen of DaniWeb Administrator Featured Poster Premium Member

So did that work? :)

Dani 4,645 The Queen of DaniWeb Administrator Featured Poster Premium Member

I can only tell you how to do it if you have a U.S. PayPal account, as it seems that certain stuff on the PayPal website is switched around depending on what country you are in.

But here is what to do ... first, go to PayPal and login. Then click the dark blue Merchant Tools tab near the top of the page. There should be heading a lil farther down on the page that says Website Payments in bold, with mini credit card icons below it. The last line of that section should be a link to Donations. click on Donations, and then fill out the form. You'll then be presented with some custom HTML code to put on your site.

Dani 4,645 The Queen of DaniWeb Administrator Featured Poster Premium Member

Very good :)

Dani 4,645 The Queen of DaniWeb Administrator Featured Poster Premium Member

Just to clarrify about the Marsupial Moderator, colleagues as well as moderators have access to custom user titles, where they can enter whatever they want in that spot.

Dani 4,645 The Queen of DaniWeb Administrator Featured Poster Premium Member

Thread marked as solved. :) And DMR, I thought that Alex was the cookie moderator? ;)

Dani 4,645 The Queen of DaniWeb Administrator Featured Poster Premium Member

Glad I could be of assistance. If Quickbooks Pro 6 says that it will work natively on OS X, there is no reason to install the classic environment. Otherwise, throw it in ;)

Dani 4,645 The Queen of DaniWeb Administrator Featured Poster Premium Member

Mac OS X comes with Classic which lets you run OS9 applications. However, I'm pretty sure that the latest version of OS X, 10.3, doesn't include Classic. If you don't install the Classic environment, you won't be able to run any OS9 applications - only the newer OS X applications. What software is it that you're not sure if you'd be able to run?

Dani 4,645 The Queen of DaniWeb Administrator Featured Poster Premium Member

* Moving this thread off to the general programming languages forum *

Dani 4,645 The Queen of DaniWeb Administrator Featured Poster Premium Member

I think he's saying that he actually uses the PayPal service (and therefore, the scripts they have running on their site). They don't offer any scripts.

Dani 4,645 The Queen of DaniWeb Administrator Featured Poster Premium Member

Are you talking about an avatar, which is the icon that appears below your username in all of your posts? If so, click on the USER CP link in the purple navigation bar near the top of the page. Then click the Edit Avatar link in the User Control Panel menu. Better yet, here's a direct link: http://www.daniweb.com/techtalkforums/profile.php?do=editavatar

Dani 4,645 The Queen of DaniWeb Administrator Featured Poster Premium Member

Hey there. Yes! I am here - despite having surgery yesterday!! ;) In any case, sorry to hear about your PC woes. Your best bet would be to go ask that question in the Security forum. You'd probably have better luck there now that you think you've narrowed it down to spyware/malware.

Dani 4,645 The Queen of DaniWeb Administrator Featured Poster Premium Member

Div tags are generally used to encapsulate paragraphs, body content, and for text/image positioning and layout. Span tags are used to emphasize a word or two, such as

<div>This is my paragraph. I would like to <span style="font-weight:bold">emphasize</span> this word.</div>
Dani 4,645 The Queen of DaniWeb Administrator Featured Poster Premium Member

I'm glad you decided to purchase it. I tried it - it was really nice, just wasn't for me. I was happier having to do some coding myself, but instead using a script heavily integrated into these forums.

Dani 4,645 The Queen of DaniWeb Administrator Featured Poster Premium Member

Yes, I've actually heard of the language. Just never worked with it - the closest I've ever come was Scheme. Incidently, I'm moving this thread to the Comp Sci forum.