Previous Thread
Next Thread
Print Thread
Hop To
Joined: Jan 2004
Posts: 2,474
Likes: 3
D
Pooh-Bah
Pooh-Bah
D Offline
Joined: Jan 2004
Posts: 2,474
Likes: 3
(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.

Joined: Jun 2006
Posts: 9,242
Likes: 1
R
Former Developer
Former Developer
R Offline
Joined: Jun 2006
Posts: 9,242
Likes: 1
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");

Joined: Jan 2004
Posts: 2,474
Likes: 3
D
Pooh-Bah
Pooh-Bah
D Offline
Joined: Jan 2004
Posts: 2,474
Likes: 3
Ah yes - that works, thanks. laugh
(Same with the search box, then.)

Joined: Jun 2006
Posts: 9,242
Likes: 1
R
Former Developer
Former Developer
R Offline
Joined: Jun 2006
Posts: 9,242
Likes: 1
Have this fixed for 7.1.1.


Link Copied to Clipboard
ShoutChat
Comment Guidelines: Do post respectful and insightful comments. Don't flame, hate, spam.
Recent Topics
spam issues
by ECNet - 03/19/2024 11:45 PM
Looking for a forum
by azr - 03/15/2024 11:26 PM
Editing Links in Post
by Outdoorking - 03/15/2024 9:31 AM
Question on barkrowler and the like
by Mors - 02/29/2024 6:51 PM
Member Permissions Help
by domspeak - 02/27/2024 6:31 PM
Who's Online Now
2 members (Gizmo, Nightcrawler), 553 guests, and 186 robots.
Key: Admin, Global Mod, Mod
Random Gallery Image
Latest Gallery Images
Los Angeles
Los Angeles
by isaac, August 6
3D Creations
3D Creations
by JAISP, December 30
Artistic structures
Artistic structures
by isaac, August 29
Stones
Stones
by isaac, August 19
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20230217)