i have been asked to make a marketing site.The concept provided is as follows-
There will be a parent site named www.game.com.It will have an admin.My client will create www.baseball.com,www.football.com,www.golf.com and so on.All these websites will have their own admin.
Now suppose a golf player named Jack comes to www.game.com admin and asks him to register himself.
My client is saying that www.game.com admin will be able to register that player under www.golf.com because he is a golf player and Jack will get a subdomain like www.golf.com/Jack
www.game.com/admin
www.baseball.com/admin www.football.com/admin www.golf.com/admin
How is it possible ? how should i approach?
What you are looking at doing is called URL rewriting. Check out this article for the basics of how it works.
http://en.wikipedia.org/wiki/Rewrite_engine
You will also find links to various methods for specific languages and platforms.
Related
I am the author of a book that is sold through the publisher. The thing is that I would like to create a website to promote this book and I wanted to create a sales section where I would like to include a buy button that works as follows:
A form appears with the method of payment, shipping and then data such as name, address etc. (it includes everything that the publisher's website asks for).
What I would like is that this information that you fill in on my website is automatically sent to the publisher's website so that they can send them the product (that is, even if you buy on my website, you are buying directly from the publisher).
I think it is something very simple and straightforward as this is how dropshipping works with shopify and aliexpress, but I can't find any information on the internet.
If you could help me I would be very grateful.
Excuse me in advance, if you have submitted the application or the problem is not divided Please help solve this problem Or my topic is moved to the appropriate section I have an Arabic chat site as a wonder chat Chat is a script
During my search for the most powerful methods of banning annoying visitors within the chat and found these files bearing the name of the browser fingerprint Link to the Fingerprint file to make a distinctive fingerprint of the browser.
https://cdnjs.cloudflare.com/ajax/li...rprint2.min.js
Working file idea:
The basic idea of the file is to make a distinctive imprint for the browser to distinguish members on the site even if the member changed his name and change his IP, and also the file can fetch a lot of information through the browser of the member such as the version of the browser and state and city and the private Internet company used by the member. The only problem we have now is how to use the file to bring the fingerprint of the browser to the member and fetch the basic data from the browser such as the state, city and its Internet company, to store this data on the datapize and use it to protect the site and chat from spam and annoying members.
Thank you for your presence.
Site Link:
https://www.3a-chat.com/chat
Unfortunately the library URL in your question does not work, but I would recommend using this existing solution and extending it a bit. For example you may add:
pixel ratio window.devicePixelRatio || 1
languages (navigator.languages || []).join(',')
math precision ${((Math.exp(10) + 1 / Math.exp(10)) / 2)}${Math.tan(-1e300)}
I'm making a chatbot on dialogflow that can fulfill basic needs of a restaurant (booking a table, ordering food, maybe leaving a review etc.)
I have been able to make reservations for restaurants, and I know how to extract necessary information for ordering food, but what I don't know/ fully understand is the process of taking that information and the restaurant being able to see it on the other side. When I did restaurant bookings for example, the way the restaurant could see a booking would be on a Google Calendar API I connected to the dialogflow agent.
Here is an example of how the conversation would go to maybe further clarify:
I know how to do this:
User: I'd like to buy a small Dark roast coffee
Bot: Okay, is that everything?
User: Yes
Bot: Okay, Your small Dark roast is being made!
But this is completely useless if it goes no where and the restaurant can't see the order on the other side (ie: can't see it on a order screen or a program)
I know this involves some sort of fulfillment in the inline editor or possibly a heroku API, but I'm pretty new to web development so I don't fully understand how to make this order to go through so the restaurant could see it.
Any suggestions or advice?
Thanks for the help!
You have to store data/dialogs to the backend.
You need also two roles in the frontend. The customer and the restaurant. Whitch means, that you have to implement authentication (Login - Logout - Signup), and authorization based on the user.
I have the following problem and am looking for possible solutions and/or suggestions on how to solve this.
Let's say I have a domain and I'd like a user to register on it first.If registered, & paid e.g., allow the user to create his own 'page' (once). - my.domain.com/user-1-pagename - my.domain.com/user-2-pagename
What would be the most reliable and secure way to do this?
As you would have to give a user write-access
- Let user create a subfolder under the root of the website(?) & How (security-wise)
- Easier with a Wordpress or Drupal setup to start from?
- ...
Thanks in advance!
It totally depends on what they would want to do with that page afterwards, if you are thinking of creating blog pages for different users then you have these options on WordPress, I'm sure there are tons of other options for many platforms out there:
https://wordpress.org/plugins/profilegrid-user-profiles-groups-and-communities/
https://wordpress.org/plugins/ultimate-member/
But if you are thinking of creating real low level sub-folders for your domain, it would need a lot more information about your host and it may need custom coding.
It could be achieved by OG Group module that will allow register and paid user to create OG NODE and path of the OG NODE at per your requirement (my.domain.com/user-1-pagename) using URL alias Path Auto module
We are using kentico 9 at work for our website.
You can subscribe to our newsletter using a "box" which is integrated all the way down on our homepage.
However, I would like to have the opportunity to share a direct subscription link on social media so people can click on it and subscribe to the newsletter.
Now, I have to invite people to go on our website and to go down the page to subscribe which is inconvenient (nobody is going to do this).
I can't find a way to get a direct link (I'm not a developer).
Does anybody know how I could do it ?
Thanks in advance ! :D
Anne
If someone want to subscribe to newsletter, he/she must provide you with email address and I'm not sure that can be done with direct link, because you are not aware of user email address (your target group is unknown group from social media).
You can set up anchor in 'subscribe to newsletter' link, which will automatically scroll down your page to box at the bottom, but I don't think that is the best solution. Maybe, to create a new content page, with only purpose to subscribe users to newsletter (have some introduction text, and widget for 'newsletter' where users can subscribe). I don't know is that what you are looking for, but it is nicer solution then asking people to scroll down and subscribe to newsletter.
Best regards,
Dragoljub
My suggestion would be to create a specific landing page with that signup form on it. This way you can have a link you share in social media that takes them directly to that page and allows them to put in their info (first, last and email) and sign up for that specific newsletter. This way it's a specific call to action on that page and allows for the user to only do one thing.