31
arrakis
Preventing bandwidth theft
  • 2006/7/22 11:26

  • arrakis

  • Just popping in

  • Posts: 50

  • Since: 2004/10/1


Hello all, I have a big problem on a site that I am running for a non-profit organization.

The problem is that hundreds of other sites are linking directly to this site. They display images, videos and offer downloads but they actually don't host these contents on their web space, but taking directly from this site, also not even commenting that those contents are taken from another site. For example they offer an image gallery but no image is on their own space, or give "download this video" but once you click the video is taken from a third site.

I don't know if I explained well (sorry for my not good english) the exact explaination is this:
http://en.wikipedia.org/wiki/Hotlink

This causes the website to be very slow and a very high usage of bandwidth.

I wrote to some of those sites, someone understand, other take out the hotlinks for a few time and put it back, other just don't care, but many many other are impossible to contact and even is not possible to stay for hours to browse the referer logs and write email requesting "please don't link directly".

I know that is possible to set-up Apache or IIS to prevent this problem, but the site is on a shared hosting and my requests to the admins were ignored since now.

I also know that is possible to write php scripts that read stored images (also videos, zip files, etc) in a hidden folder, with an impossible name (something like "kwx32jkhg564hgj767gh23j3as", known only from the script side) and then send to the browser as a streaming feed, but this method is very heavy for the server, expecially if there are thousands visitors a day and Gb's of traffic.

How is possible to prevent this?
Is there a way in XOOPS to protect the contents?
Or is there a way in general to do this?

Thanks for any suggestion or opinion.



32
arrakis
Re: Xoops multilanguage limits & possibilities
  • 2006/7/19 12:17

  • arrakis

  • Just popping in

  • Posts: 50

  • Since: 2004/10/1


no one with ideas/opinions?



33
arrakis
Xoops multilanguage limits & possibilities
  • 2006/7/18 17:24

  • arrakis

  • Just popping in

  • Posts: 50

  • Since: 2004/10/1


Hello all, I have been discussing a project with some people for a long time, it will be a site with 3 and more languages, about culture and language learning for foreigners.

It will run all the basic modules like news, sections, forum, download, links, few static pages, etc.

I was looking for information about multilanguage XOOPS and more or less seems to be experimental and have troubles and lots of issues.

The fact is that when someone switch to a language to another, everything must be in that language, contents too, for example for the news (or download, or links, etc) the admin will enter the same content in all the languages, and each user will display that content in that language, not just the same content with different GUI language.

Is that possible? If yes... am I going to run into troubles with stability, future upgrades, bugs, problems adding more languages, etc? Anyone has experienced that before?

The site must be a stable "once" setup and long lasting, and then the people working on the contents will get the keys and go on on their own.

Do you think that I should develope my own code or XOOPS will just be able to do it fine? Because I wouldn't like to stay a long time to setup XOOPS and then give all up to rewrite something from zero. I installed a lot of XOOPS in different languages, but never multilanguage.

Thanks in advance for any suggestion.



34
arrakis
eCal - This action is not authorized
  • 2006/7/14 15:02

  • arrakis

  • Just popping in

  • Posts: 50

  • Since: 2004/10/1


Hello all, I have a site with XOOPS 2.0.13.2 and eCal module (calendar) installed in it, but I also have other 10 modules.

I moved the site to a new hosting and everything is working fine except eCal, when I try to modify or insert a new event it tells:

"This action is no authorized.
If the page does not automatically reload click here."

I checked everything and all seems ok, also using the various debuggers... but I wasn't able to find the problem, at same time all the other modules are working fine.

Any idea??

PS: Possible that it has to do with Register_Globals=Off?



35
arrakis
Re: Xoops 2.2 release ?
  • 2005/7/7 16:30

  • arrakis

  • Just popping in

  • Posts: 50

  • Since: 2004/10/1


Quote:

Gambero wrote:
10th July.


Hello :) I have a 2.0.7 installation and since now everything worked fine, I missed the upgrades until now, waiting for the 2.2 version, but now I have some doubts about it, will it be released as an upgrade or it will be a full installation only? Because if it will be an upgrade then I can start since now to apply all the upgrade patches from my version to the actual version, then to the 2.2 version, or is better to wait and then do a major upgrade to 2.2 directly?

I ask that because I worked a lot on the graphic personalization and I modified a lot of modules templates, some of them I also translated and hacked in some details.

