1
reynaldo
Re:TRUE Multisites hack.... at last!
  • 2004/10/17 18:02

  • reynaldo

  • Not too shy to talk

  • Posts: 106

  • Since: 2004/2/13


I have about 10 sites running on XOOPS with independent databases and files and sharing just a few tables.

The way I did it was with a simple modification to the database.php file. Also the hack can be turned on/off editing a line at mainfile.php

I never had any problems caused by sharing tables.



2
reynaldo
Getting current module name
  • 2004/10/17 9:29

  • reynaldo

  • Not too shy to talk

  • Posts: 106

  • Since: 2004/2/13


Hello,

I don't know if this is the appropriated forum for this question: how can I get the current module name?
for example, let’s say I want to code a block which display current module name.
How can I get it to display it using XOOPS API and without having to resort to cheap tricks like extracting it from the current URL? Is this possible? I read XOOPS API documentation but couldn’t find anything related.

Thanks for your help.



3
reynaldo
Hello Folks! :-)
  • 2004/10/17 9:21

  • reynaldo

  • Not too shy to talk

  • Posts: 106

  • Since: 2004/2/13


Hello,

Sorry I haven't had much time lately to continue developing this hack. I've found a lot of discussion regarding this hack if it works, it if doesn't work, if it increases your pagerank, etc.. etc..

I'll try to summarize:

a) It works!, I'm using it and a lot of other webmasters are using it too.

b) It does have problems with more than 90% of the modules out there. Most of these problems are caused by incorrect coding or because some modules/templates do not follow Xoops/HTML guidelines.

c) You can get it to work with almost every module, but you have to be mentally prepared to edit the non-working-module templates to fix incorrect references to images/paths. Some modules (like News module from Xoops) work without any problem.

d) It DOES NOT INCREASE PageRank. No module/hack can increase pageranking for you. PageRanking is a Google measure of the popularity of a page. It is based in a lot of factors, specially, how many sites/pages are linking to your site, their pagerank, and how many outgoing links they have besides yours. The only way to get a higher PageRank is by getting (directly or indirectly) more sites to link to yours.

e) I never promised this hack would increase PageRank. I said it could *help* your pages getting indexed by the search engines ( you can check my first post). At the time I first started using it, Google was the only search engine indexing dynamic URLs, and even Google takes its time to index a dynamic site because they don't want to overload your database server asking for 300 Urls/Sec.

f) It is true that if you install this hack and later decide to stop using it, you could get a lot of 404 errors. But it is also true that those 404 errors are from people coming to your site from urls indexed by Search Engines *because* of the hack. Most of those urls probably wouldn't have been indexed if the hack wasn't used at first place.

g) I haven't tested it with newer XOOPS versions. The only version I tested with was 2.0.6, I'll test it with newer versions soon.

h) I think bbpixel.com is using a modified version of this hack. They haven't contacted me but it seems it is working perfectly for them.

i) I saw somewhere a version 0.7 for download, this shocked me as I don't remember releasing another version after 0.4, LOL . In fact, the last version I was working on, had a 0.5 on it.

I'll make my best to continue working on this hack, but if there is another developer who would like to continue working on it, I'll be more than glad as long as he/she share the credits.

As always, please feel free to share your questions u opinions.



4
reynaldo
Re: ShortURLs hack
  • 2004/6/29 20:14

  • reynaldo

  • Not too shy to talk

  • Posts: 106

  • Since: 2004/2/13


Quote:

Rachel wrote:
Hello, Is there any progress on making the short url hack module selective? It stops xooperstore running completely and it's such a good module, I no want to loose it.

Thanks all.


Rachel:

I'm working on it. I'm sorry I don't have much free time lately :(

I still haven't tested it on 2.07 but will get to that too.



5
reynaldo
Re: 2.07
  • 2004/6/22 17:38

  • reynaldo

  • Not too shy to talk

  • Posts: 106

  • Since: 2004/2/13


Shivaji:

Did you test the hack with 2.07? did it work?

I haven't had time to test it or to get the next version of the hack ready.



6
reynaldo
Re: Template problem with news print grafic...
  • 2004/6/7 6:54

  • reynaldo

  • Not too shy to talk

  • Posts: 106

  • Since: 2004/2/13


Shivaji:

What version of the hack are you currently using?
I remember we had this problem sometime ago but it was promptly fixed.
Right now I'm using the hack at almost all of my sites and I don't have any problem updating or installing modules.

Also, it is not possible to exclude Admin area (yet!). I'm currently working on thenext version of the hack and if everything proceeds as planned, we could be able to skip some modules



7
reynaldo
Re: Template problem with news print grafic...
  • 2004/6/5 19:05

  • reynaldo

  • Not too shy to talk

  • Posts: 106

  • Since: 2004/2/13


Script_Fu:

You're welcome! It is a pleasure to help a XOOPS fellow


About your first "shorturl" at google... Congratulations!
Googlebot will keep coming to index the rest of the urls.




8
reynaldo
Re: Short URL Hack and Existing URLs?
  • 2004/6/5 19:01

  • reynaldo

  • Not too shy to talk

  • Posts: 106

  • Since: 2004/2/13


Malexandria:

As TL said, ShortURLs actually expand the url
It used to make urls shorter when it was first released (from version 0.1 to 0.3) but a few changes were necessary to make the hack "dynamically" compatible with all modules.

Right now it is compatible with almost every module. However, some templates do not follow HTML standards and some modules do not follow XOOPS modules programming guidelines and the hack ocassionally may break an image.

It have been tested with all the modules supplied originally with XOOPS 2.06

What it does is to convert URLs like:
https://xoops.org/modules/newbb/reply. ... 0216&viewmode=flat&order=
(not indexable by all Search Engines)

into:
https://xoops.org/m-newbb+reply+forum- ... viewmode-flat-order-.html
(fully indexable by every search engine)

This change is completely reversible and the original URLs continue working, so you won't end up with a lot of dead URLS.

Also, you can turn the hack on/off by simply removing a line from mainfile.php

You can see it working at my test site at: http://www.wtmmail.com



9
reynaldo
Re: Template problem with news print grafic...
  • 2004/6/5 2:41

  • reynaldo

  • Not too shy to talk

  • Posts: 106

  • Since: 2004/2/13


Script_fu:

I think this time the error in on my side

Edit the template page and where it says:
<img 
src
="images/print.gif" alt="<{$lang_printer}>" /></a>


make sure there is not a new line between "<img" and "src="
like this:
<img src="images/print.gif" alt="<{$lang_printer}>" /></a>


I think this is the cause for the error (a really stupid one )

By the way, the file you have to edit is news_article.html
I think news_archive is already ok.



10
reynaldo
Re: Template problem with news print grafic...
  • 2004/6/5 2:18

  • reynaldo

  • Not too shy to talk

  • Posts: 106

  • Since: 2004/2/13


SCript_fu:

Let me see the url to your site and I would take a look as soon as possible.





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



Login

Username:
Password:

Lost Password? Register now!

Who's Online

72 user(s) are online (43 user(s) are browsing Support Forums)


Members: 0


Guests: 72


more...

Donat-O-Meter

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

Latest GitHub Commits