Mediawiki include articles from external wiki [closed] - php

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 8 years ago.
Improve this question
I have created my own wiki using mediawiki. Now I would like to know if it is possible to dynamically include articles from an external wiki.
For example, if my wiki does not contain an article about the topic "potato" and a user visits the page "mysite.com/wiki/potato", I would like to display on this page the potato-article of wikipedia.org (http://en.wikipedia.org/wiki/Potato).
Is there a php solution (using the wikipedia-api) which can accomplish this?

There are several possible approaches. Here are some rough ideas:
With the ExternalData extension you can pull in data from Wikipedia's API.
The Anysite extension can put any other page in an iframe. You would probably want to use a rendered version of the page, and somehow add back the CSS to make it look good.
Both of these don't solve the issue of someone landing on a page that does not exist yet. You can take a look at the code of the Special404 extension for some ideas to get started. And if you start hacking something yourself you probably don't need the above extensions anymore.
But you should be aware of the problems with what you want to do. Are you sure you want to have all URLs that work on Wikipedia be valid URLs on your wiki? Are you okay with creating heaps of duplicate content?

Related

An Algorithm/PHP code for word finding game [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 8 years ago.
Improve this question
Well, I recently have been trying to come with code to create matrix in which word hunting can be done. I want the user to initialise rows, columns and of course give the words, it is too difficult to create such code/algorithm as the words can be placed vertically, horizontally or diagonally. I also tried google for such algorithms but without any luck. So, if anyone has an algorthm in mind or has written such PHP code, itll be really great if I can see that.
Thanks in Advance,
Nalin Bhardwaj
I am so sorry , I posted this question here, as suggested by one of the users, I googled a few different things online an dhave found a ruby file which has been built for the same purpose. And , if anybody would like to access it, they may check it out online at http://blade.nagaokaut.ac.jp/cgi-bin/scat.rb/ruby/ruby-talk/298382 . And, now I have decided to use this algorithm itself to create such a PHP file. Thank you everybody, for suggestions

Create interactive plots R-plots on website [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 9 years ago.
Improve this question
Last year I was working on a project concerning the creation of R-graphics. I remember that, during my research then, I came across something to visualize interactive R-graphics on a webpage. Unfortunately, I don't remember the name.
Does anyone know a good package/... to achieve this? I would like to get data from a database, use this data to generate a plot using R, and then visualize the plot on a webpage.
There are two ways of doing this. You could either use an direct method or an indirect method. For the indirect method you generate the javascript in your R script and pas it on to PHP (which is a lot of work but gives really nice graphs):
direct method
Knitr - compatible with R-studio
GridSVG
Shiny - compatible with R-studio
Indirect
Highcharts
D3.js
Rickshaw
Personally I'm most excited about epivizr which makes use of D3.js

Magento - I need a "Good" tutorial on howto create a custom contact form [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 9 years ago.
Improve this question
I found heaps of tutorials on Google, but none of them actually cover howto "create" the form, they all revolve around modifying an existing form(and overwrite it), rather than creating a new one by duplicating it.
Anyone know of a good tutorial that will show me how to do that?
Ideally I need to get file attachments in there too, but that'll come later :P
This tutorial might help you http://activecodeline.net/magento-custom-email-contact-form-with-notification-system
First of all, while you can make a contact form itself in HTML, and add basic interaction with Javascript, you'll have to use PHP with the send email function to send the email to yourself. PHP will also be used to upload files.
I don't think there's any one perfect tutorial, as you'd generally want to read a tutorial to get the gist of how its done, then do it your way, but you could try one of the ones here: http://www.html-form-guide.com/category/email-form

Free and secure PHP user management system [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 8 years ago.
Improve this question
I'm looking for an secure php usermanagement system. It should be just the logics, so no markup or too much content (like messages etc.). I know I could just build it myself, but I doubt if it will be the most effecient usermanangement system.
The system should be at least
able to verify if the user is human
very secure (security against hacks, but also protect the users from their stupidity)
effecient (number of users will start at 1k and from then grow exponentially to around 100k)
capable of handling roles and capabilities
You guys got any recommandations?
You can use any of the following scripts:
http://sourceforge.net/projects/phploginsystemw/ (Login with 5 levels of security)
http://usercake.com/
http://www.downscripts.com/user-management-script_php-script.html
http://userpie.com/
http://gscripts.net/free-php-scripts/Login_Management/PHP_Login_Script/details.html
http://www.webresourcesdepot.com/free-php-user-management-script-log-me-in/
You should probably take a look at this:
http://www.hotscripts.com/category/scripts/php/scripts-programs/user-management/
I have use this before:
http://sourceforge.net/projects/phploginsystemw/
worked for me.
Take a look at drupal. It is a framework with modules for this stuff. You will be able to get away with very minimal coding.

Manage Tags for entries of the website with JS and PHP [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 9 years ago.
Improve this question
In my webiste, I classify all my entries by categories, wich its becoming a little confusing as I have like 3.000 entries now.
so, I need to implement tags.
I know all the website use them now, wordpress and everything.. I have been google'ing for a real while... is there a built in script (or almost) to manage tags? (insert tags, list tags, top tags,.)
I mean, there has to be any utility that can help me with this.. do you know any?
you haven't found a script probably because using tags is quite simple :)
I have implemented tags into one of my projects using the "Scuttle" solution in the next link:
http://www.pui.ch/phred/archives/2005/04/tags-database-schemas.html
Hope this helps...
Treat your categories as tags now.
If your categories are not poly-hierarchical, then consider making them so.
(eg an article could appear in more than one category)

Categories