1151
Mamba
Re: private forums with Newbb5.00 and Xoops 2.5.10?
  • 2020/10/12 4:39

  • Mamba

  • Moderator

  • Posts: 11373

  • Since: 2004/4/23


1) Create a new group in Admin, let's call it "Members", and select all checkboxes in the Forum

Resized Image


2) Go the the user who you want to be in the Members group and select both "Registered Users" and "Members"

Resized Image


3) Go to NewBB and create a new Category called "Members"

Resized Image


4) Go to Forums tab and click on the + folder to create a new forum "MemberForum"

Resized Image


Let's call it "MemberForum":

Resized Image


Once you click on Submit, you should see this:

Resized Image


5) Go to Permissions Tab, and for each selection make sure that the MemberForum is checked for the Members Group (and potentially for the Webmaster)

Resized Image


6) Now you can go to the Front End and you should see the "MembersForum" in the "Members" Category, where you can create a new topic

Resized Image
Support XOOPS => DONATE
Use 2.5.10 | Docs | Modules | Bugs



1152
Mamba
Re: xoops preferences "site close" override
  • 2020/10/12 3:43

  • Mamba

  • Moderator

  • Posts: 11373

  • Since: 2004/4/23


So I looked into it, and the issue is that when the Website is closed, XOOPS goes to
/site_closed.php

and from there it calls the
system_siteclosed.tpl

that is located in the current theme, e.g.:
/themes/xswatch/modules/system/

So there would be a lot of hacking involved, starting in
/include/common.php

in line 325:
if ($xoopsConfig['closesite'] == 1) {
    include_once 
$xoops->path('include/site-closed.php');
}


to redirect to your "site_closed.php", or you can changed the "site_closed.php" file itself.

Because of the constant hacking that you would have to do for each new version of XOOPS, it might be easier to simply create a new "mobile" theme, and use that?
Support XOOPS => DONATE
Use 2.5.10 | Docs | Modules | Bugs



1153
Mamba
Re: how to install NewBB forums on xoops 2.5.10 installed via softaculous and php 5.4.45?
  • 2020/10/12 2:54

  • Mamba

  • Moderator

  • Posts: 11373

  • Since: 2004/4/23


1) Front-end
Quote:
When you say front-end of the website, do you mean after I login with the administrator

It's what you see when you go to your website: http://????
It's regardless of whether you login as admin or not.

2) Themes - You can see your available themes in your Admin Preferences' General Settings, in the "Selectable Themes":
http://???/modules/system/admin.php?fct=preferences&op=show&confcat_id=1

Resized Image


You select that ones that you want to see in the Front-End

Resized Image


Physically, they are located in your XOOPS installation, in the /themes folder

More info: XOOPS Operations Guide

3) file upload size in php.ini

Since you have set:
upload_max_filesize 1G

then you are OK
Support XOOPS => DONATE
Use 2.5.10 | Docs | Modules | Bugs



1154
oswaldo
Re: Problems creating a new user rank Xoops 2.5.11-Beta1
  • 2020/10/9 18:15

  • oswaldo

  • Quite a regular

  • Posts: 215

  • Since: 2008/8/22


Yes, I have the last one, I'm going to check the translation files just in case.
Thanks



1155
liomj
Re: xoops preferences "site close" override
  • 2020/10/9 12:10

  • liomj

  • Just popping in

  • Posts: 80

  • Since: 2012/4/10


Thank you Mamba, its not working, ill try and look again

i uploaded it here on what im trying to do..so far what i did
https://github.com/liomj/mobile/

it is working fine if the site is opened but not if it is close



1156
Mamba
Re: xoops preferences "site close" override
  • 2020/10/9 9:54

  • Mamba

  • Moderator

  • Posts: 11373

  • Since: 2004/4/23


You will need to hack XOOPS, and every time you update XOOPS to a new version, you'll have to do it again.

In /include/checklogin.php in line 55-57 you have:

if (!$allowed) {
            
redirect_header(XOOPS_URL '/index.php'1_NOPERM);
        }


You probably would need to change the redirect there to:

redirect_header(XOOPS_URL '/mobileapp/index.php'1_NOPERM);

This is not tested, so test it and use it at your own risk.
Support XOOPS => DONATE
Use 2.5.10 | Docs | Modules | Bugs



1157
liomj
Re: xoops preferences "site close" override
  • 2020/10/9 1:49

  • liomj

  • Just popping in

  • Posts: 80

  • Since: 2012/4/10


Hi

i made a proof of concept mobile page with login but when the site is close it is redirect to
xoopssite.com/index.php instead of xoopsite.com/mobileapp/index.php

how do i override when a xoops site is closed it will redirect to a custom login page and
not the default login in index.php ?



1158
Mamba
Re: Problems creating a new user rank Xoops 2.5.11-Beta1
  • 2020/10/8 9:05

  • Mamba

  • Moderator

  • Posts: 11373

  • Since: 2004/4/23


Do you have the latest files from 2.5.11-Beta1?

https://github.com/XOOPS/XoopsCore25

There were several additions lately...

On my local PC it worked fine.
Support XOOPS => DONATE
Use 2.5.10 | Docs | Modules | Bugs



1159
oswaldo
Problems creating a new user rank Xoops 2.5.11-Beta1
  • 2020/10/7 23:25

  • oswaldo

  • Quite a regular

  • Posts: 215

  • Since: 2008/8/22


I'm having trouble creating a new user rank, I get the error warning.

(site.com/modules/system/admin.php?fct=userrank&op=userrank_new)

A problem has occurred on our server!
Page is currently unavailable
We are working on a fix
Please come back soon ...

Error : ParseError: syntax error, unexpected end of file

Xoops Version 2.5.11-Beta1
PHP 7.4



1160
newbie555
private forums with Newbb5.00 and Xoops 2.5.10?
  • 2020/10/6 20:56

  • newbie555

  • Just popping in

  • Posts: 11

  • Since: 2020/9/27


Hi,

I installed Xoops 2.5.10, and with help from this forum installed Newbb5.00

Now I would like to create a private forum,

with the above Newbb 5.00, anyone can click "Register now!", enter their details,
receive an automatic activation email, and they are now a member.

I would like to have a private forum, where to become a member you have to be manually authorised, either an account manually created, or for the registration to be manually authorised.

Newbb5.00 seems to allow user accounts to be manually created, but anyone at all can bypass that and make themselves a member.

is there a way to make Newbb5.00 forums private, where new users are manually authorised
and people cannot install themselves as members?




TopTop
« 1 ... 113 114 115 (116) 117 118 119 ... 29425 »



Login

Who's Online

621 user(s) are online (489 user(s) are browsing Support Forums)


Members: 0


Guests: 621


more...

Donat-O-Meter

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

Latest GitHub Commits