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)

thincom2000 05-15-2010 07:12 PM

My apologies, that .htaccess file should not even be in the ZIP. It shouldn't be uploaded.

You can change the version yourself by modifying vault/special_class_wiki.php. Near the top you'll see:
Code:

// set version number
define('CES_VAULT_VERSION', '3.0.2 Lite');


thincom2000 05-29-2010 05:32 PM

Just released 3.0.4. It fixes an infinite redirect with certain titles, and fixes RTL support for users who installed it on vBulletin 3.8.x.

STORMS 05-30-2010 10:59 PM

When I try and create a new post, it loads really really long. So far I havent gotten anything. Am I doing something wrong here?

thincom2000 05-31-2010 01:55 PM

What is the title of the post in question?

STORMS 06-03-2010 01:51 PM

Quote:

Originally Posted by thincom2000 (Post 2046026)
What is the title of the post in question?

I go to create a new article>>edit>>save.

Now, when I try to go into it or anyone else tries to read it, it just keeps loading and basically freezes. You have to click another part of the site in order to get out.

I'm gonna do a test page here to show you... however, this just came up when I tried to preview the page :

Quote:

The following errors occurred with your submission
Could not find phrase 'vault_edit_conflict_error'.
http://mortalkombatempires.com/forum...lKombatEmpires

When you click it, it only loads.

thincom2000 06-03-2010 11:27 PM

You're not using any htaccess changes for VaultWiki are you? The Lite version has no htaccess mod rewrite support.

Also, what are the titles you are trying to create? It's possible that certain character combinations trigger infinite redirects, but I can't find any on my test board at this time.

Leica.Robbiani 06-13-2010 03:33 PM

Hi thincom2000,

I have noticed another database error:

Code:

Invalid SQL:

SELECT revision.*, user.username, user.usergroupid, user.membergroupids,
MAX(previous.revisionid) AS prev_revisionid, MIN(next_rev.revisionid) AS next_revisionid,
roll_rev.ipaddress AS targetipaddress, rolluser.username AS targetusername,
previous.userid AS rolluserid, prev_user.username AS rollusername,
previous.ipaddress AS rollipaddress, previous.unzip AS prev_unzip

FROM vb382_vault_revision AS revision
LEFT JOIN vb382_vault_revision AS next_rev ON (next_rev.lastrevisionid = revision.revisionid AND next_rev.pending = 0)
LEFT JOIN vb382_vault_revision AS previous ON (revision.lastrevisionid = previous.revisionid)
LEFT JOIN vb382_user AS user ON (user.userid = revision.userid)
LEFT JOIN vb382_vault_revision AS roll_rev ON (roll_rev.revisionid = revision.rollback)
LEFT JOIN vb382_user AS rolluser ON (rolluser.userid = roll_rev.userid)
LEFT JOIN vb382_user AS prev_user ON (prev_user.userid = previous.userid)

WHERE revision.threadid = 316
GROUP BY revision.revisionid
ORDER BY dateline DESC
LIMIT 0,1;

MySQL-Fehler : Unknown column 'next_rev.pending' in 'on clause'
Fehler-Nr. : 1054
Fehler-Zeit : Saturday, 05.06.2010 @ 21:43:49
Datum : Saturday, 05.06.2010 @ 21:43:49
Skript : XXXXXXXXXXXXX/showwiki.php?title=Absage&do=history
Referrer : XXXXXXXXXXXXg/showwiki.php?title=Absage
IP-Adresse : XXXXXXXXXXXXX
Benutzername : XXXXXXXXXXXX
Klassenname : vB_Database_MySQLi

This error happens not to all usergroups.

Quote:

Now, when I try to go into it or anyone else tries to read it, it just keeps loading and basically freezes. You have to click another part of the site in order to get out.
The same for me when using some char-combinations. One of the problems is, when the title has a slash or a hyphen with whitespaces.

Hopefully you can check these few things, thanks.

Best regards

L.R.

Stefanus 06-16-2010 06:16 PM

In vBulletin XML Sitemap I get the following:

Code:


<url>
<loc>http://www.site.com/forum/http://www.site.com/forum/showwiki.php?title=Testament+of+Solomon</loc>
<lastmod>2010-05-09T13:00:49+02:00</lastmod>
<changefreq>yearly</changefreq>
<priority>0.5</priority>
</url>

This appear on all the "showwiki.php" entries.

Any help on this?

Front Range 06-17-2010 02:40 PM

