Blog site twitter issue [closed] - php

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions concerning problems with code you've written must describe the specific problem — and include valid code to reproduce it — in the question itself. See SSCCE.org for guidance.
Closed 9 years ago.
Improve this question
I have a blog page on the site I'm creating (php/mysql). I generate blog posts by date created, most recent first. When you click the title of a post, you are linked to that post's unique page.
Problem example:
I click the tweet button on the post "Happy Holidays" on the page mysite.com/blog. The url it tweets is naturally mysite.com/blog. I want it to tweet mysite.com/blog/Happy Holidays.
How can I force a custom url to tweet? Do I have to meddle with the JS?

Simply provide a link in the following way.
http://twitter.com/share?url=http://mysite.com/blog/link

Related

How to post image/content to facebook page from website [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question appears to be off-topic because it lacks sufficient information to diagnose the problem. Describe your problem in more detail or include a minimal example in the question itself.
Closed 9 years ago.
Improve this question
I want to post a message/image on facebook created page.I have created the functionality in my website admin section to upload image,add contents but need to know how can i post directly from website to my facebook page .
I have created a website in php.
It is easy to post pictures and status in FB using PHP. See the below link..
https://developers.facebook.com/docs/reference/php

Get recently viewed posts by using PHP [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions concerning problems with code you've written must describe the specific problem — and include valid code to reproduce it — in the question itself. See SSCCE.org for guidance.
Closed 9 years ago.
Improve this question
I want to store and display recently viewed posts. I don't want to use cookies because not only want to show what the visitor him/her self viewed posts but viewed by others as well.
I know I can simply store post id in the table and display the data. But is this is best way to do this. As I understand this will store huge amount of junk data in the database as I only want to display 10 latest viewed posts on my website.
Can anyone tell me a better way to do this or is this the only way to do this?
Add a "dt_lastViewed" field to your "Posts" table. Update it when it's been viewed, and pull the top 10 for your module.
Optionally, create another field called "timesViewed" so that you can increment and track the most popular posts! May be considered YAGNI

Auto suggestion in search with json return [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions concerning problems with code you've written must describe the specific problem — and include valid code to reproduce it — in the question itself. See SSCCE.org for guidance.
Closed 9 years ago.
Improve this question
Auto suggestion in search with json return
I want to returning json data from database when user search in box.
And display suggestion box of searched text.
You added jquery at your tags, So, I suggest you take a look at this plugin:
http://jqueryui.com/autocomplete/
You just need to create the "availableTags" variable after process your JSON result.
To see the example, click on "view source" at link.
You can use http://jqueryui.com/autocomplete/ plugin.
It has support for having remote data source which will help you in accomplishing everything you mentioned above.
You can go through the examples given in the link for implementation details. This section http://jqueryui.com/autocomplete/#remote will be more useful for your requirement.

Ajax load more button in Recent posts widget wordpress [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions concerning problems with code you've written must describe the specific problem — and include valid code to reproduce it — in the question itself. See SSCCE.org for guidance.
Closed 9 years ago.
Improve this question
I create Recent posts Wordpress widget and i trying to create load more button for it to get more Recent posts links by ajax, like twitter ,is there any tutorial for how to make it?
Take look at source of infinite scroll plugin,it's do what exactly you need,and also to develop something like that ,this can help you.

create a form similar to a website [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions concerning problems with code you've written must describe the specific problem — and include valid code to reproduce it — in the question itself. See SSCCE.org for guidance.
Closed 9 years ago.
Improve this question
Help please create a form similar to a website.
How can i achieve a form like in this website www.myclean.com, i already got the first step in the form which is the slider and checkbox.
Now I need to know how to process that information and put it in the another page please try the form in this site www.myclean.com.
I can only think of php to do this get or post, do you have other ideas?
Thanks! :)
here is what I did in my slider and checkbox.
jsfiddle.net/z2zaz/9/
You can process the form in nearly any language you'd like, or you can email the results to yourself, but I'd recommend against that due to all the spam bots.
The language doesn't really matter. PHP is a fine solution, if that's what you're asking.

Categories