Got mad skills on PHP? Get over here! XD
-
There's a bounty for someone that could do this part of the forums: https://forums.burst-team.us/topic/2153/forum-advertising-auction/40
Show your mad skills. :D
-
Moved to Marketplace. Keep Announcements related to Burst news. Selling or buying services should be done in Marketplace.
-
@jervis it all depends how all this is done :)
it might be possible to add
$('#ParentContainer').scroll(function() { $('#FixedDiv').animate({top:$(this).scrollTop()},100,"linear"); })forcing sidebar to be scrolled to top whenever ParentContainer is scrolled :)
As for when to bind it the ones who made this forum should decide as they should know what librarys where used to make it. (Maybe its as simple as droping the code into script tags or adding it upon window.ready)
-
@LithStud I have no idea what you're talking about bud. But @haitch is the one asking for it. So, fire away. You will have a bounty won if you've done it, says @haitch :)
-
@LithStud The NodeBB code is here : https://github.com/NodeBB/NodeBB - tell me what to edit and if it works I'll pay the bounty
-
@haitch Just to be clear the adds sidebar should follow posts? I will have a look into it a bit later (have some work to do at the moment).
-
@LithStud I want them to always be displayed, no matter how long the thread. On most threads they display, but you get a long one like https://forums.burst-team.us/topic/1284/ann-the-n-e-w-s-asset-launch/179 - and they're not displaying.
-
@haitch started to look into nodeBB :) as far as i can tell these sidebars are considered as widgets? Could you tell me how you placed the content inside that sidebar?
-
@LithStud It's straight HTML into the global sidebar pane. HTML as provided by ad providers.
-
@haitch ahh so you have something like main html file in wich you load the nodeBB? trying to think a way to load that script i mentioned and not break something inside nodeBB scripts :D
-
@LithStud No - I go into the admin section -> Extend -> Widgets. There you can put raw html code into the header/sidebar/footer sections, that code is parsed and displayed on the page.
-
@haitch ok that complicates things, since it has to go through the internals of nodeBB :/
-
@LithStud yeah, if it was easy I'd have already done it .... ;-)
-
@haitch do you know if it lets through something like
<script>console.log("testing");</script>basically javascript? we could try then to bypass nodeBB (sorta quick and dirty hack)
EDIT: damn forgeting we need some unique naming for couple of divs for it to work
-
@haitch here's the solution.
Copy & Paste:<script>$(window).on('scroll', function() { $('[widget-area="sidebar"]').css('top', $(this).scrollTop()); });</script>Inside the sidebar (before anything else).
Sorry it took so long I was solving something in burst casino ^_^
-
@LithStud It lets through script statements, the sidebar is just a bunch of script commands - namely:
<a href="https://forums.burst-team.us/topic/2153/forum-advertising-auction">
<img src="https://db.burst-team.us/tower.png"></a><iframe src="//rcm-na.amazon-adsystem.com/e/cm?o=1&p=14&l=ur1&category=primemain&banner=08SJGPXKZR2FNJKHJYG2&f=ifr&linkID=53455721b186aa2eeb8d68e4901f201a&t=burst-haitch-20&tracking_id=burst-haitch-20" width="160" height="600" scrolling="no" border="0" marginwidth="0" style="border:none;" frameborder="0"></iframe>
<a href="https://www.namecheap.com/?aff=105459"><img src="http://files.namecheap.com/graphics/linkus/160x600-1.gif" width="160" height="600" border="0" alt="Namecheap.com"></a>
-
@hatich check out zeus's post. :D
-
@haitch zeus allready did it :D
-
So like this:
<script>$(window).on('scroll', function() { $('[widget-area="sidebar"]').css('top', $(this).scrollTop()); });</script> <a href="https://forums.burst-team.us/topic/2153/forum-advertising-auction"> <img src="https://db.burst-team.us/tower.png"></a> <iframe src="//rcm-na.amazon-adsystem.com/e/cm?o=1&p=14&l=ur1&category=primemain&banner=08SJGPXKZR2FNJKHJYG2&f=ifr&linkID=53455721b186aa2eeb8d68e4901f201a&t=burst-haitch-20&tracking_id=burst-haitch-20" width="160" height="600" scrolling="no" border="0" marginwidth="0" style="border:none;" frameborder="0"></iframe> <a href="https://www.namecheap.com/?aff=105459"><img src="http://files.namecheap.com/graphics/linkus/160x600-1.gif" width="160" height="600" border="0" alt="Namecheap.com"></a>
-
@Zeus That works - what's you burst address I can send bounty to ?
-
@haitch BURST-M5NK-M24U-8SDM-53TJ2 and thank you ^_^



