21
highlander
Re: Rewriting module URLs
  • 2005/12/7 10:34

  • highlander

  • Not too shy to talk

  • Posts: 151

  • Since: 2004/12/5


I doubt you'll find an .htaccess in your XOOPS installation. This is because .htaccess only works on Linux servers and not on windows machines.
This is also the reason it doesn't come as standard with xoops.

A good tutorial can be found here : here

Greetings Highlander

p.s. the link is dead at the moment (at least for me) so I cant verify if I've posted the right one. Should be ok though.
So, I'm in the park wondering why frisbees get larger as they get closer when suddenly, it hits me...
www.AnimalPedigree.com



22
highlander
Re: .htaccess Rewriterule for the ? character
  • 2005/12/6 21:48

  • highlander

  • Not too shy to talk

  • Posts: 151

  • Since: 2004/12/5


*FIXED*

I am not quite sure why but I could only do this simple rewrite with the following code :

RewriteCond %{QUERY_STRING} ^topic=([0-9]+)&forum=([0-9]+)$
RewriteRule viewtopic.php /modules/newbb/viewtopic.php?topic_id=%1&forum=%[L]


I hope someone else will one day be helped by this.

Greetings Highlander

p.s. the escape charatar is an \
So, I'm in the park wondering why frisbees get larger as they get closer when suddenly, it hits me...
www.AnimalPedigree.com



23
highlander
.htaccess Rewriterule for the ? character
  • 2005/12/6 19:58

  • highlander

  • Not too shy to talk

  • Posts: 151

  • Since: 2004/12/5


Hi All,

I have a non-xoops site which I have converted into a XOOPS site. All the content has been migrated into the new database and all is well.

I used the information in this thread to make sure that when 'old' content was accessed the user would be led to the new location.

the problem lies with the following line :
RewriteRule ^viewtopic.php?topic=([0-9]+)&forum=([0-9]+) /modules/newbb/viewtopic.php?topic_id=$1&forum=$[L]

This does not work as expected because of the ? character in the first part which is throwing things off. (the ? is a regular expression quantifier; or so google has told me)

So the question is how can I redirect my users to the right place if the first bit can't have a ? character in it. Or is there a way to escape the ? character ???

Kind regards, Highlander
So, I'm in the park wondering why frisbees get larger as they get closer when suddenly, it hits me...
www.AnimalPedigree.com



24
highlander
Re: How can I change the Web Links sorted by popularity initially?
  • 2005/12/5 10:21

  • highlander

  • Not too shy to talk

  • Posts: 151

  • Since: 2004/12/5


Hi Peter,

I am on 2.0.13.2 as well and the code I posted works fine. When I go into the weblinks module and click on a category all links show up sorted by popularity.

you get send to an url similar to this one :
http://www.yourdomain.com/modules/myl ... t.php?cid=9&orderby=hitsD

Have you cloned the template set and made the changes in the clone ?
Sounds like the changes just havent "stuck".

kind regards, Highlander
So, I'm in the park wondering why frisbees get larger as they get closer when suddenly, it hits me...
www.AnimalPedigree.com



25
highlander
Re: 403 error after restoring backup to new server
  • 2005/12/5 10:14

  • highlander

  • Not too shy to talk

  • Posts: 151

  • Since: 2004/12/5


Hi Chrisu,

I believe the error measge is saying that .htaccess might not be readable by Apache.
I believe your host should be able to fix this quickly if you give him/her a ring.

kind regards, Highlander
So, I'm in the park wondering why frisbees get larger as they get closer when suddenly, it hits me...
www.AnimalPedigree.com



26
highlander
Re: Custom block in custom page
  • 2005/12/4 19:57

  • highlander

  • Not too shy to talk

  • Posts: 151

  • Since: 2004/12/5


Hi Maker,

as you state youself this is not a XOOPS feature.
If however your custom block would always be in the same location on the custom page but with custom contents you might be able to hack something.

You could add a bit of code to your theme.html file to display a block if the block title equals the page name.
All you would do then is create your custom blocks and give them the same name as the custom pages.

I know its not pretty and not extremely easy administrate but it might help you out.

greetings Highlander
So, I'm in the park wondering why frisbees get larger as they get closer when suddenly, it hits me...
www.AnimalPedigree.com



27
highlander
Re: 403 error after restoring backup to new server
  • 2005/12/4 19:31

  • highlander

  • Not too shy to talk

  • Posts: 151

  • Since: 2004/12/5


Look to me like your host has screwed up. (you can't access the root of your site.)

My main suggestion would be to phone them up and shout. It frequently works for me

greetings Highlander
So, I'm in the park wondering why frisbees get larger as they get closer when suddenly, it hits me...
www.AnimalPedigree.com



28
highlander
Re: XoopsPoll Module
  • 2005/12/2 21:36

  • highlander

  • Not too shy to talk

  • Posts: 151

  • Since: 2004/12/5


Very strange situation,

I can't think of any way the xoopspoll module could even know about the other sites prefix. And as the error doesn't pop up in other places I think the module itself must be to blame.

You are not sharing cache folders between these two sites or something ??

your last sentence is
Quote:

Moreover, any change made on any of the sites is reflected to the other.

Do you mean this is also affecting other parts than just the polls module ?

greetings, a confused Highlander
So, I'm in the park wondering why frisbees get larger as they get closer when suddenly, it hits me...
www.AnimalPedigree.com



29
highlander
Re: XoopsPoll Module
  • 2005/12/2 15:14

  • highlander

  • Not too shy to talk

  • Posts: 151

  • Since: 2004/12/5


George,

It seems there is a bit of crosstalk going on between your databases.
As a safe gaurd it is good common practice to give different databases differtent names, different prefixes and different users who can connect.

This way it wont be possible to have one XOOPS install talking to the wrong database.

Also take a good look at your mainfile.php settings (on both sites) as that is where the connection information is stored.

Hope This Helps,
Highlander
So, I'm in the park wondering why frisbees get larger as they get closer when suddenly, it hits me...
www.AnimalPedigree.com



30
highlander
Re: New user activation mail fails
  • 2005/12/1 21:53

  • highlander

  • Not too shy to talk

  • Posts: 151

  • Since: 2004/12/5


I've found the following threads in this forum. possible they might help you :

registration problem
Xoops site cannot send email
Setting up email

There is much more information on this subject so I suggest you use the search feature to find it.

good luck, Highlander
So, I'm in the park wondering why frisbees get larger as they get closer when suddenly, it hits me...
www.AnimalPedigree.com




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



Login

Who's Online

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


Members: 0


Guests: 69


more...

Donat-O-Meter

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

Latest GitHub Commits