Print Page | Close Window

MXM-MODS Gametrailers.com Links [update]

Printed From: Web Wiz Forums
Category: Web Wiz Web App Support Forums
Forum Name: Web Wiz Forums Modifications
Forum Description: Mod's and Add-on's for Web Wiz Forums.
URL: https://forums.webwiz.net/forum_posts.asp?TID=24473
Printed Date: 30 March 2026 at 4:12am
Software Version: Web Wiz Forums 12.08 - https://www.webwizforums.com


Topic: MXM-MODS Gametrailers.com Links [update]
Posted By: mxm.Kosh
Subject: MXM-MODS Gametrailers.com Links [update]
Date Posted: 21 September 2007 at 9:38am
Hi again
 
Here's the next mod based up on our mod-system ( http://forums.webwiz.net/forum_posts.asp?TID=24464 - http://forums.webwiz.net/forum_posts.asp?TID=24464 ). Please read first the basic-installation!
 
update 21.09.20007 @ 15:00
This morning I made a second edition which used swfobject. After I found some bugs I decided to rewrite this mod using regular expressions. So this new version 1.10 is only for swfobject. In future there will be only updates for the swfobject-version!
 
Using swfobject is better for end users because they don't have to click to activate the flash. So for example in the youtube videos users normally have to (click) active the flash and then (click) to play the movie. With swfobject the user just have to click once and then the movie is directly played.
 
---
 
MOD-Name: MXM_Gametrailers_SWFObject
MOD-Description: Allows users to post simple gametrailer.com links (and converts them to flash-embeds). Using SWFObject ( http://blog.deconcept.com/swfobject - http://blog.deconcept.com/swfobject ) to display flash-movies
Version / Date: 1.20/ 24.09.2007
 
---
 
Installation
  1. Download the zip file http://www.teraweb.ch/MXM_mods/MXM_gametrailers_swfobject.zip - http://www.teraweb.ch/MXM_mods/MXM_gametrailers_swfobject.zip and unzip the content of this file to the /mods folder in forum root path.
  2. Download SWFObject ( http://blog.deconcept.com/swfobject/swfobject.zip - http://blog.deconcept.com/swfobject/swfobject.zip ) and extract the file "swfobject.js" to the /mods folder.
  3. Open the file "/includes/header.asp" and search for the following lines
    Quote <meta http-equiv="Content-Script-Type" content="text/javascript" />
    <script language="javascript" src="includes/default_javascript_v9.js" type="text/javascript"></script>
  4. Add the following line AFTER the two lines above (if this line does exist don't insert it a second time!)
    Quote <script type="text/javascript" src="mods/swfobject.js"></script>
  5. Open the file "/mods/MXM_mods.asp". Add the following line:
    Quote <!-- #include file="MXM_gametrailers_swfobject.asp" -->
  6. Open the file "/forum_posts.asp" and search for the following lines (around line 968):
    Quote
    'If we are showing ads increase by 1
    If intCurrentRecord = 0 AND (blnACode OR strMyGoogleAdSenseID <> "pub-9026955576675812") Then intPostRowsSpan = intPostRowsSpan + 1
  7. Add the following line AFTER the two lines above
    Quote strMessage = MOD_MXM_Gametrailers_swfobject(strMessage, lngMessageID)

---

MOD-Name: MXM_Gametrailers
MOD-Description: Allows users to post simple gametrailers.com links (and converts them to flash-embeds)
Version / Date: 1.00 / 21.09.2007
 
---
 
Installation
  1. Download the zip file http://www.teraweb.ch/MXM_mods/MXM_gametrailers.zip - http://www.teraweb.ch/MXM_mods/MXM_gametrailers.zip  and unzip the content of this file to the /mods folder in forum root path.
  2. Open the file "/mods/MXM_mods.asp". Add the following line:
    Quote <!-- #include file="MXM_gametrailers.asp" -->
  3. Open the file "/forum_posts.asp" and search for the following lines (around line 968):
    Quote
    'If we are showing ads increase by 1
    If intCurrentRecord = 0 AND (blnACode OR strMyGoogleAdSenseID <> "pub-9026955576675812") Then intPostRowsSpan = intPostRowsSpan + 1
  4. Add the following line AFTER the two lines above
    Quote strMessage = MOD_MXM_Gametrailers(strMessage)

---



-------------
fascination of imagination



Replies:
Posted By: rious
Date Posted: 24 June 2008 at 2:34am
I already do as you said.... I am a newb can you tell me hot to post the gametrailer link in a message (any particular tag command) example [TUBE]



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.08 - https://www.webwizforums.com
Copyright ©2001-2026 Web Wiz Ltd. - https://www.webwiz.net