vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Graveyard (https://vborg.vbsupport.ru/forumdisplay.php?f=224)
-   -   Major Additions - VaultWiki: A Wiki for your forum (https://vborg.vbsupport.ru/showthread.php?t=239377)

Leica.Robbiani 04-08-2010 10:36 PM

Hi thincom2000,

Quote:

I forgot to include the updated templates in the download.
Doesn't matter, sometimes we can't think for anything. Now I check it out. Thanks again.

L.R.

thincom2000 04-12-2010 07:03 PM

Over the next couple of days, work should start picking up on a new update, with some improvements to the parser, CSS, and icons. I'll let everyone know as we get closer to a release.

thincom2000 04-26-2010 03:38 PM

Just released: 3.0.2 Lite. Includes some parser changes / fixes, rewritten CSS, and wiki forum / thread icons.

MrFlicks 04-26-2010 07:28 PM

I am really confused by this mod/addon

I have it installed and made a couple of test entries, but found I can't even edit the entries as an admin!

Not sure if the same applies to members, but how exactly is this a Wiki if even the original poster cannot edit the post.

Where is the ability to have multi user interaction so this really performs as a Wiki?

thincom2000 04-26-2010 09:51 PM

Did you set the permissions?

jgruberman 04-27-2010 02:52 PM

Receiving the following when clicking on Wiki on the top navbar:

"Invalid ces_article specified. If you followed a valid link, please notify the administrator"

thincom2000 04-27-2010 02:56 PM

In vault/special_class_wiki.php, find:
Code:

                $this->affix_prefix($urlinfo);
Add before:
Code:

                if ($urlinfo['namespaceid'] == 6 AND $urlinfo['title'] == '')
                {
                        if (VAULT_40X_COMPAT)
                        {
                                $urlinfo['url'] = fetch_seo_url('forum|js', fetch_foruminfo($this->namespacecache[6]['forumid']));
                        }
                        else
                        {
                                $urlinfo['url'] = $vbulletin->options['bburl'] . '/forumdisplay.php?f=' . $this->namespacecache[6]['forumid'];
                        }

                        return;
                }


jgruberman 04-27-2010 03:20 PM

Quote:

Originally Posted by thincom2000 (Post 2028142)
In vault/special_class_wiki.php, find:
Code:

                $this->affix_prefix($urlinfo);
Add before:
Code:

                if ($urlinfo['namespaceid'] == 6 AND $urlinfo['title'] == '')
                {
                        if (VAULT_40X_COMPAT)
                        {
                                $urlinfo['url'] = fetch_seo_url('forum|js', fetch_foruminfo($this->namespacecache[6]['forumid']));
                        }
                        else
                        {
                                $urlinfo['url'] = $vbulletin->options['bburl'] . '/forumdisplay.php?f=' . $this->namespacecache[6]['forumid'];
                        }

                        return;
                }


This worked, thanks. Top notch support. Marked as installed and reviewing for pro version.

trackpads 04-27-2010 04:03 PM

Just bought pro, glad I could support. Thanks again,

-Jason

jgruberman 04-27-2010 06:06 PM

Some users are receiving an error. If you click on the Title, we get the error, if we click on the arrow to go to last post, it works just fine.

"Forbidden You don't have permission to access /http://www.dfwsportbikes.org/showwiki.php on this server. Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request. Apache/2.2.15 (Unix) mod_ssl/2.2.15 O"

Any ideas?

Stefanus 04-27-2010 08:09 PM

Upgrade from 3.0.1 Lite to 3.0.2 Lite: (vBulletin 4.0.3 Patch Level 1)

The page stays on the following:

Quote:

XML File Versions

ces_nwsp_spec-style.xml
ces_nwsp_spec-settings.xml
ces_nwsp_spec-plugins.xml
ces_nwsp_spec-language.xml
ces_nwsp_spec-adminhelp.xml

This script will update your plugins, templates, settings, language, and admin help to the latest versions.

Press the 'Next Step' button to proceed.
There is no "Next Step" button but a "Proceed" button, the page refresh but nothing happens.

thincom2000 04-27-2010 08:47 PM

Quote:

Originally Posted by jgruberman (Post 2028216)
Some users are receiving an error. If you click on the Title, we get the error, if we click on the arrow to go to last post, it works just fine.

Any ideas?

This is a bug in the Recent Threads module in vBadvanced, which was discussed earlier in this thread. Basically the module assumes that all URLs are relative, without actually checking. You'll have to exclude the wiki forum from Recent Threads using whatever options that module uses. In any case, the regular forum view should work fine.

Quote:

Originally Posted by Stefanus (Post 2028260)
There is no "Next Step" button but a "Proceed" button, the page refresh but nothing happens.

I will be updating the ZIP shortly to address this.

Stefanus 04-27-2010 08:53 PM

Quote:

Originally Posted by thincom2000 (Post 2028274)
This is a bug in the Recent Threads module in vBadvanced,

Don't use vBadvanced, any other conflict?

thincom2000 04-27-2010 08:58 PM

ZIP updated with upgrader fix.

As for any other conflicts, vBadvanced is the only currently known (by me) conflict.

Stefanus 04-27-2010 10:15 PM

Updated with the new zip (ZIP updated with upgrader fix), update ok, but articles does not display the contents/links of the "Contents" block (contents block empty, only block and title), used to in ver 3.0.1

The bb-code [footnote][/footnote] still not functioning correctly and no output for [reflist][/reflist]

Updated version still shows 3.0.1 Lite in ACP Product manager?

thincom2000 04-28-2010 02:40 AM

To fix the "Contents" block edit vault/special_functions_postbit.php. Find:
Code:

                        '#\<h[1-7]\>\<span class="top_link"\>.*\<\/h[1-7]\>#siU',
Replace with:
Code:

                        '#\<h[1-7] class="vw-head"\>\<span class="top_link"\>.*\<\/h[1-7]\>#siU',
To fix the footnotes problem, in vault/special_class_bbcode.php, find:
Code:

                parent::append_custom_tags();
Replace with:
Code:

                if ($this->custom_fetched == true)
                {
                        return;
                }

                $tag_list = $this->tag_list;
                unset($this->tag_list);

                parent::append_custom_tags();

                if (!empty($this->tag_list))
                {
                        $vault->misc['tag_options'] = array();

                        foreach ($this->tag_list AS $option => $bbcodes)
                        {
                                foreach ($bbcodes AS $name => $bbcode)
                                {
                                        // don't overwrite actual bbcodes with database dummies
                                        if (!isset($tag_list["$option"]["$name"]))
                                        {
                                                $tag_list["$option"]["$name"] = $bbcode;
                                        }

                                        $vault->misc['tag_options']["$name"] = $bbcode['wikioptions'];
                                }
                        }
                }

                $this->tag_list = $tag_list;


jgruberman 04-28-2010 02:56 AM

Is there a fix in place for this Recent Threads bug?

Or is there any known workaround other than removing them from the recent threads?

thincom2000 04-28-2010 03:14 AM

You would have to edit the recent thread bit template and remove the part that adds {vb:raw vboptions.bburl} to the beginning of every URL.

As of vBulletin 4.0.3, this code shouldn't even really be needed since they added the Force Base URL option.

Cedric_FP 04-28-2010 05:04 AM

The retail version is well worth the price tag for the feature list it boasts over VW Lite.

Stefanus 04-28-2010 03:54 PM

Quote:

Originally Posted by thincom2000 (Post 2028381)
To fix the "Contents" block edit ..
To fix the footnotes problem,

Thanks.

The "Rate This Page" alignment is off:

thincom2000 04-28-2010 06:24 PM

It's working correctly for me. Make sure that .ratingBox in template vw-tabbed.css has:
Code:

        float: {vb:stylevar right};
Also if you edited any of the CSS templates before upgrading, they pretty much all need to be reverted because the CSS was rewritten.

For a close-enough list of template changes, compare to the important change list for "3.0.0 RC 2" here: http://www.vaultwiki.org/threads/2109/

Stefanus 04-29-2010 04:08 PM

Quote:

Originally Posted by thincom2000 (Post 2028675)
It's working correctly for me. Make sure that .ratingBox in template vw-tabbed.css has:
Code:

        float: {vb:stylevar right};
Also if you edited any of the CSS templates before upgrading, they pretty much all need to be reverted because the CSS was rewritten.

For a close-enough list of template changes, compare to the important change list for "3.0.0 RC 2" here: http://www.vaultwiki.org/threads/2109/

Thanks thincom2000, but the problem is with "Store CSS Stylesheets as Files?" if "Yes" the css problems occurs.


1.) Links in footnotes gets rendered in capital letters:
Code:

[FOOTNOTE] Military History Society [/FOOTNOTE]
Gets renderd as:
Code:

http://samilitaryhistory.org/VOL022JO.HTML
This renders the links quite useless.

2.) Links of the footnotes say [1] does not link to the footnote but revert to the main CMS page.
The link in the footnote box work fine.

