71
urbanspacema
Re: HOWTO: xoRewriteModule - Simplified, Short URLs (remove /modules)

ps.
it works if my .htaccess is
Options +FollowSymlinks
RewriteEngine On
RewriteRule 
^petizioni/(.*)$ http://localhost/modules/xpetitions/$1 [QSA,L]



Update:

My mistake, I don't have updated these two lines

$_SERVER['REQUEST_URI']  = str_replace$value 'modules/'.$key , @$_SERVER['REQUEST_URI'] ) ;
$_SERVER['HTTP_REFERER'] = str_replace$value 'modules/'.$key , @$_SERVER['HTTP_REFERER'] ) ;
http://www.ultrasonica.it
http://www.noisecollective.net



72
urbanspacema
Re: HOWTO: xoRewriteModule - Simplified, Short URLs (remove /modules)

Hello everybody, i tested this hack but it does not work.

then, the url of the links are rewritten correctly but when I click on a link gives me an error message.

for example with the xpetitions module that I want to call 'petizioni' when I click on the linkhttp://localhost/petizioni returns a page which says

The requested URL /modules/xpetitionswas not found on this server.


my .htaccess
Options +FollowSymlinks
RewriteEngine On
RewriteRule 
^petizioni/(.*)$ /modules/xpetitions/$[QSA,L]


how can I solve?
tnx

Urban
http://www.ultrasonica.it
http://www.noisecollective.net



73
urbanspacema
new modules and 'online' table

hello, I'm working on a new module. I always need to know in real time what users are logged on the site.

I saw that there is a table online but I have two questions:

1. how often is updated?
2. how do I retrieve the list of users online?

@ this moment my code is

$sql "SELECT s.*, t.* FROM ".$xoopsDB->prefix('online')." s, ".$xoopsDB->prefix('users')." t WHERE t.uid = s.online_uid ORDER BY s.online_updated DESC";

    
$result $xoopsDB->query($sql);
http://www.ultrasonica.it
http://www.noisecollective.net



74
urbanspacema
Re: [design] The design framework

as I said in a previous post, if you want a clean html code and made changes only via css, you could use a framework css as www.960.gs. I use it, and besides being very flexible, I also resolves some compatibility issues between browsers.
http://www.ultrasonica.it
http://www.noisecollective.net



75
urbanspacema
Re: Xoops debug improvement

hello, me and a friend are working on some modules that use jQuery / ajax in administration and user side. Debugging of XOOPS blocking ajax and interferes with the operation. should find a solution. I for the moment disable debugging.
http://www.ultrasonica.it
http://www.noisecollective.net



76
urbanspacema
Xoops debug improvement

I found this system very useful for debugging and analyze code php. You can enter as an additional method of debugging in XOOPS?

http://particletree.com/features/php-quick-profiler
http://www.ultrasonica.it
http://www.noisecollective.net



77
urbanspacema
Re: Empty module

I'm sorry but this module does not go well. lacking throughout the administration, templates, block ... that we can start from scratch. Once the module was MODGEN but in XOOPS 2.3 seems to not work...
http://www.ultrasonica.it
http://www.noisecollective.net



78
urbanspacema
Empty module

anyone know if there is a blank module to use as a base for creating new modules?
http://www.ultrasonica.it
http://www.noisecollective.net



79
urbanspacema
Re: Yogurt.. let's start hacking

.oops ... sorry for the mistake.
Urban
http://www.ultrasonica.it
http://www.noisecollective.net



80
urbanspacema
Re: Yogurt.. let's start hacking

webmistar, i try your module..
in preference settings (admin side) missing all the translations and do not see anything ...

scrapbook, photos and friends are permanent disabled... are normal?

this module missing audio section.... why?
http://www.ultrasonica.it
http://www.noisecollective.net




TopTop
« 1 ... 5 6 7 (8) 9 10 11 ... 19 »



Login

Who's Online

244 user(s) are online (153 user(s) are browsing Support Forums)


Members: 0


Guests: 244


more...

Donat-O-Meter

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

Latest GitHub Commits