• 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.
View attachment 13060

I wont be uploading the new version of XenCarta, until I figure out the attachment handler system... which at this point has completely eluded me.

Would the attachment handler help the creation of pages when creating the pages with the icon templates? As of now you need to create the thumbnails manually and upload it to the server and called it with the template, this would be a huge plus if we can get this system some what automated.

If not, what's the easiest way you guys recommend to do this?
 
I would hope it uses the default XF system, being insert via full image, thumbnail or attach.

Because the wikipages use "wikiPage" as an identifier, you could create a simple float element for thumbs inserted only into wikiPage's for text wrapping or such, automatically as a default for your page construction.

There is no requirement to ever use tables these days for image and caption placement, as CSS makes it far far easier to achieve, with greater simplicity... as per the image gallery I attached into this thread earlier in pages using all CSS.
 
The word "Wiki" is hardcoded in "EWRcarta_Listeners_Wiki"

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>

Where would you put this indexICON template if I wanted to use this?
 
[8wayRun.Com] XenCarta (Lite Wiki) v1.3.0 CHANGELOG
THIS IS A HUGE UPDATE!
Delete your entire /library/EWRcarta/ directory before you install this update!
  • HighSlide has been depricated, you can now delete /js/highslide/ and /js/highslide.js... unless of course you want to continue using it. However HighSlide and the default gallery template will no longer be supported moving forward.
  • The ability to remove the sidebar with [NOSIDEBAR] has been depricated. From now on, the removal of the sidebar has been shifted to a page specific option on the edit page. You may need to go through your pages to make sure they are up to date with this methodology.
  • Added an option to remove the page sublist from the top of the page with a page specific option on the edit page. The page family tree will still remain on the sidebar, if your page has one.
  • Added a search handler! The EWRcarta_search table is now obsolete and you may delete it from your database if you wish. You may need to rebuild your search indexes before the Wiki pages show up in your search results.
  • Added a like handler! Since wiki pages don't belong to anybody, no one will receive like points.
  • Added an attachment handler! You can now upload and attach images directly to a wiki page!
  • Added a news feed handler! Whenever someone edits a wiki page, it will show up in the news feed.
  • You can now use BBCode on pages defined as the HTML type.
 
If I creat a new page with the new version I can't see anything about the attatchments and I get an error message when I try to save the page:

Server Error

Undefined index: attachment_hash
  1. XenForo_Application::handlePhpError() in EWRcarta/Model/Pages.php at line 112
  2. EWRcarta_Model_Pages->updatePage() in EWRcarta/ControllerPublic/Wiki/Special.php at line 179
  3. EWRcarta_ControllerPublic_Wiki_Special->_inputPageUpdate() in EWRcarta/ControllerPublic/Wiki/Special.php at line 53
  4. EWRcarta_ControllerPublic_Wiki_Special->actionCreatePage() in XenForo/FrontController.php at line 310
  5. XenForo_FrontController->dispatch() in XenForo/FrontController.php at line 132
  6. XenForo_FrontController->run() in /www/htdocs/*******/****/index.php at line 17
What did I do wrong?
The index page shows me the upload button an I can save it.
 
If I creat a new page with the new version I can't see anything about the attatchments and I get an error message when I try to save the page:

Server Error

Undefined index: attachment_hash
  1. XenForo_Application::handlePhpError() in EWRcarta/Model/Pages.php at line 112
  2. EWRcarta_Model_Pages->updatePage() in EWRcarta/ControllerPublic/Wiki/Special.php at line 179
  3. EWRcarta_ControllerPublic_Wiki_Special->_inputPageUpdate() in EWRcarta/ControllerPublic/Wiki/Special.php at line 53
  4. EWRcarta_ControllerPublic_Wiki_Special->actionCreatePage() in XenForo/FrontController.php at line 310
  5. XenForo_FrontController->dispatch() in XenForo/FrontController.php at line 132
  6. XenForo_FrontController->run() in /www/htdocs/*******/****/index.php at line 17
What did I do wrong?

The index page shows me the upload button an I can save it.
Oops... sorry, my mistake. I uploaded a new version of v1.3.0... redownload it, reupload your files and run the update process again. Should work after that.
 
Jaxel, did you say somewhere on this thread that the links where edited to match the forum links? the css part of it?
 

It's that links in my forum are blue and in the wiki they are the same color as the normal text, black.

links.webp

Making it hard for the members to distinguish that a word is linked!

Also, I don't see the linked feature implemented on my end.
 
It's that links in my forum are blue and in the wiki they are the same color as the normal text, black.

View attachment 13273

Making it hard for the members to distinguish that a word is linked!

Also, I don't see the linked feature implemented on my end.
Links are a different color on my forum, even with the default skin. So if links aren't a different color on your forum, it's a skin issue and you should update your css. As well, what "linked feature"?
 
Links are a different color on my forum, even with the default skin. So if links aren't a different color on your forum, it's a skin issue and you should update your css. As well, what "linked feature"?

Oops, misspelled it.. I meant the LIKE feature.

Also, is there a way I can dig into mysql and set every page to remove sidebar so I don't have to do it manually?
 
Status
Not open for further replies.
Top Bottom