Fork me on GitHub

Search

Donat-O-Meter

Make donations with PayPal!
Stats
Goal: $100.00
Due Date: Jan 31
Gross Amount: $35.00
Net Balance: $33.13
Left to go: $66.87

Donations
Anonymous ($25)Jan-21
Dante7237  ($10)Jan-1

Learn XOOPS Core

Local Support

Advertisement

XOOPS Code hosted on SourceForge

Cumulus Tag Cloud

- 2 2.5 2.6 4 6 2013 Abuse Android AntiHarvesting AntiSpam API Apple Battlefield Blocks Bootstrap Captcha cell cent chronolabs CHUNG content CĂN demo Digitally download Dresses facebook Fat for free Gateway Google Guide herre Honeypot HP html5 Human HỘ IP iPhone jQuery Language Law Legal List Loss mobile module modules Monster new newbb news NHÀ online PARK Payment phone PHP Prevention profile project Protector publisher RESIDENCE responsive review Rights rmcommon Room security Sentry Signatures Signed site Smartphone Smarty Solution Spam Studio support tag tags tdmcreate The Theme themes tháp User userlog web weight Wishcraft xoops Xortify XPayment

New Users

Registering user

# 138123

josebbiolso7

Welcome to XOOPS!

Forum Index


Board index » All Posts

Bottom   Previous Topic   Next Topic

(1) 2 3 4 ... 29802 »


#1 Posted on: Today 7:54 Re: xBootstrap XOOPS Theme - Development
no it is not, this is a responsive theme.


Top

Bleekk
Joined:
2002/12/14 9:13
From Vienna
Group:
Registered Users
Designer Group
Posts: 492
(Show More) (Show Less)
Topic | Forum


#2 Posted on: Today 7:32 Re: xBootstrap XOOPS Theme - Development
Hi is it possible to have a link something like below in xbootstrap theme

display desktop version | display mobile version

so user can pick their favorite layout ....

Top

mjoel
Joined:
2006/12/9 8:28
Group:
Registered Users
Posts: 223
(Show More) (Show Less)
Topic | Forum


#3 Posted on: Today 7:13 Re: Responsive Theme Blocks
are you talking about the xBootstrap theme?

Top

Bleekk
Joined:
2002/12/14 9:13
From Vienna
Group:
Registered Users
Designer Group
Posts: 492
(Show More) (Show Less)
Topic | Forum


