[8WR] XenCarta (Wiki)

[8WR] XenCarta (Wiki) 1.3.9a

No permission to download
N.B. I fixed this but will keep the post here in case anyone else runs into the same problem. It was a simple omission of case sensitive variables.
--------------------------------------------------------------------
I'm trying this again, based entirely on Jaxel's original Soulcalibur templates. All the fields where I changed the title in the template have messed up:

wikierror.webp

As you can see from the second half, the field titles which I left untouched are fine, although I altered the data in the right column. I've changed Position, Signed from, Cost etc, which are broken, but not Age, Birth Place, Birthday etc, which are fine. I've changed the actual data in all of them.

Code is here:

Code:
<table style="float: right; margin: 0px 0px 5px 10px; width: 300px;">
        <tr>
            <td colspan="2" class="subHeading"><b>{{{name}}}</b></td>
        </tr>
        <tr>
            <td colspan="2"><img src="soulcalibur/{{{image}}}" alt="{{{image}}}" style="max-width: 300px;" /></td>
        </tr>
        <tr>
            <td colspan="2" class="subHeading"><b>Character</b></td>
        </tr>
        <tr>
            <td class="primaryContent"><b>Position:</b></td>
            <td class="primaryContent">{{{debut}}}</td>
        </tr>
        <tr>
            <td class="secondaryContent"><b>Signed from:</b></td>
            <td class="secondaryContent">{{{voiceE}}}</td>
        </tr>
        <tr>
            <td class="primaryContent"><b>Cost:</b></td>
            <td class="primaryContent">{{{voiceJ}}}</td>
        </tr>
        <tr>
            <td colspan="2" class="subHeading"><b>Biography</b></td>
        </tr>
        <tr>
            <td class="primaryContent"><b>Age:</b></td>
            <td class="primaryContent">{{{age}}}</td>
        </tr>
        <tr>
            <td class="secondaryContent"><b>Birthplace:</b></td>
            <td class="secondaryContent">{{{bplace}}}</td>
        </tr>
        <tr>
            <td class="primaryContent"><b>Birthday:</b></td>
            <td class="primaryContent">{{{bdate}}}</td>
        </tr>
        <tr>
            <td class="secondaryContent"><b>Blood:</b></td>
            <td class="secondaryContent">{{{blood}}}</td>
        </tr>
        <tr>
            <td class="primaryContent"><b>Height:</b></td>
            <td class="primaryContent">{{{height}}}</td>
        </tr>
        <tr>
            <td class="secondaryContent"><b>Weight:</b></td>
            <td class="secondaryContent">{{{weight}}}</td>
        </tr>
        <tr>
            <td class="primaryContent"><b>Family:</b></td>
            <td class="primaryContent">{{{family}}}</td>
        </tr>
        <tr>
            <td colspan="2" class="subHeading"><b>Extra information</b></td>
        </tr>
        <tr>
            <td class="primaryContent"><b>Type:</b></td>
            <td class="primaryContent">{{{type}}}</td>
        </tr>
        <tr>
            <td class="secondaryContent"><b>Weapon:</b></td>
            <td class="secondaryContent">{{{weapon}}}</td>
        </tr>
        <tr>
            <td class="primaryContent"><b>Discipline:</b></td>
            <td class="primaryContent">{{{style}}}</td>
        </tr>
    </table>

And here's the page: http://www.fightclubber.com/xenforo/index.php?wiki/rafa-2/

Is there a simple solution or something obvious I'm missing?

Thanks.


EDIT: It was messed up by case sensitivity. Now fixed.
 
I have a Wiki thats open for the majority of my site to edit, and one of the users was complaining cause he made a huge change but somebody changed some grammer while he was making the post and it wouldn't let him save it.

Suggestion:
Add an option to not allow users to edit wiki posts if there being edited by another user.

Could display a message like, (Username) is currently editing this page please check back later.

Hope to see this or something like it :)

Keep up the good work Jaxel
 
Add an option to not allow users to edit wiki posts if there being edited by another user.

Could display a message like, (Username) is currently editing this page please check back later.l
I believe that already exists, but it isn't functioning properly, as I get that message even when users are not editing/have edited a page. :/
 
