1
reddshack
Re: Smilies not so happy - Help!
  • 2005/4/9 21:24

  • reddshack

  • Just popping in

  • Posts: 15

  • Since: 2005/3/31


Is it so hard that nobody can at least VERIFY to see if they have this problem as well? It would take less than 30 seconds. Please?



2
reddshack
Smilies not so happy - Help!
  • 2005/4/8 19:40

  • reddshack

  • Just popping in

  • Posts: 15

  • Since: 2005/3/31


Whenever I try to 'edit' a smiley in the System Admin I get this error after I click the submit button:

"Fatal error: Call to a member function on a non-object in /home/xxxxxxx/public_html/modules/system/admin/smilies/main.php on line 112"

I've tried and tested this now and I believe it to be a problem with the latest release of XOOPS 2.0.10 RC. This problem does not exist for me whatsoever with 2.9.2, but with 2.0.10 RC it won't go away. I've tried fresh installs, upgrades, changing permissions on all the smiley related files, but nothing works.

The server that I am on IS running PHP 4.3.10 and Zend Optimizer v2.5.7 ..... so I don't see how that could be the problem, especially where smilies worked fine with 2.9.2. Whatever was changed in the v10 RC release has messed up smilies big time .

Can anyone else confirm this problem that is running 2.0.10 RC??? To test, go to "Smilies Control" and 'edit' a smiley under the 'action' column on the far right side and click submit while in the "Edit a Smilie" screen. Does it update or do you get returned with an error?

EDIT: I'm not blaming Xoops, I'm just trying to find what the possible problems could be.



3
reddshack
Re: formdatetime.php & calendar.js
  • 2005/4/8 3:19

  • reddshack

  • Just popping in

  • Posts: 15

  • Since: 2005/3/31


Thanks for the input, but it's a little different of a problem though. Try submitting something with a form that has a specified start time or time listing, such as a News or something with ExtCal. Look where it says start time and end time. Open up the picklist and you will see it has 0 - 23 with intervals of 10 on each adding up the time.

So it displays: 0:10, 0:20, 0:30 ..... 18:40, 18:50, 19:00.

It would be much nicer to have these listed in 12 hour am pm format. Any idea?

EDIT: Here's the ORIGINAL code found in "formdatetime.php" inside of 'class'-->'xoopsform' that is responsible for creating this 24 hour mode listing. IMO this is where the change needs to take place, but what needs to be changed?

class XoopsFormDateTime extends XoopsFormElementTray
{

    function 
XoopsFormDateTime($caption$name$size 15$value=0)
    {
        
$this->XoopsFormElementTray($caption' ');
        
$value intval($value);
        
$value = ($value 0) ? $value time();
        
$datetime getDate($value);
        
$this->addElement(new XoopsFormTextDateSelect(''$name.'[date]'$size$value));
        
$timearray = array();
        for (
$i 0$i 24$i++) {
            for (
$j 0$j 60$j $j 10) {
                
$key = ($i 3600) + ($j 60);
                
$timearray[$key] = ($j != 0) ? $i.':'.$j $i.':0'.$j;
            }
        }
        
ksort($timearray);
        
$timeselect = new XoopsFormSelect(''$name.'[time]'$datetime['hours'] * 3600 600 ceil($datetime['minutes'] / 10));
        
$timeselect->addOptionArray($timearray);
        
$this->addElement($timeselect);
    }
}

How can I make this list 12 hour with am and pm?



4
reddshack
Re: formdatetime.php & calendar.js
  • 2005/4/8 1:21

  • reddshack

  • Just popping in

  • Posts: 15

  • Since: 2005/3/31


I'll take the response that nobody knows then. Good luck to anyone else that ever has this problem.... there's seems to be no solution.



5
reddshack
Re: browser cache and form data
  • 2005/4/8 1:03

  • reddshack

  • Just popping in

  • Posts: 15

  • Since: 2005/3/31


Help-

I'm having this EXACT same problem, except I don't know how to change/fix what you did. I haven't created a special search though, I'm just using the normal one that is available without customization for newbb2. Can anyone help me out here and tell me where I need to go to input these changes?

EDIT: This only happens for people who are logged in. I tried enabling the cache option in the newbb2 preferences, but that did nothing.



6
reddshack
Re: formdatetime.php & calendar.js
  • 2005/4/6 7:36

  • reddshack

  • Just popping in

  • Posts: 15

  • Since: 2005/3/31


Bump

Any ideas of anything that could be remotely close? If it
can't be done, just say so



7
reddshack
formdatetime.php & calendar.js
  • 2005/4/4 10:54

  • reddshack

  • Just popping in

  • Posts: 15

  • Since: 2005/3/31


-formdatetime.php
#1 - Is there any way or hack to change this (or possibly a different file) so that time options will be listed in 12 hour format with AM and PM in the picklist?

In my forms for submitting news and other things (extcal, etc.), I'm afraid that some of my users are illiterate to 24 hour time format, and 12 hour format would be much better suited. Is this a possible feature that I could input?

-calendar.js
#2 - Also, will the new XOOPS release's be implementing the new calendar.js fromhttp://www.dynarch.com/ ? They released v1.0 not too long ago and it has some great bug fixes.



8
reddshack
Re: Experiences with Surpass hosting???
  • 2005/4/4 10:32

  • reddshack

  • Just popping in

  • Posts: 15

  • Since: 2005/3/31


I recently signed up with surpass (April 1st) and so far so good. The surminty.com is awesome and will answer pretty much any question very quickly. Although I'm new to surpass (and to xoops), both are highly recommended by me. For anyone that wants the best price and best performance, I would say surpass is your answer.



9
reddshack
Re: Changing display mode to FLAT in newBB
  • 2005/4/1 14:19

  • reddshack

  • Just popping in

  • Posts: 15

  • Since: 2005/3/31


Yeah, that makes sense. Because in a Forum all of the posts are just reply's to each other, one after the other, whereas with comments they could be a reply to the top, the 3rd, or 54th comment etc. Makes sense.



10
reddshack
Re: Changing display mode to FLAT in newBB
  • 2005/4/1 13:50

  • reddshack

  • Just popping in

  • Posts: 15

  • Since: 2005/3/31


Awesome!! That makes sense, thank you. I wonder why though the forum settings only list Flat and Threaded, when in the system settings it offers the options of Flat, Threaded and Nested?

Maybe because they are developed by 2 separate groups?




TopTop
(1) 2 »



Login

Who's Online

177 user(s) are online (115 user(s) are browsing Support Forums)


Members: 0


Guests: 177


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