181
onokazu
Re: Pre-moderating forums: an idea
  • 2002/7/10 14:43

  • onokazu

  • XOOPS Founder

  • Posts: 617

  • Since: 2001/12/13


I think you have a very nice idea...of course we accept any contribution by users any time..



182
onokazu
Re: HTML problem in XOOPS and Other CMS?
  • 2002/7/6 1:50

  • onokazu

  • XOOPS Founder

  • Posts: 617

  • Since: 2001/12/13


If you need to just output data stored in DB as pure html, you can do so by just echoing the content.

so changing the line

echo makeTareaData4Show($content);

to

echo $content;

will allow you to just ouput your content in pure html format, bypassing the new line conversions in textsanitizer. However, this will also skip the smileys and xoopscodes conversions, and the allowed html tags checking routine.



183
onokazu
Re: Class XoopsThemeForm
  • 2002/6/28 3:45

  • onokazu

  • XOOPS Founder

  • Posts: 617

  • Since: 2001/12/13


xoopsFormValidate function is a javascript function.
It is used when the form is actually displayed.



184
onokazu
Re: desperately need help tracking and banning trolls.
  • 2002/6/25 17:27

  • onokazu

  • XOOPS Founder

  • Posts: 617

  • Since: 2001/12/13


You can change the line in register.php like this

$mailbody = sprintf(_US_HASJUSTREG,$uname)."\nIP:".$REMOTE_ADDR;
$xoopsMailer->setBody($mailbody);

The notify mail should now include the IP address of the new user.


And yes, we will be adding an enable/disable switch for the img tag feature in user posts.



185
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>";



186
onokazu
Re: Email Issues
  • 2002/6/23 17:51

  • onokazu

  • XOOPS Founder

  • Posts: 617

  • Since: 2001/12/13


In class/xoopsmailer.php find the following codes on line 100

$this->LE ="\n";

then change this to

$this->LE ="\r\n";

and on line 187

change

$this->body = str_replace("\r", $this->LE, $this->body);

to

$this->body = str_replace("\n", $this->LE, $this->body);

Please try if this works out your problem.



187
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.



188
onokazu
Re: Typo in xoopsmailer RC3.01, i think ;-)
  • 2002/6/17 16:32

  • onokazu

  • XOOPS Founder

  • Posts: 617

  • Since: 2001/12/13


Yes, we'll fix this. thx



189
onokazu
Re: RC3 recent discussions block: why 'Re:'?
  • 2002/6/13 11:42

  • onokazu

  • XOOPS Founder

  • Posts: 617

  • Since: 2001/12/13


thanks. will add this to RC3.0.1



190
onokazu
Re: Default Comment Order not being set properly for new users
  • 2002/6/12 8:00

  • onokazu

  • XOOPS Founder

  • Posts: 617

  • Since: 2001/12/13


Quote:

MrSmith wrote:
Nevermind.. I found it. In case anyone else wants to know, look at function store in class XoopsUser in class/xoopsuser.php (line 227)

You will see that its using a defalut value of "1" for uorder. If you want oldest first as your default view mode for new users, set this to "0"


thanks, we will fix this




TopTop
« 1 ... 16 17 18 (19) 20 21 22 »



Login

Who's Online

158 user(s) are online (94 user(s) are browsing Support Forums)


Members: 0


Guests: 158


more...

Donat-O-Meter

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

Latest GitHub Commits