51
madDan
Protector and Safari Browser
  • 2010/6/22 6:54

  • madDan

  • Not too shy to talk

  • Posts: 105

  • Since: 2010/1/6 1


I am suffering a weird problem, well not me but our site members, it appears that protector does not like the safari browser to much.

Some users of Safari are being detected as crawlers , they can have issues logging in, and protector sends them to a nice blank page, it also appears to be upsetting the sessions table in my DB, a repair sorts it and the classic value in session php is already set to false (I assume this is part of 2.4.4 as I didn't need to alter it) I am using a custom session.

I never used to have this issue - because before my total rebuild of 2.4.4 although I had protector active it never detected anything (I had somehow upset it when doing upgrade rather than whole instal of xoops)

I did not twig this until last night, when I put safari on my PC and with in 5 minutes I was given the heave ho by protector at least I could appreciate what users were seeing as under firefox, opera and IE I didn't have these issues.

Is this a common problem or just one that our site throws up?

I reckon the links grabbing and caching safari does in the background is tripping up protector.

I wonder if this has also helped in some way, our site used to crawl at times, now if users were on and their browsers were downloading multiple pages it may go some way to explaining our performance issues in the past.

Anyone else seen similar?



52
madDan
Re: Retrieving articles from database
  • 2010/6/22 6:33

  • madDan

  • Not too shy to talk

  • Posts: 105

  • Since: 2010/1/6 1


mysqldumper is very handy as far as making backups and doing restores, it'll let you restore individual tables from a backup into your DB, Do take another backup of the current DB first though before starting any restoration, if you turn the backups auto deletion, you can take your time with as many backups as you desire.

If the backup is xxxxx.sql.gz you simply can copy your current backups into the softwares work directory



53
madDan
Re: Webinstall and reCaptcha
  • 2010/6/21 12:22

  • madDan

  • Not too shy to talk

  • Posts: 105

  • Since: 2010/1/6 1


Regarding Recaptcha

Any reason it is no longer used here?

I would have thought it'd be a nice feature to have as an option as part of the install if you have already registered?




54
madDan
Re: [img] disable left right alignment
  • 2010/6/15 20:36

  • madDan

  • Not too shy to talk

  • Posts: 105

  • Since: 2010/1/6 1


so really I should address this in the theme - righty ho!

(Wondering what else I'll break )


Left align pulls every thing left towards the left margin as I understand it!



55
madDan
Re: [img] disable left right alignment
  • 2010/6/15 15:10

  • madDan

  • Not too shy to talk

  • Posts: 105

  • Since: 2010/1/6 1


I was going to submit it but in previewing the text to make sure it was clear on here in preview it appears to function correctly.


Does this version of xoops software have some fixes already applied or is it the theme that is handlng the display layout? within a post or article?

If you use the image submussion button Resized Image and make use of the alignment and width options if using indivdual options it is okay, when using the alignment option and width options together the formatting of the images and text in the posted text gets messed up.

An example follows using the standard image submission tool, along with some text

1 image no width but left aligned

Resized Image
text bleh blah text bleh blah text bleh blah text bleh blah text bleh blah text bleh blah text bleh blah text bleh blah text bleh blah text bleh blah text bleh blah text bleh blah text bleh blah text bleh blah text bleh blah text bleh blah text bleh blah text bleh blah text bleh blah text bleh blah text bleh blah text bleh blah text bleh blah text bleh blah text bleh blah text bleh blah text bleh blah text bleh blah text bleh blah text bleh blah text bleh blah text bleh blah text bleh blah text bleh blah text bleh blah text bleh blah

2 images left aligned no width option

Resized ImageResized Image
text bleh blah text bleh blah text bleh blah text bleh blah text bleh blah text bleh blah text bleh blah text bleh blah text bleh blah text bleh blah text bleh blah text bleh blah text bleh blah text bleh blah text bleh blah text bleh blah text bleh blah text bleh blah text bleh blah text bleh blah text bleh blah text bleh blah text bleh blah text bleh blah text bleh blah text bleh blah text bleh blah text bleh blah text bleh blah text bleh blah text bleh blah text bleh blah text bleh blah text bleh blah text bleh blah text bleh blah

2 images with width options & left aligned



Resized ImageResized ImageResized ImageResized Image

text bleh blah text bleh blah text bleh blah text bleh blah text bleh blah text bleh blah text bleh blah text bleh blah text bleh blah text bleh blah text bleh blah text bleh blah text bleh blah text bleh blah text bleh blah text bleh blah text bleh blah text bleh blah text bleh blah text bleh blah text bleh blah text bleh blah text bleh blah text bleh blah text bleh blah text bleh blah text bleh blah text bleh blah text bleh blah text bleh blah text bleh blah text bleh blah text bleh blah text bleh blah text bleh blah text bleh blah


******************


As you can see it works fine on here in the original order that the editor creates, something is obviously fixed on here but not on the normal release 2.4.4


whereas my production site displays it like this

Resized Image



56
madDan
Re: [img] disable left right alignment
  • 2010/6/15 10:32

  • madDan

  • Not too shy to talk

  • Posts: 105

  • Since: 2010/1/6 1


I have been having a play with this on my site and tried altering


include/formdhtmltextarea.js

line 74



var result "[img" text2 text3 "]" text "[/img]";



to

var result "[img" text3 text2 "]" text "[/img]";


Did a system and forum module update (not sure if it was needed) and after a clearing of my browser caches etc


this little tweak helps with image alignment, it doesn't fix the forced alignment issue but putting your last image without alignment in that row does stop the text alignment getting hijacked.

Should this be submitted as a bug fix?




57
madDan
Re: How do I stop Xoops making a clickable link?
  • 2010/6/14 10:31

  • madDan

  • Not too shy to talk

  • Posts: 105

  • Since: 2010/1/6 1


Does the link submit still work with this implemented?

ie you can type in an address and it just formats as text.

But if you use the editor link/URL submission tool the linkable address would still be there?



58
madDan
Re: [img] disable left right alignment
  • 2010/6/14 10:14

  • madDan

  • Not too shy to talk

  • Posts: 105

  • Since: 2010/1/6 1


I have been using scaled aligned images and find that it is the sequence they are generated in by the image instal feature in the editor.

for instance

the editor will give you
[img align=left width=200]imgurl[/img][img align=left width=200]imgurl[/img][img width=200]imgurl[/img]


this would be an attempt to have 3 images side by side at the same level. but you will get two on the same level the last one below and the following text to the right of the last image.


If hand entering the code

[img width=200 align=left]imgurl[/img][img width=200 align=left]imgurl[/img][img width=200]imgurl[/img]


You get three images aligned and the following text below

I use the last image without alignment to turn off the forced alignment.


I think the problem is that the editor image insertion simply puts the text into the posts in the wrong sequence

it should be img width then alignment



59
madDan
Re: How do I stop Xoops making a clickable link?
  • 2010/6/13 20:33

  • madDan

  • Not too shy to talk

  • Posts: 105

  • Since: 2010/1/6 1


]www.example.com


what like that?


or something like the address would =www.example.com

Any high bit char defeats it without altering the code



60
madDan
Re: xoops.js missing?
  • 2010/6/11 15:47

  • madDan

  • Not too shy to talk

  • Posts: 105

  • Since: 2010/1/6 1


Cheers for the pointers, I'll have to have a dig about




TopTop
« 1 ... 3 4 5 (6) 7 8 9 »



Login

Who's Online

200 user(s) are online (155 user(s) are browsing Support Forums)


Members: 0


Guests: 200


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