1
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?



2
newbie555
Re: how to install NewBB forums on xoops 2.5.10 installed via softaculous and php 5.4.45?
  • 2020/10/5 3:04

  • newbie555

  • Just popping in

  • Posts: 11

  • Since: 2020/9/27


Quote:

2) php.ini is on your server, outside of XOOPS. You need to have Server Admin access to make changes there. Most ISP don't give access to it, but you can check with them directly


Note that with cpanel here, I can set the php version, and for the version I can also set options and extensions. If I select some extensions, then I cannot select others, ie I cannot select all options.


I dont know whether php.ini can be via options and extensions. Also could there be the possibility of a local php.ini file. Sometimes with computer systems, you have an initialisation file, but then you can have a local initialisation file which overrides the global one. ie where there could be 2 php.ini's, one of the server, and one of the user account.

Here is a list of the options followed by a list of the extensions, I would upload a snapshot, but I am not sure about the copyright rules for snapshots of cpanel, whether I can do that under fair usage?

php 7.4 options:
allow_url_fopen
display_errors
error_reporting E_ALL 
file_uploads
include_path  
.:/opt/alt/php74/usr/share/pear
log_errors
mail
.force_extra_parameters
max_execution_time 1500
max_input_time 1500
max_input_vars 2000
memory_limit 1G 
open_basedir
post_max_size 1G 
session
.save_path /opt/alt/php74/var/lib/php/session
short_open_tag
upload_max_filesize 1G


php extensions: (not all selected)


A
apcu
B
bcmath
brotli
D
dba
dbase
dom
E
eio
enchant
F
fileinfo
G
gd
gender
geoip
geos
gmagick
gnupg
grpc
H
http
I
igbinary
imagick
imap
I
inotify
intl
ioncube_loader
J
json
L
ldap
luasandbox
lzf
M
mailparse
mbstring
mongodb
mysqli
mysqlnd
N
nd_mysqli
nd_pdo_mysql
newrelic
O
oauth
oci8
odbc
opcache
P
pdf
P
pdo
pdo_dblib
pdo_firebird
pdo_mysql
pdo_oci
pdo_odbc
pdo_pgsql
pdo_sqlite
pdo_sqlsrv
pgsql
phar
posix
propro
pspell
psr
R
raphf
redis
S
snmp
soap
sockets
S
sodium
sqlite3
sqlsrv
stats
swoole
sysvmsg
sysvsem
sysvshm
T
tidy
timezonedb
trader
U
uploadprogress
uuid
V
vips
X
xdebug
xmlreader
xmlrpc
xmlwriter
xsl
Y
yaml
Z
zip





3
newbie555
Re: how to install NewBB forums on xoops 2.5.10 installed via softaculous and php 5.4.45?
  • 2020/10/4 19:13

  • newbie555

  • Just popping in

  • Posts: 11

  • Since: 2020/9/27


Quote:

Mamba wrote:
1) XoopsPoll: the current code inhttps://github.com/XoopsModules25x/xoopspoll/

You can download the current code by clicking on the green button "Code" and then selecting the last menu item "Download ZIP"

This will get you to this link:https://github.com/XoopsModules25x/xoopspoll/archive/master.zip

You can then extract the files to "/?????/modules/xoopspoll" folder, and install it from Admin


ok, have done this now and installed it. The current xoops install is for experimenting with,
so I will try later on some polls with imaginary users and see how it fares.

Quote:

2) php.ini is on your server, outside of XOOPS. You need to have Server Admin access to make changes there. Most ISP don't give access to it, but you can check with them directly


could you give the full path to php.ini for any specific setup you have access to where it is accessible?

that way I can see if I can get to any similar path with the setup here.

Quote:


3) Just to make clear: the files from inside of

/???/modules/newbb/EXTRA/themes/xbootstrap

go inside of the folder:

/????/themes/xbootstrap

After you copied the /xbootstrap folder to /themes, you need to either update the System module, or the NewBB module, so XOOPS can update the cache.



I have updated both and it is now functioning correctly!

Quote:

You can also go to Admin/Maintenance and clear the cache there.

