Coder Social home page Coder Social logo

vichan-devel / vichan Goto Github PK

View Code? Open in Web Editor NEW

This project forked from savetheinternet/tinyboard

602.0 602.0 194.0 45.75 MB

Vichan is the most popular and widely used imageboard software in the world. It is a free, light-weight, fast, highly configurable and user-friendly imageboard software package.

Home Page: https://vichan.info

License: Other

PHP 51.21% JavaScript 23.25% CSS 12.83% HTML 12.68% Shell 0.01% Makefile 0.01%

vichan's People

Contributors

27chan avatar admin-kaf avatar aeosynth avatar anonfagola avatar antedeguemon avatar asiekierka avatar basedgentoo avatar bui avatar cccxd avatar ccd0 avatar circlepuller avatar ctrlcctrlv avatar czaks avatar discomrade avatar fatchan avatar h00j avatar hjaelp avatar jasonpuglisi avatar macilprime avatar marktaiwan avatar marlencrabapple avatar perdedora avatar pmer avatar pvnfu-28 avatar realangeleno avatar seisatsu avatar thegentoo avatar topkek avatar undido avatar zankaria avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

vichan's Issues

Google Closure Compiler integration

Why?

Our JS codebase tends to grow. We can factor out this way some unused code from the libraries. Also support for sourcemaps, which may prove being a useful feature.

This may mean a need for some refactoring.

Animations

Tinyboard is pretty dull with regards to eyecandy. This should be improved with an option to disable animations altogether.

Cannot upload GIFs or WebM videos

I have installed and reinstalled this fork multiple times on Debian Wheezy with nginx. However, after every installation I cannot upload GIFs nor can I upload WebM videos (after of course adding the required lines to instance-config.php from inc/lib/webm/README.md, then rebuilding for good measure).

On the rare occasion that I am able to upload either, no file is attached to the post. It is shown as a purely text reply.

Please let me know if you require further information.

err

Show own posts

How to do it:

  1. record posts during post
  2. use postpassword

I'd rather take the second approach, but not directly (postpasswords can be used to remove posts and can be used to correlate all posts by a given user), so:

Templates should output postpassword for every post in such a way, that:

  1. Owner of such a postpassword can safely assume it's his own password
  2. Every output postpassword should be different
  3. It should be impossible to take the encrypted form and transform it to plaintext.

I'm researching ways on how to do it.

Desktop notifications

Given that we have a good notification system now, we can take a step further and enable users to see new replies even when outside of web browser.

This feature depends on:

Your copyright

It's a little bit messed up. Only on the home page though.
2014-04-18 06 49 07

Mod extension for the catalog.

There is no mod/admin interface for board catalogs. First issue would be the possibility of viewing the catalog while being logged in, meaning /mod.php?/board/catalog.html
The next one would be adding mod specifics (ip, delete) near the post or some mini version of it.

Can't view banpage.

Using PHP 5.3x, when I ban myself and try to post, I just get this.

Caught fatal error: Call to a member function fetch() on a non-object in /var/www/inc/functions.php on line 697

Ban page improvements and shortcut from dashboard

It would be nice to have the mod.php?/ban linked in the moderation dashboard.

As of now you have to type that directly into the url to ban someone without using the moderator functions in a thread.

It also has no board selection and is very basic. New mods cant find that unless they try a bunch of stuff.

Mayhaps also throw in some new features like image hash bans or making the ban from board selection use checkboxes instead of radio buttons so you can ban users from multiple specific boards.

Searching via Dashboard