#4 Posted on: Today 7:05 Re: TDMCreate 1.91 alpha 1 for Testing
I did not understand why this code works in class/field.php:
// New Field
$main = ($table_autoincrement == 1) ? 1;
$check_field_main = new TDMCreateFormRadio('''field_main['.$i.']'$main);
$check_field_main->addOption($i_AM_TDMCREATE_FIELD_MAINFIELD );            
                
$parameters_tray->addElement($check_field_main);


and that no:

// New Field
$main = ($table_autoincrement == 1) ? 1;
$check_field_main = new TDMCreateFormRadio('''field_main'$main);
$check_field_main->addOption($i_AM_TDMCREATE_FIELD_MAINFIELD );            
                
$parameters_tray->addElement($check_field_main);


For when editing, however if this code:
// Edit Field
$field_main[$field_id] = $field->getVar('field_main'); 
$main_field = ($field_main[$field_id] == 1) ? $id 1
$check_field_main = new TDMCreateFormRadio('''field_main['.$i.']'$main_field);
$check_field_main->addOption($main_AM_TDMCREATE_FIELD_MAINFIELD );
                    
$parameters_tray->addElement($check_field_main);


should work anyway, unfortunately when you click on an option, then activate them all, and goes to save the last of selected list

Top

timgno
Joined:
2007/6/21 13:54
From Italy
Group:
Registered Users
Posts: 1255
(Show More) (Show Less)
Topic | Forum


#5 Posted on: Yesterday 16:24 Re: How does displaying user time work?
Oh I see. I was incorrect on the $time, $time is from time(). Which should be from the same TZ as the Server_TZ as you said.

So now I'm looking at formatTimestamp() function that calls the getUserTimestamp() function.

It returns:
return ucfirst(date($datestring$usertimestamp));


But if the timezone for date() is not UTC/GMT (set with the date_default_timezone_set()), it would change the calculated $usertimestamp.

So I guess the question is about locales, why is it used to set the timezone? Instead of date() should gmdate() be used?

Top

iHackCode
Joined:
2004/6/28 19:11
From Greater Seattle Area
Group:
Registered Users
Wiki Group
Posts: 1000
(Show More) (Show Less)
Topic | Forum


#6 Posted on: Yesterday 16:16 Responsive Theme Blocks
I'm finding that the top center blocks in the Serenity Orange and xBootstrap 1.03 themes only display at the bottom. For example, if I want a block to display above a module in the top center, it won't. It displays at the bottom. How can I get it to display at the top center like in the default theme?

Thanks,
Hope

Top

HopeL
Joined:
2009/8/20 20:24
From Oregon
Group:
Registered Users
Posts: 23
(Show More) (Show Less)
Topic | Forum


#7 Posted on: Yesterday 11:29 Re: Which version of forum newbb is good to installing? 3.08 or 4.0 or 4.33
Hello mamba,

thanks for your answer.

Really I did the opposite ... I installed NewBB 4.3 ( irmtfan way ) and I import CBB 3.08 Db.

No errors durning import and the system seems running well, but ...

I noted this pair of problems :

1) Block "last replied topics" is ok in administration page, but is not visible in the public website.
2) When I click on "Go to post" icon ( the doubled arrow ) I obtain a blank page ( I mean the content , not the whole web page, like in previuos point ).

Any suggestions ?

Pino

Top

Lupin
Joined:
2007/6/1 17:26
Group:
Registered Users
Posts: 20
(Show More) (Show Less)
Topic | Forum


#8 Posted on: Yesterday 8:06 Re: How does displaying user time work?
In most circumstances, server_TZ should be 0 (UTC/GMT.) There are "servers" configured incorrectly, where the system time (and therefor PHP's time() function) is not actually UTC. This was common in personal machines using Windows, but showed up occasionally in a variety of systems. Most modern systems use ntp synced clocks set to UTC, so this issue is much less common. In a perfect world, server_TZ would not be needed.

That is the theory. If it is all implemented correctly across the system, I'm not certain. But in the case of the getUserTimestamp() method, it looks correct. It really only should come into play if the server is mis-configured, and then only fix it when displaying the time.

Top

geekwright
Joined:
2010/10/15 16:27
From Keokuk, IA
Group:
Webmaster
Registered Users
Posts: 61
(Show More) (Show Less)
Topic | Forum


#9 Posted on: 1/25 23:13 How does displaying user time work?
I'm a bit lost on this. The function is below (I got it from XOOPS 2.6)

$time is the time (Unix timestamp).
* The timezone can be set by the locale.php based on the general settings (default locale) for the website.

$timeoffset is the 'user' timezone
* if user. its whats they set in their profile
* if anon. its the 'Default_TZ', from the general settings.

Now there is one more offset, the 'Server_TZ'. That is confusing me.

Looking at the logic that assigns $usertimestamp it looks like it assumes the 'Server_TZ' and $time are using the same timezone. The two time stamps might not always be the same Timezone though. So if they are not the same then the displayed timezone will be off.

When will the $time timezone change timezone:
* using a different locale (because of language)

/**
     * @param mixed  $time
     * @param string $timeoffset
     *
     * @return int
     */
    
public function getUserTimestamp($time$timeoffset '')
    {
        if (
$timeoffset == '') {
            if (
$this->isUser()) {
                
$timeoffset $this->user->getVar('timezone_offset');
            } else {
                
$timeoffset $this->getConfig('default_TZ');
            }
        }
        
$usertimestamp intval($time) + (floatval($timeoffset) - $this->getConfig('server_TZ')) * 3600;
        return (int)
$usertimestamp;
    }


Top

iHackCode
Joined:
2004/6/28 19:11
From Greater Seattle Area
Group:
Registered Users
Wiki Group
Posts: 1000
(Show More) (Show Less)
Topic | Forum


#10 Posted on: 1/24 1:58 Re: TDMCreate 1.91 alpha 1 for Testing
A new commit on GitHub

As suggested by geekwright this we can use for issues

Top

timgno
Joined:
2007/6/21 13:54
From Italy
Group:
Registered Users
Posts: 1255
(Show More) (Show Less)
Topic | Forum



Top
(1) 2 3 4 ... 29802 »



[Advanced Search]