Installed, tested and uninstalled. :(

I have Mediawiki bridged but my users don't like it very much so I thought I'd give this a try. The edit tab was non-responsive unless I reloaded the page a few times then it would work. I do like that consistency it provides but only if it works as it's supposed to.

I'm considering the paid version but need assurance the same problems won't happen with that and that there aren't any conflicting mods.

I look forward to your response.

thincom2000 06-17-2010 03:28 PM

What do you mean non-responsive? Your browser crashed when opening the Edit tab?

Or did clicking the Edit tab just not do anything? If it's the latter, this was a CSS problem that was fixed in the paid version. Will add the fix to Lite if it's confirmed here also.

It's almost impossible for a large mod not to conflict with anyone else's mods. The trick is getting them to coexist.

Front Range 06-17-2010 03:33 PM

Thanks for the quick response. Clicking the edit tab did nothing, if I reloaded the browser over and over it eventually worked.

I understand the inevitability of mod conflicts and I don't use many, do you know which ones currently conflict?

thincom2000 06-17-2010 03:55 PM

As for the sitemap problem, see if this helps. In vault/special_class_friendlyurl.php, find:
Code:

                return $urlinfo['url'] . ($query ? $amp . $query : '');
Replace with:
Code:

$url = $urlinfo['url'];
                if (
                        (
                                THIS_SCRIPT == 'cron' OR
                                (
                                        VB_AREA == 'AdminCP' AND
                                        strpos($_SERVER['PHP_SELF'], 'sitemap.php') !== false
                                )
                        ) AND
                        $GLOBALS['runner'] AND
                        is_subclass_of($GLOBALS['runner'], 'vB_SiteMapRunner')
                )
                {
                        if (strpos($url, $this->registry->options['bburl']) !== false)
                        {
                                $url = str_replace($this->registry->options['bburl'] . '/', '', $url);
                        }
                        else
                        {
                                $thirdpos = strpos($url, '/', 9);
                                $url = substr($url, $thirdpos + 1);
                        }
                }

                return $url . ($query ? $amp . $query : '');

It's not a perfect fix, but I think it should catch most configurations. It's not really possible to fix completely because vBulletin didn't give us enough hook locations to work with.

Stefanus 06-17-2010 04:56 PM

Quote:

Originally Posted by thincom2000 (Post 2055079)
As for the sitemap problem, see if this helps.

It's not a perfect fix, but I think it should catch most configurations. It's not really possible to fix completely because vBulletin didn't give us enough hook locations to work with.

Thanks for the response:

Code:

<url>
<loc>http://www.site.com/forum/http://www.site.com/forum/showwiki.php?title=Johanna+Brandt</loc>
<lastmod>2010-04-14T10:25:43+02:00</lastmod>
<changefreq>yearly</changefreq>
<priority>0.5</priority>
</url>


Unfortunately this did not rectify the issue as the "base url" is stil added in the sitemap.

Even changing "Site Name / URL / Contact Details" -> "Always use Forum URL as Base Path" to No does not change anything in the sitemap.

thincom2000 06-17-2010 04:58 PM

Quote:

Originally Posted by Front Range (Post 2055067)
Thanks for the quick response. Clicking the edit tab did nothing, if I reloaded the browser over and over it eventually worked.

I understand the inevitability of mod conflicts and I don't use many, do you know which ones currently conflict?

I think vBEnterprise Translator won't do anything on wiki pages, it will just redirect to the regular wiki page. Wiki pages have to be translated manually using their built-in tools.

I think there's one feature of vBSEO that has to be turned off if you want to use certain wiki features. This is discussed in the doc pages for the wiki. Old versions of vBSEO (pre-3.3.0) won't let you use friendly wiki URLs.

I haven't really run into many other "conflicts" myself.

thincom2000 06-17-2010 05:07 PM

Quote:

Originally Posted by Stefanus (Post 2055108)
Unfortunately this did not rectify the issue as the "base url" is stil added in the sitemap.

This is not something that can be altered, but perhaps it can be worked with. What method did you use to rebuild the sitemap? If you ran the cron from the Scheduled Task Manager, this would not work.

Go to XML Sitemap > Rebuild Sitemap. This worked for me. I will work on fixing the cron in the mean time.

Stefanus 06-17-2010 05:36 PM

Quote:

Originally Posted by thincom2000 (Post 2055113)
This is not something that can be altered, but perhaps it can be worked with. What method did you use to rebuild the sitemap? If you ran the cron from the Scheduled Task Manager, this would not work.

Go to XML Sitemap > Rebuild Sitemap. This worked for me. I will work on fixing the cron in the mean time.

Thanks,
Jip used the cron from the Scheduled Task Manager, using XML Sitemap > Rebuild Sitemap works!

thincom2000 06-19-2010 10:19 PM

Uploaded 3.0.5 Lite, which fixes some more RTL issues and every variation of the XML Sitemap URL issue.

niko236 06-20-2010 12:00 AM

Hi,
Thanks for this Mod, but i have an issue when i try to click on the discussion tab.
In fact when i try to click on the discusison tab, i have this database error:
Code:

Database error in vBulletin 4.0.4:
 
Invalid SQL:
 
        SELECT
                post.*, post.username AS postusername, post.ipaddress AS ip, IF(post.visible = 2, 1, 0) AS isdeleted,
                user.*, userfield.*, usertextfield.*,
                icon.title as icontitle, icon.iconpath,
                avatar.avatarpath, NOT ISNULL(customavatar.userid) AS hascustomavatar, customavatar.dateline AS avatardateline,customavatar.width AS avwidth,customavatar.height AS avheight,
                spamlog.postid AS spamlog_postid,
                deletionlog.userid AS del_userid, deletionlog.username AS del_username, deletionlog.reason AS del_reason,
                editlog.userid AS edit_userid, editlog.username AS edit_username, editlog.dateline AS edit_dateline,
                editlog.reason AS edit_reason, editlog.hashistory,
                postparsed.pagetext_html, postparsed.hasimages,
                sigparsed.signatureparsed, sigparsed.hasimages AS sighasimages,
                sigpic.userid AS sigpic, sigpic.dateline AS sigpicdateline, sigpic.width AS sigpicwidth, sigpic.height AS sigpicheight,
                IF(user.displaygroupid=0, user.usergroupid, user.displaygroupid) AS displaygroupid
                , user.infractiongroupid
               
               
        FROM forum_post AS post
        LEFT JOIN forum_user AS user ON (user.userid = post.userid)
        LEFT JOIN forum_userfield AS userfield ON (userfield.userid = user.userid)
        LEFT JOIN forum_usertextfield AS usertextfield ON (usertextfield.userid = user.userid)
       
        LEFT JOIN forum_icon AS icon ON (icon.iconid = post.iconid)
       
        LEFT JOIN forum_avatar AS avatar ON (avatar.avatarid = user.avatarid)
        LEFT JOIN forum_customavatar AS customavatar ON (customavatar.userid = user.userid)
       
        LEFT JOIN forum_spamlog AS spamlog ON (spamlog.postid = post.postid)
        LEFT JOIN forum_deletionlog AS deletionlog ON(post.postid = deletionlog.primaryid AND deletionlog.type = 'post')
        LEFT JOIN forum_editlog AS editlog ON (editlog.postid = post.postid)
        LEFT JOIN forum_postparsed AS postparsed ON (postparsed.postid = post.postid AND postparsed.styleid = 4 AND postparsed.languageid = 2)
        LEFT JOIN forum_sigparsed AS sigparsed ON (sigparsed.userid = user.userid AND sigparsed.styleid = 4 AND sigparsed.languageid = 2)
        LEFT JOIN forum_sigpic AS sigpic ON (sigpic.userid = post.userid)
               
        WHERE post.postid IN (0Array,7557)
        ORDER BY post.dateline;
 
MySQL Error  : Unknown column '0Array' in 'where clause'
Error Number  : 1054
Request Date  : Sunday, June 20th 2010 @ 02:51:12 AM
Error Date    : Sunday, June 20th 2010 @ 02:51:12 AM
Script        : http://***********/forum/showwiki.php?title=Titres+Modern+Warfare+2&do=comments
Referrer      :
IP Address    : ***********
Username      : ************
Classname    : vB_Database
MySQL Version : 5.0.90


thincom2000 06-20-2010 12:14 AM

You are using some other mod that is causing a conflict. The mod uses hook showthread_query_postids. Let me know what it is.

niko236 06-20-2010 10:24 AM

Yes I found, it was this mod: First post on all pages

I have deactivated this mod for the Wiki and it works :)