Yet another option is to switch to another theme. You should activate the Themes block first, as described here, and then go to the front-end of the Website and select the XSwatch or Xswatch4 theme, if available.


I didnt understand that link, but by clicking "blocks" I was able I think to activate themes.
When you say front-end of the website, do you mean after I login with the administrator
userid + password?

I havent found Xswatch or Xswatch4 yet.

Quote:

4) TCPDF: I'm not sure why it is not working. I'll do some tests on our server, and let you know if I find anything


even after updating the system module, I still get the same message.



4
newbie555
Re: how to install NewBB forums on xoops 2.5.10 installed via softaculous and php 5.4.45?
  • 2020/10/4 1:46

  • newbie555

  • Just popping in

  • Posts: 11

  • Since: 2020/9/27


Quote:

Mamba wrote:
Quote:
Xoops Poll Module: is not available.

There seems to be currently conflict with the XoopsPoll module. Once it's fixed I'll let you know, but in the meantime you can help to test it, by copying from:https://github.com/XoopsModules25x/xoopspoll
and installing it.
[/quote]

do you mean the following link from there:

https://github.com/XoopsModules25x/xoopspoll/releases/tag/1.40-Final


and if so, presumably I would rename xoopspoll-1.40-Final to xoopspoll
?

Quote:
Quote:


Quote:
ImageMagicK: is not available.
NetPBM: is not available.
GD library: Autodetected: 2.2.5

You need one of the three, so if you have GD, then you're OK

Quote:
Maximum Upload each file : Attention! Value 'memory_limit' to PHP.INI less than 'post_max_size'

If you have access to php.ini, you can change the value there. If not, then can't do much about it and just ignore it


where would php.ini be?
the path to newbb at the server account is:

/home/?????/public_html/DirectEmails/wgm/xoops/modules/newbb

where ????? is my userid,
what path potentially would php.ini be?



Quote:
Quote:

[quote]If you want to use the PDF creation function, use instruction.

You would have to download TCPDF from:https://github.com/tecnickcom/TCPDF/releases

and copy it to

YOURSITE /class/libraries/vendor/tecnickcom/tcpdf/

NewBB will then check if the file tcpdf.php exists there:

if (!is_file(XOOPS_ROOT_PATH '/class/libraries/vendor/tecnickcom/tcpdf/tcpdf.php'))


I have done that, so the path you give then exists, but I still get the message
Quote:
If you want to use the PDF creation function, use instruction.

I tried updating the system cache, logged out, logged back in, and modules/forum/index
still gives that message.


also,
https://github.com/XoopsModules25x/publisher/issues/30#issuecomment-231551905

says

Quote:

You can also add this line:

"tecnickcom/tcpdf":"6.*"
to the "composer.json" file located in "/class/libraries/", so it looks like this: ...


but /class/libraries/ doesnt have composer.json, but just has composer.dist.json
should I modify that file? or rename it and then modify it?



5
newbie555
Re: how to install NewBB forums on xoops 2.5.10 installed via softaculous and php 5.4.45?
  • 2020/10/4 1:05

  • newbie555

  • Just popping in

  • Posts: 11

  • Since: 2020/9/27


Quote:

Mamba wrote:
Quote:
With various URLs of the forum, I see what appear to be "constants"

They should be in the /EXTRA folder

Go to your folder:
YOURSITE/modules/newbb/EXTRA/themes/

and copy the folder "xbootstrap" to:

YOURSITE/themes/

It will overwrite the files there.


I copied YOURSITE/modules/newbb/EXTRA/themes/xbootstrap/
to YOURSITE/themes/xbootstrap/

but the constants are still showing,
eg I have a test message, namely:
http://directemails.info/wgm/xoops/modules/newbb/viewtopic.php?topic_id=2

where you will see things like _MD_POSTEDON and _MD_BROWSING 1 _MD_ANONYMOUS_USERS

I feel that ought to be "posted on" and "browsing: 1 anonymous user(s)",

some further troubleshooting necessary!

is there a specific file I can check to verify that I copied to the correct path?