Hopefully he can fix it :P cause some users are doing 50 - 60 changes per change and it would suck if somebody edited something during there change lol... and they lost it :(

I have a wiki up on my site to Submit Item Price Changes, for the /sell command, so theres 270+ items listed and some users are changing every price lolz... so might cause an issue if somebody else edits it in the middle of a major edit.
 
I have 2 questions...

1.| Is it possible to run 2 wiki's side-by-side if I changed the DB prefix?

2.| Is it possible to hide variables that have no value? For example, if I create a template with {{{var1}}} and <strong>{{{var2}}}</strong>, but the person writing the article only needs to input "var1". How do I keep <strong>{{{var2}}}</strong> from showing up in the wiki article if var2 is not defined?
 
Every time that I create/edit a page, it becomes "locked". I go edit the page, uncheck the lock box, and save. Still says "LOCKED" every single time. Any help?
 
Hi Jaxel,

I fount that this query was run in every pages, even in Attachments.
Could you limit it to Wiki pages?

Code:
SELECT page_name FROM EWRcarta_pages WHERE page_slug = 'index'
 
Can people leave comments on a Wiki page?
Nope .. I've requested it a long time ago.
Guiltar is making a "FULL" wiki. But development slowed stopped as he can't get paid via paypal or google checkout.
It's a thread based wiki that has tags, comments, likes, Watch, shows up in What's new, uses the default Xenforo editor, searchable. All he needs to add in an index page and some permissions. I've beta'd the wiki and it's great !

Another *MAJOR* bonus to Guiltar's thread-based wiki approach is that your Star ratings which works for threads would work for Wiki entries by default.
 
Nope .. I've requested it a long time ago.
Guiltar is making a "FULL" wiki. But development slowed stopped as he can't get paid via paypal or google checkout.
It's a thread based wiki that has tags, comments, likes, Watch, shows up in What's new, uses the default Xenforo editor, searchable. All he needs to add in an index page and some permissions. I've beta'd the wiki and it's great !

Another *MAJOR* bonus to Guiltar's thread-based wiki approach is that your Star ratings which works for threads would work for Wiki entries by default.
Where can I grab the beta? Does the beta work well? - I can donate to Guiltar to continue the work a couple hundred if needed? lemme know thx!
 
Hey, first of all, thank you for this plugin, it's great!

I was also wondering if it's possible to change a small thing; it seems that after every line within the Code blocks, a line break is inserted.
Since the pre tags already take care of that, all of the code within the Wiki now has a doube line.

I've tried messing around a bit, looking at how XenForo does it, as well as attempting to disable the "stopLineBreakConversion" (which removes all line breaks), with no luck. Does anyone perhaps know how to correct this issue?

Thank you!


Edit: I've managed to fix it
In root/library/EWRcarta/ViewPublic/PageView - Line 22
I've changed the code to:
Code:
$bbCodeOptions = array();
                                if($this->_params['page']['page_type'] == 'html')
                                {
                                        $bbCodeOptions = array(
                                                'viewAttachments' => true,
                                                'stopLineBreakConversion' => true,
                                                'attachments' => $this->_params['page']['attachments'],
                                        );
                                }
                                else
                                {
                                        $bbCodeOptions = array(
                                                'viewAttachments' => true,
                                                'attachments' => $this->_params['page']['attachments'],
                                        );
 
                                }

Reason: seems stopLineBreakConversion was overriding all bbcodes (including code which disables it)
 
Hello,
So I am trying to get the PREMIUM BBCODE addon to work with Wiki and it doesn't work. It would seem that this is because you only look at the censor strings it uses upon EDITING content. Why I came to this conclusion is that the BBCode actually works, but it renders the content based on the user that edited it.

This is what I mean. The Add-On is meant so you can type [premium]CONTENT[/premium] and it will only show "CONTENT" to members who have been set in the options. Otherwise it will show a "PREMIUM CONTENT" bar. I have it currently set so that ONLY Administrators can see Premium Content. I then approved a "Regular" user to Edit Wiki data.

If the Administrator edits the Wiki, everyone can see the premium data. If the Regular User edits the Wiki, no one can see the premium content (including Administrators).

Do you only render the text from BBCode upon a edit and this is why this is happening? Can you think of any way to resolve this? I really need this feature! :)

Update: this note is on the PREMIUM BB site about working with addons:

Will only work if those external addons don't parse tags and use the XenForo censorString feature

Guessing that means this addon does parse tags? Is this something I can stop from happening?
 
On another note,
In the forums people apparently claim that you can use :

[wiki]TERM HERE[/wiki] to link to a page with the same title. It doesn't seem to work on posts or in the wiki. The wiki only links to single-worded items and I would like to link "Total Control" for example. It would be nice to be able to link this easily both in posts as well as in the Wiki - however it doesn't seem possible?
 
Top Bottom