• This forum has been archived. New threads and replies may not be made. All add-ons/resources that are active should be migrated to the Resource Manager. See this thread for more information.

[8wayRun.Com] XenCarta (Lite Wiki)

Status
Not open for further replies.

Jaxel

Well-known member
You may not know this, but creating these modifications for XenForo is basically my full time job. It is my primary source of income. If you appreciate the work here, please feel free to DONATE. A donation of $50 (or more) earns you the right to remove the copyright for this mod from a single install.

This mod has been forked from the old version of XenPorta. This is a full blown "wiki-like" content management system. Your database from the old version of XenPorta will be completely incompatible with this mod; so you will have to manually bring your pages over. The reason for this is because of a large update to the way the tables are constructed, in order to better handle the search system. Tables have all been converted to InnoDB, with an additional table in MyISAM for full text searching.

Features:
  • Custom pages based on either BBcode, HTML or PHP files
  • Page caching to conserve server resources
  • Wiki-Like revision history
  • Wiki-Like comparison engine
  • Wiki-Like automatic cross page linking
  • Wiki-Like automatic table of contents generation
  • Wiki-Like [template=] replacement BB code
  • Wiki-Like [h#]head[/h#] replacement BB code
  • "Sortable Tables" javascript
Demo:
Installation:
  • upload the entire contents of the attached zip to your XenForo root
  • install from file on server: "library/EWRcarta/addon-EWRcarta.xml"
  • set usergroup permissions for administration rights
Usage Notes:
  • To use sortable tables, just set "class=sortable" in your pages/templates
  • You can edit the built in gallery template to set your default image folders
  • Adding [NOSIDEBAR] to a page will remove the sidebar on that specific page
Screenshots:

EWRcarta1.webp EWRcarta2.webp EWRcarta3.webp EWRcarta4.webp EWRcarta5.webp EWRcarta6.webp

Donations:
Download:
 

Attachments

Example of a page built in templates:
[template=charBIG]
| name = Hildegard von Krone
| image = Hilde/hilSC4art1.jpg
| debut = Soulcalibur IV
| voiceE = Julie Ann Taylor
| voiceJ = Yūko Kaida
| age = 18
| bplace = Wolfkrone Kingdom
| bdate = August 13, 1573
| blood = AB
| height = 5' 03" (160 cm)
| weight = 110 lbs (50 kg)
| family = Father, the King / Victim of malfestation, now imprisoned by necessity
| type = Sword & Lance
| weapon = Glanzende Nova & Frischer Himmel
| style = Große Erbschaft
[/template]

Hildegard von Krone (ヒルデガルド・フォン・クローネ, Hirudegarudo fon Kurōne), or Hilde (ヒルダ, Hiruda) for short, made her first appearance is in the series' fifth installment, Soulcalibur IV, where she is a playable character. Hilde's look derived from the development team's desire to make a fully clothed "sexy female" for Soul Calibur IV, and encased her in armor. Director Katsutoshi Sasaki describes Hilde as "the 'most alluring'" female character in Soulcalibur IV, because she is "a brave and noble warrior who fights with cunning grace, using a short sword for quick attacks and a spear to do some serious damage from afar.

[h2]Biography: Soulcalibur IV[/h2]
"Father, we leave today." Hilde was having an audience with the king in a closed stone chamber at the very top of the castle tower. Since the destruction known as the Evil Seed had swept across the kingdom, her father had been lost in a fog of madness and confined to his tiny, lonely cell. She had never been able to put that woeful event behind her, but weakness was not an option. The survival of the Kingdom of Wolfkrone depended on her now.

[h2]Tournament Controversy[/h2]
A lot of talk has recently come up in relation to Hilde's validity during tournaments. Hilde has had a polarizing effect on the community much worse than that of glitches in previous Soulcalibur games. Some groups of players claim that she is simply too "broken" in contrast with the rest of the cast; even Algol. There are even some players who admit that she isn't "broken", but she still has an adverse affect on tournament attendance and the community as a whole. Those who argue in Hilde's favor suggest that any character can be dealt with if a player is simply willing to invest the time to train and learn; which has been proven in tournaments.

[h3]Art: Soulcalibur IV (+BD)[/h3]
[template=gallery] url = Hilde/hilSC4art1.jpg [/template]
[template=gallery] url = Hilde/hilSC4art2.jpg [/template]
[template=gallery] url = Hilde/hilSC4art3.jpg [/template]
[template=gallery] url = Hilde/hilSC4cg1.jpg [/template]
[template=gallery] url = Hilde/hilSC4wp1.jpg [/template]
[template=gallery] url = Hilde/hilSC4wp2.jpg [/template]
[template=gallery] url = Hilde/hilSC4wp3.jpg [/template]
[template=gallery] url = Hilde/hilSC4wp4.jpg [/template]
[template=gallery] url = Hilde/hilSC4wp5.jpg [/template]
 
TeeVeeTown will get some use out of this Jaxel! :)

