Post your small issues here

We encourage users to post events happening in the community to the community events group on https://www.drupal.org.
er.sidharth30's picture

Hi all,
You can post your problems here and help each other to learn.:)

Comments

I want to built a website like alibaba in Drupal

digitalven's picture

hi,

I am a newbie in drupal .I am using Drupal 7x .
I know basic things like View , Nodes , Content, Structure , Themes etc .
As I have read Drupal is the best CMS that can be extended with many powerfull features via module. But I am stuck at following points .

I want to know the technical details of the possibilities if such features can be built in Drupal .
*) It is not a shopping cart
*) NO payment method is needed that will be done via chat or email communication.

It will comprise of following modules :
1) User registration - As buyer or Supplier or both
Issues : One single form with a check box for both [Buyer and supplier ]

I know roles can be created buy how a role can be created for dual functionality like buyer and supplier
2)Membership :
privileges for Free , Basic and Gold as per page views like number of product uploads etc as per membership
3) Buyer :
Buyer searches product catalogue as per membership
4)Supplier :
Supplier can add products as per membership
5)B2B Business Manager checks that statistics and email and provide services as per membership details
6) Email and chat : Buyer and Supplier can contact each other via website only by a contact now button and copy of each email must be sent to admin or Business

=====================

FACTS:

===================

ISSUES:How modules can be interconnected.

The issue is that how these modules can have an inter connected logic .
Like the user that registered must be same as given role buyer /supplier or both
That must be connected to membership user .

As I am a newbie I know few things like nodes , view, content .

Any suggestion in developing a website like Alibaba is welcomed .
Any info like modules , modules integration , extension etc.

Is it technically possible .

Thanks
Regards
newbie

Hi, I think creating a role

er.sidharth30's picture

Hi,
I think creating a role having both the buyer and supplier is lil bit confusing.So a membership of buyer and supplier both is not a good idea as it also break further in privilages of gold free etc.

For membership like Gole platinum etc.
You need to create roles foe each membership type like.
Roles like :
Buyer Gold
Buyer Free
Buyer Gold
Supplier Free
Supplier Gold

And according to that you can restrict the accesing and publishing of content .

Secondly User can select both the roles like
Buyer Gold and Supplie Gold and as roles permission are predefined he will get access of content according to that.

Hi, I think creating a role

er.sidharth30's picture

Hi,
I think creating a role having both the buyer and supplier is lil bit confusing.So a membership of buyer and supplier both is not a good idea as it also break further in privilages of gold free etc.

For membership like Gole platinum etc.
You need to create roles foe each membership type like.
Roles like :
Buyer Gold
Buyer Free
Buyer Gold
Supplier Free
Supplier Gold

And according to that you can restrict the accesing and publishing of content .

Secondly User can select both the roles like
Buyer Gold and Supplie Gold and as roles permission are predefined he will get access of content according to that.

thanks - how modules can be interconnected .

digitalven's picture

Thanks alot this is such a good idea .I think i am getting it.
Right at the registration I can mention these roles.

===============================
For membership like Gole platinum etc.
You need to create roles foe each membership type like.
Roles like :
Buyer Gold
Buyer Free
Buyer Gold
Supplier Free

Supplier Gold

Also how can i integrate/inter connect the modules to be same .
If one module has a field user and another module also has a field user .Then how can interconnect the user data to be same .

is there any such module or way .

Thanking alot for your timely response, means alot for a newbie.

Interconnection of the module

er.sidharth30's picture

Interconnection of the module !!! i m not getting it.
Which module you are talking about.?....And what do you mean by interconnection...

And i am also a newbie like you but happy to share knowledge...that's how we learn:))/.

connecting different modules

digitalven's picture

Thanks again.

There are modules like I know there are some good module out there and they provide individual functionality like
membership .
1)https://www.drupal.org/project/redhen_membership
2) http://ftp.drupal.org/files/projects/membership_entity-7.x-1.0-alpha5.zip
3)For Email http://ftp.drupal.org/files/projects/email_registration-7.x-1.2.zip

