News:

SMF 2.1.4 has been released! Take it for a spin! Read more.

Main Menu

AJAX Board Reordering - v2.0

Started by ascaland, January 09, 2012, 08:20:28 PM

Previous topic - Next topic

ascaland

AJAX Board Reordering


Link to Mod || Author || Support Topic


This modification allows membergroups with the permission to manage boards, rearrange the order of boards dynamically and without page load using the jQuery Javascript library.

Released under the GNU/GPL license.

Created by Anthony Calandra/Anthony`/Project Evolution - 2012.

Matthew K.

Congratulations, very nice job. Keep it up bro.

Antechinus


mashby

Had to install this on a test site solely because it uses jQuery (when needed). Dig it!
Always be a little kinder than necessary.
- James M. Barrie

The Craw

Very very nice. I'm glad to see some more people using jQuery to its full potential, and not just for UI animation.

Matthew K.

Quote from: The Craw on January 09, 2012, 09:22:23 PM
Very very nice. I'm glad to see some more people using jQuery to its full potential, and not just for UI animation.
Are you trying to tell me something? :P

The Craw

Quote from: Labradoodle-360 on January 09, 2012, 09:23:25 PM
Quote from: The Craw on January 09, 2012, 09:22:23 PM
Very very nice. I'm glad to see some more people using jQuery to its full potential, and not just for UI animation.
Are you trying to tell me something? :P

Not you personally, no.


Robert.


ascaland

Thanks for all the great comments!

Quote from: Nibogo on January 11, 2012, 10:22:35 AM
Nice mod, if doesn't exists yet, you'd Add ajax to collapse boards

Hopefully I can get to that soon, I got a bit of a TODO list but with exams coming up I might get a bit stalled in development. :)

digit

#10
I just installed it and don't understand what it is supposed to do. Any more screen shots?

I set up a user as a Global Mod - made sure global mods can manage the boards, yet I see no difference with that user.   :'(



WOAH.  Just reset the forum to the default theme and wow.

Pretty cool!   8)

I don't want to even test it it looks so cool. LOL

These changes will be permanent to all users? (just like re-ordering boards in the admin section, but way cooler looking?)
Happily using a heavily modified 1.1.16 version of SMF!

2748011 Posts in 320998 Topics by 50986 Members


SOLD my website - thanks it was a good run - they converted to vbadvanced. (and screwed it up good!)

ascaland

Quote from: digit on January 23, 2012, 03:10:26 PM
I just installed it and don't understand what it is supposed to do. Any more screen shots?

I set up a user as a Global Mod - made sure global mods can manage the boards, yet I see no difference with that user.   :'(



WOAH.  Just reset the forum to the default theme and wow.

Pretty cool!   8)

I don't want to even test it it looks so cool. LOL

These changes will be permanent to all users? (just like re-ordering boards in the admin section, but way cooler looking?)

Yes, they will. :)
It reorders the board and sends a query back to the server so it can modify the database.

ormuz


Arantor

Hard to give a *demo* of something in the admin panel. Why not try it out on a test site?

ormuz

Quote from: Arantor on January 26, 2012, 09:17:39 AM
Hard to give a *demo* of something in the admin panel. Why not try it out on a test site?

Sorry, I thought this was a frontend feature. My bad...

Matthew K.

It is a front-end feature...Arantor just didn't know :P

Arantor

*shrug* Yes, yet another thing I got wrong.

Matthew K.


Mikirin

Is there any way to make it per-user? For example, I have a General Discussion category and a Hobbies category, and I want users to be able to easily select which order they're in. Is that possible?

So User A can have...
General Discussion
Hobbies

and User B can have...
Hobbies
General Discussion

Matthew K.

It's not possible with that mod, although I did have that idea a while back, decided to drop it because this mod, but I suppose I could do it sometime.

Mikirin

Quote from: Labradoodle-360 on March 26, 2012, 06:44:12 PM
It's not possible with that mod, although I did have that idea a while back, decided to drop it because this mod, but I suppose I could do it sometime.
I would love to see it made. ♥

ascaland

Quote from: Mikirin on March 26, 2012, 06:51:13 PM
Quote from: Labradoodle-360 on March 26, 2012, 06:44:12 PM
It's not possible with that mod, although I did have that idea a while back, decided to drop it because this mod, but I suppose I could do it sometime.
I would love to see it made. ♥

Possibly in the future. Maybe, maybe not.

FrizzleFried

This mod is not compatible with the statistics in jquery mod.  Any way to make it so by chance?


ascaland

#23
Quote from: FrizzleFried on June 15, 2012, 04:23:04 PM
This mod is not compatible with the statistics in jquery mod.  Any way to make it so by chance?

Sorry I seemed to have made a mistake in my previous un-editted post.

It seems that the jQuery UI isn't being loaded due to some logic on my part. In BoardIndex.php, replace,
        <script type="text/javascript">
            !window.jQuery && document.write(unescape(\'%3Cscript src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"%3E%3C/script%3E%3Cscript src="https://ajax.googleapis.com/ajax/libs/jqueryui/1.8.16/jquery-ui.min.js"%3E%3C/script%3E\'));
        </script>


With,
        <script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jqueryui/1.8.16/jquery-ui.min.js"></script>

This means the jQuery statistics mod needs to be activated in order to have this work. I will hopefully get this fixed up for version 2 sometime tonight or tomorrow.

ascaland

This mod is now updated! It can now handle board re-arrangements to new categories.

ocmdiaz714

How does it work? Do I hold down the forum name and drag?

ascaland

Quote from: ocmdiaz714 on August 27, 2012, 02:47:55 AM
How does it work? Do I hold down the forum name and drag?

Hold down the board block and drag it to the place you want it.

Snrj

turkish translate
Modifications.turkish-utf8.php or Modifications.turkish.php find
?>
after
$txt['reorder_boards_success'] = 'Bölüm Başarıyla Taşındı.';
$txt['category_confirm_text'] = 'Bu bölümü farklı bir kategoriye taşımak istediğinize emin misiniz?';
$txt['enable_ajax_reorder'] = 'AJAX Bölüm Sıralamayı Etkinleştir?';


can not see the modifications to the admin panel
Sources/Subs.php find
function integrateReorderBoardsSettings($config_vars)
replace
function integrateReorderBoardsSettings(&$config_vars)

-Rock Lee-

This had not ever seen ... let's try it!

Modifications.spanish_latin.php
$txt['reorder_boards_success'] = 'Foro movido con de &eacute;xito.';
$txt['category_confirm_text'] = '¿Est&aacute; seguro de que desea mover el foro para una nueva categoría?';
$txt['enable_ajax_reorder'] = '¿Habilitar AJAX reordenamiento de foros?';


and Modifications.spanish_latin-utf8.php
$txt['reorder_boards_success'] = 'Foro movido con de éxito.';
$txt['category_confirm_text'] = '¿Está seguro de que desea mover el foro para una nueva categoría?';
$txt['enable_ajax_reorder'] = '¿Habilitar AJAX reordenamiento de foros?';



Regards!
¡Regresando como cual Fenix! ~ Bomber Code
Ayudas - Aportes - Tutoriales - Y mucho mas!!!

JerzyLS

It's still working?
I just installed it... and I can't see any enhancements. :(

Advertisement: