1
Wayne
Forum: Post new thread button doesn't work
  • 2002/6/16 14:22

  • Wayne

  • Just popping in

  • Posts: 35

  • Since: 2002/2/13


Head's up guys.

My users are reporting that the Post new thread button, as well as the reply buttom in the forum doesn't work for any browser which isn't IE or the later netscape. The latest Opera and Mozilla even have problems with it.

A lot of my users are using virtually antiquated browsers on the Amiga and while they can get around on the site, the JS buttons are killing my forums.

Is there any way they could be rewritten to be more compatible with other (not just older) browsers, or can anyone simply give me a block of code which'll help replace them with stock html buttons?


2
Wayne
Re: Forum: Post new thread button doesn't work
  • 2002/6/23 14:55

  • Wayne

  • Just popping in

  • Posts: 35

  • Since: 2002/2/13


Hello? This is a real problem guys. I would like it addressed, not ignored please.

3
onokazu
Re: Forum: Post new thread button doesn't work
  • 2002/6/23 16:49

  • onokazu

  • XOOPS Founder

  • Posts: 617

  • Since: 2001/12/13


Please check if javascript is enabled on the browser. We will change this to non-javascript button in the next version, but it should work on most of the browsers.
Worked fine using Opera6/IE6/Mozilla1.0 under WinXP and NN6.2/IE6 on Win 2000.

4
Wayne
Re: Forum: Post new thread button doesn't work
  • 2002/6/23 17:01

  • Wayne

  • Just popping in

  • Posts: 35

  • Since: 2002/2/13


Thanks for the reply. Javascript is enabled in all browsers displaying the problem. Seems to be browser specific code. Unfortunately I can't really wait for the next release version. I would absolutely hate to walk away from such a great package out of necessity though.

Is there any chance you should shoot out a fix and paste the code here? I (and my 2100+ users) really, really need it.

5
onokazu
Re: Forum: Post new thread button doesn't work
  • 2002/6/23 18:04

  • onokazu

  • XOOPS Founder

  • Posts: 617

  • Since: 2001/12/13


File: modules/newbb/page_header.php
Line 68, 83

change

echo "<input type='button' value='"._MD_POSTNEW."' onclick='location.href=\"newtopic.php?forum=".$forum."\"' />";

to

myTextForm(XOOPS_URL."/modules/newbb/newtopic.php?forum=".$forum."", _MD_POSTNEW);


Or if you prefer, you can just use <a> tag

echo "<a href='newtopic.php?forum=".$forum."'>"._MD_POSTNEW."</a>";


Alternatively, you can still use the old way which displays the "New Topic" image.

echo "<a href='newtopic.php?forum=$forum'><img src='".$bbImage['newtopic']."' alt='"._MD_POSTNEW."' /></a>";

6
Wayne
Re: Forum: Post new thread button doesn't work
  • 2002/6/23 19:42

  • Wayne

  • Just popping in

  • Posts: 35

  • Since: 2002/2/13


Thank you very much sir. It is much, much appreciated. I also want to thank you for having the "changes" file reflect the individual code changes. It'll help me keep up when I upgrade without wiping out all my little mods.

Wayne

Login

Who's Online

205 user(s) are online (122 user(s) are browsing Support Forums)


Members: 0


Guests: 205


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Mar 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits