21
JackJ
Re: Does anyone else have this problem?
  • 2004/10/18 0:19

  • JackJ

  • Community Support Member

  • Posts: 747

  • Since: 2003/8/31


Quote from the page included in my last post:

And PHP comes with a handy function to help you deal with this: addslashes(). By passing $post through addslashes, before you INSERT / UPDATE MySQL, the apostrophes are escaped for you.

'Easy!' you think, generating yet more apostrophes that need escaping. But not so fast. PHP provides a configuration option "magic_quotes_gpc", which automatically adds slashes to any submitted HTML form data or cookies (gpc = GET/POST/COOKIE), before it gets passed onto your script.

From the PHP manual:

"Sets the magic_quotes state for GPC (Get/Post/Cookie) operations.
When magic_quotes are on, all ' (single-quote), " (double quote), \ (backslash) and NUL's are escaped with a backslash automatically."

magic_quotes once seemed like a good idea but have turned out to be a menace, because if you take code where someone is using addslashes() and run it on a server where magic_quotes_gpc is on, this is what will be inserted into the database; UnQuote

The general opinion is magic quotes are evil..:)

Some of the modules have the coding "addslashes", which is not good if magic_quotes are turned on in the user server.

The only permanent solution is to turn off magic quotes it appears, this can be done on hosted servers with an .htaccess file with something like this in it

php_flag magic_quotes_gpc off
php_flag magic_quotes_runtime off //(if runtime is on)

The coding would otherwise need some functions to cater for both possibilities (off or on)

The above two lines worked for me, but i had to re do the text in the modules concerned, like soapbox for example



22
JackJ
Re:Does anyone else have this problem?
  • 2004/10/17 20:45

  • JackJ

  • Community Support Member

  • Posts: 747

  • Since: 2003/8/31


Just a long shot, it worked for me. Try re uploading the files in your include, class, and kernal folders. This has something to do with magic quotes

http://www.webmasterstop.com/tutorials/magic-quotes.shtml



23
JackJ
Re:Customizeable, multiuser blogging system
  • 2004/10/17 16:55

  • JackJ

  • Community Support Member

  • Posts: 747

  • Since: 2003/8/31


No, but a project like this is in the pipeline

See this post Here

Project

http://dev.xoops.org/modules/xfmod/project/?xuhp

Perhaps you need a standalone blog system for all the features you require.



24
JackJ
Re: Does anyone else have this problem?
  • 2004/10/17 16:35

  • JackJ

  • Community Support Member

  • Posts: 747

  • Since: 2003/8/31


ConfirmedI have this problem yes, looking into it, perhaps a dev will pick this up..:)



25
JackJ
Re: Homepage (personal editable page) for each user or user group
  • 2004/10/17 12:07

  • JackJ

  • Community Support Member

  • Posts: 747

  • Since: 2003/8/31


wfsections athttp://wf-projects.com allows you to set up permissions to allow users to edit their own articles and much more. It is in beta at the moment, but many people are using it, it just has a few backend bugs.

I have an older version at my site I altered for someone who wanted similar to yourself. This one uses spaw wysiwyg though, so it is all HTML which can be a security risk. He sets up a template and article for each user which they can edit themselves



26
JackJ
Re: A few minor probs...
  • 2004/10/17 11:55

  • JackJ

  • Community Support Member

  • Posts: 747

  • Since: 2003/8/31


Try my XOOPS for dummies link, it also has links to other tutorials for themes.

I suggest this from laziness, I am sure their is many other links



27
JackJ
Re:wysiwyg for news - spaw
  • 2004/10/17 11:45

  • JackJ

  • Community Support Member

  • Posts: 747

  • Since: 2003/8/31


I currently use Chapi's News with Spaw hack and it has the linebreaks text sanitizor thing catered for so no extra unwanted vast spaces in the HTML output. you could spend hours doing this but the XOOPS linebreaks thing will ruin your html output.

Chapis News Hack, they have moved it I think to the new downloads module

https://xoops.org/modules/news/article.php?storyid=1128

It does not work with the new news module 1.2x from the dev site.

p.s Edit. I don't know about you but I hate these new forums and the scrolling right to try and see the posts, it looks so unpro.. Image sizes should be limited and quotes through everything right out.. (getting old and cranky) Will be great when this is sorted though..



28
JackJ
Re: Tables in WFsection
  • 2004/10/17 4:10

  • JackJ

  • Community Support Member

  • Posts: 747

  • Since: 2003/8/31


This is your style sheet in your theme folder.

Look for code like this in your style.css

table td { padding: 0px; border-width: 0px; vertical-align: top; font-family: verdana, arial, sans-serif;}

taking out the border-width: 0px; might be good to start with...



29
JackJ
Re:...is impossible to fix this?
  • 2004/10/5 22:37

  • JackJ

  • Community Support Member

  • Posts: 747

  • Since: 2003/8/31


Interesting thread..

One thing I would like to see fixed is this kind of display in newbb..stretching massively right off the screen (sorry to use you post as an example)

Many of the posts are like this, even posts with quotes, seems to have a big text wrapping problem.

I also notice that the site has implemented the 100% stretch in the table definition in the style sheets, I don't think this helps as it stretches everything across the page to the limit and looks untidy, in news for example..

looking great though, good work XOOPS team..:)



30
JackJ
Re: Putting module for start page above 2 blocks for center(r-l)
  • 2004/9/30 21:58

  • JackJ

  • Community Support Member

  • Posts: 747

  • Since: 2003/8/31


See this thread here

https://xoops.org/modules/newbb/viewtopic.php?topic_id=22516&forum=7#forumpost107755

If you need more help with your specific theme post again..




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



Login

Who's Online

158 user(s) are online (96 user(s) are browsing Support Forums)


Members: 0


Guests: 158


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