2321
Mamba
Re: Database: How do I set a column value to NULL
  • 2018/12/14 5:05

  • Mamba

  • Moderator

  • Posts: 11366

  • Since: 2004/4/23


In NewBB's table "newbb_stats" you have:
`time_update`  DATE                          DEFAULT NULL,


Is this what you were looking for?
Support XOOPS => DONATE
Use 2.5.10 | Docs | Modules | Bugs



2322
Mamba
Re: PHP 7.0 Mods and Responsive Themes -Last Question
  • 2018/12/14 4:44

  • Mamba

  • Moderator

  • Posts: 11366

  • Since: 2004/4/23


1) Quote:
I was able to get publisher installed, and the overlay language is now displaying... but I have no idea why it took hours to begin to display...
It could be that you didn't set in Preferences the option "Check templates for modifications?" to Yes. Then you had to wait till the cache expired. 2) The "nav-menu.tpl" file is for the top horizontal menu. To see the Publisher there, you set it up correctly:
<li><a href="<{$xoops_url}>/modules/publisher"><{$smarty.const.THEME_MODULE4}</a></li>
Now you have to define the "THEME_MODULE4" in: \themes\xbootstrap\language\english\main.php 3) The WF Section Style is only for the display of articles, it has nothing to do with the Menu itself Again, make sure that you have the "Check templates for modifications?" set to "Yes". Once you done with changing the them, you should set it to "No", so XOOPS doesn't recompile the templates every time, but instead reads it from cache.
Support XOOPS => DONATE
Use 2.5.10 | Docs | Modules | Bugs



2323
sarahmx
xoops Password rules and password expiry
  • 2018/12/13 16:47

  • sarahmx

  • Quite a regular

  • Posts: 381

  • Since: 2007/10/28


Hi

I have one intranet site built with xoops for a friend long time ago and used it in a company with 400 over staff...

Currently the intranet used latest xoops 2.5.9 and been working great with some custom modules developed by a former employee

Recently the company enforced a new password rules for all custom application installed in the server to have the following rules

a. Password changed at least every 6 month
b. Password use at least 3 of the following types of characters: (a) uppercase letters, (b) lowercase letters, (c) numbers, and/or (d) special characters.
c. Password must be unique and cannot be re-used.

Can someone tell me on how to make this in xoops...is there any quick hack possible?

And how to reset all user password?



2324
JammerPro
Re: PHP 7.0 Mods and Responsive Themes -Last Question
  • 2018/12/13 8:06

  • JammerPro

  • Just popping in

  • Posts: 39

  • Since: 2008/8/24


I was able to get publisher installed, and the overlay language is now displaying... but I have no idea why it took hours to begin to display...

Now I'm not understanding how to use the the nav-menu.tpl

<div class="navbar-collapse collapse">
                <
ul class="nav navbar-nav">
                    <
li class="active"><a href="<{$xoops_url}>"><{$smarty.const.THEME_HOME}></a></li>
                    <
li><a href="javascript:;"><{$smarty.const.THEME_MODULE1}></a></li>
                    <
li class="dropdown"><a data-toggle="dropdown" class="dropdown-toggle" href="javascript:;"><{$smarty.const.THEME_MODULE2}><class="caret"></b></a>
                        <
ul class="dropdown-menu">
                            <
li><a href="#">Topic 1</a></li>
                            <
li><a href="#">Topic 2</a></li>
                            <
li><a href="#">Topic 3</a></li>
                            <
li class="dropdown-submenu">
                                <
a href="#" class="dropdown-toggle" data-toggle="dropdown">Topic 4</a>
                                <
ul class="dropdown-menu">
                                    <
li><a href="#">Sub-Topic A</a></li>
                                    <
li><a href="#">Sub-Topic B</a></li>
                                    <
li><a href="#">Sub-Topic C</a></li>
                                    <
li><a href="#">Sub-Topic D</a></li>
                                </
ul>
                            </
li>
                            <
li><a href="#">Topic 5</a></li>
                        </
ul>
                    </
li>
                    <
li><a href="<{$xoops_url}>/modules/newbb"><{$smarty.const.THEME_MODULE3}></a></li>
                    <
li><a href="<{$xoops_url}>/modules/contact"><{$smarty.const.THEME_MODULE4}></a></li>
                </
ul>


I was able to get publisher installed, in 2.5.9...

Can't call it from the menu...

I saw Rocha's note and did the following:
Go to publisher >> Preferences
Change "Articles display type" to: -WF Section Style-

How do I use the navbar for publisher?

For example. if I wanted to show the index I would simply type in the URL like this:
http://mytrademarksearch.com/modules/publisher/


What do I do with the nav-menu command above... Let;s say we use the contact choice:


How do I code this and show Docs as the heading? This doesn;t work:


<li><a href="<{$xoops_url}>/modules/publisher"><{$smarty.const.THEME_MODULE4}</a></li>


Where am I going wrong?



2325
JammerPro
Re: PHP 7.0 Mods and Responsive Themes
  • 2018/12/13 3:03

  • JammerPro

  • Just popping in

  • Posts: 39

  • Since: 2008/8/24


