1081
AxelF
Re: xoRewriteModule - Simplified, Short URLs?
  • 2020/11/12 8:47

  • AxelF

  • Theme Designer

  • Posts: 238

  • Since: 2004/7/12


Good morning,

thanks, that heloed. For publisher it works fine.

For my other modules all cloned from myalbum is it weorking.

But, one problem I have with xlanguage. Have a look what it´s doing to the URL

https://kenner-mask.com/merchandise/[de]Kataloge-und-Hefte[/de][en]Catalogs-and-booklets[/en]/cat,80,0,12,0,list.html

htaccess code for myalbum (name is here merchandise)

#Merchandise
RewriteRule ^merchandise/submit.html                                                                                         modules/merchandise/submit.php  [L,NC,QSA]
RewriteRule ^merchandise/submit.php                                                                                         modules/merchandise/submit.php  [L,NC,QSA]
RewriteRule ^merchandise/ratephoto.php                                                                                         modules/merchandise/ratephoto.php  [L,NC,QSA]
RewriteRule ^merchandise/cat,([0-9]+),([0-9]+),([0-9]+),([0-9]+),([a-zA-Z0-9]+).html                                         modules/merchandise/viewcat.php?cid=$1&uid=$2&num=$3&pos=$4&view=$5  [L,NC,QSA]
RewriteRule ^merchandise/rss,([0-9]+),([0-9]+),([0-9]+),([0-9]+),([a-zA-Z0-9]+).rss                                            modules/merchandise/rss.php?cid=$1&uid=$2&num=$3&pos=$4&view=$5  [L,NC,QSA]
RewriteRule ^merchandise/index,([0-9]+),([0-9]+).html                                                                         modules/merchandise/index.php?num=$1&pos=$2  [L,NC,QSA]
RewriteRule ^merchandise/rate,([0-9]+).html                                                                                 modules/merchandise/ratephoto.php?lid=$1  [L,NC,QSA]
RewriteRule ^merchandise/top,([0-9]+),([0-9]+).html                                                                         modules/merchandise/topten.php?hit=$1&rate=$2  [L,NC,QSA]
RewriteRule ^merchandise/(.*?)/index.php                                                                                     modules/merchandise/index.php  [L,NC,QSA]
RewriteRule ^merchandise/(.*?)/comment_(.*?)                                                                                  modules/merchandise/comment_$2  [L,NC,QSA]
RewriteRule ^merchandise/(.*?)/photo.php(.*?)                                                                                  modules/merchandise/photo.php$2  [L,NC,QSA]
RewriteRule ^merchandise/(.*?)/viewcat.php(.*?)                                                                              modules/merchandise/viewcat.php$2  [L,NC,QSA]
RewriteRule ^merchandise/(.*?)/ratephoto.php(.*?)                                                                              modules/merchandise/ratephoto.php$2  [L,NC,QSA]
RewriteRule ^merchandise/(.*?)/list.tag.php(.*?)                                                                              modules/merchandise/list.tag.php$2  [L,NC,QSA]
RewriteRule ^merchandise/(.*?)/view.tag.php(.*?)                                                                              modules/merchandise/view.tag.php$2  [L,NC,QSA]
RewriteRule ^merchandise/(.*?)/submit.php(.*?)                                                                                modules/merchandise/submit.php?$2&title=$1  [L,NC,QSA]
RewriteRule ^merchandise/(.*?)/submit,([0-9]+).html                                                                            modules/merchandise/submit.php?cid=$2&title=$1  [L,NC,QSA]
RewriteRule ^merchandise/(.*?)/cat,([0-9]+),([0-9]+),([0-9]+),([0-9]+),([a-zA-Z0-9]+).html                                     modules/merchandise/viewcat.php?cid=$2&uid=$3&num=$4&pos=$5&view=$6  [L,NC,QSA]
RewriteRule ^merchandise/(.*?)/rss,([0-9]+),([0-9]+),([0-9]+),([0-9]+),([a-zA-Z0-9]+).rss                                     modules/merchandise/rss.php?cid=$2&uid=$3&num=$4&pos=$5&view=$6  [L,NC,QSA]
RewriteRule ^merchandise/(.*?)/(.*?)/edit,([0-9]+),([0-9]+).html                                                            modules/merchandise/editphoto.php?lid=$3&cid=$4   [L,NC,QSA]
RewriteRule ^merchandise/(.*?)/(.*?)/rate,([0-9]+),([0-9]+).html                                                            modules/merchandise/ratephoto.php?lid=$3&cid=$4   [L,NC,QSA]
RewriteRule ^merchandise/(.*?)/(.*?)/submit.php?cid=([0-9]+)                                                                modules/merchandise/submit.php?cid=$3&title=$1  [L,NC,QSA]
RewriteRule ^merchandise/(.*?)/(.*?)/comment_(.*?)                                                                          modules/merchandise/comment_$3  [L,NC,QSA]
RewriteRule ^merchandise/(.*?)/(.*?)/photo.php(.*?)                                                                          modules/merchandise/photo.php$3  [L,NC,QSA]
RewriteRule ^merchandise/(.*?)/(.*?)/viewcat.php(.*?)                                                                          modules/merchandise/viewcat.php$3  [L,NC,QSA]
RewriteRule ^merchandise/(.*?)/(.*?)/ratephoto.php(.*?)                                                                      modules/merchandise/ratephoto.php$3  [L,NC,QSA]
RewriteRule ^merchandise/(.*?)/(.*?)/list.tag.php(.*?)                                                                      modules/merchandise/list.tag.php$2  [L,NC,QSA]
RewriteRule ^merchandise/(.*?)/(.*?)/view.tag.php(.*?)                                                                      modules/merchandise/view.tag.php$2  [L,NC,QSA]
RewriteRule ^merchandise/(.*?)/(.*?)/index.php                                                                                 modules/merchandise/index.php  [L,NC,QSA]
RewriteRule ^merchandise/(.*?)/(.*?)/([0-9]+),([0-9]+).html                                                                 modules/merchandise/photo.php?lid=$3&cid=$4  [L,NC,QSA]
RewriteRule ^merchandise/(.*?)                                                                                                 modules/merchandise/$1  [L,NC,QSA]


