31
pacho
Re: htaccess rewrite trick
  • 2008/7/19 4:30

  • pacho

  • Quite a regular

  • Posts: 235

  • Since: 2005/6/7 2


Hi, I have this sample code for avoid hotlinking (but I have not tried )

Quote:

RewriteEngine On
RewriteCond %{REQUEST_FILENAME} .*jpg$|.*gif$|.*png$|.*zip$|.*pdf$|.*rar$ [NC]
RewriteCond %{HTTP_REFERER} !^$
RewriteCond %{HTTP_REFERER} !yoursite\.com [NC]
#RewriteCond %{HTTP_REFERER} !friend-site\.com [NC]
RewriteCond %{HTTP_REFERER} !google\. [NC]
RewriteCond %{HTTP_REFERER} !search.php\?query=cache [NC]
RewriteRule .*\.(gif|jpg|pdf|zip|rar)$ http://your-tricky-image.jpg [R,NC]


Line with "friend-site" is to allow a partner site link your images.
Line with "google" is to allow google to show your images.
Line with "your-tricky-image.jpg" put any image (1600x1200 o more recommended ).

If you don't want to show any image you can change this to:

Quote:
RewriteRule (.*) /your-code.php?param=$1


I hope this is usefull!



32
pacho
Re: XoopsGallery2 - Lets get the bugs out!
  • 2008/7/13 3:37

  • pacho

  • Quite a regular

  • Posts: 235

  • Since: 2005/6/7 2


Well, it's solved, just do not activate url-rewrite in Gallery, that's all



33
pacho
Re: webphoto : photo album module
  • 2008/7/12 4:52

  • pacho

  • Quite a regular

  • Posts: 235

  • Since: 2005/6/7 2


Excellent news! A must try module.
This is like a substitute for myalbum (dead module) ¿?



34
pacho
Re: XoopsGallery2 - Lets get the bugs out!
  • 2008/7/12 0:01

  • pacho

  • Quite a regular

  • Posts: 235

  • Since: 2005/6/7 2


Hi!
I am testing xoopsgallery v2_1_rc4 in a XOOPS version 2.3.0 beta1, updated engine to Gallery 2.2.5, installation and configuration seems to work very good.

But I am having an issue, when I access gallery from mysite/modules/xoopsgallery it reads thumbnails perfect but links don't work, links are mysite/modules/xoopsgallery/v/album_name and this gave a 404 page error, meanwhile engine works well mysite/modules/xoopsgallery/engine/v/album_name.

Any hints about this?



35
pacho
Re: Graphic title instead of text title for Recent news block
  • 2008/4/23 19:53

  • pacho

  • Quite a regular

  • Posts: 235

  • Since: 2005/6/7 2


Hi ramonense, maybe you can implement sIFR technology. Look at http://www.mikeindustries.com/blog/sifr/ (Scalable Inman Flash Replacement (sIFR) is an open source JavaScript and Adobe Flash based technology that enables the replacement of text elements on HTML web pages with Flash equivalents)



36
pacho
Re: Formulize / Pageworks /MySQL
  • 2008/4/7 15:51

  • pacho

  • Quite a regular

  • Posts: 235

  • Since: 2005/6/7 2


Thanks a lot Julian. I will test it for sure.

Juanca



37
pacho
Re: Formulize / Pageworks /MySQL
  • 2008/4/2 4:18

  • pacho

  • Quite a regular

  • Posts: 235

  • Since: 2005/6/7 2


* bump *



38
pacho
Re: Google Apps
  • 2008/4/2 4:14

  • pacho

  • Quite a regular

  • Posts: 235

  • Since: 2005/6/7 2


Interesting issue, sorry I can't help you, I am willing to know how to deal with advanced email setup in Xoops.



39
pacho
Re: Formulize / Pageworks /MySQL
  • 2008/3/24 15:23

  • pacho

  • Quite a regular

  • Posts: 235

  • Since: 2005/6/7 2


Hi Julian,

I've read about next release of Formulize 2.4 and I am very interested to test it. I have some tables to work with and I want to try integration between Formulize + custom tables + Pageworks.
Is there any place to download latest version?

Regards,

JuanCa.



40
pacho
Re: XoopsTree usage
  • 2008/3/19 21:21

  • pacho

  • Quite a regular

  • Posts: 235

  • Since: 2005/6/7 2


Hello kerkyra. I am not an expert using class but I think you can extend xoopstree class and customize the result. You can define a customized class extending xoopstree and filter the results or just create a function to do it.




TopTop
« 1 2 3 (4) 5 6 7 8 »



Login

Username:
Password:

Lost Password? Register now!

Who's Online

48 user(s) are online (22 user(s) are browsing Support Forums)


Members: 0


Guests: 48


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