OK, did a fresh install of 2.5.9 with XBootstrap Theme athttp://MyTrademarkSearch.com. Congrats to you. Xoops is working with the initial bare minimal install.

Can you help me a little with some initial issues putting the site back together. I will test each mod one by one and report back.

ISSUE 1 ---------------------------------------------------------------------------
First, I need to customize the XBootstrap theme which is giving me some trouble.

At themes/xbootstrap/tpl/slider.tpl starting at line 11 is the overlay text for the pictures in the slider as follows:
<div class="carousel-caption hidden-xs">
                <
h1>Lorem ipsum dolor sit amet</h1>

                <
p>Cras justo odiodapibus ac facilisis inegestas eget quamDonec id elit non mi porta gravida at eget metusNullam id dolor id
                    nibh ultricies vehicula ut id elit
.</p>

                <
p><a href="javascript:;" class="btn btn-large btn-primary"><{$smarty.const.THEME_READMORE}></a></p>
            </
div>
        </
div>
        <
div class="item"><img alt="XOOPS" src="<{$xoops_imageurl}>images/slider2.jpg">

            <
div class="carousel-caption hidden-xs">
                <
h1>Lorem ipsum dolor sit amet</h1>

                <
p>Cras justo odiodapibus ac facilisis inegestas eget quamDonec id elit non mi porta gravida at eget metusNullam id dolor id
                    nibh ultricies vehicula ut id elit
.</p>


No matter what language I insert between the H1 tags and the P tags, the overlay doesn't change!

What's up with that?

ISSUE 2 ---------------------------------------------------------------------------
Which version of publisher should I try first? Could you give me a link?

ISSUE 3 ---------------------------------------------------------------------------
Which version of myIFrame should I try first? Could you give me a link?

Let's see of I can get a totally compliant site, just using the above for now!!!

Best wishes...

Elliot



2326
JammerPro
Re: PHP 7.0 Mods and Responsive Themes
  • 2018/12/12 16:47

  • JammerPro

  • Just popping in

  • Posts: 39

  • Since: 2008/8/24


I have myiframe-master.zip (I renamed to myiframe when unzipped), also, had ams-master.zip... from GitHub. Both gave me the "white screen of death" when trying to install. AMS had a red 3 in the version number... I have publisher-master and can uninstall AMS to see if that was the issue. The version I have is called publisher-master.zip from the GitHub repository...



2327
luciorota
Database: How do I set a column value to NULL
  • 2018/12/12 15:43

  • luciorota

  • Module Developer

  • Posts: 216

  • Since: 2007/4/20


I have a question.

I have to set a database column value to NULL but ...
My object is an extension of XoopsPersistableObject class.
Var 'date' data type is XOBJ_DTYPE_DATE
Database field is defines as
date DATE NULL DEFAULT NULL

Any suggestion?



2328
Mamba
Re: PHP 7.0 Mods and Responsive Themes
  • 2018/12/12 8:20

  • Mamba

  • Moderator

  • Posts: 11366

  • Since: 2004/4/23


I would suggest to use Publisher - it's probably the most stable and also the most actively developed.
Please test Publisher and see if it works for you.

What is in AMS that you want to use it? When you say that it doesn't install, what errors are you getting, if any? And which version of AMS and myIframe do you use?
Support XOOPS => DONATE
Use 2.5.10 | Docs | Modules | Bugs



2329
Mamba
Re: xoops 2.5.8 and tdmcreate 1.91
  • 2018/12/12 8:12

  • Mamba

  • Moderator

  • Posts: 11366

  • Since: 2004/4/23


Timgno,

Good to see you around! Nice work with the videos - the villages in Calabria are indeed very beautiful, like the Altomonte on top of the hill:
https://www.youtube.com/watch?v=TY9w9C1xo9I

Hopefully we'll see you back here more often...
Support XOOPS => DONATE
Use 2.5.10 | Docs | Modules | Bugs



2330
JammerPro
Re: PHP 7.0 Mods and Responsive Themes
  • 2018/12/11 23:16

  • JammerPro

  • Just popping in

  • Posts: 39

  • Since: 2008/8/24


OK.

Here's what I've done, but still can't get the site to run under php 7.0 (Centos 6 with WHM and CPanel Multiphp manager). MySQL ver. 5.7.

I upgraded to 2.5.9, upgraded the mods as follows:

System - 2.14 | User Profile - 1.89 Final | Private Messages 1.12 Final | Protector - 3.51 Final...

However, both versions of AMS didn't install under any circumstances, whether PHP 5.6 or 7.0.

I am using the xsimpleblocks theme (nice, responsive). I do have banners turned on.

Wondering what to do next?

Any suggestions on what to use rather than AMS for an article editor? Is xsimpleblocks 7.0 friendly...

Any advice would be helpful. Would love to know that Xoops can run with just a few of the essentials in php 7.0 with MySQL 5.7.

Hope all else is well!!!

HAPPY HOLIDAYS!

JammerPro




TopTop
« 1 ... 230 231 232 (233) 234 235 236 ... 29422 »



Login

Who's Online

171 user(s) are online (109 user(s) are browsing Support Forums)


Members: 0


Guests: 171


more...

Donat-O-Meter

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

Latest GitHub Commits