Useful tips for the hub
Hey everyone!
There's a lot of cool little tricks that aren't so obvious, and i thought it'd be nice to have a thread with all of them! (don't hesitate to post yours, i'll edit this post to add them)
(something in [brackets] means you need to replace the brackets by that something)
(ex: pool:[pool_id] --> pool:1234 )
h2. The must-know:
* To add posts to pools, you must go to your <<hypnohub.net/user/edit|user setting page>> and enable "Advanced Editing". Once you save, the option to "Add to pool" will be shown under "Options" on post pages
** Alternatively, you can add the tag "pool:[pool_id]" on a post to add it to a pool
* This isn't a tip but a workaround to a bug on the hub, if you need to add a parent post, don't do it on the upload page and instead do it on the post page after the post is uploaded, otherwise it won't show up as a child post on the parent post
** If a post is already affected by this bug, just remove the parent post, save changes, then add it back
h3. Useful stuff in no particular order
* You can sort posts by popularity using "{{order:score}}" as a tag (you can also use "{{order:random}}" to sort randomly)
* Most people know you can view deleted posts by using the MD5 ( hypnohub.net//data/image/[md5].[file_extension] ), but if you don't want to have to find the file extension, you can use hypnohub.net/hypnohub-hover-zoom.php?post=[post_id]
* You can use "pool:[pool_id]" as a tag to show all the posts in a specific pool, which makes it very easy to edit tags in bulk with tag scripts
** ex: {{pool:3522}}
* Speaking of tag scripts, they're very useful, you can access them in the "mode" dropdown menu under the search bar
** Some tips for the tag scripts:
** -putting "-[some_tag]" in the tag script will remove that tag from selected posts
** -putting "hide" or "show" as tag will hide or show posts in index, respectively (very useful when uploading pools, note that this also works at upload)
* <<hypnohub.net/help/cheatsheet|There's a cheat sheet to help you learn how tags work>>
* <<hypnohub.net/help/dtext|As well as a page on text formating for comments/forum/mails>>
* You can search for posts that are hidden by using the {{shown:only}} metatag
** if you want to see only non-hidden posts, use {{shown:true}}
** (When on the main page, it only only shows non-hidden posts by default, while when searching with any tag, it shows both hidden and non-hidden posts by default)
* Adding some notes to a post and you want to start a new line without having to skip a line? Add two spaces at the end of the previous line instead of skipping a line
* You can "hold" posts so they don't show up in the index while you tag them (more info <<hypnohub.net/wiki/show?title=howto%3Ahold|here>>) (thanks THF for the tip)
* you can use the metatag {{deleted:true}} to search for deleted posts only
** you can also use the metatag {{deleted:all}} to search for both deleted and non-deleted posts at once
* When <<hypnohub.net/comment/search|searching for a user's comments>>, add an underscore and a space (_ ) before the username or you won't get any results.
** For example, to search for Argonis's comments, you'd search "<<hypnohub.net/comment/sear...Argonis&commit=Search|_ user:Argonis>>" (thanks Hypnorgasm for the tip)
* you can use the metatag limit:[number of posts per page] to show a specific amount of posts per page (up to 1000/page)
** ex: {{limit:500}}
h4. Bonus stuff (not that useful but still good to know)
* You can find posts with a specific file extension using the ext:[extension] metatag
** ex: {{ext:png}}
* Did you know there's a handy userscript that allows to use the arrow keys to navigate the site easier? More info in forum #96700 (yes this is shameless self-promotion)
* Want to just scroll through the last ~1000 posts without any bloat? For some reason, you can do that <<hypnohub.net/tag/edit_preview|here>> (in fact, you can even scrool through tags by adding "?tags=tag1+tag2+tag3" at the end of the url, <<hypnohub.net/tag/edit_preview?tags=na_shacho+femsub|exemple>>)
h5. API Tips (spoilered because i doubt anyone really cares)
The API is a poorly documented mess that makes little sense, but if you do want to use it, here's what you need to know (and good luck, you'll need it):
* To authenticate with the API, you must that as your cookies:
"login": username
"pass_hash": password_hash
with password_hash being the sha1 hash of your password salted like this:
choujin-steiner--[password]--
so if your password is 123, you'd hash:
choujin-steiner--123--
and the resulting password hash would be:
db639300ff86c18a676575a60485d910d5fab1cb
* There is no .json endpoint for the notes API, you have to use <<hypnohub.net/note.xml|the XML one>> (have fun parsing all that)
* You can use the limit parameter on pretty much all endpoints, and it usually caps at 1000
-----------
Not tips per say, but you can find some good tagging practice in <<hypnohub.net/forum/show/101899|THF's post below>>
There's a lot of cool little tricks that aren't so obvious, and i thought it'd be nice to have a thread with all of them! (don't hesitate to post yours, i'll edit this post to add them)
(something in [brackets] means you need to replace the brackets by that something)
(ex: pool:[pool_id] --> pool:1234 )
h2. The must-know:
* To add posts to pools, you must go to your <<hypnohub.net/user/edit|user setting page>> and enable "Advanced Editing". Once you save, the option to "Add to pool" will be shown under "Options" on post pages
** Alternatively, you can add the tag "pool:[pool_id]" on a post to add it to a pool
* This isn't a tip but a workaround to a bug on the hub, if you need to add a parent post, don't do it on the upload page and instead do it on the post page after the post is uploaded, otherwise it won't show up as a child post on the parent post
** If a post is already affected by this bug, just remove the parent post, save changes, then add it back
h3. Useful stuff in no particular order
* You can sort posts by popularity using "{{order:score}}" as a tag (you can also use "{{order:random}}" to sort randomly)
* Most people know you can view deleted posts by using the MD5 ( hypnohub.net//data/image/[md5].[file_extension] ), but if you don't want to have to find the file extension, you can use hypnohub.net/hypnohub-hover-zoom.php?post=[post_id]
* You can use "pool:[pool_id]" as a tag to show all the posts in a specific pool, which makes it very easy to edit tags in bulk with tag scripts
** ex: {{pool:3522}}
* Speaking of tag scripts, they're very useful, you can access them in the "mode" dropdown menu under the search bar
** Some tips for the tag scripts:
** -putting "-[some_tag]" in the tag script will remove that tag from selected posts
** -putting "hide" or "show" as tag will hide or show posts in index, respectively (very useful when uploading pools, note that this also works at upload)
* <<hypnohub.net/help/cheatsheet|There's a cheat sheet to help you learn how tags work>>
* <<hypnohub.net/help/dtext|As well as a page on text formating for comments/forum/mails>>
* You can search for posts that are hidden by using the {{shown:only}} metatag
** if you want to see only non-hidden posts, use {{shown:true}}
** (When on the main page, it only only shows non-hidden posts by default, while when searching with any tag, it shows both hidden and non-hidden posts by default)
* Adding some notes to a post and you want to start a new line without having to skip a line? Add two spaces at the end of the previous line instead of skipping a line
* You can "hold" posts so they don't show up in the index while you tag them (more info <<hypnohub.net/wiki/show?title=howto%3Ahold|here>>) (thanks THF for the tip)
* you can use the metatag {{deleted:true}} to search for deleted posts only
** you can also use the metatag {{deleted:all}} to search for both deleted and non-deleted posts at once
* When <<hypnohub.net/comment/search|searching for a user's comments>>, add an underscore and a space (_ ) before the username or you won't get any results.
** For example, to search for Argonis's comments, you'd search "<<hypnohub.net/comment/sear...Argonis&commit=Search|_ user:Argonis>>" (thanks Hypnorgasm for the tip)
* you can use the metatag limit:[number of posts per page] to show a specific amount of posts per page (up to 1000/page)
** ex: {{limit:500}}
h4. Bonus stuff (not that useful but still good to know)
* You can find posts with a specific file extension using the ext:[extension] metatag
** ex: {{ext:png}}
* Did you know there's a handy userscript that allows to use the arrow keys to navigate the site easier? More info in forum #96700 (yes this is shameless self-promotion)
* Want to just scroll through the last ~1000 posts without any bloat? For some reason, you can do that <<hypnohub.net/tag/edit_preview|here>> (in fact, you can even scrool through tags by adding "?tags=tag1+tag2+tag3" at the end of the url, <<hypnohub.net/tag/edit_preview?tags=na_shacho+femsub|exemple>>)
h5. API Tips (spoilered because i doubt anyone really cares)
The API is a poorly documented mess that makes little sense, but if you do want to use it, here's what you need to know (and good luck, you'll need it):
* To authenticate with the API, you must that as your cookies:
"login": username
"pass_hash": password_hash
with password_hash being the sha1 hash of your password salted like this:
choujin-steiner--[password]--
so if your password is 123, you'd hash:
choujin-steiner--123--
and the resulting password hash would be:
db639300ff86c18a676575a60485d910d5fab1cb
* There is no .json endpoint for the notes API, you have to use <<hypnohub.net/note.xml|the XML one>> (have fun parsing all that)
* You can use the limit parameter on pretty much all endpoints, and it usually caps at 1000
-----------
Not tips per say, but you can find some good tagging practice in <<hypnohub.net/forum/show/101899|THF's post below>>