31
reynaldo
Re: FAQ problem (strange URL)
  • 2004/3/12 0:11

  • reynaldo

  • Not too shy to talk

  • Posts: 106

  • Since: 2004/2/13


Béla:

I'll take a look at this later and try to determine if it is related to the hack.



32
reynaldo
Re: FAQ problem (strange URL)
  • 2004/3/11 13:22

  • reynaldo

  • Not too shy to talk

  • Posts: 106

  • Since: 2004/2/13


karuna:

If your default module is other than News, edit line 20 of loadpage.php, the one that reads like this:
//What is your default module? just enter the Dir name, for example, "news" or "newbb" etc.
$su_defaultmodule "[size=medium][b]news[/b][/size]";


There, you have to write the DIR for your default module. If you don't have a default module, just set it to nothing, which means this:
//What is your default module? just enter the Dir name, for example, "news" or "newbb" etc.
$su_defaultmodule "[b][/b]";




33
reynaldo
Re: FAQ problem (strange URL)
  • 2004/3/11 13:17

  • reynaldo

  • Not too shy to talk

  • Posts: 106

  • Since: 2004/2/13


Bélas:

I think there is more to that than just the link not including "www.".

Read my reply to eikke about templates with incorrect <a href> statements.



34
reynaldo
Re: FAQ problem (strange URL)
  • 2004/3/11 13:13

  • reynaldo

  • Not too shy to talk

  • Posts: 106

  • Since: 2004/2/13


Quote:

BelaS wrote:
Thanks again, Reynaldo. One more question: certain interstitial ad codes on my sites translate the + signs in the hacked URLs into %20, thus breaking the link. Would it damage anything in the way the hack works if I changed the + signs to - signs? And where would I change that?


Béla:
The hack needs the "+" sign to separate the script name from the dirs and the arguments. The way it is coded, it is not possible to change "+" to "-" and I don't think it would be possible in the future neither unless a customized version is written for your site.





35
reynaldo
Re: FAQ problem (strange URL)
  • 2004/3/11 13:09

  • reynaldo

  • Not too shy to talk

  • Posts: 106

  • Since: 2004/2/13


eikke:

Most of the times, those errors are caused by a template using urls which does not complies with HTML standards.

For example, a common error is using the url like:
<a href=/dir/page.html>text</a>

while the correct way to do it is:
<a href="/dir/page.html">text</a>


The same happens with <img> statements. You can see if that is the case by checking the original template, or deactivating ShortUrls and viewing page source.

Unfortunately, I don't think there is a solution for this other than editing the template as forcing it into the hack, could break other modules or cause further problems.



36
reynaldo
Re: FAQ problem (strange URL)
  • 2004/3/5 11:27

  • reynaldo

  • Not too shy to talk

  • Posts: 106

  • Since: 2004/2/13


Béla:

Quote:
...and don't try to fool me with this "I'm no guru" stuff...

No, I'm serious, I'm not!

Béla, what you want can be easily done but you have to add a rule for each url format. For example, for your URL above, try something like the following (I haven't tested this, it is just an example):

RewriteRule ^/xoops/modules/wfsection/article.php?articleid=([0-9]+)http://www.internetadsales.com/m-wfsection+article+articleid-$1.html [L,R=301]



37
reynaldo
Real weight for default module
  • 2004/3/5 9:31

  • reynaldo

  • Not too shy to talk

  • Posts: 106

  • Since: 2004/2/13


Hi:

I don't know if this has been suggested/asked before, but I think it would be great if you could assign real weight for all modules/blocks appearing at the center of the page.

Let me explain this. Normally,the main page is controlled by the default module, let's say News, but when you add center blocks to this page, they push down the content from News.

For example, you add block "Recent Comments" and "Recent News" as center blocks, the page is seeing like this:
[Recent Comments]
[ Recent News ]
[ NEWS ]

What i'm requesting is that you can also assign a weight value to the default module. That way, you could you the default module content before any blocks, in between, or after, whatever way you would like it.






38
reynaldo
Re: Could Xoops be this...?
  • 2004/3/5 9:20

  • reynaldo

  • Not too shy to talk

  • Posts: 106

  • Since: 2004/2/13


Snow77:

Just do a search for "multiple sites" or "multisites" or "multi-sites", you will find a thread started by me with some interesting ideas.

I'm running XOOPS from multiple websites sharing only users.



39
reynaldo
Re: FAQ problem (strange URL)
  • 2004/3/5 8:50

  • reynaldo

  • Not too shy to talk

  • Posts: 106

  • Since: 2004/2/13


Bela:

I'm glad everything is working excellent for you
I'm having the same results with my sites.
I noticed you mentioned you use XF/WF-Sections, does it works ok with my hack? I haven't tested it as if I remember correctly, it requires header.php file to be replaced with its own version.

About your question with Mod_Rewrite, I'm not a guru either, LOL, and I didn't quite understand your question, but if you meant you are trying to convert your old urls to ShortURLs format using Mod_Rewrite, I can't say it can't be done, but I think it would require lots of rules to be added into the .htaccess file

Or did you say that after the external redirect, my hack stops working?



40
reynaldo
Re: FAQ problem (strange URL)
  • 2004/3/4 15:16

  • reynaldo

  • Not too shy to talk

  • Posts: 106

  • Since: 2004/2/13


Tl:

If you want to keep robots out from a directory, the safe way is with a robots.txt file as google can index some dynamic urls if your page has high pageranking.

Anyway, I'll look into adding module exclusion as soon as all the big details are done.




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



Login

Who's Online

244 user(s) are online (150 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