1
goffy
Errors with tdm_download
  • 1/20 20:43

  • goffy

  • Just can't stay away

  • Posts: 549

  • Since: 2010/12/27


I am trying to update one of my sites. one of the used moduls is tdmdownloads.
I have downloaded the last version from github XoopsModules.

when I e.g. want to go to modules/tdmdownloads/admin/index.php I get:
Quote:
Warnung: stat(): stat failed for tdmdownloads_admin_index.tpl in Datei /class/smarty3_plugins/resource.db.php Zeile 40
Fehler: SmartyException: Unable to load template 'db:tdmdownloads_admin_index.tpl' in Datei /xoops_lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php Zeile 196


XOOPS Version XOOPS 2.5.12-Beta9
PHP Version 8.3.14
Smarty Version 4.5.6

any ideas?



2
goffy
Solution for Not able to login anymore after upgrading to XOOPS 2.5.11 and 2.5.12 Beta 8
  • 2025/9/30 9:16

  • goffy

  • Just can't stay away

  • Posts: 549

  • Since: 2010/12/27


I had a problem with two of my websites. Suddenly, I couldn't log in anymore.
The problem was that XOOPS couldn't set the cookies properly. The cause was an incorrect value in the mainfile.php.
Example:
Web host's domain: https://myhoster.com
My website's domain: https://mywebsite.com
In the mainfile.php, there was
define('XOOPS_COOKIE_DOMAIN''myhoster.com');

instead of
define('XOOPS_COOKIE_DOMAIN''mywebsite.com');

Since it worked for years, I didn't recognize the problem. I suspect the host made some changes to the settings, causing the issue to suddenly appear.
You may have/get the same problem. If yes, then check your mainfile.php.

Many thanks to Mamba for identifying the issue.



3
goffy
xoops_redirect
  • 2024/12/8 9:18

  • goffy

  • Just can't stay away

  • Posts: 549

  • Since: 2010/12/27


hi

because I have currently a lot of spam registrations I checked my server access log and found one log very often:
Quote:
57.141.0.19 - - 06/Dec/2024:21:33:35 +0100 "GET /modules/profile/user.php?xoops_redirect=/modules/profile/user.php?xoops_redirect=/modules/profile/user.php?xoops_redirect=/modules/profile/user.php?xoops_redirect=/modules/profile/user.php?xoops_redirect=/modules/profile/user.php?xoops_redirect=/modules/profile/user.php?xoops_redirect=/modules/profile/user.php?xoops_redirect=/modules/profile/user.php?xoops_redirect=/modules/profile/user.php?xoops_redirect=/modules/profile/user.php?xoops_redirect=/modules/newbb/report.php?forum=18&topic_id=12229&post_id=66633 HTTP/1.0" 200 15200 "-" "meta-externalagent/1.1 (+https://developers.facebook.com/docs/sharing/webmasters/crawler)"

It seems that someone is using xoops_redirect to burden my system, maybe to make spam registration possible, I dont know.

but my question: how to treat this problem? would it make sense to implement a filter to remove the additional xoops_redirect in order to avoid looping?

what do you think



4
goffy
cancel button
  • 2024/11/11 11:21

  • goffy

  • Just can't stay away

  • Posts: 549

  • Since: 2010/12/27


hi

it seems that there is a problem with cancel button in bootstrap5
currently we are using
button class="btn btn-danger me-1" onClick="history.go(-1);return true;"  _CANCEL . /button

but this cause that it is treated like clicking on confirm button, as the submit event takes place

my solution is to replace by
input type="button" class="btn btn-danger me-1" name="cancel" id="cancel" onClick="history.go(-1);return true;" value=". _CANCEL . "


I created a PR https://github.com/XOOPS/XoopsCore25/pull/1481

or is there a better solution?



5
goffy
Re: sbadmin5 - Bootstrap 5 Theme
  • 2024/9/29 9:11

  • goffy

  • Just can't stay away

  • Posts: 549

  • Since: 2010/12/27


if someone needs help for creation of Modulemenu Class then please let me know



6
goffy
Re: sbadmin5 - Bootstrap 5 Theme
  • 2024/9/27 8:00

  • goffy

  • Just can't stay away

  • Posts: 549

  • Since: 2010/12/27


the tutorial you can find in the readme



7
goffy
sbadmin5 - Bootstrap 5 Theme
  • 2024/9/25 18:15

  • goffy

  • Just can't stay away

  • Posts: 549

  • Since: 2010/12/27


As I need a modern dashboard theme for my wgSimpleAcc and wgFilemanager I started to work on SbAdmin5 which is based on Bootstrap 5, with minimal custom styling, suitable theme in building intranet, web apps and dashboards

Features
--------
- Closed Site Template (For Intranet Website)
- Support for XOOPS myMenus Module
- SCSS based theme with built in scripts for compiling Pug and CSS
- A flexbox based layout with fixed and static navigation options
- Toggleable sidebar menu with intuitive toggled states
- Custom panel styling
- Customizable main menu

A detailed description you can find here: https://github.com/XoopsThemes/sbadmin5/blob/master/README.md

Currently I work on implementing my modules. If you want to have a specific other module in this theme then please create an issue on: https://github.com/XoopsThemes/sbadmin5/issues

Download: https://github.com/XoopsThemes/sbadmin5

Don't hesitate to fork and/or contribute in improving this theme



8
goffy
Re: activate block by default
  • 2024/9/3 16:09

  • goffy

  • Just can't stay away

  • Posts: 549

  • Since: 2010/12/27


hi, thank you I will test it and report back the solution :)



9
goffy
Re: wgFilemanager released for testing and contribution
  • 2024/8/30 7:29

  • goffy

  • Just can't stay away

  • Posts: 549

  • Since: 2010/12/27


hi, thank you, should be fixed meanwhile



10
goffy
activate block by default
  • 2024/8/24 9:52

  • goffy

  • Just can't stay away

  • Posts: 549

  • Since: 2010/12/27


is there a way to activate a block automatically, means, that after installation the block is already activated




TopTop
(1) 2 3 4 ... 44 »



Login

Who's Online

350 user(s) are online (215 user(s) are browsing Support Forums)


Members: 0


Guests: 350


more...

Donat-O-Meter

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

Latest GitHub Commits