Comments (5)
This is planned.
IP addresses can be stored by setting the $ip_addrs
variable in settings.php
to 'yes'
from hashover.
I have imported comments from Disqus using the following (dirty) code:
https://gist.github.com/jacmoe/e9d1ffdbd10c6022f71e394458c46da6
I assumes that the body of the comments is clean - which it should be, since it is from Disqus.
The script saves the comments as xml files named after the timestamp - then it is a small matter of sorting them and renaming them 1, 2, 3, ..
I hope it will serve as a starting point :)
from hashover.
Also, a proper encryption key (from settings
) should be inserted into it :)
I am running the script in the shell.
from hashover.
The script does not check if the thread url is wrong - which it can be, if you accidentally use the Disqus code on localhost or other sites (forgot to change the script) - I just went through the exported xml and removed the erroneous threads.
If a thread url is wrong, it usually means that there are duplicate thread id's, which will (maybe) create problems.
Anyway: I hope this helps.
from hashover.
Thank you for the code @jacmoe!
There will be a way to import Disqus comments into HashOver eventually, but the format of the HashOver comment files/database needs to be finalized before the import code can/should be written.
In HashOver 2.0 some progress has been made in allowing a script to "emulate" posting a comment, so as long as there is a way to sort the Disqus comments than they will automatically be imported in the proper 1, 2, 3 naming scheme. This work isn't done, though, it needs to be made easier to allow importing comments from any other kind of comment system.
from hashover.
Related Issues (20)
- Adding 'email_tooltip' to locales.php HOT 1
- Just now I discovered the other repo "hashover-next"... HOT 2
- False dectection of external use when running on non standard port. HOT 2
- Disabling icons doesn't remove avatars from forms
- Need help with the installation on LocalHost HOT 1
- I need Installation help for HashOver 2.0 HOT 1
- Where is the database configuration file? HOT 1
- Issue while testing Hashover on localhost HOT 2
- How to make a PJAX overload on Hashover? HOT 10
- How can I show multiple hashover comment areas on one page? HOT 2
- Use of multiple / in URL can confuse comment page directory calculation HOT 1
- path location HOT 1
- Doesn't start with XAMPP HOT 2
- tildehash.com not available HOT 2
- Some image paths are hardcoded to assume the root directory to be /hashover/ HOT 1
- use chinese sent email will show error
- php7.4 not work HOT 1
- Using only the backend HOT 1
- Great Script But...
- Error 500
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from hashover.