Project 1999

Go Back   Project 1999 > General Community > Technical Discussion

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #16  
Old 03-27-2023, 02:51 PM
loramin loramin is offline
Planar Protector

loramin's Avatar

Join Date: Jul 2013
Posts: 10,522
Default

The wiki can host custom JS files; you just have to be an admin (like myself) to edit them. For example, here are the files for "loc mapping" (ie. showing a red X where an NPC is on a map):

https://wiki.project1999.com/MediaWiki:LocMaps.js

There's a single common JS file for the whole wiki, https://wiki.project1999.com/MediaWiki:Common.js, and it has the power to bring in specific files for specific pages. For instance, the Per-Level Hunting guide page has its own JS file, which is brought in via this line:
Code:
    case 'Per-Level Hunting Guide':
      importScript('MediaWiki:HuntingGuide.js');
So again, we could very easily do something similar with a "Traveling Adventurer" page ... but

A) it would need to be in Javascript (or PHP if you want to build it server-side, though I see no need for that), and

B) while I'm happy to help with adding the code to the wiki, showing you how to make the form through JS, etc. ... I personally don't want to actually write the code myself.
__________________

Loramin Frostseer, Oracle of the Tribunal <Anonymous> and Fan of the "Where To Go For XP/For Treasure?" Guides
Anyone can improve the wiki! If you are new to the Blue or Green servers, you can improve the wiki to earn a "welcome package" of platinum and/or gear! Send me a forum message for details.
Reply With Quote
 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 05:46 PM.


Everquest is a registered trademark of Daybreak Game Company LLC.
Project 1999 is not associated or affiliated in any way with Daybreak Game Company LLC.
Powered by vBulletin®
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.