• 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.
Am I the only one that can read Jaxel's post? He said it would be fixed in the next version.

Jaxel, the auto linking is still bugged out with the latest attached version: http://www.worldoftanksforum.com/wiki/soviet-tanks/

One thing I noticed is that IS at the end of the first row isn't linked at all now. Neither is KV in the next row.
I specifically programmed the autolinker not to handle text encapsulated in < > tags. However because of your partial matches, it doesn't read the entire < > tag. There is a minor fix you can try...

in Parser.php: find: (line 177)
Code:
$page['HTML'] = preg_replace('#([^\w])('.$pageName.')([^\w])(?=[^>]*?<)#si', '${1}'.$linkText.'${3}', $page['HTML'], $options->EWRcarta_autolink);
replace with:
Code:
$page['HTML'] = preg_replace('#([^\w-])('.$pageName.')([^\w-])(?=[^>]*?<)#si', '${1}'.$linkText.'${3}', $page['HTML'], $options->EWRcarta_autolink);

Dont forget to empty your template cache afterwards.
 
[8wayRun.Com] XenCarta (Wiki) v1.0.4 CHANGELOG
  • This a small maintenance release that fixes a link generation issue for people who DONT use friendly URLs.
  • The listeners have been renamed, be sure to DELETE this folder before you upgrade!
  • Other small minor inconsequential bugs have been fixed.
 
Hi Jaxel,
I wanted to see how the php feature worked. So I put the path to my WP main page in there as an example.
Have you tried a simple standalone php file ?
My first reaction to what you have tried is: xencarta isn't designed to execute Wordpress php pages.
 
Have you tried a simple standalone php file ?
My first reaction to what you have tried is: xencarta isn't designed to execute Wordpress php pages.

Well this was more just a test to see how the php function works. WP main page was just an example that I tired, I dont actually want to display the WP page I just wanted to see what it did as I am unfamiliar with this kind of thing. Now I cant edit or delete the page so im stuck with it... anybody know how I can manually delete the page?
 
Hi Jaxel or anybody,

Anyone got any ideas how to remove the PHP page as mentioned above ?? thanks
 
Can you could delete it manually in the DB? make a back-up of your DB. Then in your DB, look at the table "EWRcarta_pages". Then look for the page you want to delete and click the X.
 
Can you go to:
http://www.mmazone.com.au/community/wiki/php-test/edit

That page doesn't immediately process the include, so you should be able to access it without issue... for instance:
http://xen1.8wayrun.com/wiki/-infinite-3
http://xen1.8wayrun.com/wiki/-infinite-3/edit

Hi Jaxel,

That still produces a script error "Fatal error: main() [function.require]: Failed opening required './blog/wp-blog-header.php' (include_path='/BLAH BLAH I dont want XF forum knowing my paths sorry :P/public_html/community/library:.') in /home/ddmmh/public_html/index.php on line 17"

Its not a big deal for me at the moment as I have zero content on the wiki, so I can remove and re-install it. It was mainly more to help spot a "bug" and to kill my curiosity. Jaxel I am a huge fan of your products and will be donating at least $100 once my site goes live in about 6 to 8 weeks. Keep up the good work!
 
Log into your website as an admin before you go to that link... if you have edit rights, it should be IMPOSSIBLE for that error to popup on the edit page, unless you click preview. You are seeing the error because you don't have edit rights so it's forwarding you to the pageview.
 
Status
Not open for further replies.
Top Bottom