When searching for terms (logged as admin on dashboard)
I get SQL error (filename field doesn't exist)
Removed it from line 235 at pages.php

Jquery update

Jquery version in use by Tinyboard starts to show its age. Let me remind you, jquery 1.7.1 was released more than two years ago. In the meantime, there were some paradigm shifts and calls this library use start to become deprecated.

On the other hand, I don't see many incompatibilites with code we use or plan to use, despite the dating of this library.

Bootstrap

What do you think about leaving the visual baggage from the early imageboards behind? I think that moving to Bootstrap or other framework could be a big asset for TB. Such frameworks are very popular and have a lot of styles too choose from. Switching between styles is effortless., even if styles weren't designed to handle an imageboard.

Currently TB is nothing more than a clone of an very old idea. Maybe rising it to modern standards would give TB an edge?

I'd be ready to help if you considered this idea seriously. Shall I prepare a mock-up?

Quote links in noko50 threads

When viewing the last 50 posts in a thread, if one of the last 50 posts is quoted, it'll link to ???/res/???.html#??? instead of ???/res/???+50.html#???. Tested on fresh installation.

Document javascripts

Some javascripts are undocumented. This makes them hard to enable for newcomers.

Class 'Api' not found.

Caught fatal error: Class 'Api' not found in /var/www/inc/functions.php on line 1417

Getting this while installing, thoughts?

Ukko doesn't seem to actually install

If you try to install Ukko, it will give you:
"Successfully installed and built theme."

However, the page isn't actually created, and it doesn't actually appear to be installed (although mod.php will show it is).

Catalog is broken

It's broken on 5.0 instances of vichan. See: https://www.8chan.co/legion/catalog.html
All of the threads are in a straight line. Appears to be working on 4.5 though. Also, may just be me, but in the recent theme, it displays 0B even though I have a bunch of content.

User config panel

While we grow in features, users not necessarily want to enable everything. Also, users want some features that depend on this thing, for instance:

  • User CSS
  • User backgrounds
  • User JS

(i will not open new bugs for these, they are trivial to implement)

Page expanding on indexview

A suggestion to add [All] to paging applet to make boards "infinitely"-scrollable. Just like /*/ works now.

Mark threads for move on 404.

This should be some improvement to thread moving system, some checkbox, or so, to delay moving a thread to some other board. The move would occur when thread is going to 404.

This should enhance the lifetime of threads originally posted on an active board.

Switch to Zend_Translate (which supports existing gettext files)

The reasons for this are many:

  • gettext.php is under GNU GPL, not even legal to be used in Tinyboard or vichan
  • Gettext does not officially support a locale we have, eo (Esperanto)
  • If locales are not installed gettext doesn't even work silently, leading to many unneeded support requests
  • Most shared hosting providers do not allow you to edit php.ini and thus disable gettext.so

Live notifications for index view

Index shall be updated when new posts happen. Injecting new posts is a no-go, because of the scrolling issue and page may get cluttered up easily. I'd rather interface it with expand.js and just add a line under a thread when new posts happen and some line about how much new threads have arrived. This feature would use 4chan api, as watch.js (maybe some integration? i'd rather make it a new script).

'Post' event handler throwing weird errors.

We spoke on IRC yesterday, and you gave me some kind of pseudo code for a fortunes system, this is what it looks like:

`event_handler('post', function($post) {

$fortunecolours = array("red", "purple", "green", "blue");

$fortunes = array("You'll have dubs in no time!", "You've been snaked.", "Check the tunlel!", "Godly Luck", "Good Luck", "Bad Luck", "Average Luck", "Good news will come to you by mail", "You will meet a dark handsome stranger",
    "le ebin dubs xDDDDDDDDDDDD", "キタ━━━━━━(゚∀゚)━━━━━━ !!!!", "( ´_ゝ`)フーン", "Reply hazy, try again", "Excellent Luck", "ヾ(⌐■_■)ノ♪");

shuffle($fortunecolours);
shuffle($fortunes);

if($post['name'] == '#fortune') {
    $post['body'] .= "<br><br><strong><font color=" . $fortunecolours[0] . ">Your Fortune: " . $fortunes[0] . "</font></strong>";
}

});`

However, when posting with #fortune, I get the following

Fatal error: Cannot use object of type stdClass as array in /var/www/cj/config.php on line 58. The line in question being if($post['name'] == '#fortune') { - any ideas?

Thanks.

edit: I tried swapping out the $post['body'] and name to $post->body and $post->name. This worked (didn't throw any errors), but used the tripcode like normal and didn't append anything to the post's body.

edit two: if(strpos($post->name, '#fortune') !== false) { $post->body .= "<br><br><strong><font color=" . $fortunecolours[0] . ">Your Fortune: " . $fortunes[0] . "</font></strong>"; } dosen't work either.

Support syntax highlighting

It would be nice to have at least a basic support for highlighting code, i.e., some kind of polyglot, catch-all that would highlight the most frequently used keywords, string and number literals, symbols, etc.

A more robust option would be to use a third-party highlighting library with either (a) supplying the language in the markup (e.g. [code lang=ruby]puts "hello world"[/code]), or (b) employing a probabilistic language recognition algorithm. This may not go well with the current light-weight, few-dependencies philosophy, though.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.