thincom2000 04-30-2010 02:22 AM

1) In vault/special_class_bbcode.php, find:
Code:

                $linkbits = explode('|', strtoupper($link));
                $link = $linkbits[0];
                unset($linkbits[0]);

Replace with:
Code:

                $linkbits = explode('|', $link);
                $link = $linkbits[0];
                unset($linkbits[0]);
                $linkbits = array_map('strtoupper', $linkbits);

2) Same file, find:
Code:

                if ($this->registry->options['vault_seo'])
                {
                        $return_value .= $_SERVER['REQUEST_URI'];
                }

Replace with:
Code:

                $relpath = special_fetch_url();
                $return_value .= $relpath;


Stefanus 04-30-2010 09:31 PM

Quote:

Originally Posted by thincom2000 (Post 2029345)
1) In vault/special_class_bbcode.php, find:

Thanks :up:

Now only the "Store CSS Stylesheets as Files?" problem that is causing some havoc.

thincom2000 04-30-2010 09:50 PM

It wouldn't make a difference what the setting is, it would pull from the same CSS templates. Also, my test board has CSS stored as files...

What is your vB version, this may have some effect? Your profile says 3.7.4...
Also, if you are using a CDN or have a far future expires header, your browser may not be loading the new CSS - try clearing your browser cache.