How can I fix this?



1082
Mamba
Experimental modules: mTools and Quotes
  • 2020/11/12 8:38

  • Mamba

  • Moderator

  • Posts: 11373

  • Since: 2004/4/23


Resized Image


Resized Image


Here are two experimental modules to test a new approach to module building.

Originally, when I started to add namespaces to our modules, I also added common classes in /class/Common/

The plan was to group them together, so later on we could move them to one common location for all modules. The new central location would become a kind of "incubator" for common functionality, and the Core team could decide which ones could eventually be moved into XMF (XOOPS Module Framework)

Inspired by what Tad did with his "TadTools", I started to work on "MTools", and this is the first experimental version:

1) Install first the MTools

2) Then you can install "Quotes" module to test it

Thanks to Namespaces, we can now call all the "Common" classes directly from MTools.

Bugs are expected, since this is still in "experimental" phase, but the module should install and when you install the Testdata, it should (hopefully), at least in Admin, show the Quotes and Authors.

FYI: Blocks have not been installed/tested, so don't test them.

REQUIREMENTS:
- XOOPS 2.5.10
- PHP 7+ (works on PHP 8)
Support XOOPS => DONATE
Use 2.5.10 | Docs | Modules | Bugs



1083
Mamba
Re: New Module and Theme
  • 2020/11/12 7:54

  • Mamba

  • Moderator

  • Posts: 11373

  • Since: 2004/4/23


That's so awesome!!!

Thank you!

Viva XOOPS!
Support XOOPS => DONATE
Use 2.5.10 | Docs | Modules | Bugs



1084
heyula
New Module and Theme
  • 2020/11/12 7:47

  • heyula

  • Theme Designer

  • Posts: 594

  • Since: 2008/4/24


New modules and theme created with ModuleBuilder are coming soon.

Resized Image

Resized Image


goffy
for ModuleBuilder 3.04 Final thank you so much again



