@KnickKnack said in markdown code highlight theme does not work?:
Automatically detect and highlight code blocks
It does works. Thank you.
@a_5mith said:
@meetdilip said:
Is it this ?
On the left, click Extend, then Plugins. If it's not in there, then it's not in your node_modules folder.
Got it.
@meetdilip said:
@a_5mith said:
http://www.flipkart.com/affiliate/displayWidget?affrid=WRID-141229213124264046
Something wrong
http://techiewiz.in/topic/70/lg-l-bello-android-smart-phone-price-in-india-rs-18-500/2
Your sites offline.
@a_5mith said:
Your sites offline.
Try now please. New ACP is a bit buggy. It crashes NodeBB whenever I try restart. Have to start NodeBB again through terminal. Restart command never works.
@a_5mith I'd propose
/<a href="(?:https?:\/\/)?(?:www\.)flipkart\.com\/affiliate\/displayWidget\?(?:[^"]*&)?affrid=([\w\-_]+).+<\/a>/ig
@meetdilip said:
@a_5mith said:
Your sites offline.
Try now please. New ACP is a buggy. It crashes NodeBB whenever I try restart. Have to start NodeBB again through terminal. Restart command never works.
The issue seems to be with the affiliate ID on the end of the URL caused by the flipkart affiliate plugin. The URL in the source has &affid=ddealsing
on the end of it. Which my plugin isn't looking for.
Looking into it.
Any work around possible ?
@meetdilip said:
Any work around possible ?
Yeah, go to your nodebb folder and type cd node_modules/nodebb-plugin-flipkart-iframe
Then type git pull
Then stop and start nodebb again.
Thanks. Working fine. But a small glitch. The size is all messed up.
I can't even see it on your forum. Just blank for me.
Disable Adblock plus
@meetdilip said:
Disable Adblock plus
That did it, I'll look at the size issue now.
You can solve the width by adding
.flipkart { width:100%; } to your CSS, the height however may be slightly trickier. If anyone had any ideas for that, I'm all ears, CSS wouldn't work, as setting CSS to 600px would make the width ones 600px high too.
Wouldn't work unfortunately. Because it's an iFrame, it doesn't know the height of the banner inside it. The only reason 100% works is because it goes the full width of the browser window.
it's ok. I am happy as of now. Thank you so much for the help
@a_5mith As of the author knows the height each frame should have (@meetdilip does he? does the affrIDs link to a static content?) I'd allow the author to set the height via hashtag of the link like http://www.flipkart.com/affiliate/displayWidget?affrid=WRID-141229213124264046#90
/<a href="(?:https?:\/\/)?(?:www\.)flipkart\.com\/affiliate\/displayWidget\?(?:[^"]*&)?affrid=([\w\-_]+)(?:&[^"#]*)?(?:#(\d+))?.+<\/a>/ig
@frissdiegurke said:
(@meetdilip does he? does the affrIDs link to a static content?)
Not clear about this part Friss . Not sure what the question is. :sorry:
@meetdilip If you have a link like http://www.flipkart.com/affiliate/displayWidget?affrid=WRID-141229213124264046, does it always refer to the same image, or may it change without changing the link (maybe dayly, weekly,...)?
In some banners, images change. In some, it stays.
Cheers @frissdiegurke testing it now.