6
newbie555
Re: how to install NewBB forums on xoops 2.5.10 installed via softaculous and php 5.4.45?
  • 2020/10/1 17:43

  • newbie555

  • Just popping in

  • Posts: 11

  • Since: 2020/9/27


Hi, I have a second question,
I am not editting the previous post in case you read that before I editted, ie to avoid confusion.

With various URLs of the forum, I see what appear to be "constants",
eg a screenshot:

http://www.directemails.info/wgm/constants.png

with that, there is eg:
---------------------------------------------
_MD_MAINFORUMOPT
_MD_TOTALTOPICSC 3
_MD_TOTALPOSTSC 3
_MD_USERS_ONLINE 1
_MD_BROWSING_FORUM
-----------------------------------------
I presume those items _MD_?????? are constants, and if so, was wondering how to set them!



7
newbie555
Re: how to install NewBB forums on xoops 2.5.10 installed via softaculous and php 5.4.45?
  • 2020/10/1 17:26

  • newbie555

  • Just popping in

  • Posts: 11

  • Since: 2020/9/27


I have one initial question,
with the forum index it has the message:

---------------------------------------------------
Module preferences
Xoops Poll Module: is not available.
ImageMagicK: is not available.
NetPBM: is not available.
GD library: Autodetected: 2.2.5
Maximum Upload each file : Attention! Value 'memory_limit' to PHP.INI less than 'post_max_size'
If you want to use the PDF creation function, use instruction.
---------------------------------------------------

are there any remedial actions I should take, and if so, how to do this?

many thanks



8
newbie555
Re: how to install NewBB forums on xoops 2.5.10 installed via softaculous and php 5.4.45?
  • 2020/10/1 17:04

  • newbie555

  • Just popping in

  • Posts: 11

  • Since: 2020/9/27


yay! I succeeded!

many thanks for the help!

I need to experiment a bit now, and will probably then have some further questions.



9
newbie555
Re: how to install NewBB forums on xoops 2.5.10 installed via softaculous and php 5.4.45?
  • 2020/9/30 18:42

  • newbie555

  • Just popping in

  • Posts: 11

  • Since: 2020/9/27


Hi Mamba,

the earlier link you gave says to put the files in the ./modules/ directory,

now my installation is athttp://directemails.info/wgm/xoops

and the directory paths I have gotten are eg:

http://directemails.info/wgm/xoops/modules/newbb-5.00_FINAL/admin/

as an example path,

is this correct? or is the directory wrong? also should newbb-5.00_FINAL be renamed to newbb?



Quote:

Mamba wrote:
Quote:
Should I uninstall the xoops installation and then reinstall xoops with the ambient higher version 7.4 of php?

No, there is no need for it. But you can update the System module in Admin, so it will refresh the cache.


how would I update the system module in Admin?

by admin do you mean logging in with the admin userid and admin password?

what to do next?

I click "Administration Menu", I then see under "Installed Modules" a "SYSTEM" icon,
when I click this I get a list of options, I clicked "maintenance" and the options look plausible,
but I am not sure what to do.



a screenshot of this is:
http://www.directemails.info/wgm/maintenance.png




10
newbie555
Re: how to install NewBB forums on xoops 2.5.10 installed via softaculous and php 5.4.45?
  • 2020/9/30 5:46

  • newbie555

  • Just popping in

  • Posts: 11

  • Since: 2020/9/27


Hi Mamba,

many thanks for the info

I will study the URLs of both your posts, and let you know how I progress,


Quote:

Mamba wrote:
First of all, you should install a newer version of PHP, preferably PHP 7+. The PHP 5.4.45 is way too old. I'm sure, your ISP is providing with PHP 7+ versions.


I have found that I can change the PHP version to 7.4 using the cpanel program "Select PHP version"

Should I uninstall the xoops installation and then reinstall xoops with the ambient higher version 7.4 of php?

what is the official way to uninstall xoops, in particular so it deals with the backup options I selected via softaculous?





TopTop
(1) 2 »



Login

Who's Online

219 user(s) are online (142 user(s) are browsing Support Forums)


Members: 0


Guests: 219


more...

Donat-O-Meter

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

Latest GitHub Commits