Scrolling Affiliates Box on phpBB3 index [Mod]

Tips & Tricks to use on your phpBB3 Forum.
User avatar
LDM
Site Admin
Site Admin
Posts: 1784
Joined: Thu May 29, 2008 6:51 pm

Re: Scrolling Affiliates Box on phpBB3 index [Mod]

Post by LDM »

You could try the direction="up" within the html?
vi2doubleyu
Forum Member
Forum Member
Posts: 2
Joined: Sun Dec 06, 2009 6:45 am

Re: Scrolling Affiliates Box on phpBB3 index [Mod]

Post by vi2doubleyu »

LDM wrote:You could try the direction="up" within the html?
like I said, I've try it but all image (example : I input 5 image + link ) have scroll up together not one by one. I just want make all image have scroll up with vertical one by one. hope you can help me. thanks for your kindness.

regards
Mercenary
Forum Member
Forum Member
Posts: 8
Joined: Wed Aug 26, 2009 9:56 pm

Re: Scrolling Affiliates Box on phpBB3 index [Mod]

Post by Mercenary »

I was wondering LDM, if you could get Scrolling Affiliates Box Mod to work with the an advance marquee script like >> Image Crawler

That would be awesome. ;)
User avatar
LDM
Site Admin
Site Admin
Posts: 1784
Joined: Thu May 29, 2008 6:51 pm

Re: Scrolling Affiliates Box on phpBB3 index [Mod]

Post by LDM »

That may be easier than you think.

Download the js file, add it to root, and just add this instead:

Code: Select all

<script type="text/javascript">
marqueeInit({
	uniqueid: 'mycrawler2',
	style: {
		'padding': '2px',
		'width': '100%',
		'height': '81px'
	},
	inc: 5, //speed - pixel increment for each iteration of this marquee's movement
	mouse: 'cursor driven', //mouseover behavior ('pause' 'cursor driven' or false)
	moveatleast: 2,
	neutral: 150,
	savedirection: true
});
</script>
<br clear="all" />
<div class="forabg">
   <div class="inner"><span class="corners-top"><span></span></span>
<ul class="topiclist">
            <li class="header">
                <dl class="icon">
                  <dt >Links</dt>
               </dl>
                </li>
         </ul>
         <ul class="topiclist forums">
      <li class="row">
    <div class="marquee" id="mycrawler2">
ADD HERE YOUR HTML LINKS</div></li>
      </ul>
   <span class="corners-bottom"><span></span></span></div>
</div>
Totally untested and may need tweaking.
Mercenary
Forum Member
Forum Member
Posts: 8
Joined: Wed Aug 26, 2009 9:56 pm

Re: Scrolling Affiliates Box on phpBB3 index [Mod]

Post by Mercenary »

Great amazing LDM, will test it and let you know m8.

Best Regards,
Mercenary
Forum Member
Forum Member
Posts: 8
Joined: Wed Aug 26, 2009 9:56 pm

Re: Scrolling Affiliates Box on phpBB3 index [Mod]

Post by Mercenary »

Hey LDM,
It worked m8, it needed a bit tweaking like you said but got it up and running.
Thanks and take care.
User avatar
cisco007
Staff
Staff
Posts: 501
Joined: Tue Oct 07, 2008 3:44 am

Re: Scrolling Affiliates Box on phpBB3 index [Mod]

Post by cisco007 »

thanks for pointing me to the script, i used it to replace some code on my site that was not xhtml strict, and this helped, thanks again!
User avatar
doekie
Forum Member
Forum Member
Posts: 8
Joined: Wed Sep 15, 2010 12:11 pm

Re: Scrolling Affiliates Box on phpBB3 index [Mod]

Post by doekie »

Thanks for the tip I will try this out tonight!
kristinapetrico
Forum Member
Forum Member
Posts: 1
Joined: Wed Oct 06, 2010 1:10 am

Re: Scrolling Affiliates Box on phpBB3 index [Mod]

Post by kristinapetrico »

Thank you for this wonderful thread because it has so many information and tips that are very helpful.
Nano
Forum Member
Forum Member
Posts: 5
Joined: Tue Dec 14, 2010 9:43 pm

Re: Scrolling Affiliates Box on phpBB3 index [Mod]

Post by Nano »

Could you please give me the code for subsilver2 ?
User avatar
LDM
Site Admin
Site Admin
Posts: 1784
Joined: Thu May 29, 2008 6:51 pm

Re: Scrolling Affiliates Box on phpBB3 index [Mod]

Post by LDM »

I'm not too sure, I will have to have a look at the subsilver code. Is that what your board is running?
Nano
Forum Member
Forum Member
Posts: 5
Joined: Tue Dec 14, 2010 9:43 pm

Re: Scrolling Affiliates Box on phpBB3 index [Mod]

Post by Nano »

Yes my board is running a subsilver2 style. I will be very happy if you give the code soon.
Nano
Forum Member
Forum Member
Posts: 5
Joined: Tue Dec 14, 2010 9:43 pm

Re: Scrolling Affiliates Box on phpBB3 index [Mod]

Post by Nano »

Please :((((
User avatar
LDM
Site Admin
Site Admin
Posts: 1784
Joined: Thu May 29, 2008 6:51 pm

Re: Scrolling Affiliates Box on phpBB3 index [Mod]

Post by LDM »

Ok this is a way that it could work for subsilver, but am not at normal PC so is untested. Can you let me know if it works the same?

Instead of opening an affiliates page, open index body and find:

Code: Select all

<br clear="all" />

<table class="tablebg" width="100%" cellspacing="1">
<tr>
	<td class="cat" colspan="2"><h4>{L_STATISTICS}</h4></td>
Add above:

Code: Select all

<br clear="all" />

<table class="tablebg" width="100%" cellspacing="1">
	<tr>
		<td class="cat" colspan="2"><h4>Affiliates</h4></td>
	</tr>
	<tr>
		<td class="row1" width="100%"><p class="genmed"><marquee direction="left" scrollamount="7" onmouseover="this.scrollAmount=0" onmouseout="this.scrollAmount=7">
ADD HERE YOUR HTML LINKS</marquee></p></td>
	</tr>
	</table>
Add your link buttons to where it says ADD HERE YOUR HTML LINKS.
Nano
Forum Member
Forum Member
Posts: 5
Joined: Tue Dec 14, 2010 9:43 pm

Re: Scrolling Affiliates Box on phpBB3 index [Mod]

Post by Nano »

yeah man this is working! THANK YOU :DDDDD
Post Reply