Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> RavenNuke(tm) v2.5x
Author Message
Guardian2003
Site Admin



Joined: Aug 28, 2003
Posts: 6799
Location: Ha Noi, Viet Nam

PostPosted: Sat Jan 21, 2012 9:12 am Reply with quote

If your using Flash banners you might see a pair of forward slashes instead of the Flash image depending on the browser you are using.
The issue is in the $ads variable assignment within mainfile (around line 1834)
Code:


$ads = '<div class="text-center">'
            . '<object type="application/x-shockwave-flash" data="' . $imageurl . '" name="' . $bid . '" width="' . $ad_width . '" height="' . $ad_height . '">'
            . '<param name="movie" value="' . $imageurl . '" />'
            . ' //  <img src="noflash.gif" width="200" height="100" alt="" />'
            . '<param name="quality" value="high" />'
            . '<param name="loop" value="true" />'
            . '<param name="menu" value="false" />'
            . '</object>'
            . '</div>';

Just move the PHP comment (the double slashes) in the abouve code to the left of the period // .' or if you want to just copy/past, here is a replacement
Code:


$ads = '<div class="text-center">'
            . '<object type="application/x-shockwave-flash" data="' . $imageurl . '" name="' . $bid . '" width="' . $ad_width . '" height="' . $ad_height . '">'
            . '<param name="movie" value="' . $imageurl . '" />'
            //. ' <img src="noflash.gif" width="200" height="100" alt="" />'
            . '<param name="quality" value="high" />'
            . '<param name="loop" value="true" />'
            . '<param name="menu" value="false" />'
            . '</object>'
            . '</div>';
 
View user's profile Send private message Send e-mail
Raven
Site Admin/Owner



Joined: Aug 27, 2002
Posts: 17088

PostPosted: Sat Jan 21, 2012 4:50 pm Reply with quote

Thanks! I made this a sticky.
 
View user's profile Send private message
Raven







PostPosted: Sat Jan 21, 2012 4:55 pm Reply with quote

Please open a Mantis issue on this.
 
Palbin
Site Admin



Joined: Mar 30, 2006
Posts: 2583
Location: Pittsburgh, Pennsylvania

PostPosted: Sat Jan 28, 2012 4:41 pm Reply with quote

I have corrected the issue.

_________________
"Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it." — Brian W. Kernighan. 
View user's profile Send private message
Display posts from previous:       
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> RavenNuke(tm) v2.5x

View next topic
View previous topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum


Powered by phpBB © 2001-2007 phpBB Group
All times are GMT - 6 Hours
 
Forums ©