MyBB Community Forums

Full Version: 'last 5 topics'
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2 3 4 5 6
here:

www.unprogged.com/portal.php

That is proved as you cand find it by searching for

<?php include ("http://www.unprogged.com/lasttopics/topics_nonsoloprog.php") ?>

in the page source.
Please send me your portal.php via eMail. I'll send you the adresse via PM.
i sent it to your address. thank you very much for helping.
Got it...BTW, you can display the last topics on the portal site by enabling it in the admin-cp (Portal Settings). Wink
yeah but I need a slightly different thing. I managed to partially do what I wanted to, thanks to your precious help...
OK,

first of all the script was made to show the last topics on another page (not the forum itself). If you do so it works fine.

It's not that easy to include the script into the portal. The easiest way is putting an iframe into the template for the portal in which you can display the output of the script (where you have to change the layout).

So, at the moment, I can't help you, sorry about that. Sad
ok, so, I'll make an i-frame. Smile

Thank you for you support!
Well I managed to do this (the page is located here: http://www.unprogged.com/portal.php), but I have three questions:

1) How comes that 2 of the 4 rss can't be displayed, showing a MagPieRSS error?

2) If you pay attention to the first box, "Uscite Recenti", you can see that there is a review entitled "Arena - Pepper\'s Ghost". How may I get rid of that slash?

3) I've just added a review on my forum which should be shown in the "Uscite Recenti" box... how comes it is not shown instantly (update: several minutes has passed and I still don't see the box updated)?

1. Are there forums with a "&" in the name? Are they the missing ones?

2. I'll look for that

3. Take a look at your topics.php
$MAGPIE_CACHE_ON = true; // Enables caching
$MAGPIE_CACHE_AGE = 900; // Time of caching (here: 15 minutes)

Or it's that the script shows the newest threads, not the newest posts.
1) no, the forums are "old works" and "demo"

2) thank you very much

3) solved, thank you very much again
First of all, there's something wrong with the encoding, it's the same with german.

Open rss.php and search for:
echo "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n";
Replace it with:
echo "<?xml version=\"1.0\" encoding=\"ISO-8859-1\"?>\n";
Search for:
echo "<rss version=\"0.92\">\n";
Enter above:
echo "<?xml version=\"1.0\" encoding=\"ISO-8859-1\"?>\n";

Please backup the original rss.php.

Pages: 1 2 3 4 5 6