Leica.Robbiani 04-30-2010 09:58 PM

Hi thincom2000,

thanks for all, I did the file edits, now it seems everything is working fine.

But one thing:
The additional buttons (reflist, footnote, redirect etc.) are also present in any other forum, but without any function. I think for some users this circumstance looks like an issue.

There are two ways now:
One idea is, the wiki-editor with the additional buttons is only present in the wiki-forum, the other idea is to get the functions of these buttons to all forums. So nobody get's worry about buttons which are not working. I know my members, what they find, they will use.

I don't know, what's easier to do.

best regards

L.R.

thincom2000 05-01-2010 06:25 AM

It is much easier to remove them from the non-wiki editor. Using them outside wiki forums is not possible in the Lite release because normal vB uses the regular BB-Code parser and not the parser I included with the wiki.

I will work on this and release a patch with the change and the previous few pages of file edits some time this weekend.

Stefanus 05-02-2010 06:56 PM

Quote:

Originally Posted by thincom2000 (Post 2029774)
It wouldn't make a difference what the setting is, it would pull from the same CSS templates. Also, my test board has CSS stored as files...

What is your vB version, this may have some effect? Your profile says 3.7.4...
Also, if you are using a CDN or have a far future expires header, your browser may not be loading the new CSS - try clearing your browser cache.

Hi,
Version: vBulletin 4.0.3 Patch Level 1

There is a definite correlation between CSS stored as files or not, causing the problem, or aggravating the problem from somewhere else as when this is saved as files the problem occurs otherwise not.

No CDN, nor any far future expires headers used.

Stefanus 05-02-2010 06:59 PM

Quote:

Originally Posted by thincom2000 (Post 2029928)
It is much easier to remove them from the non-wiki editor. Using them outside wiki forums is not possible in the Lite release because normal vB uses the regular BB-Code parser and not the parser I included with the wiki.

I will work on this and release a patch with the change and the previous few pages of file edits some time this weekend.

Thanks :up:

thincom2000 05-03-2010 03:06 AM

Update released. Includes all bug fixes (see the included changelog).

Leica.Robbiani 05-03-2010 09:15 PM

Hi thincom2000,

after installing on my server in the test directory I have a problem:

When I click on "Create new page" I only get a blank page. So it's not possible to create articles.

There must be somethong wrong.

Best regards

L.R.

thincom2000 05-03-2010 09:23 PM

Please check your server's error logs for an error message...

thincom2000 05-03-2010 09:39 PM

Quote:

Originally Posted by Stefanus (Post 2030706)
There is a definite correlation between CSS stored as files or not, causing the problem, or aggravating the problem from somewhere else as when this is saved as files the problem occurs otherwise not.

Either way, this is a caching issue. vBulletin doesn't differentiate CSS based on its last modified time unless CSS is NOT stored as files. Since VaultWiki uses the same style system as default vB, it inherits this problem. The main issue has been brought up in vBulletin's tracker: http://www.vbulletin.com/forum/proje...?issueid=37380

In the interest of maintaining consistency, this will not be fixed in VaultWiki until vBulletin provides their fix.

Leica.Robbiani 05-04-2010 07:28 AM

Hi thincom2000,

Quote:

Please check your server's error logs for an error message...
OK, I did it, here we get it:

PHP Fatal error: Call to a member function urlencode() on a non-object in /srv/www/vhosts/xxxxxxxxx/httpdocs/testvb/vault/special_plugins.php on line 342, referer: http://www.xxxxxxxxx/testvb/newthrea...newthread&f=36

"showwiki.php?do=create" creates just the blank page ...

Thanks for help.

Best regards

L.R.

thincom2000 05-04-2010 03:47 PM

In vault/special_plugins.php, find:
Code:

        $url = '';
Add before:
Code:

global $vault;

Leica.Robbiani 05-05-2010 06:31 PM

Hi thincom,

thanks al lot again, now this part works. What's left now is the quaint issue with the Thread rating. There's still the message "You cant' rate closed threads.".

Best regards

L.R.

thincom2000 05-05-2010 07:49 PM

In vault/special_class_postbit.php, find:
Code:

                                'hide_post_bottom' => $hide_post_bottom
Add before:
Code:

                                'threadid' => $this->thread['threadid'],

Leica.Robbiani 05-05-2010 08:32 PM

Hi thincom,

now it works, thanks a lot.

best regards

L.R.

thincom2000 05-15-2010 05:32 AM

A new update has been posted to patch a possible XSS vulnerability that was discovered in VaultWiki Lite. Even though this particular vulnerability requires some special circumstances, we recommend updating immediately to ensure you are protected.

Stefanus 05-15-2010 06:23 PM

Hi thincom2000,

The .htaccess file? please explain usage of this version.

After update version shows 3.0.2 ?


All times are GMT. The time now is 02:35 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.02191 seconds
  • Memory Usage 1,853KB
  • 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
  • (20)bbcode_code_printable
  • (13)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)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