There are modules for user registration . User membership each module is a small project with its db fields like users , user name ect . How can i integrate these modules like user from user registration , email , membership be one entry .

as multiple modules will be installed for multiple features .Each module being a complete entity . So i need data consistency to be there the user must have same data or interconnected data across modules .

Any idea how this can be done .

hmmm, If there are modules

er.sidharth30's picture

hmmm,
If there are modules for these i am quite sure that these all module will use same information related to that user.So dont worry about that.Once you install these modules there functionality will use the related user data and the info will be same in every module field

thanks - I will be following this approach

digitalven's picture

Ok , Thanks I will be working by following this approach .

Lets hope this works.

I will be following up if I came across any issue.

Ok.ol d bst...:)...i will try

er.sidharth30's picture

Ok.ol d bst...:)...i will try to help u if i know how to ...:)
you can also mail me on er.sidharth30@gmail.com

Thanks alot

digitalven's picture

Thanks ,I will surely ask if I got any technical problem somewhere .
As so you know Drupal more .

Drupal 7 - Role based file upload

digitalven's picture

Hi ,

I am creating the Membership part of the website .

This is an Alibaba sort of website
Modules that i am using .
1)Ubercart
2)private message

I have created the roles as per paidmember and freemember .

The user can login and upload products and contact each other via private messages.

ISSUE:

Only issue is that the number of restricted uploads are general like i have set it to 5 products. But then that is same for free member and paid member ...

Is there any module that can be integrated with these modules that restricts the number of product uploads as per membership duration or like in a week paid member can upload 5 product and free can upload 3 products.

Thanks
Regards
Newbie

Field pERMISSION

er.sidharth30's picture

I think you can use field permission module.It will restrict the fields according to the roles.And you can add 4, 5 product upload fields for every member role and give each of them permission.So every user of particular role can see there related field with restriction?...
https://www.drupal.org/project/field_permissions

Field Permission

digitalven's picture

Hi ,

I have installed and am using the Module Field Permission .
I am getting one problem .
This is taking image as one field and the permission is only for one role .
Example : When I set the permission to 1 for free member all the roles get permission 1.

The manage field has a setting tab that is common for all images [ i have added one image for free member and one for paid member ] . The setting has role bases permission and that is being same for both images .

May be i am not configuring this right .

What i need is separate profiles [ with images upload permission ] .

Any idea ...

Thanks
Regards
Newbie

ummm its working fine wat i m

er.sidharth30's picture

ummm its working fine wat i m saying is that.You have to add more fields based on permissions .Like you have added one image field and set permission for role who can view and edit this field.Now add one more field and set permission for another role so that each one of them will see only there image field.This is lil confusing but right now i have only this idea.

Thanks - Now it is working

digitalven's picture

Hi ,

Thanks now it is working .

Steps :

1) I added field permission module
2) Created a fimage field for free members in content type product .
In the field image i set all ticks for freemeber so this field will only be visible to freemember role user. Set the number value to 1 .

3) Created another image field paidimage field in content type product .
In the field image i set all ticks for paidmeber so this field will only be visible to paidmember role user. Set the number value to 5.

4)Now when i login with freemember user the number of files uploaded are 1.

5)When i login with paid member user the number of files uploaded are 5.

Thanks this helped alot .

Regards
Newbie

Oh Sounds grt....How mch i

er.sidharth30's picture

Oh Sounds grt....How mch i can help you but i am trying my best:)...

Thanks

digitalven's picture

Thanks for the help .

bendorward's picture

so i'm trying to add news updates for a lab website to a block on the sidebar of my website. the content i add just updates to the main center block and i can't find out how to move it to the side one.

Also, I'm trying to find out how to change the pictures in the directory. When i added the tar gz file it had pics in there. I made a new tar file but it won't re-install, I'm sure there's an easier way to access the pics like on the server in the proper directory but i can't find out how.

using windows

thanks

figured out content, still don't understand pictures

bendorward's picture

"To change the Slide Images, Replace the slide-image-1.jpg, slide-image-2.jpg and slide-image-3.jpg in the images folder of the theme folder."