And, once we set things up, we will definitely send you a little token of appreciation for your hard work!
 
Jaxel, as always this is some fantastic stuff.
I cant wait to see how far you take this.
Folks who wish to help XenForo monetarily but realized they simply could not set up a fund should instead 'pay' to have the branding removal of your software.
These kind of extensions of the XenForo software are exactly the types of things that will make it soar above the competition.
 
I got this error when importing
PHP:
call_user_func(EWRcarta_Install::installCode) [function.call-user-func]: First argument is expected to be a valid callback
 
One suggestion though...
How difficult would it be to wrap up all of the user input of these templates into a form for regular users to fill out?

For instance your example page template has info about Soul Caliber characters, well if i want to change it to info about makes and models of vehicles it would be easy to simply change the values in the template to suit my needs.
What would give this already great tool some killer functionality would be to user with the right permissions to click on a 'create entry' button from within the front end of the site, then instead of a blank area where he must add in whatever example code is available he could instead simply answer a few questions.
Lets go with a site about cars.
  • Year of car
  • Make of car
  • Model of car
  • Color of car
  • Top speed
  • MPG
  • Upload picture of car exterior
  • Upload picture of car interior
  • History of car
The user just fills out that form with the answers regarding their car or the car they wish to write a biography about and then that information will be parsed into the "cars" template and voila, new page created for whatever car this is.
The great part being that the user never has to go have admin access, he never has to be given access to post code.
And the best part is that you can farm out a lot of your work to your users who would most likely be happy to help, even if they are pretty illiterate to doing stuff as simple as cutting and pasting some pre-provided code snippets.

Would such an extra layer be difficult to achieve?
 
For one thing, there are no ParserFunctions... for me that is the biggest shortcoming... and I don't plan on adding this feature either anytime soon. For the next thing, there is currently no category/tag system.
What would ParserFunctions bring to XenCarta ?
 
Installed and working on it now :)

Jaxel, I changed any phrasing that includes "wiki" and it still doesn't change all of the phrases. Are there plans to phrase it fully? (Edited: Added screenshots of what I'm still trying to change)

Also, should we simply add conditionals around the navbar menu options until we want to display the pages? Or, are there any permissions built in as to who can view the buttons? I can see that the permissions are there for the actual pages and it displays the error messages if permission is not granted to that usergroup.

Edited: Found the EWRcarta_Navtabs template and placed conditionals around it, but that only removes the 'submenu' of the navbar. Where do I add the conditional to only display the "Wiki" tab to the admin/mods as we start to build the pages up?
 

Attachments

  • Wiki01.webp
    Wiki01.webp
    41.2 KB · Views: 839
  • Wiki02.webp
    Wiki02.webp
    7 KB · Views: 802
What would ParserFunctions bring to XenCarta ?
Parser functions let you do mathematical calculations...
Jaxel, I changed any phrasing that includes "wiki" and it still doesn't change all of the phrases. Are there plans to phrase it fully? (Edited: Added screenshots of what I'm still trying to change)
The word "Wiki" on the navbar is the ONLY item not phrased... The word "Wiki Index" is not a phrase at all, it is the TITLE to your index page... change the title, and it will change.
 
The word "Wiki" on the navbar is the ONLY item not phrased... The word "Wiki Index" is not a phrase at all, it is the TITLE to your index page... change the title, and it will change.

LOL....sorry about the first silly question.

So, how shall I edit the word "Wiki" on the navbar?

And, how do we add conditionals around the navbar menu options until we want to display the pages? I found the EWRcarta_Navtabs template and placed conditionals around it, but that only removes the 'submenu' of the navbar. Where do I add the conditional to only display the "Wiki" tab to the admin/mods as we start to build the pages up?
 
Another thing Jaxel, can you share the code for your index page? I want to set things up very similarly with pictures of TV actors :)

