Previous Thread
Next Thread
Print Thread
Hop To
[FIXED for 7.1.1] forum stats outside of portal #179556 02/27/2007 12:03 PM
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 [Re: driv] #179560 02/27/2007 12:35 PM
Joined: Jun 2006
Posts: 9,243
Rick Offline
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 [Re: Rick] #179562 02/27/2007 12:53 PM
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 [Re: driv] #181130 03/20/2007 3:25 PM
Joined: Jun 2006
Posts: 9,243
Rick Offline
Former Developer
Offline
Former Developer
Joined: Jun 2006
Posts: 9,243
Have this fixed for 7.1.1.


Forum Search
ShoutChat Box
Comment Guidelines: Do post respectful and insightful comments. Don't flame, hate, spam.
Recent Topics
ubb.threads 7.7.3 install error on create tables
by andrewjs18 - 09/17/2019 3:39 AM
Horizontal Image Attachment
by ECNet - 09/11/2019 12:17 PM
user profile, after I click Update nothing happens
by PianoWorld - 09/10/2019 12:38 PM
Inline Image Embeds
by ECNet - 09/03/2019 2:38 PM
Who's Online Now
3 registered members (Ruben, Gizmo, JAISP), 94 guests, and 341 spiders.
Key: Admin, Global Mod, Mod
Random Gallery Image
Latest Gallery Images
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.3