Previous Thread
Next Thread
Print Thread
Hop To
#256092 11/15/2014 10:28 AM
Joined: Sep 2010
Posts: 97
V
member
member
V Offline
Joined: Sep 2010
Posts: 97
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

Joined: Jul 2006
Posts: 4,057
Joined: Jul 2006
Posts: 4,057
what version are your running?

I think there was a issue in the latest admin image for Graemlins or such where something was broken, so if your on the latest 7.5.8 you may have found another issue.


BOOM !! Version v7.6.1.1
People who inspire me Isaac ME Gizmo
Joined: Sep 2010
Posts: 97
V
member
member
V Offline
Joined: Sep 2010
Posts: 97
here is something I just discovered.

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.

Mark S #256096 11/15/2014 10:43 AM
Joined: Sep 2010
Posts: 97
V
member
member
V Offline
Joined: Sep 2010
Posts: 97
Originally Posted by Mark S
what version are your running?

I think there was a issue in the latest admin image for Graemlins or such where something was broken, so if your on the latest 7.5.8 you may have found another issue.

according to the PHP Info page : PHP Version 5.4.24

Joined: Jul 2006
Posts: 4,057
Joined: Jul 2006
Posts: 4,057
Which version of the forum software your running.

i'm on the latest 7.5.8 wink


BOOM !! Version v7.6.1.1
People who inspire me Isaac ME Gizmo
Mark S #256099 11/16/2014 10:33 AM
Joined: Sep 2010
Posts: 97
V
member
member
V Offline
Joined: Sep 2010
Posts: 97
Originally Posted by Mark S
Which version of the forum software your running.

i'm on the latest 7.5.8 wink

I had to look to make sure, but according to my PHP info screen in the control panel - PHP Version 5.4.24

Joined: Dec 2003
Posts: 6,560
Likes: 78
Joined: Dec 2003
Posts: 6,560
Likes: 78
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.


Blue Man Group
There is no such thing as stupid questions. Just stupid answers
Joined: Sep 2010
Posts: 97
V
member
member
V Offline
Joined: Sep 2010
Posts: 97
Can one of you hover your mouse pointer over the CHANGE button and see if you get the "javascript:void(0) showing up on the left bottom of your screen.

Ive been googling the javascript thing and changing setting but perhaps thats not the issue



thanks!!

Joined: Jun 2006
Posts: 16,292
Likes: 116
UBB.threads Developer
UBB.threads Developer
Joined: Jun 2006
Posts: 16,292
Likes: 116
It's supposed to say that for the link code; if you check out the page source it's actually:
Code
<img name="avimg" border="1" src="/forum/images/forumimages/default/wcw9.jpg" alt="" />&nbsp; <a href="javascript:void(0);" onclick="launch_avatar_window();">Change</a> &nbsp;

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.
Do you need Forum Install or Upgrade Services?
Forums: A Gardeners Forum, Scouters World
UBB.threads: UBBWiki, UBB Styles, UBB.Sitemaps
Longtime Supporter & Resident Post-A-Holic
VNC Web Services: Code Modifications, Upgrades, Styling, Coding Services, Disaster Recovery, and more!
Gizmo #256120 11/18/2014 10:40 PM
Joined: Sep 2010
Posts: 97
V
member
member
V Offline
Joined: Sep 2010
Posts: 97
Originally Posted by Gizmo
It's supposed to say that for the link code; if you check out the page source it's actually:
Code
<img name="avimg" border="1" src="/forum/images/forumimages/default/wcw9.jpg" alt="" />&nbsp; <a href="javascript:void(0);" onclick="launch_avatar_window();">Change</a> &nbsp;

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();

Ok. thats over my head but if you say its normal to see the javascript I'll take your word on it.


Any ideas whats going on with my PC and phone? Why is this not working for me?

Joined: Dec 2003
Posts: 6,560
Likes: 78
Joined: Dec 2003
Posts: 6,560
Likes: 78
Could it be on one device you browse to www.mysite.com.
And another device you browse to mysite.com.


Blue Man Group
There is no such thing as stupid questions. Just stupid answers
Ruben #256127 11/19/2014 10:04 PM
Joined: Sep 2010
Posts: 97
V
member
member
V Offline
Joined: Sep 2010
Posts: 97
Originally Posted by Ruben
Could it be on one device you browse to www.mysite.com.
And another device you browse to mysite.com.

