292461
john47
Re: Autologin for Xoops 2.0.x
  • 2003/7/16 18:48

  • john47

  • Just popping in

  • Posts: 24

  • Since: 2003/4/24


lol ok i got to the spot but i cant save it i can only view..... god this is pissing me off look:

system_block_login.html

Shows login form 2003/6/1 18:04:05 [View] [Download]

when i click view it goes here..

Edit template file
File name system_block_login.html
Description Shows login form
Last modified 2003/6/1 18:04:05
[ Box with html ]
then it only has a view button.. do i have to download it or somthing?



292462
hsalazar
Re: SOLVED - Making Xoops CONTENT Multilingual
  • 2003/7/16 17:28

  • hsalazar

  • Just popping in

  • Posts: 78

  • Since: 2003/2/6 1


Chad:

When I include the hack in module.textsanitizer.php, the admin side gives me this error message:

"Parse error: parse error, unexpected T_CONSTANT_ENCAPSED_STRING, expecting ')' in /home/mesadepr/public_html/class/module.textsanitizer.php on line 286"

Obviously, as soon as I remove the hack everything works as usual.

Any thoughts on what is causing this?

PS: I noticed also that on line 149 there's this (I've added a space to separate the word "code" from the bracket):

$patterns[] = "/\[ code](.*)\[\/ code\]/esU";

and not this:

$patterns[] = "/[ code](.*)[/ code]/esU";

Perhaps you've used a different version of the file...



292463
YourHelp
Re: IP Addresses in Forums
  • 2003/7/16 9:11

  • YourHelp

  • Friend of XOOPS

  • Posts: 479

  • Since: 2003/6/9 6


Nice work indeed .. must have taken yonks to work it out. My site works so much better with this in place thanks mate



292464
Chado
Re: SOLVED - Making Xoops CONTENT Multilingual
  • 2003/7/16 3:59

  • Chado

  • Not too shy to talk

  • Posts: 113

  • Since: 2003/6/6 7


Quote:
(More on that later)

I forgot to mention this, but while working on this hack, I tried to make it in such a way that it would automatically adapt to any language without having to go in and change the textsantizer code every time for each language - but I wasn't able to do it. So someone who knows php much better might be able to do it and make this hack something that could be used as is for anyone.....

So, instead of looking for each language (i.e. [english] or [japanese]), would it be possible to do something similar to the font or color code ([ font = Impact]) and have just one code that traps for different language - say something like [lang = english] and then have textsanitizer look at the language and if it is the current language then show the text, else don't show it. Does this make sense??

If someone could do this, it might be a much more useful hack for everyone.

Thanks,
Chad



292465
ibanez
Re: "Sorry, you do not have the permission to access this area...." Urgent!
  • 2003/7/15 22:42

  • ibanez

  • Just popping in

  • Posts: 33

  • Since: 2003/1/28


Well thanks to rushing to the rescue but I seemed to have solved the problem myself.... (?)

Dunno what I did though!



292466
ibanez
Re: "Sorry, you do not have the permission to access this area...." Urgent!
  • 2003/7/15 22:07

  • ibanez

  • Just popping in

  • Posts: 33

  • Since: 2003/1/28


When I said Urgent perhaps I should have said EMERGENCY! I have things that I have to get!



292467
ibanez
Re: "Sorry, you do not have the permission to access this area...." Urgent!
  • 2003/7/15 21:42

  • ibanez

  • Just popping in

  • Posts: 33

  • Since: 2003/1/28


modules/system/admin says the same fatal error as before
modules/system/admin.php says no permissions



292468
netwize
Re: "Sorry, you do not have the permission to access this area...." Urgent!
  • 2003/7/15 21:34

  • netwize

  • Just popping in

  • Posts: 89

  • Since: 2002/1/20


you can go to /modules/systems/admin

to open and check the group permission again.




292469
ibanez
"Sorry, you do not have the permission to access this area...." Urgent!
  • 2003/7/15 20:58

  • ibanez

  • Just popping in

  • Posts: 33

  • Since: 2003/1/28


I removed module permissions from registered users and another group, but not Webmasters, to make sure no one can access the contents while I work. Only now I get "Sorry, you do not have the permission to access this area." when i go to my homepage, when I never removed permissions for webmaster.

It happened on XOOPS 1,3,10 and after installing XOOPS v2 I still get the same problem. How can I get back into my site. I have 50 members waiting for the site to get back up!



292470
patagon
Re: Autologin for Xoops 2.0.x
  • 2003/7/15 20:55

  • patagon

  • Quite a regular

  • Posts: 235

  • Since: 2002/1/8 0


Its actually in your control panel. System is usually the first item on the left menu and from there you have to choose templateset from the menu that appears when you mouse over. Then choose system on the template you are using, you will see the file in that list.







Login

Who's Online

231 user(s) are online (152 user(s) are browsing Support Forums)


Members: 0


Guests: 231


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