Upload image into blog post?

18 years 4 months ago #1004 by groovetube
Replied by groovetube on topic Re:Upload image into blog post?
It works! Thanks! :cheer:

Please Log in to join the conversation.

18 years 4 months ago #1072 by groovetube
Replied by groovetube on topic Re:Upload image into blog post?
SPAW editor working great. But I need it to view and allow users to upload to more directories. In the code it has an array which limits the top dropdown menu to:

[code:1]// image libraries
$spaw_imglibs = array(
array(
'value' => 'images/',
'text' => '/images/',
),
array(
'value' => 'images/stories/',
'text' => '/images/stories/',
),
);[/code:1]

I will be adding a directory for every member so they can upload and store images for their blogs. For example if we have a new member named foo I would create a directory called /images/foo for that member.

I trust our members to only upload to their own space so I just need the Library selection dropdown to show any directory I create within /images/.

I hope this is easy. And I am learning more about php as I ask for all this help! ;)

Please Log in to join the conversation.

18 years 4 months ago #1088 by trail
Replied by trail on topic Re:Upload image into blog post?
After you done what you suggested, i would make the dropdown list hidden and preselect their own dir :)

No trusting needed.. they can only see their own dir..

DJ Trail.
CB Co-Founder & Test-Lead.
Plugins: My Age , Starsign Matchmaking Horoscope , My Visitor , My Highscores , My ProfileID ,
My Components: Import & Invite Karma Casino (Use Test / Test)
My Modules: Many :)

Please Log in to join the conversation.

18 years 4 months ago #1090 by groovetube
Replied by groovetube on topic Re:Upload image into blog post?
Great idea! But... how could I do this?

Please Log in to join the conversation.

Moderators: beatnantkrileon
Time to create page: 0.173 seconds

Facebook Twitter LinkedIn