Welcome to the official Mod DB blog. if it is information about ModDB.com and ramblings about mods in general that you are after - then you have come to the right place. Mod DB is a community run site, so our aim is to give you (our community) the power to influence the sites content and direction. That's why we have setup this blog so you know exactly what is going on behind the scenes. We highly recommend you watch this profile if you want to keep abreast of all changes affecting the Mod DB community. Also if you wish to write about the Mod DB on your own site or blog, you can download logos and other site images from our mediakit page.

Mod DB on Facebook | Mod DB on Youtube | Mod DB on Steam | Mod DB on Wikipedia | Mod DB on Twitter | Mod DB on PWNED

Report this article New forums and code help - at last!

A ton of new features have just rolled out on Mod DB including new forums, the ability to embed code & plenty more. A must read.

Posted by INtense! on Apr 23rd, 2008 digg this super bookmark


After a few weeks work, the brand spanking new Mod DB forums have just been rolled out along with plenty of other changes which should benefit many of the sites visitors. Here is a quick rundown of the new forum features:

  • New categories. We have opened a number of new forums covering coding, modelling, mapping, 2d art etc - so you can discuss detailed development stuff and show off your work
  • In-place searching. Don't jump back and forth finding threads and posts. The Mod DB forums allow you to search where you are and what you want
  • Favorites. In a few weeks Mod DB forums will be available to all mod teams, games, groups and more for them to include in their profiles and their own site should they wish. Best of all you can favorite the boards which interest you and quickly access them when browsing any forum on the site
  • Track threads read. Mod DB now lets you know exactly which threads you have and haven't read, how many new posts their are and takes you straight to them.
  • WYSIWYG editor. You can now quickly format your posts, adding quotes, the all new spoiler tag, code, images and videos (from your Mod DB galleries) and tons more quickly and easily
  • AJAX features. Edit your post without leaving the page, preview your post - everything is quick and AJAXified
  • New design. It's simple, its easy, its hot
New Mod DB forums

There is plenty more to come, but the key change which we hope will make a massive difference on this site as we focus more on assisting mod teams with the development process, is the introduction of the new [-code-] tag, which supports 39 programming languages from html and c++ right through to unrealscript. I have included an unrealscript demo below:

  1. uscript code:
  1. //=============================================================================
  2. // TriggerLight.
  3. // A lightsource which can be triggered on or off.
  4. //=============================================================================
  5. class TriggerLight expands Light;
  6.  
  7. //-----------------------------------------------------------------------------
  8. // Variables.
  9.  
  10. var() float ChangeTime; // Time light takes to change from on to off.
  11. var() bool bInitiallyOn; // Whether it's initially on.
  12. var() bool bDelayFullOn; // Delay then go full-on.
  13.  
  14. var ELightType InitialType; // Initial type of light.
  15. var float InitialBrightness; // Initial brightness.
  16. var float Alpha, Direction;
  17. var actor Trigger;
  18.  
  19. //-----------------------------------------------------------------------------
  20. // Engine functions.
  21.  
  22. // Called at start of gameplay.
  23. function BeginPlay()
  24. {
  25.   // Remember initial light type and set new one.
  26.   Disable( 'Tick' );
  27.   InitialType = LightType;
  28.   InitialBrightness = LightBrightness;
  29.   if( bInitiallyOn )
  30.   {
  31.     Alpha = 1.0;
  32.     Direction = 1.0;
  33.   }
  34.   else
  35.   {
  36.     LightType = LT_None;
  37.     Alpha = 0.0;
  38.     Direction = -1.0;
  39.   }
  40. }

We hope the introduction of the code tag leads to far more detailed tutorials and coding development on the site, as you can guarantee it will be highlighted, indented and easy to read. So if you were thinking of adding a tutorial, nows the time.

Comments
jordan10la
jordan10la Apr 23 2008, 2:08pm says:

Looks pretty god. Was there always forums?

+1 vote     reply to comment
INtense!
INtense! Apr 23 2008, 2:12pm replied:

There have always been forums, but until now we were running super-old legacy code which new members could not access. The forums are now open to everyone and *hopefully* much improved when it comes to development discussion and support

+1 vote     reply to comment
Dejiko-chan
Dejiko-chan Apr 23 2008, 2:18pm says:

does this new support for the code tag mean you could add music to your mod's page? or will that feature be blocked?

