Sign Up! Login: Password: New User? Forgot? Support
Top Mods!
Wowhead Search
by sonofsamedi
Digital Clock
by Wolfar15
Admin Forums
Welcome to the GuildPortal Help Community! These forums are for admin-to-admin help.
Available Forums
Forums : Service Announcements > Mods System goes Live!
Aaron Lewis (Blue Collar) 8/26/2011 6:05 PM EST : Mods System goes Live!
GuildPortal Dev
Aaron Lewis
Posts: 1979
Zomgawsh Poster

The new Site Mods system goes live with today's update! From the Control Panel, select Site Mods. From there, you can install them on your site, or even author new mods for others to use. A mod is any combination of HTML, Javascript, and CSS code that come together to enhance the functionality of a site it's installed on. They can be full-blown widgets, or code that makes snow fall down the screen during the holidays. They can even have configurable code so that authors can provide variables that an admin installing a mod on their site can change in order to customize how it behaves.

Widget authors can create widgets, and when they make changes, they create new revisions. Each mod (and further revision of the mod) will be reviewed by GuildPortal staff before being made available for installation (although the author of the mod may always install the latest revision, even if it's not approved, in order to test). Mods can also be given star ratings and comments by the community! After many years of awesome admins providing guides and help when it comes to extending the functionality of GuildPortal, we're offering this in hopes of making that development (and deployment) process much easier -- we're looking at you, Mottie!

Of course, for the scripters out there, the jQuery library is already available, and you can easily use it from your javascript code in your mod! Also, we look forward to providing service end-points that return JSON or XML guild data that can be easily consumed by a mod using simple jQuery get requests, and sample code to go along with it. Think of it as a light-weight API for writing your own widgets or extending GuildPortal to your specific needs, and then getting massive kudos for doing so.

Now, aside from that excitement (can you tell we're excited? huh??), we also pushed the following changes with the update:
  • Sign-ups may now be deleted by event admins directly from the sign-ups listing when viewing an event's details.
  • Aion integrated rosters are now working again.
  • Buncha other stuff for support tickets.
Aaron Lewis, GuildPortal.com
TopBottom

Mottie (MVP) 8/27/2011 12:45 AM EST : RE: Mods System goes Live!
GuildPortal MVP
Mottie
Posts: 3884
Zomgawsh Poster

Oh, this is gonna be fun!

I have a few questions/comments first
  • Ummm, is there a way to delete a test one I just made? LOL
  • I can't seem to go back and edit it.
  • Can a revision remain editable until I submit it to GuildPortal... I'm not sure how I'd test the mod and be able to make revisions.
  • Could you provide some examples as to what goes into the customizable code tab? Like is there a way to prevent variable conflicts between mods?
  • It might be nice to be able to view the code of a mod from someone else, in case there is an error or problem and maybe even submit a revision.
  • Is there any way to rename a mod?
  • I was just trying to upload some media files for a mod
    • After the upload completed, I got stuck on the media upload page
    • I have no idea where the files uploaded now because they are not in my current files and I was not provided a url
    • Because I was stuck, I was unable to save my revision and as stated above, unable to edit the revision 
  • I was looking at the disco background mod and the customization code. The code isn't wrapped in a script tag and is just added to the page as text, but if I modify it and include the script tag and at first it just disappeared but after reloading the page about 5 times it showed up. And the mod still doesn't work for me =/
  • I just created a mod YAY... but it doesn't seem to want to install on one of my test sites - I haven't had a chance to test it yet.
TopBottom

Aaron Lewis (Blue Collar) 8/27/2011 3:10 PM EST : RE: Mods System goes Live!
GuildPortal Dev
Aaron Lewis
Posts: 1979
Zomgawsh Poster

Alrighty, I've got a list of things I've got to work on now.  But for your questions:
  • Not yet -- deleting will be added, but it will only work on mods that haven't been approved yet (because they may be installed on sites). For ones that have been approved, it will be a "request deletion" type deal.
  • Editing is done in revisions of the mod. I like your idea of publishing instead of the way I set it up, where each edit creates a new revision.
  • The only way I can think of to prevent variable naming conflicts would be to suggest that authors prefix their variables with something unique to their mod..
  • Yeah, should probably allow the re-naming of a mod.
  • Will check into the media problem.
  • Yeah, the disco mod was messed up. I moved the r, g, b variables over to customization code and didn't wrap them in a script tag. Updating to latest should fix you up.
  • Which mod isn't installing?
Here's what I've found to be also missing/broken that will be patched up by Monday or Tuesday along with what you've found (not waiting on a Friday push for these):
  • When a mod is out-of-date, only the "Update to latest" link is available. "Uninstall" needs to be an option, as well.
  • "Update to latest version" provides no visual clue that it's done anything.
  • One of the widget-type mods isn't doing anything.
  • The "Top Mods" widget (only visible here on the admin community) should be sorting mods by rating, in descending order
Aaron Lewis, GuildPortal.com
TopBottom

Everdark (MVP) 8/27/2011 5:32 PM EST : RE: Mods System goes Live!
GuildPortal MVP
Everdark
Posts: 3952
Zomgawsh Poster

You may already have this in place, although if an "approved" mod gets deleted, is there some form of notification to the SA of the site who was using it, such as a PM?

"The person who says it cannot be done should not interrupt the person doing it." 

 
Everdark (T), Evadarr, Nevinn (AC), Soninn, Croninn, Zakarr, Avirded (SC)
TopBottom

Corganno (New Admin) 8/27/2011 9:10 PM EST : RE: Mods System goes Live!
Corganno
Posts: 584
Zomgawsh Poster

I went to rate a mod as 5/5 stars, typed my description/review, hit submit, and it submitted my review as 1/5! 

Can someone possibly go in and edit, or even delete, my rating? (or let me change it?)

Sorry Mottie!  
TopBottom

Admins Online
There are   members online.
So-and-so has logged on!
%title%
%message%