Author |
Topic  |
DJGray
New Member

USA
68 Posts |
Posted - 23 November 2005 : 11:06:21
|
I've tried it multiple times on three different Forum installs and never made it work. It installs, configures and the Icons show, but upon clicking them the games never load.
Any ideas??< |
|
Jorrit787
Average Member
  
Netherlands
681 Posts |
Posted - 23 November 2005 : 20:53:26
|
I think the installation instructions are missing the JavaScript code you have to include in inc_header to make the windows pop up. Try adding this:
"function openGameWindow(url) {" & vbNewLine & _
" popupWin = window.open(url,'new_page','width=450,height=525,scrollbars=no,toolbars=no,menubar=no,resizable=yes')" & vbNewLine & _
"}" & vbNewLine & _ < |
eXtremeGossip  |
 |
|
DJGray
New Member

USA
68 Posts |
Posted - 02 December 2005 : 19:13:08
|
Jorrit,
You nailed it!! This is exactly what was missing. Thanks!< |
 |
|
Jorrit787
Average Member
  
Netherlands
681 Posts |
Posted - 02 December 2005 : 23:38:45
|
You're welcome.
Someone should contact the author of the MOD and tell him he has forgotten that part.< |
eXtremeGossip  |
 |
|
SnapperL
Starting Member
24 Posts |
Posted - 02 August 2006 : 16:19:35
|
i'm having problems getting this to work. here is the problem....
http://www.discussthat.com/forum/pop_flashgames.asp
i'm using mysql any idea if the code needs to be changed? < |
This account was hacked into by Image, a very honest guy as you all can see! Stealing people's passwords is his pasttime. Beware of this, before you register at his forums! |
 |
|
Shaggy
Support Moderator
    
Ireland
6780 Posts |
Posted - 03 August 2006 : 04:29:47
|
Got login details for a test account?
< |
Search is your friend “I was having a mildly paranoid day, mostly due to the fact that the mad priest lady from over the river had taken to nailing weasels to my front door again.” |
 |
|
Lardboy
Starting Member
1 Posts |
Posted - 06 January 2007 : 17:45:15
|
I have got the mod working however I would like to know if anyone else has this problem with the mod???
Firefox will open the game that you want, IE7 + 6 though has a problem.
When you click on the game (i.e. - "dragracer.swf" which is what comes up when you roll over the game icon) it tries to open the game with the "open , save, cancel" window. When you look at the file it tries to open, it says "dragracer_swf" and under file type it says "shockwave file". It then tells me the file is not on the system when I try to open or save it.
I believe this is the case as IE is trying to look for "dragracer_swf.swf", i think.
I just don't understand as it works on Firefox 2.0.
Please help,
Lardboy< |
 |
|
thelodger
Junior Member
 
United Kingdom
296 Posts |
Posted - 19 September 2007 : 18:10:05
|
I have been doing my nuts over this for days, I have added the flash mod but never got it working, this is for sure the cure, but as someone who doesn't have a clue but can follow instructions where in inc_header.asp do I need to add the code above? I have added it before the new code, after it and lots of places in between (don't laugh) but alas I have yet to put it in the right place. anyone help?< |
 |
|
thelodger
Junior Member
 
United Kingdom
296 Posts |
Posted - 20 September 2007 : 12:02:16
|
Anyone?< |
 |
|
Hermes
Junior Member
 
Croatia
113 Posts |
Posted - 22 September 2007 : 04:56:59
|
See if this helps: find in inc_header.asp
" <a href=""active.asp""" & dWStatus("See what topics have been active since your last visit...") & " tabindex=""-1"">
<acronym title=""See what topics have been active since your last visit..."">Active Topics</acronym></a>" & vbNewline & _
" |" & vbNewline & _
" <a href=""pop_flashgames.asp"" target=""_self""> Flash games</a>" & vbNewLine
' DEM --> Start of code added to show subscriptions if they exist
if (strSubscription > 0) then
add the red part
< |
ASP Snitz Forum Upute za instalaciju http://www.kairos.com.hr http://www.hermetizam.com Forum
not so newbie any more :) |
Edited by - Hermes on 22 September 2007 04:58:23 |
 |
|
thelodger
Junior Member
 
United Kingdom
296 Posts |
Posted - 22 September 2007 : 06:30:08
|
Never worked I have managed to get the link working ok but none of the games will pop up when you click on them, I guess Jorrit's code will work but I have no idea where to put it.< |
 |
|
Hermes
Junior Member
 
Croatia
113 Posts |
|
thelodger
Junior Member
 
United Kingdom
296 Posts |
|
Hermes
Junior Member
 
Croatia
113 Posts |
Posted - 22 September 2007 : 09:18:46
|
Find (line 136-144)
<td bgcolor="<% =strForumCellColor %>" align="center"> <a HREF= JavaScript:openGameWindow('<% =rs("gameurl")%>')> <img src="<% =rs("imageurl") %>" border= 1 hspace= 0 width = 100 height = 100 alt = "<% =rs("name") %>"> <br>
replace with
<td bgcolor="<% =strForumCellColor %>" align="center"> <a href="javascript:void(0)" onClick="window.open('<% =rs("gameurl")%>','new_page','scrollbars=no,toolbars=no,menubar=no,resizable=yes')">
<img src="<% =rs("imageurl") %>" border= 1 hspace= 0 width = 100 height = 100 alt = "<% =rs("name") %>"></img><br> <br>
put it back on pop_flashgames.asp check does it works.
< |
ASP Snitz Forum Upute za instalaciju http://www.kairos.com.hr http://www.hermetizam.com Forum
not so newbie any more :) |
 |
|
thelodger
Junior Member
 
United Kingdom
296 Posts |
Posted - 22 September 2007 : 09:37:52
|
Thanks very much for your help it worked a treat.< |
 |
|
Hermes
Junior Member
 
Croatia
113 Posts |
|
Topic  |
|