a.dima, what is the full path in your FTP program when you are inside your bb-attachments directory?
bbPress ShowcasebbPress Showcase
bbPress Showcase » Plugins by _ck_
-
Posted 3 years ago #
-
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 # -
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 # -
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 # -
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 # -
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 # -
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 allMake sure you have
$bb_attachments['inline']['auto']=true;Show me what you get when you do:
http//your-forum-domain.com/forums/?bb_attachments_debugPosted 3 years ago # -
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 # -
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 # -
_ck_
Thanks for your quick reply!Posted 3 years ago #
RSS feed for this topic