Thanks in advance :D
 
So, how shall I edit the word "Wiki" on the navbar?
The word "Wiki" is hardcoded in "EWRcarta_Listeners_Wiki"

Another thing Jaxel, can you share the code for your index page? I want to set things up very similarly with pictures of TV actors :)
Yes, I'd like to see the sample code for the main wiki page as well

Contents of my index page: (HTML)
Code:
<div style="text-align: center;">
Welcome to the 8WayRun Wiki! Currently, the Wiki houses frame data, movelists and combo guides.
<br /><br />
This wiki is primarily for the storing of esoteric technical information. This includes, but is not limited to: in depth frame data and user written character guides. If you have interest in the "lighter" side of Soulcalibur, be sure to check out the <a href="http://soulcalibur.wikia.com/wiki/Soulcalibur_Wiki">Soulcalibur Wiki at Wikia Gaming</a>. However, this is a wiki, and if a user wanted to create articles with information for the "lighter" side of Soulcalibur, we would of course welcome it.
<br /><br />

<table>
<tr>
<td colspan="7" class="subHeading"><b>Main Characters</b></td>
</tr>
<tr>
[template=indexICON] name=Abyss | slug=abyss [/template]
[template=indexICON] name=Algol | slug=algol [/template]
[template=indexICON] name=Amy | slug=amy [/template]
[template=indexICON] name=Astaroth | slug=astaroth [/template]
[template=indexICON] name=Cassandra | slug=cassandra [/template]
[template=indexICON] name=Cervantes | slug=cervantes [/template]
[template=indexICON] name=Charade | slug=charade [/template]
</tr>
<tr>
[template=indexICON] name=Dampierre | slug=dampierre [/template]
[template=indexICON] name=Edge Master | slug=edge-master [/template]
[template=indexICON] name=Han-myeong | slug=han-myeong [/template]
[template=indexICON] name=Hilde | slug=hilde [/template]
[template=indexICON] name=Hwang | slug=hwang [/template]
[template=indexICON] name=Inferno | slug=inferno [/template]
[template=indexICON] name=Ivy | slug=ivy [/template]
</tr>
<tr>
[template=indexICON] name=Kilik | slug=kilik [/template]
[template=indexICON] name=Li Long | slug=li-long [/template]
[template=indexICON] name=Lizardman | slug=lizardman [/template]
[template=indexICON] name=Maxi | slug=maxi [/template]
[template=indexICON] name=Mitsurugi | slug=mitsurugi [/template]
[template=indexICON] name=Nightmare | slug=nightmare [/template]
[template=indexICON] name=Night Terror | slug=night-terror [/template]
</tr>
<tr>
[template=indexICON] name=Olcadan | slug=olcadan [/template]
[template=indexICON] name=Raphael | slug=raphael [/template]
[template=indexICON] name=Rock | slug=rock [/template]
[template=indexICON] name=Seong Mi-na | slug=seong-mi-na [/template]
[template=indexICON] name=Setsuka | slug=setsuka [/template]
[template=indexICON] name=Siegfried | slug=siegfried [/template]
[template=indexICON] name=Sophitia | slug=sophitia [/template]
</tr>
<tr>
[template=indexICON] name=Taki | slug=taki [/template]
[template=indexICON] name=Talim | slug=talim [/template]
[template=indexICON] name=Tira | slug=tira [/template]
[template=indexICON] name=Voldo | slug=voldo [/template]
[template=indexICON] name=Xianghua | slug=xianghua [/template]
[template=indexICON] name=Yoshimitsu | slug=yoshimitsu [/template]
[template=indexICON] name=Yun-seong | slug=yun-seong [/template]
</tr>
<tr>
<td colspan="3"></td>
[template=indexICON] name=Zasalamel | slug=zasalamel [/template]
<td colspan="3"></td>
</tr>
</table>
</div>

Contents of indexICON template:
Code:
<td style="padding: 0px">
	<div class="primaryContent" style="padding: 6px 3px 3px;"><a href="http://xen1.8wayrun.com/wiki/{{{slug}}}/"><img src="soulcalibur/{{{slug}}}.jpg" alt="{{{name}}}" /></a></div>
	<div  class="secondaryContent" style="padding: 3px;">{{{name}}}</div>
</td>
 
Fantastic work thanks a lot!! Once we work on it a bit we'll provide demo also and more feedback. :)
 
Status
Not open for further replies.
Top Bottom