228371
Mithrandir
Re:Adding a file to an article so readers can download it

Attaching files to a news article is a feature in News 1.2 - it's available onhttp://dev.xoops.org



228372
twitaman
Adding a file to an article so readers can download it
  • 2004/10/28 21:11

  • twitaman

  • Friend of XOOPS

  • Posts: 270

  • Since: 2004/7/28


I want to add a PDF file so that readers on my site can download it. I want them to be able to read the article then do a "click here to download the file" and be able to download a PDF file. How exactly do I do that?

I uploaded the PDF file to my uploads folder but I'm not quite sure how to link it. What is the exact address where it's at? Do I type: //uploads/filename?

And how should I set the permissions?

Any help would be greatly appreciated.

Thanks.



228373
memento
Re:The Infamous Blank Page and Other Weird Installation Errors
  • 2004/10/28 21:05

  • memento

  • Just popping in

  • Posts: 7

  • Since: 2004/10/27


Yes, i realized this was only the case for 2.0.9 in combination with PHP 5. Nobody said migrating was going to be easy .

About register_globals. Indeed, register_globals should be off, this is my mistake - probably because of my experimenting with different versions of nearly all involved pieces of software.
Since the module-packages reasoning has become suddenly clear, I welcome this initiative. Module-packages acuminated towards certain community's.

And yes, considering the 'mall' consists out of many, many storekeepers, it isn't always the mall that delivers the best 'shops'.
That's one big advantage of an open source concept... many can contribute to a (and i may call this a "promising") cms.

But to the point again:

I settled up this thread just to point out the importance of setting the correct permissions on xoops-related material, or things simply will not work as it should be. This is especially true for fresh installations.
Even when something seems to go seriously wrong with the installment of a new module, or with testing of something, it's always a little effort to first check your permissions, before posting your problem.

Always glad to help out



228374
TheFinni
addSlashes in edit form variable?
  • 2004/10/28 20:38

  • TheFinni

  • Just popping in

  • Posts: 75

  • Since: 2003/11/25


I recently noticed a problem when editing one of my articles.

If I save something to the database such as:

That 70's show

The item is saved properly...

However when I try to edit the article, whatever was after the ' (tickmark) will not show. I.e That 70

I assume it has something to do with this XOOPS form element code:

Quote:
$sform -> addElement( new XoopsFormText( 'Favorite TV Show:', 'favoritetvshow', 50, 80, $favoritetvshow) );


I tried this:

Quote:
$sform -> addElement( new XoopsFormText( 'Favorite TV Show:', 'favoritetvshow', 50, 80, addSlashes($favoritetvshow)) );


But it only gave me:

That 70\

How can I get the addSlashes PHP code in the retrival of this entry? It is used in the saving process.
I am using the News module but have added my own custom field.

Thanks!

~Thomas



228375
ackbarr
Re:Upgarded to 2.0.9 - now I have the blue

add this to xoops.css:
img {border:0;}



228376
coopersita
Re: Make real name a required field for user registration

Worked like a charm. Thanks.



228377
kerlawk
Upgarded to 2.0.9 - now I have the blue "active" borders around all images
  • 2004/10/28 20:19

  • kerlawk

  • Just popping in

  • Posts: 2

  • Since: 2004/10/28


I apologize in advance if this has been answered, I did search everywhere before posting, but may have missed it.

After upgrading to the 2.0.9 beta, all of the "active" images now have the blue "active" border around them. This seems to be site-wide, but is especially noticeable in the newbb forum module, where all the png's are now highlighted.

I was wondering if there is an easy way to restore these back to the normal hidden border? It may be as simple as adding the <img border="0"> tag to a template, but I'm not sure where or if there's an easier way to fix this.

I'm using the default template & default theme (for now).

Thank you.



228378
djspyral
Re: Smilies not showing
  • 2004/10/28 20:11

  • djspyral

  • Just popping in

  • Posts: 9

  • Since: 2004/10/27


Any ideas? Anyone??



228379
tl
Re: Make real name a required field for user registration
  • 2004/10/28 19:59

  • tl

  • Friend of XOOPS

  • Posts: 999

  • Since: 2002/6/23


Mario:
Hope you don't mind of my posting your tip on XOOPS Tips.
http://xoops-tips.com/modules/news/article.php?storyid=59
Thanks.
tl



228380
DobePhat
Need to know how to "fix" email bug in x-directory
  • 2004/10/28 19:51

  • DobePhat

  • Friend of XOOPS

  • Posts: 656

  • Since: 2003/4/15


Hello,

I and many others (from what ive read and searched through)have the nagging problem of the email link not working in the xdirectory.

Its strange because it actually seems to work on some sites but many others not at all.

I was wondering if it was a Globals Off issue or if anyone has tracked this bad boy down?

I have contacted the author but we cant figure it out.
It's (IMO) the only thing that is wrong with this wonderful module.

Running Debug throws a warning but it is not sufficiant info, there doesnt seem to be anything wrong.

Can someone please direct me to a working version of this or if you have troubleshooted please share?

Thanks alot!
p.s
Happy Halloween!







Login

Who's Online

93 user(s) are online (39 user(s) are browsing Support Forums)


Members: 0


Guests: 93


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