vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=194)
-   -   Miscellaneous Hacks - CES NuWiki Special Pages (https://vborg.vbsupport.ru/showthread.php?t=155813)

Kaelon 02-08-2008 04:34 PM

Quote:

Originally Posted by thincom2000 (Post 1438729)
Hi, just wanted to keep you updated since it's been a while since I promised this SOON.

Since last time (about 12 days ago), I have:
- extended headlines so that their sections are collapseible via AJAX
- extended section editing so that sections are editable via Quick Edit
- rewritten showthread.php
- rewritten class_postbit.php
- rewritten class_bbcode.php

I am basically in the process of debugging my rewrites right now, and I have a number of fixes in mind already for the morning but I'm tired and going to bed.

I'm also considering distributing this with a Help namespace filled with articles (so a bunch of threads would be auto-created on install) about how to use it compared to the original NuWiki.

Awesome! Thanks, thincom! Do you know how close you are to release?

Also, will it be fairly easy to upgrade a pre-existing (and heavily popualted) NuWiki installation with this support pack?

thincom2000 02-08-2008 06:05 PM

It should be pretty easy to upgrade - the reason I'm taking so long to debug is to make sure nothing from default NuWiki is broken. A number of hooks have been changed, so I'm currently moving all the existing plugins to the new hooks.

Also, a number of AdminCP tools are going to be included to help with the various database changes (for example, old posts would need to be reprocessed using the new system). It will be highly recommended to turn off your board while applying this pack because every existing post will (ideally) need to be (auto-)modified during the upgrade process and the install scripts will probably slow down your site quite a bit during that time.

But don't worry, since a detailed readme will be included explaining all of this, as well as (I think) a Help namespace to describe the functionality of the changes.

Kaelon 02-09-2008 03:46 PM

Good to know, thincom. Thanks!

When you say "every existing post", do you mean every post on the forum? Or just posts in wiki forums? My site has over 1.5 million posts, so re-processing all of them might be traumatic, so I will want to plan ahead.

Thanks again!

thincom2000 02-10-2008 09:50 AM

By "every existing post" I mean every post on the forum. This is to properly support the (now deprecated in my patch) [wiki] bbcode that your users may have used. If you haven't used this code in non-wiki forums, I can add a setting to only process wiki articles.

As of this morning in my debugging:
- redirects working
- templates working (going to add permissions -> you can't "include" a template that you can't edit)
- tables of contents working again, using [TOC]no/force/book/_blank_[/TOC] bbcodes

andrewkhunn 02-11-2008 01:14 AM

I am anxiously awaiting your work as well thincom. Just thought I ould pop by the thread and let you know you have at least 1 more person very interested in the extra functionality you are providing now that ElfMage has gone MIA.

thincom2000 02-11-2008 03:04 AM

Quote:

Originally Posted by thincom2000 (Post 1439947)
(going to add permissions -> you can't "include" a template that you can't edit)

I decided against this because users with different permissions may edit the same article. The buggy situation: a second editor (without template editing permissions) wouldn't be able to save the post without removing templates that the last editor added.

Since templates should be more for quick formatting than for content anyway, I guess I should be satisfied to leave template-including permission-free.

I spent today updating post preview with the new parser, and fixing all the horrible bugs that arose. Now post preview will show a fully-rendered wiki article in the wiki postbit, instead of the bland "Preview" box.

Left on the agenda:
- rewrite wikify second post (probably about 2 days)
- test auto-links (probably about 1 day)
- test cached posts (need to delete postparsed row on save of used link to support templates and "red" links) (1 more day)
- handle inlinemod deletespam (2 hours or so)
- create legacy-to-bbcode permanent conversion tool (3 hours or so)
- create help articles (2 to 3 days)
- create install.xml (2 hours or so)

So that leaves about a week before this is ready for public release. Keep your fingers crossed that I can actually write the help system faster than that.

thincom2000 02-12-2008 04:20 AM

Okay I wanted to ask who actually uses the Second Wiki Post feature. This is the most incompatible piece of code I've come across so far that I think I may just revamp the way they are utilized and handled completely (e.g. with a [SPLIT] bb-code), so that as far as the database is concerned the first and second wiki post are actually the first post.

Whoever uses it, please tell me WHY (what makes it a good feature for you) so that I make sure not to break anything when I do rewrite it.

tscargo 02-12-2008 10:22 AM

Hi Thincom,

Looking at this thread I see you have been extending NuWiki ?
I am planning to integrate Wiki functionality on a new vB (3.7) powered site.
But due to the absence of ElfImage from the NuHIT forum I am a bit worried.
Would you be able to offer (paid) support and bugfixes to NuWiki (and your extension) ?
Or do you know of a similar (but supported) vB/wiki extension ?

Thanks,

Taco

thincom2000 02-12-2008 03:37 PM

Hi. Yes, I believe myself to be knowledgeable enough about NuWiki to be able to offer support for it.

In other news, just a tiny set-back. While working on the Second Post feature, I attempted to merge 2 articles, only to discover that the system I had written to handle NuWiki article merges didn't work as expected.

andrewkhunn 02-12-2008 04:32 PM

Is this newest iteration of yours going to be 3.7 tested? That is about the biggest issue for me at this point. All the other changes and tweaks you're making over and above 1.3 RC1.

Also, thanks for this!


All times are GMT. The time now is 11:17 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01145 seconds
  • Memory Usage 1,742KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete