PDA

View Full Version : How can I Add this to my forums?


khrisxtine
03-23-2008, 03:19 AM
I have vb advanced (and have posted there and no replies for a few weeks now :( )

I used to have IPB and I was using John's Smooth Gallery Design to add a sort of rotating banner that was clickable etc

i wanted it just in the CMPS page.

www.worldformoms.com is my website, i had to make a temp banner, if you look thats where i want the code to go

But i cannot figure out for the life of me how to add it here on vBulletin on the CMPS.

since i got rid of my old forums lol i don't have my demo, but it's also instaled on my phpbb3

www.justforyorkies.com it's the rotating image in the front. is there anyway i can add that? it's basically just html, but theres no option for html, or i don't understand it anyway :p

this is the code i need to put in:

<center> <head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>JonDesign's SmoothGallery demo</title>
<link rel="stylesheet" href="css/jd.gallery.css" type="text/css" media="screen" charset="utf-8" />
<script src="scripts/mootools.v1.11.js" type="text/javascript"></script>
<script src="scripts/jd.gallery.js" type="text/javascript"></script>
</head>

<script type="text/javascript">
function startGallery() {
var myGallery = new gallery($('myGallery'), {
timed: true,
showInfopane: false

});

}
window.addEvent('domready',startGallery);
</script>
<div id="myGallery">
<div class="imageElement">
<h3>Welcome to WFM!</h3>
<p>Welcome to WFM!</p>
<a href="#" title="Welcome to WFM!" class="open"></a>
<img src="http://www.worldformoms.com/rotator/welcome.gif" class="full" />
<img src="http://www.worldformoms.com/rotator/welcome.gif" class="thumbnail" />
</div>
<div class="imageElement">
<h3>St. Patty's Day Photo Contest</h3>
<p>Upcoming Photo Contest!</p>
<a href="#" title="St. Patrick's Day!" class="open"></a>
<img src="http://www.worldformoms.com/rotator/stpatsday.gif" class="full" />
<img src="http://www.worldformoms.com/rotator/stpatsday.gif" class="thumbnail" />
</div>
<div class="imageElement">
<h3>What's New with WFM?</h3>
<p>Please give us your feedback!</p>
<a href="http://www.worldformoms.com/index.php?showtopic=1327" title="Give us your feedback" class="open"></a>
<img src="http://www.worldformoms.com/rotator/newwfm.gif" class="full" />
<img src="http://www.worldformoms.com/rotator/newwfm.gif" class="thumbnail" />
</div>
<div class="imageElement">
<h3>Refer-A-Friend Contest!</h3>
<p>Refer-A-Friend Contest!</p>
<a href="http://www.worldformoms.com/index.php?showtopic=1376" title="ReferAFriend!" class="open"></a>
<img src="http://www.worldformoms.com/rotator/referfriend.gif" class="full" />
<img src="http://www.worldformoms.com/rotator/referfriend.gif" class="thumbnail" />
</div>



</div>
</div>
</center>

Or at least does anyone know how i can add a scrolling image marquee in the CMPS??

Elite Computers
03-23-2008, 04:10 AM
I have something like that on my site, I am sure if you wanted I could code it in for you....I know I am a new member here but I am good with HTML and php it would actually be quite easy I think, PM me if you are interested.

snakes1100
03-23-2008, 12:33 PM
Where exactly are you wanting this "banner"?

If i understand you right this is a new block for one of the columns:
1. create a new template in your style
2. put your code in it
3. create a new block for vbadvanced & make it template based, input the new template name you created in your style in the provided box.

khrisxtine
03-23-2008, 03:35 PM
im wanting this in the portal page. no where else, if you look at my site, where i have created a temporary banner that's where it's supposed to go.

I'm going to try that suggestion and hopefully it'll work! :) ty


EDITED: it didn't work, i did what you wrote, but for some reason it just wouldn' tshow up on the front page.. i made sure i clicked the box that said "active" or whatever, but it didn' tshow :(