Previous Thread
Next Thread
Print Thread
Hop To
[FIXED for 7.1.1] forum stats outside of portal
#179556 02/27/2007 11:03 AM
Joined: Jan 2004
Posts: 2,468
driv Offline OP
OP Offline
Joined: Jan 2004
Posts: 2,468
(7.1)

Hi
I've just tried to add 'forum stats' to a test page.
I've checked 'always build'.

I inserted the php code as show in 'external use'
But there are a number of words missing on the test page.
Please see below...

Code
Inserting the code above will insert the following HTML into it's place. As you can see there are 2 CSS classes you'll want to define for the included HTML, those being tdheader and alt-1. You can modify the properties of the table itself in the code above.:

<table width="100%"> 
<tr>
<td class="tdheader">
</td>
</tr>
<tr>
<td class="alt-1" align="left">
<b>3217</b> <br />
<b>17</b> Forums<br />
<b>3510</b> <br />
<b>22496</b> <br />

<br /><div class="small">
: 87 @ <span class="date"></span> <span class="time">5 minutes 53 seconds ago</span>
</div>
</td>
</tr>
</table> 

Did I miss something?
Cheers,
d.


Using version :: 7.7.2
Re: forum stats outside of portal
driv #179560 02/27/2007 11:35 AM
Joined: Jun 2006
Posts: 9,243
Former Developer
Offline
Former Developer
Joined: Jun 2006
Posts: 9,243
It's actually missing one language file that needs to be included. You'll see where it includes the generic.php language file. You also need to add one that will include the portal_islands.php language file, something like:

include("/path/to/languages/english/portal_islands.php");

Re: forum stats outside of portal
Rick #179562 02/27/2007 11:53 AM
Joined: Jan 2004
Posts: 2,468
driv Offline OP
OP Offline
Joined: Jan 2004
Posts: 2,468
Ah yes - that works, thanks. laugh
(Same with the search box, then.)


Using version :: 7.7.2
Re: forum stats outside of portal
driv #181130 03/20/2007 2:25 PM
Joined: Jun 2006
Posts: 9,243
Former Developer
Offline
Former Developer
Joined: Jun 2006
Posts: 9,243
Have this fixed for 7.1.1.


Link Copied to Clipboard
ShoutChat Box
Comment Guidelines: Do post respectful and insightful comments. Don't flame, hate, spam.
Recent Topics
AWS Lightsail platform
by jjjjj - 02/20/2020 7:27 AM
Users cant register after upgrade to Version 7
by Jim0421 - 02/13/2020 11:32 PM
Looking for best site firewall and CDN service
by Ruben - 02/11/2020 3:01 PM
custom island shows when logged in?
by Ruben - 02/11/2020 1:54 PM
Who's Online Now
0 members (), 73 guests, and 54 robots.
Key: Admin, Global Mod, Mod
Random Gallery Image
Latest Gallery Images
3D Creations
3D Creations
by JAISP, December 30
Artistic structures
Artistic structures
by isaac, August 29
Stones
Stones
by isaac, August 19
Amusing Terain Scenics
Amusing Terain Scenics
by isaac, August 19
Sky places
Sky places
by isaac, August 19
Powered by UBB.threads™ PHP Forum Software 7.7.4
(Snapshot build 20200221)