1085
Mamba
XOOPS Statistics 1.0 RC-1 released
  • 2020/11/12 4:44

  • Mamba

  • Moderator

  • Posts: 11373

  • Since: 2004/4/23


Resized Image


Statistics 1.0 RC-1 is released for testing and contributions

Statistics is for collecting visitor statistics, and to provide info about your PHP Configuration.

DOWNLOAD: https://github.com/mambax7/statistics/releases/

FORK:https://github.com/XoopsModules25x/statistics/

REQUIREMENTS:
- XOOPS 2.5.10
- PHP 7+ (works on PHP 8)
Support XOOPS => DONATE
Use 2.5.10 | Docs | Modules | Bugs



1086
Mamba
Re: ModuleBuilder 3.04 Final
  • 2020/11/12 4:36

  • Mamba

  • Moderator

  • Posts: 11373

  • Since: 2004/4/23


Awesome!!!!

Thank you! 

Viva XOOPS!  Very Happy 

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



1087
goffy
ModuleBuilder 3.04 Final
  • 2020/11/11 19:46

  • goffy

  • Just can't stay away

  • Posts: 535

  • Since: 2010/12/27


I released ModuleBuilder 3.04 Final

many thanks to everyone who contributed to this great module.

Of course, there is a lot of space for further developments, but I have meanwhile built the basic structure from wgGallery, wgTransifex and wgSimpleAcc with ModuleBuilder, and I hope I have found out most of the bugs.

In order to promote XOOPS I will put it again on phpclasses.org, therefore please vote for it :)



1088
goffy
Re: wgSimpleAcc available for testing
  • 2020/11/11 16:18

  • goffy

  • Just can't stay away

  • Posts: 535

  • Since: 2010/12/27


many thanks

but my modules are not from me alone, therefore each contributor is also a winner :)



1089
Mamba
Re: wgSimpleAcc available for testing
  • 2020/11/11 14:23

  • Mamba

  • Moderator

  • Posts: 11373

  • Since: 2004/4/23


It is always great to see new modules being developed for XOOPS, and Goffy is always so innovative in his development! 

His use of the chart componenents is great, and I see a lot of opportunities for re-use in other modules, in addition to use it in our Admin area!

Thanks, Goffy, for a very well done job and for sharing it with us!

For those who have missed it - Goffy just won  PHP Innovation Award from PHPClasses with his wgTeams module

This is definitely an awesome news for the XOOPS Community!

This is already a second win for Goffy! He previously won the August contest with his wgGallery module!

Goffy, we're very proud of you and your achievement!!!

Viva XOOPS!!! 

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



1090
heyula
Re: xoRewriteModule - Simplified, Short URLs?
  • 2020/11/10 17:33

  • heyula

  • Theme Designer

  • Posts: 594

  • Since: 2008/4/24


Hi;

1 - first go to the publisher's options section
Resized Image

2- make the necessary settings as in the picture
then located in the home directory
.htaccess add

RewriteEngine   On

#For Ajax Rating -
RewriteRule ^modules/publisher/index.php/([a-z]+).([0-9.]+)/include/ajax_rating.phpmodules/publisher/include/ajax_rating.php?%{QUERY_STRING}
RewriteRule ^publisher.([a-z]+).([0-9.]+)/include/ajax_rating.phpmodules/publisher/include/ajax_rating.php?%{QUERY_STRING}

#SEO .Htaccess setting
RewriteRule ^publisher.([a-z]+).([0-9.]+)/  modules/publisher/index.php?seoOp=$1&seoArg=$2

# RewriteRule     ^ss.([a-z]+).([0-9.]+)/  modules/publisher/index.php?seoOp=$1&seoArg=$2


.htaccess code added

Resized Image


.htaccess no code added

Resized Image


I tried and works for you.

Demo:
https://demo.erenyumak.com/publisher.item.8/




TopTop
« 1 ... 106 107 108 (109) 110 111 112 ... 29424 »



Login

Who's Online

119 user(s) are online (86 user(s) are browsing Support Forums)


Members: 0


Guests: 119


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