Thanks

DivineMessenger 06-22-2010 05:17 AM

How can this be used to create wiki pages like the "books" wiki page on your site? I am looking through tutorials and I only see ways to make articles rather than pages.

I have never had much luck with wikis but this looks simple =]

Speedy1505 06-22-2010 11:09 AM

your uninstall are Bugy !!!

the StyleVar are not remove at uninstall :(

thincom2000 06-22-2010 08:01 PM

Quote:

Originally Posted by DivineMessenger (Post 2057286)
How can this be used to create wiki pages like the "books" wiki page on your site? I am looking through tutorials and I only see ways to make articles rather than pages.

I have never had much luck with wikis but this looks simple =]

The Lite version cannot be used to make Books. Books are discussed in the "Introduction to Books" page on the site's "Documentation" tab.

Quote:

Originally Posted by Speedy1505 (Post 2057387)
your uninstall are Bugy !!!

the StyleVar are not remove at uninstall :(

vBulletin handles style uninstalls using its own code. If the stylevars were not removed then this is a vBulletin product system bug that you should report on vbulletin.com.

DCS1443 07-07-2010 11:28 PM

This mod does not work for the new release

thincom2000 07-08-2010 06:26 AM

What do you mean "does not work"? I would love to help, but can't really tell what problem you're having without a better description.

DCS1443 07-09-2010 04:23 AM

No problem,

If you visit my site diecastspace.com and go to the wiki area, threads extend past page 1 into page 2 and page etc. You can not get farther then page 1, if you click on page 2 or 3, it just reloads the page 1 so you can't view any of the content as the wiki grows

KevinL 07-09-2010 12:38 PM

Quote:

Originally Posted by DCS1443 (Post 2066117)
This mod does not work for the new release

Quote:

Originally Posted by thincom2000 (Post 2066246)
What do you mean "does not work"? I would love to help, but can't really tell what problem you're having without a better description.

Quote:

Originally Posted by DCS1443 (Post 2066667)
No problem,

If you visit my site diecastspace.com and go to the wiki area, threads extend past page 1 into page 2 and page etc. You can not get farther then page 1, if you click on page 2 or 3, it just reloads the page 1 so you can't view any of the content as the wiki grows


Yup..every page is :

Code:

http://www.diecastspace.com/showwiki.php?title=Dcs+cars&do=comments
No page numbers. When you disable the wiki the forum threads function fine. There is no .htaccess file either.

thincom2000 07-09-2010 03:40 PM

Fixed for the next build. In vault/special_class_friendlyurl.php, find:
Code:

        public function get_url($method_override = false)
Add before:
Code:

        protected function skip_query_var($key, $skip_pageinfo = true)
        {
                return vB_Friendly_Url::skip_query_var($key, $skip_pageinfo);
        }


KevinL 07-09-2010 04:25 PM

Quote:

Originally Posted by thincom2000 (Post 2066879)
Fixed for the next build. In vault/special_class_friendlyurl.php, find:
Code:

    public function get_url($method_override = false)
Add before:
Code:

    protected function skip_query_var($key, $skip_pageinfo = true)
    {
        return vB_Friendly_Url::skip_query_var($key, $skip_pageinfo);
    }


Thank you. There is 2 instances. Do this with both correct?

thincom2000 07-09-2010 05:35 PM

Last instance only.

oddball118 07-17-2010 01:28 AM

Nice product so far so good. My question is... how do I change the default font color when posting a new article. I'm using a dark style and the default font is black. I cannot read anything I type unless I highlight it. Thanks.

Alucard^ 07-17-2010 03:24 AM

One question, in the Lite version all the users can edit all pages, and this cannot be blocked? only paid version?

thincom2000 07-17-2010 06:58 AM

Quote:

Originally Posted by oddball118 (Post 2070420)
My question is... how do I change the default font color when posting a new article. I'm using a dark style and the default font is black.

VaultWiki uses the regular vBulletin editor. If you are only having problems with the editor on VaultWiki pages then the CSS for your dark style may be too restrictive.
Quote:

Originally Posted by Alucard^ (Post 2070450)
One question, in the Lite version all the users can edit all pages, and this cannot be blocked? only paid version?

Check your Usergroup Permissions admincp page. You can control who's allowed to edit.

Alucard^ 07-17-2010 11:55 AM

No, i don't have installed this, but now i will install ofcourse, good to know that i can edit that type of permisisions.

Thanks and sry for my english.

vortodox 07-20-2010 06:03 AM

I have a little problem.
I wanted to name an article like this: Šođo , but I recive this error :

Fatal error: Cannot use [] for reading in MY-FORUM-LOCATION/public_html/vault/special_class_wiki.php(783) : regexp code on line 1

Problem is with this "đ".
Is there any solution for this?
Thnaks.

thincom2000 07-20-2010 11:18 PM

In vault/special_class_wiki.php, find:
Code:

                static $badchars, $replacer;
Add after:
Code:

if (!$langid)
{
$langid = 0;
}

Does this help?

vortodox 07-21-2010 04:02 AM

Quote:

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

                static $badchars, $replacer;
Add after:
Code:

if (!$langid)
{
$langid = 0;
}

Does this help?

It works now! Thanks!

One more question.
Is it possible to upgrade after buying a pro version, without losing articles?

thincom2000 07-21-2010 01:49 PM

Yes you can upgrade to the pro version without performing a re-install. Just follow the upgrade instructions as you normally would.

thincom2000 07-28-2010 06:06 PM

Yesterday a security issue was identified by the developers of the commercial version of VaultWiki that also exists in VaultWiki Lite.

As of today, 3.0.6 Lite should address these issues. Even if you are already running this latest version, we strongly recommend downloading the mod again and patching your files as soon as possible.

RichieBoy67 08-18-2010 06:31 AM

Screenshots? Demo?

Thanks


All times are GMT. The time now is 09:37 PM.

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.01731 seconds
  • Memory Usage 1,860KB
  • 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
  • (16)bbcode_code_printable
  • (16)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
  • (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