HTML Logo by World Wide Web Consortium (www.w3.org). Click to learn more about our commitment to accessibility and standards.

Moving forward with Composr

ocPortal has been relaunched as Composr CMS, which is now in beta. ocPortal 9 will be superseded by Composr 10.

Head over to compo.sr for our new site, and to our migration roadmap. Existing ocPortal member accounts have been mirrored.


Tips on using OCPortal Alongside other Software

Login / Search

 [ Join | More ]
 Add topic 
Posted
Rating:
#104615 (In Topic #20425)
Avatar

Fan in action

Hey Guys,

Some of you may have seen my last post that had some silly questions. I have abandonned the idea of improving OCPortals Shopping Experience, and have decided to run a cart alongside OCPortal. I tried opencart but found I had to mod it alot. So atm I am using Magento.

I do have concerns about OCPortal and Magento running on a shared server, but if this becomes an issue after release and I am making something, upgrading my hosting to cater for the load is easy.

I had some questions mainly in regards to web etiquitte and simple steps I may be able to do myself to create a smoother user experience with 2 pieces of software.

1. Should I just theme them similarly, run separately and link to each other or is there others ways to do it without much experience or coding skills.

2. As they will be running separately, does that open an opportunity for donations on ocportal as ocportal will be purely social/blogging and ran, maintained and funded by me (and anything that can be diverted from store profits) or is this greedy/wrong/illegal etc whilst also running a webstore?

3. If the future is sunny, how complex are tasks like linking the memberships, is this just a DB thing that wouldnt be too costly or would also require lots of editting of the cms's too and take considerable cost/hours by Developers?

4. How would you setup the domain if you did this. Currently OC is on base and magento is /thestore . Would you do it in a similar way or differently?

I hope I haven't made this as complex as some of my other posts and would appreciate any input even if it does not address all points. Thanks in Advance

Yours Sincerely,
Dylan
Back to the top
 
Posted
Rating:
#104704
Avatar

Community saint

I'll take a shot at these...

1. Without a budget or someone with coding experience, running them separately and themeing them similarly is probably the best option. If you are running a fixed width theme for ocPortal, and if Magento is customisable enough (I haven't looked at the coding or admin side of Magento yet, so I'm not sure), you may even be able to embed Magento in a frame in an ocPortal page.

2. I don't think there is anything wrong or illegal about taking donations on your web site, even if you are selling a product or service. If you're providing additional content or services for free that might be highly popular or of great value to others, then you'll have better luck with collecting donations. 

3. Somebody with coding skills should be able to link the ocPortal and Magento signups, logins, and logouts. Ideally you would use ocPortal as the master to handle all signups, logins, and logouts. Signing up in ocPortal would create an ocPortal account and a Magento account in the appropriate database. Logging in to ocPortal would create the necessary cookies to set a login session for both ocPortal and Magento so the user can go from ocPortal pages to Magento pages without having to login separately. Then the signup and login links in Magento would have to be changed to point to the signup and login pages of ocPortal. Logging out in ocPortal would destroy the login session for both ocPortal and Magento, and the logout link in Magento would have to be changed to point to the logout link in ocPortal. That's a basic outline of what needs to be done to link the membership of ocPortal to Magento.

4. That's probably the way I would do it. ocPortal at the base of the domain and the store in a subdirectory. If you want to get fancy, you could set that subdirectory to be a subdomain of your base domain. Then instead of yoursite.com/thestore, you could have thestore.yoursite.com. If you already have Magento set up for yoursite.com/thestore, you may have to make some changes in the Magento configuration if you change it to use a subdomain instead. But if you plan on embedding Magento in a frame in an ocPortal page, then you'll have to move Magento to a different directory and let ocPortal manage thestore directory as an ocPortal Zone tied to the subdomain (which requires some special configuring in ocPortal). A zone called The Store would have a main page that has a frame that embeds your Magento installation which could be setup in a subdirectory under thestore subdirectory, so you would have yoursite.com/thestore/thestore. With the subdomain attached to the first thestore directory, your Magento would be embedded in a frame using thestore.yoursite.com/thestore and people would access it by going to The Store ocPortal zone page at thestore.yoursite.com. Hopefully you can follow all of that...it gets to be a little more complicated when dealing with multiple apps and subdomains :)

As far as running ocPortal and Magento on a shared hosting server, you'll want to contact your hosting provider as soon as you see your site traffic growing to larger numbers. Depending on your web host and how you have ocPortal and Magento configured, it may only take in the hundreds or thousands of users per day hitting your site to cause your hosting provider to suspend your account and take your site offline. Contact them early to find out what they think about your web site server resource usage and ask them for upgrade options if they feel you are on the verge of overusing your fair share of the server resources. The last thing you want to have happen is to put time and money into building a site and promoting it and then have it be taken offline because it has gotten to busy for the shared server to handle.
Back to the top
 
Posted
Rating:
#104706
Avatar

Fan in action

Heya Jason,

Thanks so much for your response, i know it was a massive ask.

1. The Iframe idea sounds good, I will look into this one.

2. Thanks for clarifying that. I had a feel it would be ok, and as I plan to add lots of various content including videos made with fraps and sony movie studio, I thought it could be worth a donations option as i am attempting to put a lot on my plate, deal with several learning curves and it will consume lots of time for no actual monetary compensation. Adsense is one thing but I dont really want ads everywhere, it creates a very ugly experience and I would prefer to do standard banner rotation sections for charities and projects/products i support.