Sorry Ruben, not sure what you are asking. What does mysite.com have to do with this?

Joined: Apr 2004
Posts: 1,945
Likes: 145
UBB.threads Developer
UBB.threads Developer
Joined: Apr 2004
Posts: 1,945
Likes: 145
What Ruben was asking, is;

Could it be on one device (a Windows PC) you browse to "www.mysite.com".
And another device (an Apple iPad) you browse to "mysite.com".

"www.mysite.com" and "mysite.com" are two different websites.
Further reading at -
http://www.webhostingtalk.com/wiki/URLs_with_or_without_www

And at -
https://support.google.com/webmasters/answer/44231?hl=en


Current developer of UBB.threads PHP Forum Software
Current Release: UBBT 7.7.5 // Preview: UBBT 8.0.0
isaac @ id242.com // my forum @ CelicaHobby.com
Joined: Dec 2003
Posts: 6,560
Likes: 78
Joined: Dec 2003
Posts: 6,560
Likes: 78
correct so try both flavors and see if one works and the other does not.
Since we don't know what your site URL is, I called it mysite


Blue Man Group
There is no such thing as stupid questions. Just stupid answers
Joined: Sep 2010
Posts: 97
V
member
member
V Offline
Joined: Sep 2010
Posts: 97
I tried the:
http://www.
http://
www.

regardless what I type it changes over to www. when my site comes up


nothing there made a difference.

Joined: Dec 2003
Posts: 6,560
Likes: 78
Joined: Dec 2003
Posts: 6,560
Likes: 78
Just to be clear:
did you try it without the www prefix?


Blue Man Group
There is no such thing as stupid questions. Just stupid answers
Joined: Sep 2010
Posts: 97
V
member
member
V Offline
Joined: Sep 2010
Posts: 97
Originally Posted by Ruben
Just to be clear:
did you try it without the www prefix?

yes.....I did:

vaguntrader.com
www.vaguntrader.com
http://www.vaguntrader.com
http://vaguntrader.com

yes, my website is VaGunTrader


www.vaguntrader.com is what it switches to regardless what I try

Joined: Sep 2010
Posts: 97
V
member
member
V Offline
Joined: Sep 2010
Posts: 97
I'm on a computer at work that is running Win 7. I tried several different web browsers. Still the same problem.
I'm baffled!! I dont know why I cant get this to work.

SD, I need your west coast computer!! Can't find one here on the east coast to make this work.

Joined: Apr 2004
Posts: 1,945
Likes: 145
UBB.threads Developer
UBB.threads Developer
Joined: Apr 2004
Posts: 1,945
Likes: 145
The "javascriptvoid(0)" status bar message is quite normal for most sites which create new windows for you to interact with.

check your pop-up blocker settings.

for IE 10 and prior, its detailed here -
http://support.microsoft.com/KB/843016

and for IE 11, its detailed here -
http://windows.microsoft.com/en-us/internet-explorer/ie-security-privacy-settings#ie=ie-11

[Linked Image from id242.com]

---

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 Options
2. From the "Internet Options" dialog box that appears, Click on the "Security" tab.
3. Click on "Reset all zones to default level"
OR
3.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.

---

Some reading on "javascriptvoid(0)" can be done at -
http://stackoverflow.com/questions/1291942/what-does-javascriptvoid0-mean

Quote
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.)


Link Copied to Clipboard
ShoutChat
Comment Guidelines: Do post respectful and insightful comments. Don't flame, hate, spam.
Recent Topics
spam issues
by ECNet - 03/19/2024 11:45 PM
Looking for a forum
by azr - 03/15/2024 11:26 PM
Editing Links in Post
by Outdoorking - 03/15/2024 9:31 AM
Question on barkrowler and the like
by Mors - 02/29/2024 6:51 PM
Member Permissions Help
by domspeak - 02/27/2024 6:31 PM
Who's Online Now
2 members (Gizmo, Nightcrawler), 553 guests, and 186 robots.
Key: Admin, Global Mod, Mod
Random Gallery Image
Latest Gallery Images
Los Angeles
Los Angeles
by isaac, August 6
3D Creations
3D Creations
by JAISP, December 30
Artistic structures
Artistic structures
by isaac, August 29
Stones
Stones
by isaac, August 19
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20230217)