Thread Rating:
  • 4 Vote(s) - 4.5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[For 1.8] Advanced Sidebox 3.1.19
Hello @ll,
I would like to add a news of the world feed in a sidebox, is there a tutorial?
Thank you in advance for your help :-)

Greets,
blongso
Reply
(01-21-2020, 09:24 AM)blongso Wrote: Hello @ll,
I would like to add a news of the world feed in a sidebox, is there a tutorial?

You would need to find a service that you can embed and put it in a custom box.
Reply
re Wildcard,
Do you have an example please?

Thanks in advance
Reply
Okay, for example, to embed Yahoo! News, go to https://iframely.com/domains/yahoo and grab the code there and put it into a custom box.

So, once you have the code, Go to ACP -> Configuration -> Advanced Sidebox [tab] -> Custom Boxes [subtab]

Click "Add a new custom box type"

Set the name to whatever you want.

Chang the code to this:
<tr>
<td class="trow1">
<div style="width: 98%;">
<iframe src="https://www.yahoo.com/superfan-tv/hodor-cant-hold-off-lunch-181659914.html?format=embed&region=US&lang=en-US&site=tv&player_autoplay=false" style="border: 0; width: 100%;" allowfullscreen allow="encrypted-media"></iframe>
</div>
</td>
</tr>


NOTE: This is an example. Use this to embed whichever news feed you want.

[Image: 5fnVgJ3.png]
Reply
re,
thank you very much for your help wildcard!!!

I have an another question:

In the asb_addon.lang.php file, I commented out the two lines, but the two characters remain ... where can I remove them?
[Image: wN7Vp.png]

[Image: 2AmlK.png]

I also wanted to ask whether it is possible to include a personal greeting in this sidebox.
About as:
Bonjour nickname

Depending on the time of day, a greeting would be absolutely brilliant
Example:
Hello nickname - Good morning nickname - Good evening nickname

Thanks in advance for your help!
greets,
blongso
Reply
(Yesterday, 08:00 AM)blongso Wrote: thank you very much for your help wildcard!!!

No problem 👍

(Yesterday, 08:00 AM)blongso Wrote: In the asb_addon.lang.php file, I commented out the two lines, but the two characters remain ... where can I remove them?
[Image: wN7Vp.png]

[Image: 2AmlK.png]

Go to ACP -> Templates & Styles -> [Your Theme] -> Advanced Sidebox Templates and look for asb_welcome_membertext

Remove:

<strong>&raquo;</strong>

(Yesterday, 08:00 AM)blongso Wrote: I also wanted to ask whether it is possible to include a personal greeting in this sidebox.
About as:
Bonjour nickname

Depending on the time of day, a greeting would be absolutely brilliant
Example:
Hello nickname - Good morning nickname - Good evening nickname

Yes and no.

The username part is as easy as {$mybb->user['username']} but detecting the time of day would require some PHP.

(Yesterday, 08:00 AM)blongso Wrote: Thanks in advance for your help!
greets,
blongso

You're welcome Smile
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)