3. That sounds simple enough for someone experienced and would be a good thing to invest in if things go well and I have the spare funds to improve the user experience like that.

4. For now I will leave it as it is, and I totally didnt think of the subdomain, my ssl is wildcard too. Its ideas for the future but since using it a bit I have no issues with the way it currently is.

Also I spoke to my webhosts and was able to get a deal on upgrading to one of their 'business' plans. its still shared and its not quite a VPS but was much more affordable, and I am not even confident in me operating a VPS successfully in a quick fashion.

Basically the upgrade has given me

Dedicated Mysql
Better hardware, primarily much better ssds
5 x more BW
backup mx (low value yet handy as a bonus seems i use a few emails on the server for personal things too)
Double the ram
Extra CPU % and entry proccesses
Half the users on the server compared to my old 'economy' plan
higher priority support and higher quoted uptimes
A few other random things

So its not the 'best' solution but was quite a good offer they gave me, has no extra learning curve and more resources. I think for both ocportal and Magento the dedicated mysql server will really help, as well as more load capacity and better bursting from sharing with less other users. 

Thanks again for your response Jason, and for being very detailed, it has helped me alot and I actually forgot about this thread and didn't expect a response.  Thanks heaps and i look forward to working with ocportal more. I have been slowly trying to setup general layout as well as all the backend stuff for both softwares so when im ready i can put my main focus on creating and simply inserting content without having to change things as well.
Back to the top
 
Posted
Rating:
#104772
Avatar

Fan in action

Heya again,

As an update I have actioned on some of these. After causing a few problems i decided to start again.

After Starting again I was experiencing issues with Litespeed WS and 503 error. Has anyone had experience with these issues? It is now 'resolved' but involved my webhosts changing modsecurity, removing 'redundant' lines from my htaccess which was the ocportal recommended, and eventually turning off php selector completely because it was 'conflicting with my htaccess'. This is probably not the best solution. Anyone know any threads relating to this?

However, I now have ocportal working on https://prophcoretrading.com.au and magento on https://pcstore.prophcoretrading.com.au , so this is probably a neater setup than I previously had and I also cleared my public html from remnant folders / files from previously testing TONS of portal/cms and ecommerce scripts.

I was wondering if anyone could assist me with adding Jasons suggestion of an iframe. I am not good at any code and am not sure of the best way to do a full width iframe, and should i have it 'seamless'?

I think full width would require CSS changes. What css template would i edit, one in the page name ill be putting iframe on? and how does placement for css work do i need it on a certain line or before/after something etc?

Also Jason thankyou for tips on magento/ocportal integration I have saved them for future reference :)
Back to the top
 
Posted
Rating:
#104782
Avatar

Community saint

Once you've got an ocPortal comcode page set up where you want Magento framed in, you can use this tutorial for iframe integration: http://ocportal.com/docs/tut_integration.htm#title__6

Just set the iframe attributes to suit your needs.
Back to the top
 
Posted
Rating:
#104786
Avatar

Fan in action

Thanks Jason :)  This guide looks very simple. With this and some flash banners etc its a small and free start on a form of integration. Now i just need to build them both haha. When (if) i make any money I can look into getting a dev to do some proper integration.

Your advice has been super useful :)

Yours Sincerely,
Dylan
Back to the top
 
Posted
Rating:
#104836
Avatar

Fan in action

Heya Everyone (and Jason),

I had some more thoughts about this. Magento is a fantastic shopping platform (with a few search, navigational and other tweaks from addons). However I think it would be a good idea to keep it that way.

I had a thought, and was wondering if it would be as simple as Im thinking it would be, to use other ocportal features for Magento. For example, why run a support system on Magento when I could Iframe Ocportals great ticketing system into a Magento Page.

Why worry about Magento news blogs or other similar things when ocportal has it all.

Does anyone have an opinion on if this would look scrappy as, or advice on the issue i foresee with guest priveledges as I can see that as an issue and mostly shoppers dont want to make 1 account letalone 2. Any advice?

I think if i can work out a temporary solution like this before I have the cash to get it properly integrated, it will help alot with server load as Magento is a big enough beast without too many addons and uneccesary modules.

Any input will be greatly appreciated.

Yours Sincerely,
Dylan
Back to the top
 
Posted
Rating:
#104864
Avatar

Community saint

Framing ocPortal into a Magento page should work too. You could edit the ocPortal theme, main template (global_html_wrap.tpl), and probably some tweaks to the pages and panels to make it fit and blend well into a Magento page. But if you plan on having a separate ocPortal-only area, that isn't framed in a Magento page, then it would add a bit more complexity since you will probably need a separate theme that isn't stripped down.

For support, it may be easier for your customers (and for you) to use whatever support feature is available in Magento. If a customer needs support for a product or service, providing support from Magento will allow the customer to use their already created account and that should also reduce the confusion for you trying to read info from a separate ticket system and trying to match up and confirm that info against the customer's account in Magento. Whether it will be easier or not will really depend on the products and services you offer, what percentage of customers you expect will need support, and what types of support you will be providing.
Back to the top
 
There are too many online users to list.
Control functions:

Quick reply   Contract

Your name:
Your message: