I've got a bug on my computer and droid, well...maybe not a bug but its a problem for my ubb forum. Some setting has changed on my pc perhaps? I'm running Win 8.1.Hoping one of you guys have seen this and will know whats wrong.

I can upload pictures to the "forum images" page. Then I go to a forum and try to place a picture by clicking on the "change" button on the bottom of the "forum settings" page. In the past when I clicked on that "change" button I would get a popup with the pictures. Now I get a popup with the homepage.

I have tried IE, Chrome, and Firefox. I even tried my droid phone and cant get it to work.

I never paid any attention to it in the past but when I hover my pointer over the "change" button I get javascript:void (0) at the bottom left of the screen ....could this be a clue?

thanks for any help

Express Hosting

Express Hosting
"We are the official hosting company of UBB.threads. Ask us about our free migration services to migrate your UBB.threads installation."

If I go to the "forum settings" and choose a forum that already has a picture, and click on "change" I get the correct popup with the forum images.Only when I choose a forums with NO PICTURE is when I get the popup without the list of pictures.

I would suspect that it is a win 8.1 issue not php.I checked two sites that have a 5.4 prior and 5.4 newer version on a vista pc and it is fine.I have a win8.1 64 laptop I can try.when I do I will let you know.

The "onclick" takes charge, and as it's a link it needs to have a dummy code, html it'd be linking to # or javascript it'd use javascript:void();

I am a Web Development Contractor, I do not work for UBBCentral. I have provided free User to User Support since the beginning of these support forums.Forums: A Gardeners ForumScouters WorldUBB.threads: UBBWiki, UBB Styles, UBB.SitemapsLongtime Supporter & Resident Post-A-HolicVNC Web Services: Code Modifications, Upgrades, Styling, Coding Services, Disaster Recovery, and more!

Also, if you have changed your Windows "Security" settings within the "Internet Options" tab, you might want to revisit that by going back in to the menu and selecting "Reset all zones to default level"

1. Select Tools->Internet Options2. From the "Internet Options" dialog box that appears, Click on the "Security" tab.3. Click on "Reset all zones to default level"OR3.Click on the "Custom Level" Button present at the bottom of the dialog box.4. The "Security Settings" dialog box appears.5. Scroll through the dialog box and find "Scripting"->"Active Scripting" and confirm that the radio button is enabled.

javascript:void means the author [of the UBBThreads code] is Doing It Wrong.

There is no good reason to use a javascript: pseudo-URL(*). In practice it will cause confusion or errors should anyone try things like ‘bookmark link’, ‘open link in a new tab’, and so on. This happens quite a lot now people have got used to middle-click-for-new-tab: it looks like a link, you want to read it in a new tab, but it turns out to be not a real link at all, and gives unwanted results like a blank page or a JS error when middle-clicked.

<a href="#"> is a common alternative which might arguably be less bad. However you must remember to return false from your onclick event handler to prevent the link being followed and scrolling up to the top of the page.

In some cases there may be an actual useful place to point the link to. For example if you have a control you can click on that opens up a previously-hidden <div id="foo">, it makes some sense to use <a href="#foo"> to link to it. Or if there is a non-JavaScript way of doing the same thing (for example, ‘thispage.php?show=foo’ that sets foo visible to begin with), you can link to that.

Otherwise, if a link points only to some script, it is not really a link and should not be marked up as such. The usual approach would be to add the onclick to a <span>, <div>, or an <a> without an href and style it in some way to make it clear you can click on it. This is what StackOverflow [did at the time of writing; now it uses href="#"].

The disadvantage of this is that you lose keyboard control, since you can't tab onto a span/div/bare-a or activate it with space. Whether this is actually a disadvantage depends on what sort of action the element is intended to take. You can, with some effort, attempt to mimic the keyboard interactability by adding a tabIndex to the element, and listening for a Space keypress. But it's never going to 100% reproduce the real browser behaviour, not least because different browsers can respond to the keyboard differently (not to mention non-visual browsers).

If you really want an element that isn't a link but which can be activated as normal by mouse or keyboard, what you want is a <button type="button"> (or <input type="button"> is just as good, for simple textual contents). You can always use CSS to restyle it so it looks more like a link than a button, if you want. But since it behaves like a button, that's how really you should mark it up.

(*: in site authoring, anyway. Obviously they are useful for bookmarklets. javascript: pseudo-URLs are a conceptual bizarreness: a locator that doesn't point to a location, but instead calls active code inside the current location. They have caused massive security problems for both browsers and webapps, and should never have been invented by Netscape.)