I'm also worried that if something goes wrong I will mess up everything and never get back the site as it is now considering that I am on a shared hosting and I don't have a server, so the backups, download and uploads will take hours themselves...



36
arrakis
Theme and relative Templates
  • 2005/6/27 14:58

  • arrakis

  • Just popping in

  • Posts: 50

  • Since: 2004/10/1


Hello all, yes, I've read the FAQhttps://xoops.org/modules/smartfaq/faq.php?faqid=208 :) But I have a question about cloning a theme and working on the templates of the new theme.

What I want to do is to renew my site, which is running good since a year now, but I don't want to work on the actual theme and templates while visitors see the works in progress, and I don't want to close the site for maintenance, I want to do a secondary theme and then work on it, on the theme.html and relative templates, but seems that the template sets are unique for all the themes, or am I missing something? I mean, is possibile to have a separate template set for each theme, should I clone a template set and associate it to a theme??

In the end, when all is ready, I just make the new theme the default one and the people will see it.

Thanks for the suggestions



37
arrakis
Re: moving site to new hosting result in empty blocks
  • 2005/6/21 9:47

  • arrakis

  • Just popping in

  • Posts: 50

  • Since: 2004/10/1


Quote:
Or delete the contents include templates_c to see if a new version of the theme can be generated.


I can't believe I spent DAYS trying to fix that and the only thing I had to do was detele all the files in templates_c

Thanks so much for the help, I would never guess that, now all works perfectly

Thanks also for the other useful info, always good to know.



38
arrakis
Re: moving site to new hosting result in empty blocks
  • 2005/6/20 16:09

  • arrakis

  • Just popping in

  • Posts: 50

  • Since: 2004/10/1


Hello TL, thanks for your answer.

Quote:

tl wrote:
two things you may want to check

1) make sure templates_c, cache, uploads are writable (chmod 777)


Yes, I have now 3 installations, one on the hosting, one on the test server, one on the local computer using a virtual instant server, all seems to be just fine and all the possible setup was checked, but same problem.


Quote:

2) tmp directory is writable by MySQL (you would have to check with your host about that).


That is ok too...

Is very strange because seems that it reads the db and the data about the blocks, all is like the old site, but nothing inside the blocks.

<div style="padding: 5px;">
  <
fieldset>
    <
legend class="blockTitle">Latest news</legend>
    <
div class="blockContent"></div>
  </
fieldset>
</
div>






39
arrakis
moving site to new hosting result in empty blocks
  • 2005/6/20 14:45

  • arrakis

  • Just popping in

  • Posts: 50

  • Since: 2004/10/1


Hello all, I am running XOOPS successfully on a site since more than a year, now for some reason I am moving to a new hosting, for the migration I followed step by step the tutorial on migrating XOOPS to a new hosting in the faq sections, but something very strange is happening: the site loads ok and the MySQL connection is ok too, the home page shows with all the blocks, but all the blocks are just empty! I also cannot access to the admin area and i can't login to check if something is not ok on the general conf, everything seems emptied even if all the database and the files are there, exact copy.

The only thing that makes me think that can be the reason is that I used phpmyadmin to export all the tables and data using the conversion option to make it all compatible with MySQL 4.0.xx that is running on the new hosting, while the old hosting is running MySQL 4.1.xx, when I imported the sql file I got a successfull message that all was fine.

I also tried to re-export and re-import the data including all the options, also in phpmyadmin I run the analize and repair function on all the tables after I imported all.

I also did all the same process with a small local server that I use for testing purposes, and I have the same results.

Anyone has any idea of what can be the reason for that strange behaviour?

As last info: I tryed to migrate the site some months ago, to test if was possible and easy to do it, and it worked fine, I got a perfect copy of the whole site to a test server, why this time the same process is not working on 2 different machines?

Thanks in advance for any hint



40
arrakis
SOLVED!!!
  • 2005/3/14 18:06

  • arrakis

  • Just popping in

  • Posts: 50

  • Since: 2004/10/1


After hours and hours melting my mind over the problem I had an illumination

I put an "exit" inside a php function, that was intendend to end the function, but it was ending the WHOLE XOOPS processes!!

So now is all ok!




TopTop
« 1 2 3 (4) 5 »



Login

Who's Online

217 user(s) are online (129 user(s) are browsing Support Forums)


Members: 0


Guests: 217


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