246971
Panos
Re: Security Problem
  • 2004/7/9 21:24

  • Panos

  • Friend of XOOPS

  • Posts: 87

  • Since: 2003/3/20


It would probably be useless to repeat that this has never happened to my site before and please note that they are being hosted on a shared server

In fact, I have spent the last 10 minutes clearing my browser's cache and cookies, re-logging into the site and doing fn + F5 (on my Mac), but nothing happened. If someone was watching me, he would think that I had gone completely bonkers

In any event, couldn't that particular issue be caused by a server misconfiguration?

I really don't believe that it's XOOPS's "fault"

I would really like to help more, but I really don't have a clue regarding this issue



246972
Groover
Re: Module template stopped updating
  • 2004/7/9 21:22

  • Groover

  • Just popping in

  • Posts: 23

  • Since: 2004/7/1 2


OK, so say my site is up and running and I need to modify my module, including the template. Is this the normal steps to take?:

1. Switch to default theme
2. Edit and test module/templates
3. Delete changed templates in custom theme
4. Generate changed templates in custom theme
5. Switch back to custom theme

If that is correct then it seems strange to me because:

1. It is not possible to make a quick minor tweak to a module, you have to close off public access to the site which you do it
2. Why did everything work fine for me for a week when I wasn't doing this cloning business but I was using a non-default template set?

Groover



246973
Mithrandir
Re: Module template stopped updating

Only the default template set is updated on module update - this is in order not to overwrite any customisations, you've made (pretty annoying to spend 50 hours on getting your templates right and then it's all messed up in a module update, don't you think? )

Therefore I suggest you switch to use the default template set until you are happy with the module's templates. In a development environment, I never clone my templates - too much work as you have also noted.

To re-generate the template in the cloned template set, first delete it, then generate.



246974
bluesoul
"Hopper Pass" multiple site registration.
  • 2004/7/9 21:02

  • bluesoul

  • Just popping in

  • Posts: 5

  • Since: 2004/6/10


I'm wondering how hard this would be to implement, or if an implementation exists. Ideally for me it would be 3 separate sites, and when a registration occurs the information is sent to all three sites, and afterwards, obviously, the user would be able to log in with their details on any of the sites. And perhaps during registration have a Yes/No radio box whether or not to do this, where Yes would run the hopper script and No would proceed with normal registration. Just a thought, I'm no programmer, though if someone can do it they're free to run with the idea. I was thinking maybe have one SQL database, held in common by all sites in the hopper, that holds only user info, while the rest of the site is governed as usual. This is just me speculating, I don't know how to do it or if it can be done.



246975
Mithrandir
Re: Security

The webserver user needs read access to all parts of the XOOPS installation as well as write access to three root folders:
cache
templates_c
uploads

I'm not so sure what would happen if you denied everything for all users except the website user (which is *sometimes* the file owner, but not always) - try it out with the most restrictive permissions and if it works, then great - if not, try some lighter permissions until it works.



246976
Groover
Re: Module template stopped updating
  • 2004/7/9 20:55

  • Groover

  • Just popping in

  • Posts: 23

  • Since: 2004/7/1 2


I clicked on "generate" and it added my templates to both default and custom. Now I see it is showing "Name:" at the start of the block, so it is now using my latest modification.

I change "Name:" to "Name2:", update the module and it is still showing "Name:"! Now if I look at the Templates section I see that the template has been updated for the Default template set but not for my custom template set. Only now there is no Generate button to get it into by custom template set. This is driving me nuts. Am I missing something obvious?

Groover



246977
ali44
Re: Extending the Titles of Submitted News
  • 2004/7/9 20:41

  • ali44

  • Just popping in

  • Posts: 86

  • Since: 2004/5/24


it's the stories modules block that I need to extend of the tittle from the frontpage. The block called "Top News" but it only shows like 5 charcter in the frontpage where I want the most recent topic (news) to be shown. I want to extend the tittle and I found these lines in news_top.php:

if ( strlen($title) > $options[2] ) {
$title = substr($title, 0, $options[2])."..";
}

Where $options[2] value is stored, so that I can modify it? Thanks.



246978
Groover
Re: Module template stopped updating
  • 2004/7/9 20:36

  • Groover

  • Just popping in

  • Posts: 23

  • Since: 2004/7/1 2


Maybe this is a clue. If I go to the templates section of the Admin menu I see two sets: default and custom. Custom is my cloned set.

My module is only listed under the cloned set. For the number of templates it shows "0" in red. It also shows a "Generate" link next to the zero. When I click on "List", it shows all of my module templates with nothing for the "last modified" time. The only action is "Generate".

Groover



246979
Anonymous
Re: Security
  • 2004/7/9 20:35

  • Anonymous

  • Posts: 0

  • Since:


OK, I am about to go public with my site, but before I do, I want it as secure as possible. This permission issue...

Ok there is

Owner, Groups and Others
Read, Write, Execute


What do I do for the highest amoutn of security...i.e.

Do I only allow READ for Others and Groups....keep all three open for OWNER?

if someone is knowledgable on this subject I would appreciate a little help.

Also, any other security do's or don'ts

thanx

eq



246980
ChadK
xfsection contents included in search
  • 2004/7/9 20:18

  • ChadK

  • Quite a regular

  • Posts: 242

  • Since: 2004/7/9 1


Hmm.. starting pointers anyone? Or has someone done this? I need the XFS information to be searchable by the search module. Is this possible? How is it done? I know there are posts about it on this site but I'm not finding them... I have to weed through a bunch of other posts in the searches and it's not working out for me ;)







Login

Who's Online

181 user(s) are online (106 user(s) are browsing Support Forums)


Members: 0


Guests: 181


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