Search

bbPress Showcase » Plugins by _ck_

  1. _ck_
    _ck_

    senior admin
    Joined: Jul '06
    Posts: 884

    offline

    a.dima, what is the full path in your FTP program when you are inside your bb-attachments directory?

    Posted 3 years ago #
  2. a.dima
    User has not uploaded an avatar

    junior member
    Joined: Oct '08
    Posts: 5

    offline

    hi again,

    I create a php file with this
    echo dirname($_SERVER['DOCUMENT_ROOT'])."/bb-attachments/";
    and this is what it show

    /web/htdocs/www.ecom3.it/bb-attachments/

    http://www.ecom3.it is my domain name. In my ftp application the bb-attachment is under /www.ecom3.it root directory.

    please help me... just another question: what is the plugin for bbpress to have the buttons "B", "I", "U" and so on over the reply textarea?

    bye

    Posted 3 years ago #
  3. _ck_
    _ck_

    senior admin
    Joined: Jul '06
    Posts: 884

    offline

    What you should try to do in your ftp program is go create bb-attachments here:

    /web/bb-attachments/

    See if it will let you go up that high and do that.
    If it does, then change this to this:

    $bb_attachments['path']="/web/bb-attachments/";

    There is a chance your ftp will not let you above http://www.ecom3.it
    In that case, you can't hide your bb-attachments.
    So you'll have to use:
    $bb_attachments['path']="/web/htdocs/www.ecom3.it/bb-attachments/";

    The buttons you want are called bbcode-buttons.
    http://bbpress.org/plugins/topic/bbcode-buttons/
    http://bbpress.org/plugins/topic/bbcode-lite/

    Posted 3 years ago #
  4. luckydost
    luckydost

    member
    Joined: Sep '08
    Posts: 17

    offline

    Allowed extensions Problem.

    When, i adjust some new mobile files extension's like, "jar, sis, them". fatal error occur.
    what i can do?

    Posted 3 years ago #
  5. a.dima
    User has not uploaded an avatar

    junior member
    Joined: Oct '08
    Posts: 5

    offline

    it's work now!

    I send an email to my hosting provider and he reply with the right absolute path to my site.

    even if my ftp program say "/web/htdocs/www.ecom3.it/bb-attachments/"
    the right path is "web/htdocs/www.ecom3.it/home/bb-attachments/"

    but i have another question now. Why If i upload a file I cant see it inline but only the link to it to open?

    thanx for all

    Posted 3 years ago #
  6. _ck_
    _ck_

    senior admin
    Joined: Jul '06
    Posts: 884

    offline

    luckydost - 22 hours ago  » 
    Allowed extensions Problem.
    When, i adjust some new mobile files extension's like, "jar, sis, them". fatal error occur.
    what i can do?

    You are probably entering them incorrectly and PHP sees typos.

    Make sure you add them like this:
    "jar","sis","them"
    Notice the end quotes.

    Posted 3 years ago #
  7. _ck_
    _ck_

    senior admin
    Joined: Jul '06
    Posts: 884

    offline

    a.dima - 6 hours ago  » 
    but i have another question now. Why If i upload a file I cant see it inline but only the link to it to open?
    thanx for all

    Make sure you have
    $bb_attachments['inline']['auto']=true;

    Show me what you get when you do:
    http//your-forum-domain.com/forums/?bb_attachments_debug

    Posted 3 years ago #
  8. nikson
    User has not uploaded an avatar

    new member
    Joined: Oct '08
    Posts: 2

    offline

    Hi
    Would you please advise me on how to skip this alert that appears each time when a guest user clicks on the link to the attached file that goes like this: 'Sorry, download is restricted' and get the system to redirect the user to bb-login.php page?
    And make the pictures open in the browser window instead of being saved on PC, like it is on vBulletin?

    Posted 3 years ago #
  9. _ck_
    _ck_

    senior admin
    Joined: Jul '06
    Posts: 884

    offline

    Change this line to "read"
    $bb_attachments['role']['download']="read";

    which will let any guest view any attachment without logging in.

    I don't have a way yet to show full images in the browser.
    It's sort of a "safety" to prevent people from hotlinking your full size image which could kill your server very quickly.

    Posted 3 years ago #
  10. nikson
    User has not uploaded an avatar

    new member
    Joined: Oct '08
    Posts: 2

    offline

    _ck_
    Thanks for your quick reply!

    Posted 3 years ago #

RSS feed for this topic

Post a reply to “new bbPress plugin: bbPress Attachments” »

You must log in to post.

keep _ck_ coding >> donate $5 <<     Theme Switcher:
35 users online from in the past 30 minutes. 21 bots 13 guests 1 members: mccawphoto
37 views today 7,784 yesterday 14,010 peak. Most at once 35 today 63 yesterday 131 peak.
2,240 posts in 380 topics over 63 months by 425 of 1,992 members. Latest: shairah27, Augustine01, MichaelGomez