how do i update the theme folder if i i can't re-install the theme?
is there a way to upload the images online?

ho

Yes you can upload the Images

er.sidharth30's picture

Yes you can upload the Images online .
You have to create a Content type with a field Image.
Then just add the content and image by going add content.
Them create a view as a block and add fields image and body to that view.
Then go to structure and enable the block in the region you want.
Now every time you add content to that content type.It will show in the block.
You can also Customize the view.
This link will show you how to create content type and add image field
https://www.youtube.com/watch?v=l0I5f9YmmI0

Then you have to create a view as block

bendorward's picture

Thanks again for helping me get the images working, I am still trying to get the slideshow on the theme page together though

i have this:

To change the Slide Images, Replace the slide-image-1.jpg, slide-image-2.jpg and slide-image-3.jpg in the images folder of the theme folder.

but when i put them here:

Slide URL
[logo/pic1(2)(3).jpg]

the default images are still there.

any ideas on how i can add the content into the images folder of theme?

Installation issue

korsakov's picture

Hi, I uncompressed the .TAR file of the Open Atrium 2 Distribution on my server.

My error log:

PHP Fatal error: require_once(): Failed opening required '.../includes/bootstrap.inc' (include_path='.:/usr/php/54/usr/lib64:/usr/php/54/usr/share/pear') in /..../index.php on line 19

So, what do I need to do? Is Drupal not within the Distribution of Atrium? Do I need to install Drupal first?

Thanks for your help!

yes i think you need to

er.sidharth30's picture

yes i think you need to install drupal and then install module of atrium.
May be this link will help
https://www.drupal.org/project/openatrium

Missing "/includes"-folder

korsakov's picture

Thank you, I did!
The Atrium distribution is located in a sub-folder like Drupal.
When I tried to install Atrium I got the error log that the sub-folder under Atrium "/includes" could not be found. The "zip"-file was not recognized as a valid zip-file, so I used the ".tar" file that I uncompressed on the server. Apparently, there was no "/includes" folder to start with. The "includes/bootstrap.inc" could not be found.
Suggestions? Thank you!!

Zip-file for the distribution is invalid with Windows 8.1

korsakov's picture

The provided zip-file for the distribution is invalid with Windows 8.1

7.x-2.23 tar.gz (29.33 MB) | zip (33.54 MB)

Unpleasant experience so far.

korsakov's picture

So, with trickery I was able to start the process. It is not a pleasant experience! The zip file is corrupt but in opposite to the .tar file it included the "/includes" sub-folder.

Now, I receive these warnings running install.php. At least I do see Atrium content. What is going on here?
Warning: include_once(install_from_db/install_from_db.profile): failed to open stream: No such file or directory in include_once() (line 8 of /profiles/openatrium/openatrium.profile).
Warning: include_once(): Failed opening 'install_from_db/install_from_db.profile' for inclusion (include_path='.:/usr/php/54/usr/lib64:/usr/php/54/usr/share/pear') in include_once() (line 8 of /profiles/openatrium/openatrium.profile).

Warning during Installaton process...

korsakov's picture

Can anybody help with this warning that appeared during installation about 50 times? Thank you!

Warning in features rebuild of oa_permissions. No module defines permission "administer panelizer node oa_group content"

Running OA 2 I experience an (AJAX) error when clicking "Create Content" button.
Apparently ../api/oa_wizard/space-wizard is missing.

More warnings during new installation...

korsakov's picture

Warning in features rebuild of oa_permissions. No module defines permission "administer panelizer node oa_group content".

At some point the installation stopped and did not import the 4 modules.
However, I was able to start OA 2. The AJAX error persists when I click on the green "Create Content" button.

I am just wondering whether there is interest at all for my reports I post here.

I had the same issue. Turns

betaservices's picture

I had the same issue.

Turns out the .htaccess file didnt upload.

Slideshow issues

a25msl's picture

I made a slideshow ,..but my problem is that it work fine only until all the slide work once
after that the slidhow apear to other zone
I try to fix with css but I dont manage
can somebody help me

this is my page

http://demo.logoandintro.com/