+1 vote     reply to comment
INtense!
INtense! Apr 23 2008, 2:24pm replied:

You can embed flash so you are able to add music and anything you want to your profile provided it is within the sites terms of use. Auto-playing music is discouraged and maybe disabled however if it frustrates the sites visitors

+1 vote     reply to comment
elvenfury
elvenfury Apr 23 2008, 2:41pm replied:

how can we do it? (post music embedded)

+1 vote     reply to comment
INtense!
INtense! Apr 23 2008, 2:55pm replied:

You can upload music to your profiles video gallery, it supports music and movies. You can then copy the embed code and paste it in text areas which have the "youtube button".

+1 vote     reply to comment
NemesisRaptor
NemesisRaptor Apr 23 2008, 8:37pm replied:

That is good. :) Thanks INtense!

+1 vote     reply to comment
DJ-Ready
DJ-Ready Apr 23 2008, 2:54pm says:

why is the left border of the code quote green?
I looks good the way it is but its just a totally different color compared to the whole site theme

+1 vote     reply to comment
INtense!
INtense! Apr 23 2008, 2:57pm replied:

I went for a design similar too: Code.google.com

Just made it green to stand out really

+1 vote     reply to comment
Domipheus
Domipheus Apr 23 2008, 3:04pm says:

Great work guys, one thing ive noticed is that the editor has been integrated into the mod page update page as well, but the HTML edit pane seems to remove many tags, for instance the table ones. I'm scared to update my mods description in case I loose the tables I added in to give columns: I.e Moddb.com

+1 vote     reply to comment
INtense!
INtense! Apr 23 2008, 3:17pm replied:

Wow your mods profile looks awesome. Unfortunately you are correct - most tags excluding P, SPAN, BOLD etc will be stripped out. I made this change because too often people were copying-pasting content and seriously messing things up.

I'm thinking about ways around this but don't know of any solution. You can always use styled P tags to achieve the same effect.

+1 vote     reply to comment
Domipheus
Domipheus Apr 23 2008, 4:03pm replied:

Aha, yes I can use the style attributes on paragraphs. Excellent idea, thanks again!

+1 vote     reply to comment
Ennui
Ennui Apr 23 2008, 3:10pm says:

Sweet, new forums. Good work fellas :)

+1 vote     reply to comment
elvenfury
elvenfury Apr 23 2008, 3:16pm says:

forums are nice :).

Also i uploaded my music to my videos now what do i do (sorry for being so noobish with website :(.)

+1 vote     reply to comment
INtense!
INtense! Apr 23 2008, 3:19pm replied:

See the embed code on the right hand menu? Copy that embed code and add it where you want your music by clicking the YOUTUBE button in some textareas. The forums, profile descriptions and other fields support this HTML, comments don't.

+1 vote     reply to comment
elvenfury
elvenfury Apr 23 2008, 3:35pm says:

ok thanks alot :).

+1 vote     reply to comment
kinesis916
kinesis916 Apr 23 2008, 6:42pm says:

Well I my have to have a gander in these here forums. I never really bothered with the old ones.

+1 vote     reply to comment
MrTambourineMan
MrTambourineMan Apr 24 2008, 5:37am says:

Finally, forums seemed to be a bit dead after the introduction of v.4

+1 vote     reply to comment
HK-48
HK-48 Apr 24 2008, 6:21pm says:

They still seem dead to me, what do you guyz think?

+1 vote     reply to comment
INtense!
INtense! Apr 25 2008, 6:45am replied:

Yeah they slowed down bigtime because the v3 forums only worked for old members. The new forums work for everyone so hopefully many new members start participating and posting.

+1 vote     reply to comment
Docm30
Docm30 Apr 25 2008, 12:51am says:

I like the idea of new forums, but why do they only take up half of the screen? Not to mention the white/bright red colours hurt to look at (and I mean that literally).

+1 vote     reply to comment
Post a Comment

Only registered members can share their thoughts. So come on! Join the Mod DB community today (totally free) and do things you never thought possible.

Established
Feb 28, 2008
Privacy
Public
Subscription
Invitation only
Contact
Send Message
Email
Members Only
Group Watch
Track this group
Bookmark
Digg Super bookmark
News
Browse
News
Views
1,749 (1 today)
Report Abuse
Report this article
Bookmark
Digg Super bookmark
Related Groups
ModBlog
ModBlog
Official group with 8 members