Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic looking for assistance (Read 2444 times)
Khaleb
New Member
*
Offline


I love YaBB 1G - SP1.2!

Posts: 4
Joined: Mar 3rd, 2006
looking for assistance
Mar 3rd, 2006 at 8:53pm
Print Post  
has anyone taken under the task of converting the porn star temolate to yab2.1?

http://www.boardmod.org/templates/templatevault.php?action=describe&id=170

also, i am attempting to add a flash movie into the title bar.  i have changed the default tag in the default.html file from:

<td width="500">
<a href="http://www.yabbforum.com"><img src="<yabb images>/yabblogo.png" alt="YaBB - Yet another Bulletin Board" border="0" /></a>
</td>


to:


<td valign="middle" align="center" width="768">
<OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,..."
WIDTH=750 HEIGHT=100>
<PARAM NAME=movie VALUE="index.swf">
<PARAM NAME=menu VALUE=false>
<PARAM NAME=quality VALUE=best>
<PARAM NAME=bgcolor VALUE=#000000>
<EMBED src="index.swf" menu=false quality=best bgcolor=#000000  WIDTH=750 HEIGHT=100 TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=Shockwave...">
</EMBED></OBJECT>
</td>


and also copied my *.swf file into the directory as well.

the problem is it will not load the flash movie.  is there anouther file i need to make adjustments in as well, or is this just something that cann't be done?
  
Back to top
 
IP Logged
 
Spikecity
God Member
*****
Offline


Beer anyone ?

Posts: 2630
Location: New York
Joined: Apr 16th, 2002
Gender: Male
Re: looking for assistance
Reply #1 - Mar 4th, 2006 at 12:19am
Print Post  
The problem is that a flash file will not be served from within the cgi-bin space.
The solution is simple.
Put the swf file somewhere in your www space and change:

Code
Select All
<PARAM NAME=movie VALUE="index.swf">
 



to

Code
Select All
<PARAM NAME=movie VALUE="/<...>index.swf">
 


Where the <..> is the relative path to the file seen from the cgi-bin dir so if it is one level down it should be:
Code
Select All
<PARAM NAME=movie VALUE="../index.swf">
 

  

Nothing to add here Smiley
Back to top
 
IP Logged
 
qersys
Senior Member
****
Offline


Yes, I am

Posts: 342
Location: SF
Joined: Dec 29th, 2002
Gender: Male
Re: looking for assistance
Reply #2 - Mar 4th, 2006 at 12:21am
Print Post  
oops we posted around same time  Cheesy
  
Back to top
IP Logged
 
Khaleb
New Member
*
Offline


I love YaBB 1G - SP1.2!

Posts: 4
Joined: Mar 3rd, 2006
Re: looking for assistance
Reply #3 - Mar 4th, 2006 at 3:11am
Print Post  
yeah, i tried that also.  its not working either.  i think i may have it troubleshot down to the server permisions on the cgi-bin blocking the script form being run in the html file.  Is ther an easy way to set up the board to run the template html file form a different location?  cause if i move it out of the cgi-bin/templates folder to a different location, the flash loads and runs fine.
  
Back to top
 
IP Logged
 
Spikecity
God Member
*****
Offline


Beer anyone ?

Posts: 2630
Location: New York
Joined: Apr 16th, 2002
Gender: Male
Re: looking for assistance
Reply #4 - Mar 4th, 2006 at 10:19am
Print Post  
permissions should not be a problem.
Perhaps not use a relative path like ../../../ but the absolute url to the swf.
Presuming you upload your swf file in the root of your html space instead of ../index.swf try http://yourdomain.com/index.swf as parameter.

As this is a html call made from the browser end it should work that way.
  

Nothing to add here Smiley
Back to top
 
IP Logged
 
Khaleb
New Member
*
Offline


I love YaBB 1G - SP1.2!

Posts: 4
Joined: Mar 3rd, 2006
Re: looking for assistance
Reply #5 - Mar 4th, 2006 at 5:07pm
Print Post  
yep, tried that too. have tried all the set ups and paths pssible.  if anyone wants to have a look at the actualy code, its at:

http://www.darkseasons.net

can go to the message board and right click up on top and select to view source.
  
Back to top
 
IP Logged
 
qersys
Senior Member
****
Offline


Yes, I am

Posts: 342
Location: SF
Joined: Dec 29th, 2002
Gender: Male
Re: looking for assistance
Reply #6 - Mar 4th, 2006 at 9:18pm
Print Post  
it shows up fine for me  Smiley I see the flash at the top of the forum
  
Back to top
IP Logged
 
Khaleb
New Member
*
Offline


I love YaBB 1G - SP1.2!

Posts: 4
Joined: Mar 3rd, 2006
Re: looking for assistance
Reply #7 - Mar 6th, 2006 at 11:24pm
Print Post  
yeah, i actually figured it out.  of coarse it was something stupid. sorry to bother ya'll about it.  i was forgetting to set the param value to the correct path.


anyway, so has anyone attempted to convert the porn star or grey black red templates or something similar in looks to YaBB2?

http://www.boardmod.org/templates/templatevault.php?action=describe&id=170

http://www.boardmod.org/templates/templatevault.php?action=describe&id=219
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint